SHUTDOWN_ACTION - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
#ifndef _NTEXAPI_H
#if (PHNT_MODE != PHNT_MODE_KERNEL)

typedef enum _SHUTDOWN_ACTION
{
    ShutdownNoReboot,
    ShutdownReboot,
    ShutdownPowerOff,
    ShutdownRebootForRecovery // since WIN11
} SHUTDOWN_ACTION;

#endif
#endif

View code on GitHub

Enumeration type SHUTDOWN_ACTION is used in a call to NtShutdownSystem function.

ShutdownNoReboot

Normal shutdown, after system closes, processor jump into infinite loop.

ShutdownReboot

BIOS Reset function is called, after system closes.

ShutdownPowerOff

BIOS Shutdown function is called after system closes. If hardware does not support this functionality, ShutdownReboot is automatically called.

Documented by

See also