POWER_ACTION enumeration
Defines values that are used to specify system power action types.
Syntax
typedef enum _POWER_ACTION { PowerActionNone = 0, PowerActionReserved, PowerActionSleep, PowerActionHibernate, PowerActionShutdown, PowerActionShutdownReset, PowerActionShutdownOff, PowerActionWarmEject } POWER_ACTION, *PPOWER_ACTION;
Constants
- PowerActionNone
-
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.
Requirements
|
Minimum supported client |
Windows XP [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2003 [desktop apps only] |
|
Header |
|
See also
Show: