DS_REPSYNCALL_ERRINFOA structure (ntdsapi.h)

The DS_REPSYNCALL_ERRINFO structure is used with the DS_REPSYNCALL_UPDATE structure to contain errors generated by the DsReplicaSyncAll function during replication.

Syntax

typedef struct {
  LPSTR               pszSvrId;
  DS_REPSYNCALL_ERROR error;
  DWORD               dwWin32Err;
  LPSTR               pszSrcId;
} DS_REPSYNCALL_ERRINFOA, *PDS_REPSYNCALL_ERRINFOA;

Members

pszSvrId

Pointer to a null-terminated string that contains the DNS GUID of the server where the error occurred. Alternatively, this member can contain the distinguished name of the server if DS_REPSYNCALL_ID_SERVERS_BY_DN is specified in the ulFlags parameter of the DsReplicaSyncAll function.

error

Contains one of the DS_REPSYNCALL_ERROR values that indicates where in the replication process the error occurred.

dwWin32Err

Indicates the actual Win32 error code generated during replication between the source server referred to by pszSrcId and the destination server referred to by pszSvrId.

pszSrcId

Pointer to a null-terminated string that specifies the DNS GUID of the source server. Alternatively, this member can contain the distinguished name of the source server if DS_REPSYNCALL_ID_SERVERS_BY_DN is specified in the ulFlags parameter of the DsReplicaSyncAll function.

Remarks

Note

The ntdsapi.h header defines DS_REPSYNCALL_ERRINFO 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_ERROR

DS_REPSYNCALL_UPDATE

Domain Controller and Replication Management Structures

DsReplicaSyncAll