Platform SDK: Active Directory, ADSI, and Directory Services

DS_REPSYNCALL_ERRINFO

The DS_REPSYNCALL_ERRINFO structure contains 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 Unicode string specifying the DNS GUID of the server where the error occurred. Alternatively, this member could contain the distinguished name (DN) of the server if DS_REPSYNCALL_ID_SERVERS_BY_DN was specified in the ulFlags parameter of DsReplicaSyncAll.
error
Indicates where in the replication process an error occurred when attempting synchronization of this server. This value may be one of the following.
Error Meaning
DS_REPSYNCALL_SERVER_UNREACHABLE The server referred to by pszSvrId is unreachable.
DS_REPSYNCALL_WIN32_ERROR_CONTACTING_SERVER Unable to contact the server referred to by pszSvrId.
DS_REPSYNCALL_WIN32_ERROR_REPLICATING An error occurred during replication of the server referred to by pszSvrId.

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 Unicode string specifying the DNS GUID of the source server. Alternatively, this member could contain the DN of the source server if DS_REPSYNCALL_ID_SERVERS_BY_DN was specified in the ulFlags parameter of DsReplicaSyncAll.

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, DS_REPSYNCALL_UPDATE