CComGITPtr::Attach
Visual Studio 2005
Call this method to register the interface pointer in the global interface table (GIT).
HRESULT Attach( T* p ) throw( ); HRESULT Attach( DWORD dwCookie ) throw( );
Parameters
- p
-
The interface pointer to be added to the GIT.
- dwCookie
-
The cookie used to identify the interface pointer.