다음을 통해 공유


4.1.11 IDL_DRSGetNT4ChangeLog (Opnum 11)

If the server is the PDC emulator FSMO role owner, the IDL_DRSGetNT4ChangeLog method returns either a sequence of PDC change log entries or the NT4 replication state, or both, as requested by the client.

 ULONG IDL_DRSGetNT4ChangeLog(
   [in, ref] DRS_HANDLE hDrs,
   [in] DWORD dwInVersion,
   [in, ref, switch_is(dwInVersion)] 
     DRS_MSG_NT4_CHGLOG_REQ* pmsgIn,
   [out, ref] DWORD* pdwOutVersion,
   [out, ref, switch_is(*pdwOutVersion)] 
     DRS_MSG_NT4_CHGLOG_REPLY* pmsgOut
 );

hDrs: The RPC context handle returned by the IDL_DRSBind method.

dwInVersion: The version of the request message.

pmsgIn: A pointer to the request message.

pdwOutVersion: A pointer to the version of the response message.

pmsgOut: A pointer to the response message.

Return Values: 0 or ERROR_MORE_DATA if successful; another Windows error code if a failure occurred.

Exceptions Thrown: This method might throw the following exceptions beyond those thrown by the underlying RPC protocol (as specified in [MS-RPCE]): ERROR_INVALID_HANDLE, ERROR_DS_DRS_EXTENSIONS_CHANGED, ERROR_DS_DIFFERENT_REPL_EPOCHS, and  ERROR_INVALID_PARAMETER.