Reads the CLSID previously written to a stream object with the WriteClassStm method.
WINOLEAPI ReadClassStm(
IStream * pStm, |
//Pointer to the stream holding the CLSID |
CLSID * pclsid |
//Pointer to where the CLSID is to be written |
); |
Parameters
Return Values
This function also returns any of the error values returned by the IStream::Read method.
Remarks
Most applications do not call the ReadClassStm method directly. OLE calls it before making a call to an object’s IPersistStream::Load implementation.
See Also
WriteClassStm, ReadClassStg, WriteClassStg