Share via


IReplStore::CompareItem (Windows CE 5.0)

Send Feedback

This method compares the specified handles using entry identifiers, such as file names or record numbers.

int CompareItem(HREPLITEM hItem1,HREPLITEM hItem2);

Parameters

  • hItem1
    [in] Handle to the first object. The ActiveSync manager guarantees this handle is one of those returned by FindFirstItem or FindNextItem.
  • hItem2
    [in] Handle to the second object. The ActiveSync manager guarantees this handle is one of those returned by FindFirstItem or FindNextItem.

Return Values

The following table shows the possible return values for this method.

Value Description
0 These two handles represent the same object.
1 The first object is bigger than the second object.
–1 The first object is smaller than the second object.

Requirements

OS Versions: Windows CE 2.0 and later.
Header: Cesync.h.
Link Library: Coredll.lib.

See Also

HREPLITEM | IReplStore::IsItemChanged

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.