Stores the specified CLSID in a storage object.
WINOLEAPI WriteClassStg(
IStorage * pStg, |
//Points to the IStorage interface on the storage object |
REFCLSID rclsid |
//Specifies the CLSID to be stored in the storage object |
); |
Parameters
Return Values
IStorage::SetClass method error return values.
Remarks
The WriteClassStg function writes a CLSID to the specified storage object so it can be read by the ReadClassStg function. Container applications typically call this function before calling the IPersistStorage::Save method.
See Also