This method compares the specified handles using entry identifiers, such as file names or record numbers.
At a Glance
Header file: | Cesync.h |
Windows CE versions: | 2.0 and later |
Syntax
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. |
See Also