CComPtr::Detach
T*** Detach( );**
Return Value
A pointer to the member to be detached.
Remarks
Returns the member pointer and detaches it from this CComPtr object by setting p to NULL. The pointer's reference count is not decremented.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
T*** Detach( );**
Return Value
A pointer to the member to be detached.
Remarks
Returns the member pointer and detaches it from this CComPtr object by setting p to NULL. The pointer's reference count is not decremented.