SYSTEM_POWER_CONDITION enumeration
Used by the GUID_ACDC_POWER_SOURCE power event to indicate the current power source.
Syntax
typedef enum { PoAc = 0, PoDc = 1, PoHot = 2, PoConditionMaximum = 3 } SYSTEM_POWER_CONDITION;
Constants
- PoAc
-
The computer is powered by an AC power source (or similar, such as a laptop powered by a 12V automotive adapter).
- PoDc
-
The system is receiving power from built-in batteries.
- PoHot
-
The computer is powered by a short-term power source such as a UPS device.
- PoConditionMaximum
-
Values equal to or greater than this value indicate an out of range value.
Requirements
|
Minimum supported client |
Windows Vista [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2008 [desktop apps only] |
|
Header |
|
See also
Show: