DS_REPSYNCALL_EVENT enumeration (ntdsapi.h)

The DS_REPSYNCALL_EVENT enumeration is used with the DS_REPSYNCALL_UPDATE structure to define which event the DS_REPSYNCALL_UPDATE structure represents.

Syntax

typedef enum {
  DS_REPSYNCALL_EVENT_ERROR = 0,
  DS_REPSYNCALL_EVENT_SYNC_STARTED = 1,
  DS_REPSYNCALL_EVENT_SYNC_COMPLETED = 2,
  DS_REPSYNCALL_EVENT_FINISHED = 3
} DS_REPSYNCALL_EVENT;

Constants

 
DS_REPSYNCALL_EVENT_ERROR
Value: 0
An error occurred. Error data is stored in the pErrInfo member of the DS_REPSYNCALL_UPDATE structure.
DS_REPSYNCALL_EVENT_SYNC_STARTED
Value: 1
Synchronization of two servers has started. Both the pErrInfo and pSync members of the DS_REPSYNCALL_UPDATE structure are NULL.
DS_REPSYNCALL_EVENT_SYNC_COMPLETED
Value: 2
Synchronization of two servers has just finished. The servers involved in the synchronization are identified by the pSync member of the DS_REPSYNCALL_UPDATE structure. The pErrInfo member of the DS_REPSYNCALL_UPDATE structure is NULL.
DS_REPSYNCALL_EVENT_FINISHED
Value: 3
Execution of DsReplicaSyncAll is complete. Both the pErrInfo and pSync members of the DS_REPSYNCALL_UPDATE structure are NULL. The return value of the callback function is ignored.

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Header ntdsapi.h

See also

DS_REPSYNCALL_UPDATE