IReplStore::CompareStoreIDs (Windows Embedded CE 6.0)
1/6/2010
This method compares two store identifiers to determine if they are equal.
Syntax
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 Value
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
Header | cesync.h |
Library | coredll.lib |
Windows Embedded CE | Windows CE 2.0 and later |
See Also
Reference
IReplStore
IReplStore::GetStoreInfo