Share via


IReplStore::CompareStoreIDs (Windows CE 5.0)

Send Feedback

This method compares two store identifiers to determine if they are equal.

HRESULT CompareStoreIDs(LPBYTE lpbID1,UINT cbID1,LPBYTE lpbID2,UINT cbID2);

Parameters

  • lpbID1
    [in] Long pointer to the first store identifier.
  • cbID1
    [in] Size of the first store identifier.
  • lpbID2
    [in] Long pointer to the second store identifier.
  • cbID2
    [in] Size of the second store identifier.

Return Values

The following table shows the possible return values for this method.

Value Description
0 These store identifiers represent the same store.
1 The first store is bigger than the second store.
-1 The first store is smaller than the second store.

Remarks

Replication calls CompareStoreIDs when it needs to know if the current store is different from the one accessed during the last synchronization. The store identifiers passed are always obtained from the STOREINFO structure set by the IReplStore::GetStoreInfo method.

Requirements

OS Versions: Windows CE 2.0 and later.
Header: Cesync.h.
Link Library: Coredll.lib.

See Also

IReplStore::GetStoreInfo | STOREINFO

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.