Directory Services |
The DS_REPL_CURSOR_BLOB structure contains inbound replication state data with respect to all replicas of a given naming context. This structure is similar to the DS_REPL_CURSOR_3 structure, but is obtained from the Lightweight Directory Access Protocol API functions when obtaining binary data for the msDS-NCReplCursors attribute.
typedef struct {
UUID uuidSourceDsaInvocationID;
USN usnAttributeFilter;
FILETIME ftimeLastSyncSuccess;
DWORD oszSourceDsaDN; } DS_REPL_CURSOR_BLOB;
The following code example demonstrates how to access the directory service agent distinguished name string using the oszSourceDsaDN member.
DS_REPL_CURSOR_BLOB *pdsReplCurBlob; // Retrieve the replication data into pdsReplCurBlob. LPWSTR pwszSourceDsaDN = (LPWSTR)((LPBYTE)pdsReplCurBlob + pdsReplCurBlob->oszSourceDsaDN);
Client: Included in Windows XP.
Server: Included in Windows Server 2003.
Header: Declared in Ntdsapi.h.
DS_REPL_CURSOR_3, FILETIME, Lightweight Directory Access Protocol API