Platform SDK: Active Directory, ADSI, and Directory Services

DS_REPSYNCALL_UPDATE

The DS_REPSYNCALL_UPDATE structure contains information about the status of the replication performed by the DsReplicaSyncAll function. The DsReplicaSyncAll function passes this structure to a callback function in its pFnCallBack parameter. For more information on the callback function, see SyncUpdateProc.

typedef struct 
{
  DS_REPSYNCALL_EVENT    event;
  DS_REPSYNCALL_ERRINFO *pErrInfo;
  DS_REPSYNCALL_SYNC    *pSync;
} DS_REPSYNCALL_UPDATE, *PDS_REPSYNCALL_UPDATE;

Members

event
Describes the event which the DS_REPSYNCALL_UPDATE structure represents. This value may be one of the following.
Value Meaning
DS_REPSYNCALL_EVENT_ERROR An error has occurred. Error information is stored in pErrInfo.
DS_REPSYNCALL_EVENT_FINISHED Execution of DsReplicaSyncAll is complete. The pSync and pErrInfo members are both null. The return value of the callback function will be ignored.
DS_REPSYNCALL_EVENT_SYNC_COMPLETED Synchronization of two servers has just finished. The servers involved in the synchronization are stored in pSync, and pErrInfo is NULL.
DS_REPSYNCALL_EVENT_SYNC_STARTED Synchronization of two servers was just initiated. Both pErrInfo and pSync are NULL.

pErrInfo
Pointer to a DS_REPSYNCALL_ERRINFO structure containing error information about the replication performed by the DsReplicaSyncAll function.
pSync
Pointer to a DS_REPSYNCALL_SYNC structure identifying the source and destination servers that have either initiated or finished synchronization.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Header: Declared in Ntdsapi.h.
  Unicode: Declared as Unicode and ANSI structures.

See Also

Domain Controller and Replication Management Structures, DsReplicaSyncAll, SyncUpdateProc, DS_REPSYNCALL_ERRINFO, DS_REPSYNCALL_SYNC