AbortShutdown method

The AbortShutdown method prevents the shutdown or the restart that the Console::Shutdown method or Console::Reboot method, respectively, initiates on a computer.

Syntax

HRESULT AbortShutdown();

Parameters

This method has no parameters.

Return value

AbortShutdown returns a standard HRESULT value.

Remarks

To use the AbortShutdown method, the caller should be running on the interactive console.

See also

Console

Console::Reboot

Console::Shutdown

 

 

Send comments about this topic to Microsoft

Build date: 1/12/2012