|
WriteClassStm
Stores the specified CLSID in the stream.
HRESULT WriteClassStm(
IStream * pStm,
| //Points to the stream object
| REFCLSID rclsid
| //Specifies the CLSID to be stored in the stream object
| );
|
|
Parameters
pStm
Points to the stream into which the CLSID is to be written.
rclsid
Specifies the CLSID to write to the stream.
Return Values
S_OK
Indicates the CLSID was successfully written.
STG_E_MEDIUMFULL
The CLSID could not be written because there is no space left on device.
IStorage::SetClass method error return values.
Comments
This function writes a CLSID to the specified stream object so it can be read
by the ReadClassStm function. Most applications do not call the WriteClassStm function. OLE calls it before making a call to an object's IPersistStream::Save method.
See Also
ReadClassStm, WriteClassStg, ReadClassStg
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
|