Partager via


IReplStore::CompareItem (Windows Embedded CE 6.0)

1/6/2010

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

Syntax

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 Value

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

Header cesync.h
Library coredll.lib
Windows Embedded CE Windows CE 2.0 and later

See Also

Reference

IReplStore
HREPLITEM
IReplStore::IsItemChanged