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
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

CComGITPtr::operator =

The assignment operator.

CComGITPtr< T >& operator =( 
   T* p  
CComGITPtr< T >& operator =( 
   const CComGITPtr< T >& git  
CComGITPtr< T >& operator =( 
   DWORD dwCookie  


A pointer to an interface.


A reference to a CComGITPtr object.


A cookie used to identify the interface pointer.

Returns the updated CComGITPtr object.

Assigns a new value to a CComGITPtr object, either from an existing object or from a reference to a global interface table.

Header: atlbase.h

Community Additions

© 2015 Microsoft