|
ReadClassStm
Reads the CLSID previously written to a stream object with the WriteClassStm method.
HRESULT ReadClassStm(
IStream * pStm,
| //Points to the stream from which the CLSID is to be read
| CLSID * pclsid
| //Points to the location where the CLSID is returned
| );
|
|
Parameters
pStm
Points to the stream object containing the CLSID to be read. This CLSID must
have been previously written to the stream object using WriteClassStm.
pclsid
Points to the location where the CLSID is to be returned.
Return Values
S_OK
Indicates the CLSID was successfully returned.
STG_E_READFAULT
Indicates end of file was reached.
See also the IStream::Read method for other error return values.
Comments
Most applications do not call the ReadClassStm method. OLE calls it before making a call to an object's IPersistStream::Load implementation.
See Also
WriteClassStm, ReadClassStg, 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
|