ZwSetSystemPowerState
ZwSetSystemPowerState sets the power state of the system.
NTSYSAPI
NTSTATUS
NTAPI
ZwSetSystemPowerState(
IN POWER_ACTION SystemAction,
IN SYSTEM_POWER_STATE MinSystemState,
IN ULONG Flags
);
Parameters
SystemAction
Specifies the power action to perform.The permitted values are drawn from the enumeration POWER_ACTION:
MinSystemState
Specifies the minimum power state to enter as a result of performing the action. The permitted values are drawn from the enumeration SYSTEM_POWER_STATE: