#ifndef _NTEXAPI_H
#if (PHNT_MODE != PHNT_MODE_KERNEL)
NTSYSCALLAPI
NTSTATUS
NTAPI
NtShutdownSystem(
_In_ SHUTDOWN_ACTION Action
);
View code on GitHub#ifndef _NTZWAPI_H
NTSYSCALLAPI
NTSTATUS
NTAPI
ZwShutdownSystem(
_In_ SHUTDOWN_ACTION Action
);
View code on GitHubNo description available.
Function NtShutdownSystem closes system. Caller should manually inform running processes about pending shutdown action.
Type of shutdown defined in SHUTDOWN_ACTION enumeration type.
Privilege: SE_SHUTDOWN_PRIVILEGE