Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
PowerActionNone Value: 0 No system power action. |
PowerActionReserved Reserved; do not use. |
PowerActionSleep Sleep. |
PowerActionHibernate Hibernate. |
PowerActionShutdown Shutdown. |
PowerActionShutdownReset Shutdown and reset. |
PowerActionShutdownOff Shutdown and power off. |
PowerActionWarmEject Warm 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) |