Determines if an object is equal to the current object.
Syntax
HRESULT IsEqualObject(
IUnknown*punk
);
Parameters
punk
[in] Address of the object to compare with the current object.
Return Value
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
| Value | Description |
|---|---|
S_OK |
The objects are equal. |
S_FALSE |
The objects are not equal. |
Remarks
An implementation of the IsEqualObject method should return S_OK only if the objects are identical.