The IsSameObject method of the IRemoteObjectEx interface determines whether a given IRemoteObject interface represents this object.
HRESULT IsSameObject(IRemoteObject *other)
[in] *other | The other object to compare with this object. |
S_OK The given object is this object.
S_FALSE The given object is not this object.