ISyncCallback2::OnChangeFailed method (winsync.h)

Occurs after a change fails to apply.

Syntax

HRESULT OnChangeFailed(
  [in] DWORD dwChangesApplied,
  [in] DWORD dwChangesFailed
);

Parameters

[in] dwChangesApplied

The number of changes that have been successfully applied during the synchronization session. This value is the sum of item changes plus change unit changes.

[in] dwChangesFailed

The number of changes that have failed to apply during the synchronization session. This value is the sum of item changes plus change unit changes.

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.
Application-determined error codes

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

ISyncCallback Interface

ISyncCallback2 Interface