The DRS_MSG_NT4_CHGLOG_REQ_V1 structure defines the request message sent to the IDL_DRSGetNT4ChangeLog method.

 typedef struct {
   DWORD dwFlags;
   DWORD PreferredMaximumLength;
   [range(0,10485760)] DWORD cbRestart;
   [size_is(cbRestart)] BYTE* pRestart;
 } DRS_MSG_NT4_CHGLOG_REQ_V1;

dwFlags: Zero or more of the following bit flags, which are presented in little-endian byte order:


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

X

X

X

X

X

X

S N

C L

X

X

X

X

X

X

X

X

X

X

X

X

X

X

X

X

X

X

X

X

X

X

X

X

X: Unused. MUST be zero and ignored.

CL (DRS_NT4_CHGLOG_GET_CHANGE_LOG, 0x00000001): If set, the server returns the PDC change log.

SN (DRS_NT4_CHGLOG_GET_SERIAL_NUMBERS, 0x00000002): If set, the server returns the NT4 replication state.

PreferredMaximumLength: The maximum size, in bytes, of the change log data that is to be retrieved in a single operation.

cbRestart: Zero if pRestart = null. Otherwise, the size, in bytes, of pRestart^.

pRestart: Null to request the change log from the beginning. Otherwise, a pointer to an opaque value, returned in some previous call to IDL_DRSGetNT4ChangeLog, identifying the last change log entry returned in that previous call.