MACHINE_PROCESSOR_POWER_POLICY structure (powrprof.h)

Contains processor power policy settings that apply while the system is running on AC power or battery power.

Syntax

typedef struct _MACHINE_PROCESSOR_POWER_POLICY {
  ULONG                  Revision;
  PROCESSOR_POWER_POLICY ProcessorPolicyAc;
  PROCESSOR_POWER_POLICY ProcessorPolicyDc;
} MACHINE_PROCESSOR_POWER_POLICY, *PMACHINE_PROCESSOR_POWER_POLICY;

Members

Revision

The current structure revision level. Set this value by calling ReadProcessorPwrScheme before using a MACHINE_PROCESSOR_POWER_POLICY structure to set power policy.

ProcessorPolicyAc

A PROCESSOR_POWER_POLICY structure that defines the processor power policy settings used while the computer is running on AC power.

ProcessorPolicyDc

A PROCESSOR_POWER_POLICY structure that defines the processor power policy settings used while the computer is running on battery power.

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

PROCESSOR_POWER_POLICY

ReadProcessorPwrScheme

WriteProcessorPwrScheme