Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

SYSTEM_POWER_CONDITION enumeration (winnt.h)

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

 
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

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)

See also

Power Management Enumeration Types


Feedback

Was this page helpful?

Additional resources