IMoniker::IsEqual

HRESULT IMoniker::IsEqual(pmkOtherMoniker)

The most important use of this function is in the implementation of the Running Object Table. As discussed in detail later, this table has two distinct but closely related roles. First, using a moniker, entries in the Running Object Table indicate those objects which are presently now logically running and to which auto-link reconnections should be made. Second, for those objects which are actually running (have an object pointer), it provides a means given their moniker to actually connect to the appropriate running object.

The moniker implementation should not reduce itself before carrying out the compare operation.

Two monikers which can compare as equal in either order must hash to the same value; see IMoniker::Hash.

Argument

Type

Description

pmkOtherMoniker

IMoniker*

The other moniker with whom we would like to compare the receiver.

return value

HRESULT

S_OK, S_FALSE