IReplStore::CompareItem

The IReplStore::CompareItem method compares the given handles using entry identifiers, file names or record numbers, for example.

Syntax

int CompareItem(
HREPLITEM
hItem1,
HREPLITEM
hItem2
);

At a Glance

Header file: Cesync.h
Platforms: H/PC
Windows CE versions: 2.0 and later

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

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

HREPLITEM, IReplStore::IsItemChanged