DS_REPL_CURSORS_2 structure (ntdsapi.h)
The DS_REPL_CURSORS_2 structure is used with the DsReplicaGetInfo2 function to provide replication state data with respect to all replicas of a given naming context.
Syntax
typedef struct _DS_REPL_CURSORS_2 {
DWORD cNumCursors;
DWORD dwEnumerationContext;
#if ...
DS_REPL_CURSOR_2 rgCursor[];
#else
DS_REPL_CURSOR_2 rgCursor[1];
#endif
} DS_REPL_CURSORS_2;
Members
cNumCursors
Contains the number of elements in the rgCursor array.
dwEnumerationContext
Contains the zero-based index of the next entry to retrieve if more entries are available. This value is passed for the dwEnumerationContext parameter in the next call to DsReplicaGetInfo2 to retrieve the next block of entries. If no more entries are available, this member contains -1.
rgCursor
Contains an array of DS_REPL_CURSOR_2 structures that contain the requested replication data. The cNumCursors member contains the number of elements in this array.
rgCursor[1]
Contains an array of DS_REPL_CURSOR_2 structures that contain the requested replication data. The cNumCursors member contains the number of elements in this array.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista |
Minimum supported server | Windows Server 2008 |
Header | ntdsapi.h |