T* operator =( T* lp );
T* operator =( const CComPtr< T >& lp );
Remarks
When assigning a pointer type derived from T, the operator sets p to the given T*. When assigning a CComPtr, the operator sets p to the member pointer of lp.
CComPtr Overview | Class Members