Επεξεργασία

Κοινή χρήση μέσω


Discharge Policy Constants

The following list describes the discharge policy constants.

Constant/value Description
DISCHARGE_POLICY_CRITICAL
0
Which of the battery discharge policy settings (SYSTEM_POWER_LEVEL structures) is used when the battery discharges below the critical threshold.
DISCHARGE_POLICY_LOW
1
Which of the battery discharge policy settings (SYSTEM_POWER_LEVEL structures) is used when the battery discharges below the low threshold.
NUM_DISCHARGE_POLICIES
4
Number of battery discharge policy settings (SYSTEM_POWER_LEVEL structures) specified.

Requirements

Requirement Value
Minimum supported client
Windows XP [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
WinNT.h (include Windows.h)