UID | title | description | helpviewer_keywords | old-location | tech.root | ms.assetid | ms.date | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | req.redist | ms.custom | f1_keywords | dev_langs | topic_type | api_type | api_location | api_name | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:coml2api.WriteClassStg |
WriteClassStg function (coml2api.h) |
The WriteClassStg function stores the specified class identifier (CLSID) in a storage object. |
|
stg\writeclassstg.htm |
Stg |
5f2f16d1-923f-4ba7-8d4b-7e8535f6f15e |
12/05/2018 |
WriteClassStg, WriteClassStg function [Structured Storage], _stg_writeclassstg, coml2api/WriteClassStg, stg.writeclassstg |
coml2api.h |
Ole2.h |
Windows |
Windows 2000 Professional [desktop apps \| UWP apps] |
Windows 2000 Server [desktop apps \| UWP apps] |
Ole32.lib |
Ole32.dll |
Windows |
19H1 |
|
|
|
|
|
|
The WriteClassStg function stores the specified class identifier (CLSID) in a storage object.
IStorage pointer to the storage object that gets a new CLSID.
Pointer to the CLSID to be stored with the object.
This function returns HRESULT.
The WriteClassStg function writes a CLSID to the specified storage object so that it can be read by the ReadClassStg function. Container applications typically call this function before calling the IPersistStorage::Save method.