Muokkaa

Jaa


Global Flags Constants

The global flags constants are used to enable or disable user power policy options.

Constant/value Description
EnableMultiBatteryDisplay
0x02
Enables or disables multiple battery display in the system Power Meter.
EnablePasswordLogon
0x04
Enables or disables requiring password logon when the system resumes from standby or hibernate.
EnableSysTrayBatteryMeter
0x01
Enables or disables the battery meter icon in the system tray. When this flag is cleared, the battery meter icon is not displayed.
EnableVideoDimDisplay
0x10
Enables or disables support for dimming the video display when the system changes from running on AC power to running on battery power.
EnableWakeOnRing
0x08
Enables or disables wake on ring support.

Requirements

Requirement Value
Minimum supported client
Windows XP [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
PowrProf.h

See also

GLOBAL_USER_POWER_POLICY