ISimpleSyncProviderConcurrencyConflictResolver::ResolveUpdateUpdateConflict
Resolves conflicts in which an item was updated at both replicas.
HRESULT ResolveUpdateUpdateConflict(
IUnknown *pItemData,
const CHANGE_UNIT_SET *pChangeUnitsToMerge,
const CHANGE_UNIT_SET *pChangeUnitsToUpdate,
const ITEM_FIELDS *pKeyAndExpectedVersionInfo,
IRecoverableErrorCallback *pRecoverableErrorCallback,
ITEM_FIELDS **ppUpdatedVersionInfo);
Parameters
- pItemData
[in] Data for the item in a provider-specific format.
- pChangeUnitsToMerge
[in, unique] A collection of CHANGE_UNIT_SET objects that represent a set of change units that should be merged during conflict resolution.
- pChangeUnitsToUpdate
[in, unique] A collection of CHANGE_UNIT_SET objects that represent a set of change units that should be updated during conflict resolution.
- pKeyAndExpectedVersionInfo
[in, unique] The key and version properties of the item that is in conflict.
- pRecoverableErrorCallback
[in] An IRecoverableErrorCallback object that contains methods that can be called if a recoverable error occurs during conflict handling.
- ppUpdatedVersionInfo
[out] Returns the updated version properties of the updated items.
Return Value
- S_OK