Skip to content

Latest commit

 

History

History
84 lines (66 loc) · 2.25 KB

nf-coml2api-writeclassstg.md

File metadata and controls

84 lines (66 loc) · 2.25 KB
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.
WriteClassStg
WriteClassStg function [Structured Storage]
_stg_writeclassstg
coml2api/WriteClassStg
stg.writeclassstg
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
WriteClassStg
coml2api/WriteClassStg
c++
APIRef
kbSyntax
DllExport
Ole32.dll
API-MS-Win-Core-Com-l2-1-1.dll
coml2.dll
WriteClassStg

WriteClassStg function

-description

The WriteClassStg function stores the specified class identifier (CLSID) in a storage object.

-parameters

-param pStg [in]

IStorage pointer to the storage object that gets a new CLSID.

-param rclsid [in]

Pointer to the CLSID to be stored with the object.

-returns

This function returns HRESULT.

-remarks

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.

-see-also

OleSave

ReadClassStg