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.
Used by the GUID_ACDC_POWER_SOURCE power event to indicate the current power source.
Syntax
typedef enum {
PoAc,
PoDc,
PoHot,
PoConditionMaximum
} SYSTEM_POWER_CONDITION;
Constants
PoAcThe computer is powered by an AC power source (or similar, such as a laptop powered by a 12V automotive adapter). |
PoDcThe system is receiving power from built-in batteries. |
PoHotThe computer is powered by a short-term power source such as a UPS device. |
PoConditionMaximumValues equal to or greater than this value indicate an out of range value. |
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Vista [desktop apps only] |
| Minimum supported server | Windows Server 2008 [desktop apps only] |
| Header | winnt.h (include Windows.h) |