DS_REPSYNCALL_UPDATEA structure (ntdsapi.h)

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

Syntax

typedef struct {
  DS_REPSYNCALL_EVENT    event;
  DS_REPSYNCALL_ERRINFOA *pErrInfo;
  DS_REPSYNCALL_SYNCA    *pSync;
} DS_REPSYNCALL_UPDATEA, *PDS_REPSYNCALL_UPDATEA;

Members

event

Contains a DS_REPSYNCALL_EVENT value that describes the event which the DS_REPSYNCALL_UPDATE structure represents.

pErrInfo

Pointer to a DS_REPSYNCALL_ERRINFO structure that contains error data about the replication performed by the DsReplicaSyncAll function.

pSync

Pointer to a DS_REPSYNCALL_SYNC structure that identifies the source and destination servers that have either initiated or finished synchronization.

Remarks

Note

The ntdsapi.h header defines DS_REPSYNCALL_UPDATE as an alias which automatically selects the ANSI or Unicode version of this function based on the definition of the UNICODE preprocessor constant. Mixing usage of the encoding-neutral alias with code that not encoding-neutral can lead to mismatches that result in compilation or runtime errors. For more information, see Conventions for Function Prototypes.

Requirements

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

See also

DS_REPSYNCALL_ERRINFO

DS_REPSYNCALL_EVENT

DS_REPSYNCALL_SYNC

Domain Controller and Replication Management Structures

DsReplicaSyncAll

SyncUpdateProc