#ifndef _NTEXAPI_H
#if (PHNT_MODE != PHNT_MODE_KERNEL)
typedef enum _SHUTDOWN_ACTION
{
ShutdownNoReboot,
ShutdownReboot,
ShutdownPowerOff,
ShutdownRebootForRecovery // since WIN11
} SHUTDOWN_ACTION;
View code on GitHubNo description available.
Enumeration type SHUTDOWN_ACTION is used in a call to NtShutdownSystem function.
Normal shutdown, after system closes, processor jump into infinite loop.
BIOS Reset function is called, after system closes.
BIOS Shutdown function is called after system closes. If hardware does not support this functionality, ShutdownReboot is automatically called.