Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
POWER_ACTION enumeration (winnt.h)
Defines values that are used to specify system power action types.
Syntax
typedef enum {
PowerActionNone = 0,
PowerActionReserved,
PowerActionSleep,
PowerActionHibernate,
PowerActionShutdown,
PowerActionShutdownReset,
PowerActionShutdownOff,
PowerActionWarmEject,
PowerActionDisplayOff
} POWER_ACTION, *PPOWER_ACTION;
Constants
PowerActionNoneValue: 0 No system power action. |
PowerActionReservedReserved; do not use. |
PowerActionSleepSleep. |
PowerActionHibernateHibernate. |
PowerActionShutdownShutdown. |
PowerActionShutdownResetShutdown and reset. |
PowerActionShutdownOffShutdown and power off. |
PowerActionWarmEjectWarm eject. |
PowerActionDisplayOff |
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows XP [desktop apps only] |
| Minimum supported server | Windows Server 2003 [desktop apps only] |
| Header | winnt.h (include Windows.h) |
See also
Feedback
Was this page helpful?
