3.3.4.2 WsdrAbortShutdown (Opnum 1)

The WsdrAbortShutdown method is used to terminate the shutdown of the remote computer within the waiting period.<15>

 unsigned long WsdrAbortShutdown(
   [in] handle_t Binding,
   [in, unique] PREG_UNICODE_STRING lpClientHint
 );

Binding: Primitive RPC handle that identifies a particular client/server binding.

lpClientHint: Used only for diagnostic purposes (logging the image file name of the process canceling a shutdown).

Return Values: The method returns ERROR_SUCCESS (0x00000000) on success; otherwise, it returns a nonzero error code.

On receiving this call, the server MUST perform the following validation step:

  • Verify that the caller has sufficient privileges to shut down the computer; otherwise, the server MUST return ERROR_BAD_NETPATH.