Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All


Call this method to disassociate the interface from the CComGITPtr object.

DWORD Detach( ) throw( );

Return Value

Returns the cookie from the CComGITPtr object.


It is up to the caller to remove the interface from the GIT, using CComGITPtr::Revoke.

See Also

CComGITPtr Overview | Class Members | CComGITPtr::Attach

© 2015 Microsoft