3.2.5.11 NetRemoteTOD Command

The Remote Administration Protocol server MUST process the NetRemoteTODRequest as follows:

  1. The server MUST validate that the incoming ParamDesc field of the Remote Administration Protocol request contains the ASCII string "rL"; if it does not, the server SHOULD format a Remote Administration Protocol response with the Win32ErrorCode set to ERROR_INVALID_PARAMETER (0x0057), and then return the response to the client.<82>

  2. The server MUST fill in the RAPOutData with a TimeOfDayInfo structure, using the marshaling rules (as specified in section 2.5.11) and the current time.

  3. If any other errors occur during the response processing, the Remote Administration Protocol server MUST fill in the Win32ErrorCode value in the Remote Administration Protocol response message with the Win32 error code corresponding to the error. Otherwise, the Remote Administration Protocol server MUST set Win32ErrorCode to ERROR_SUCCESS (0X0000).