The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

CComGITPtr::operator =


The assignment operator.

CComGITPtr& operator =(
   T* p 

CComGITPtr& operator =(
   const CComGITPtr& git 

CComGITPtr& operator =(
   DWORD dwCookie 

CComGITPtr& operator =(
   CComGITPtr&& rv

[in] p

A pointer to an interface.

[in] git

A reference to a CComGITPtr object.

[in] dwCookie

A cookie used to identify the interface pointer.

[in] rv

The CComGITPtr to move data from.

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