CComGITPtr::Detach

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

DWORD Detach( ) throw( );

Return Value

Returns the cookie from the CComGITPtr object.

Remarks

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

Requirements

Header: atlbase.h

See Also

Reference

CComGITPtr Class

CComGITPtr::Attach

Other Resources

CComGITPtr Members