CComPtrBase::Detach
Call this method to release ownership of a pointer.
T* Detach( ) throw( );
Возвращаемое значение
Returns a copy of the pointer.
Заметки
Releases ownership of a pointer, sets the CComPtrBase::p data member variable to NULL, and returns a copy of the pointer.
Требования
Header: atlcomcli.h