CComGITPtr::operator =
Collapse the table of content
Expand the table of content
The document is archived and information here might be outdated

CComGITPtr::operator =

The assignment operator.

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

p

A pointer to an interface.

git

A reference to a CComGITPtr object.

dwCookie

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

Show:
© 2016 Microsoft