Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

AtlUnmarshalPtr

 

Converts the stream's marshaling data into an interface pointer that can be used by the client.

System_CAPS_importantImportant

This function cannot be used in applications that execute in the Windows Runtime.


      HRESULT AtlUnmarshalPtr(
IStream* pStream,
const IID& iid,
IUnknown** ppUnk 
);

pStream

[in] A pointer to the stream being unmarshaled.

iid

[in] The GUID of the interface being unmarshaled.

ppUnk

[out] A pointer to the unmarshaled interface.

A standard HRESULT value.

Example

See the example for AtlMarshalPtrInProc.

Requirements

Header: atlbase.h

Show: