AtlUnmarshalPtr
Converts the stream's marshaling data into an interface pointer that can be used by the client.
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.
Пример
See the example for AtlMarshalPtrInProc.
Требования
Header: atlbase.h