AtlUnmarshalPtr

转换流封送数据转换为可由客户端使用的接口指针。

重要

此功能无法在 Windows 运行时执行的应用程序。

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

参数

  • pStream
    [out]一个指向unmarshaled的流的指针。

  • iid
    [in] unmarshaled接口的GUID。

  • ppUnk
    [out]一个指向unmarshaled接口的指针。

返回值

标准HRESULT值。

示例

AtlMarshalPtrInProc参见示例。

要求

Header: atlbase.h

请参见

参考

AtlMarshalPtrInProc

其他资源

Marshaling Global Functions