IReplStore::CompareItem
Note This interface is not supported on Windows CE 3.0-based platforms.
This method compares the specified handles using entry identifiers, such as file names or record numbers.
int CompareItem(
HREPLITEM hItem1,
HREPLITEM hItem2);
Parameters
- hItem1
Handle to the first object. The ActiveSync service manager guarantees this handle is one of those returned by FindFirstItem or FindNextItem. - hItem2
Handle to the second object. The ActiveSync service manager guarantees this handle is one of those returned by FindFirstItem or FindNextItem.
Return Values
One of the values described in the following table is returned.
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
Runs On | Versions | Defined in | Include | Link to |
---|---|---|---|---|
Windows CE OS | 2.0 and later | Cesync.h |
Note This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.
See Also
HREPLITEM, IReplStore::IsItemChanged
Last updated on Tuesday, July 13, 2004
© 1992-2000 Microsoft Corporation. All rights reserved.