Platform SDK: Active Directory, ADSI, and Directory Services |
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;
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. |
Windows NT/2000: Requires Windows 2000.
Header: Declared in Ntdsapi.h.
Unicode: Declared as Unicode and ANSI structures.
Domain Controller and Replication Management Structures, DsReplicaSyncAll, SyncUpdateProc, DS_REPSYNCALL_ERRINFO, DS_REPSYNCALL_SYNC