This topic has not yet been rated - Rate this topic

CComGITPtr::operator =

The assignment operator.

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

Parameters

p
A pointer to an interface.
git
A reference to a CComGITPtr object.
dwCookie
A cookie used to identify the interface pointer.

Return Value

Returns the updated CComGITPtr object.

Remarks

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

See Also

CComGITPtr Overview | Class Members

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.