T* Detach( );
Return Value
A pointer to the member to be detached.
Remarks
Returns the member pointer and detaches it from this CComQIPtr object by setting p to NULL. The pointer’s reference count is not decremented.
CComPtr Overview | Class Members