Directory Services

DS_REPSYNCALL_ERRINFO

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

typedef struct {
LPTSTR pszSvrId;
DS_REPSYNCALL_ERROR error;
DWORD dwWin32Err;
LPTSTR pszSrcId; } DS_REPSYNCALL_ERRINFO,
*PDS_REPSYNCALL_ERRINFO;

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.

Requirements

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

See Also

DS_REPSYNCALL_UPDATE, DsReplicaSyncAll, DS_REPSYNCALL_ERROR, Domain Controller and Replication Management Structures