Directory Services

DS_REPSYNCALL_EVENT

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

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;

Values

DS_REPSYNCALL_EVENT_ERROR
An error occurred. Error data is stored in the pErrInfo member of the DS_REPSYNCALL_UPDATE structure.
DS_REPSYNCALL_EVENT_SYNC_STARTED
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
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
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

Client: Included in Windows XP and Windows 2000 Professional.
Server: Included in Windows Server 2003 and Windows 2000 Server.
Header: Declared in Ntdsapi.h.

See Also

DS_REPSYNCALL_UPDATE