|
ReadClassStg
Reads the CLSID from the storage object.
HRESULT ReadClassStg(
IStorage * pStg,
| //Points to the storage containing the CLSID to be retrieved
| CLSID * pclsid
| //Points to location for returning the CLSID
| );
|
|
Parameters
pStg
Points to the storage object containing the CLSID to be returned.
pclsid
Points to location where the CLSID is to be returned. May return CLSID_NULL.
Return Values
S_OK
Indicates the CLSID was returned successfully.
E_OUTOFMEMORY
Indicates the CLSID could not be returned due to lack of memory.
See also the IStorage::Stat method for other error return values.
See Also
This function is simply a helper function that calls the IStorage::Stat method and retrieves the CLSID from the resulting STATSTG structure.
See Also
OleLoad, WriteClassStg
Related LinksSoftware for Delphi and C++ Builder developers Software for Visual Studio .NET developers Software for Visual Basic 6 developers Delphi Tips&Tricks
MegaDetailed.NET
TMS Scripter Studio Pro components for Delphi/C++Builder
More Online Helps Win32 Programmer's Reference (win32.hlp) Win32 Multimedia Programmer's Reference (mmedia.hlp) Microsoft Windows Pen API Programmer's Reference (penapi.hlp) Microsoft Windows Sockets 2 Reference (sock2.hlp) Microsoft Windows Telephony API (TAPI) Programmer's Reference (sock2.hlp) Unix Manual Pages
|