IReplStore::CompareStoreIDs
Note This interface is not supported on Windows CE 3.0-based platforms.
This method compares two store identifiers to determine if they are equal.
HRESULT CompareStoreIDs(
LPBYTE lpbID1,
UINT cbID1,
LPBYTE lpbID2,
UINT cbID2);
Parameters
- lpbID1
Long pointer to the first store identifier. - cbID1
Size of the first store identifier. - lpbID2
Long pointer to the second store identifier. - cbID2
Size of the second store identifier.
Return Values
One of the values described in the following table is returned.
| 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 the IReplStore::CompareStoreIDs method whenever it needs to know if the current store is different from the one it last replicated with. The store identifiers passed are always obtained from the STOREINFO structure set by the IReplStore::GetStoreInfo method.
Requirements
| Runs On | Versions | Defined in | Include | Link to |
|---|---|---|---|---|
| Windows CE OS | 2.0 and later | Cesync.h |
Note This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.
See Also
IReplStore::GetStoreInfo, STOREINFO
Last updated on Tuesday, July 13, 2004
© 1992-2000 Microsoft Corporation. All rights reserved.