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( );

Parameters

  • pOther
    The IUnknown * to compare.

Return Value

Returns true if the objects are identical, false otherwise.

Requirements

Header: atlcomcli.h

See Also

Concepts

CComPtrBase Class

CComPtrBase Members