Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
oledup.c
Package: shell.rar [view]
Upload User: xhy777
Upload Date: 2007-02-14
Package Size: 24088k
Code Size: 1k
Category:
Windows Kernel
Development Platform:
Visual C++
- //---------------------------------------------------------------------------
- //
- // Copyright (c) Microsoft Corporation 1993-1994
- //
- // File: oledup.c
- //
- // This files contains duplicated code the OLE would provide.
- // We do this so we don't have to link to OLE for M6.
- // BUGBUG: we should remove this for M7 (why? the shell does this too)
- //
- // History:
- // 02-14-94 ScottH Created (copied from shell)
- //
- //---------------------------------------------------------------------------
- ///////////////////////////////////////////////////// INCLUDES
- #include "brfprv.h" // common headers
- HRESULT MyReleaseStgMedium(LPSTGMEDIUM pmedium)
- {
- if (pmedium->pUnkForRelease)
- {
- pmedium->pUnkForRelease->lpVtbl->Release(pmedium->pUnkForRelease);
- }
- else
- {
- switch(pmedium->tymed)
- {
- case TYMED_HGLOBAL:
- GlobalFree(pmedium->hGlobal);
- break;
- default:
- // Not fullly implemented.
- MessageBeep(0);
- break;
- }
- }
- return NOERROR;
- }