Bewerken

Delen via


PEP_PPM_PARK_SELECTION structure (pep_x.h)

The PEP_PPM_PARK_SELECTION structure indicates the preferences of the operating system and platform extension plug-in (PEP) regarding which processors in the platform should be parked to reduce power consumption.

Syntax

typedef struct _PEP_PPM_PARK_SELECTION {
  [in]     ULONG                          AdditionalUnparkedProcessors;
  [in]     ULONG                          Count;
  [in/out] PPEP_PROCESSOR_PARK_PREFERENCE Processors;
} PEP_PPM_PARK_SELECTION, *PPEP_PPM_PARK_SELECTION;

Members

[in] AdditionalUnparkedProcessors

The number of additional processors that need to be parked.

This number includes all processors in the Processors array for which the PEP sets PepPreference to PROCESSOR_PARK_PREFERENCE_PARKED but the operating system sets PoPreference to either PROCESSOR_PARK_PREFERENCE_UNPARKED or PROCESSOR_PARK_PREFERENCE_NONE. For more information about these values, see PEP_PROCESSOR_PARK_PREFERENCE.

This number does not include processors in the Processors array for which the operating system sets the PoPreference value to PROCESSOR_PARK_PREFERENCE_PARKED.

[in] Count

The number of elements in the array pointed to by the Processors member.

[in/out] Processors

A pointer to an array of PEP_PROCESSOR_PARK_PREFERENCE structures. The Count member specifies the number of elements in the array.

On input

Each array element indicates the parking preferences for a particular processor.

On output

Returns the PEP parking preference for each processor.

The Processors array is guaranteed to contain the processors in increasing order by processor index.

Remarks

This structure is used by the PEP_NOTIFY_PPM_PARK_SELECTION notification. All three members of the structure contain input values that are set by the Windows power management framework (PoFx) before this notification is sent to the PEP.

Requirements

Requirement Value
Minimum supported client Supported starting with Windows 10.
Header pep_x.h (include Pep_x.h)

See also

PEP_NOTIFY_PPM_PARK_SELECTION

PEP_PROCESSOR_PARK_PREFERENCE