IChangeConflict::SetResolveActionForChange method (winsync.h)

Sets a conflict resolution action for the conflict.

Syntax

HRESULT SetResolveActionForChange(
  [in] SYNC_RESOLVE_ACTION resolveAction
);

Parameters

[in] resolveAction

The conflict resolution action for the conflict.

Return value

The possible return codes include, but are not limited to, the values shown in the following table.

Return code Description
S_OK
The method succeeded.
E_POINTER
Invalid pointer.
SYNC_E_INTERNAL_ERROR
An internal error has occurred.

Remarks

By setting this action in an event handler for ISyncCallback::OnConflict, the event handler specifies how a change applier should handle the conflict.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Target Platform Windows
Header winsync.h

See also

IChangeConflict Interface

ISyncCallback::OnConflict Method

SYNC RESOLVE ACTION Enumeration