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.
Contains global computer power policy settings that apply to all power schemes for all users. This structure is part of the GLOBAL_POWER_POLICY structure.
Syntax
typedef struct _GLOBAL_MACHINE_POWER_POLICY {
ULONG Revision;
SYSTEM_POWER_STATE LidOpenWakeAc;
SYSTEM_POWER_STATE LidOpenWakeDc;
ULONG BroadcastCapacityResolution;
} GLOBAL_MACHINE_POWER_POLICY, *PGLOBAL_MACHINE_POWER_POLICY;
Members
Revision
The current structure revision level. Set this value by calling GetCurrentPowerPolicies or ReadGlobalPwrPolicy before using a GLOBAL_MACHINE_POWER_POLICY structure to set power policy.
LidOpenWakeAc
The maximum power state (highest Sx value) from which a lid-open event should wake the system when running on AC power. This member must be one of the SYSTEM_POWER_STATE enumeration type values. A value of PowerSystemUnspecified indicates that a lid-open event does not wake the system.
LidOpenWakeDc
The maximum power state (highest Sx value) from which a lid-open event should wake the system when running on battery. This member must be one of the SYSTEM_POWER_STATE enumeration type values. A value of PowerSystemUnspecified indicates that a lid-open event does not wake the system.
BroadcastCapacityResolution
The resolution of change in the current battery capacity that should cause the system to be notified of a system power state changed event.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Header | powrprof.h |