Skip to content

Latest commit

 

History

History
93 lines (72 loc) · 2.6 KB

nf-coml2api-readclassstm.md

File metadata and controls

93 lines (72 loc) · 2.6 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.ReadClassStm
ReadClassStm function (coml2api.h)
Reads the CLSID previously written to a stream object with the WriteClassStm function.
ReadClassStm
ReadClassStm function [Structured Storage]
_stg_readclassstm
coml2api/ReadClassStm
stg.readclassstm
stg\readclassstm.htm
Stg
bcf11c5b-e164-4a0f-b30f-ee9e76c4356d
12/05/2018
ReadClassStm, ReadClassStm function [Structured Storage], _stg_readclassstm, coml2api/ReadClassStm, stg.readclassstm
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
ReadClassStm
coml2api/ReadClassStm
c++
APIRef
kbSyntax
DllExport
Ole32.dll
API-MS-Win-Core-Com-l2-1-1.dll
coml2.dll
ReadClassStm

ReadClassStm function

-description

The ReadClassStm function reads the CLSID previously written to a stream object with the WriteClassStm function.

-parameters

-param pStm [in]

A pointer to the IStream interface on the stream object that contains the CLSID to be read. This CLSID must have been previously written to the stream object using WriteClassStm.

-param pclsid [out]

A pointer to where the CLSID is to be written.

-returns

This function also returns any of the error values returned by the ISequentialStream::Read method.

-remarks

Most applications do not call the ReadClassStm function directly. COM calls it before making a call to an object's IPersistStream::Load implementation.

-see-also

ReadClassStg

WriteClassStg

WriteClassStm