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.

CComPtr OverviewClass Members