The IABLogon::CompareEntryIDs method compares two entry identifiers to determine if they refer to the same object.
See IABLogon : IUnknown.
HRESULT CompareEntryIDs(
ULONG cbEntryID1,
LPENTRYID lpEntryID1,
ULONG cbEntryID2,
LPENTRYID lpEntryID2,
ULONG ulFlags,
ULONG FAR * lpulResult
);
Address book providers implement the IABLogon::CompareEntryIDs method to compare two entry identifiers to determine whether they refer to the same object.
CompareEntryIDs is useful because an object can have more than one valid entry identifier; such a situation can occur, for example, when trying to compare a short-term entry identifier with a long-term entry identifier.
For more information about creating entry identifiers, see Entry Identifiers.