ComPtr::Detach 方法

离散从它表示此接口的 ComPtr对象。

T* Detach();

返回值

为由该对象表示 ComPtr 接口的指针。

要求

**标头:**client.h

命名空间: Microsoft::WRL

请参见

参考

ComPtr 类