|
IMoniker::IsEqual
Compares the moniker with a specified moniker and indicates whether they are
identical.
HRESULT IsEqual(
IMoniker *pmkOtherMoniker
| //Moniker to be used for comparison
| );
|
|
Parameter
pmkOtherMoniker
[in] Points to the moniker to be used for comparison.
Return Values
S_OK
The two monikers are identical.
S_FALSE
The two monikers are not identical.
Comments
Previous implementations of the Running Object Table (ROT) called this method.
The current implementation of the ROT uses the IROTData interface instead.
Notes to Callers
Call this method to determine if two monikers are identical or not. Note that
the reduced form of a moniker is considered different from the unreduced form.
You should call the IMoniker::Reduce method before calling IMoniker::IsEqual, because a reduced moniker is in its most specific form. IMoniker::IsEqual may return S_FALSE on two monikers before they are reduced, and S_OK after
they are reduced.
Notes to Implementors
Your implementation should not reduce the current moniker before performing
the comparison. It is the caller's responsibility to call IMoniker::Reduce in order to compare reduced monikers.
Note that two monikers that compare as equal must hash to the same value using IMoniker::Hash.
See Also
IMoniker::Reduce, IMoniker::Hash, IROTData
Related LinksSoftware for Delphi and C++ Builder developers Software for Visual Studio .NET developers Software for Visual Basic 6 developers Delphi Tips&Tricks
MegaDetailed.NET
TMS Scripter Studio Pro components for Delphi/C++Builder
More Online Helps Win32 Programmer's Reference (win32.hlp) Win32 Multimedia Programmer's Reference (mmedia.hlp) Microsoft Windows Pen API Programmer's Reference (penapi.hlp) Microsoft Windows Sockets 2 Reference (sock2.hlp) Microsoft Windows Telephony API (TAPI) Programmer's Reference (sock2.hlp) Unix Manual Pages
|