POWER_ACTION enumeration
Applies to: desktop apps only
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 |
|---|---|
|
Minimum supported server | Windows Server 2003 |
|
Header |
|
See also
Send comments about this topic to Microsoft
Build date: 2/7/2012