_com_ptr_t::Detach

Microsoft Specific

Interface* Detach( ) throw( );

Remarks

Extracts and returns the encapsulated interface pointer, then clears the encapsulated pointer storage to NULL. This removes the interface pointer from encapsulation. It is up to you to call Release on the returned interface pointer.

_com_ptr_t Overview

END Microsoft Specific