BaseAbortShutdown (Opnum 1)

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

 unsigned long BaseAbortShutdown(
   [in, unique] PREGISTRY_SERVER_NAME ServerName

ServerName: The custom RPC binding handle (PREGISTRY_SERVER_NAME (section 2.2.1)).

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_ACCESS_DENIED.