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
- Software for developers
-
Delphi Components
.Net Components
Software for Android Developers
- More information resources
-
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
- Databases for Amazon shops developers
-
Amazon Categories Database
Browse Nodes Database