ISimpleSyncProviderConstraintConflictResolver::ModifyLocalItem

Renames the local item so that it no longer conflicts with the remote item name.

HRESULT ModifyLocalItem(
  const ITEM_FIELDS *pKeyAndExpectedVersionInfo,
  IRecoverableErrorCallback *pRecoverableErrorCallback,
  ITEM_FIELDS **ppUpdatedKeyAndVersionInfo);

Parameters

  • pKeyAndExpectedVersionInfo
    [in] 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.
  • ppUpdatedKeyAndVersionInfo
    [out] Returns the key and version properties of pLocalConflictingItemInfo that were modified as a result of conflict resolution.

Return Value

  • S_OK

See Also

Reference

ISimpleSyncProviderConstraintConflictResolver Interface