IReplStore::CompareStoreIDs

The CompareStoreIDs method compares two store identifiers to determine whether the identifiers are equal.

Syntax

int CompareStoreIDs (
  LPBYTE lpbStore1,
  UINT cStore1,
  LPBYTE lpbStore2,
  UINT cStore2
);

Parameters

  • lpbStore1
    [in] Reference to the first store identifier.
  • cStore1
    [in] Specifies the size of the first store identifier.
  • lpbStore2
    [in] Reference to the second store identifier.
  • cStore2
    [in] Specifies the size of the second store identifier.

Return Values

  • 0
    The store identifiers represent the same store.
  • 1
    The first store identifier is bigger than the second store identifier.
  • -1
    The first store identifier is smaller than the second store identifier.

Remarks

The store identifiers that are passed are always obtained from the STOREINFO structure set by the IReplStore::GetStoreInfo method.

Requirements

Pocket PC: Windows Mobile 2002 and later
OS Versions: Windows CE 3.0 and later
Header: cesync.h
Library: None

See Also

IReplStore

IReplStore::GetStoreInfo

STOREINFO

Send feedback on this topic to the authors.

© 2005 Microsoft Corporation. All rights reserved.