CComPtrBase::IsEqualObject

Call this method to check if the specified IUnknown points to the same object associated with the CComPtrBase object.

bool IsEqualObject( 
   IUnknown* pOther  
) throw( );

pOther

The IUnknown * to compare.

Returns true if the objects are identical, false otherwise.

Header: atlcomcli.h

Show: