次の方法で共有


IDebugObject::IsEqual

Compares an object with this object.

HRESULT IsEqual( 
   IDebugObject* pObject,
   BOOL*         pfIsEqual
);
int IsEqual(
   IDebugObject pObject,
   out int      pfIsEqual
);

Parameters

  • pObject
    [in] An IDebugObject object representing the object to compare to.

  • pfIsEqual
    [out] Returns non-zero (TRUE) if the values of the objects are equal; otherwise, returns zero (FALSE).

Return Value

If successful, returns S_OK; otherwise, returns an error code.

Remarks

Typically, this method can compare the addresses of the values represented by the pObject parameter and this IDebugObject object; if the addresses are equal, then the objects can be considered equal.

See Also

Reference

IDebugObject