PEP_WORK_COMPLETE_PERF_STATE structure (pep_x.h)

The PEP_WORK_COMPLETE_PERF_STATE structure describes the completion status of a previously requested update to the performance values assigned to a list of performance state (P-state) sets.

Syntax

typedef struct _PEP_WORK_COMPLETE_PERF_STATE {
       POHANDLE DeviceHandle;
  [in] ULONG    Component;
       BOOLEAN  Succeeded;
} PEP_WORK_COMPLETE_PERF_STATE, *PPEP_WORK_COMPLETE_PERF_STATE;

Members

DeviceHandle

A handle that represents the registration of the device with the Windows power management framework (PoFx). The PEP received this handle in a previous PEP_DPM_REGISTER_DEVICE notification.

[in] Component

The index that identifies the component. This member is an index into the Components array in the PEP_DEVICE_REGISTER_V2 structure that the PEP previously supplied in response to the PEP_DPM_REGISTER_DEVICE notification for this device. If the Components array contains N elements, component indexes range from 0 to N–1.

Succeeded

Whether the requested P-state changes successfully completed. Set to TRUE if the PEP successfully completed all P-state changes requested in a previous PEP_DPM_REQUEST_COMPONENT_PERF_STATE notification. Set to FALSE if the PEP was unable to perform all the requested P-state changes, in which case the P-states in the hardware were left unchanged.

Remarks

The CompletePerfState member of the PEP_WORK_INFORMATION structure is a PEP_WORK_COMPLETE_PERF_STATE structure. If PoFx sends a PEP_DPM_REQUEST_COMPONENT_PERF_STATE notification to request performance level changes to one or more P-state sets, and the PEP chooses to handle this request asynchronously, the PEP uses a PEP_WORK_COMPLETE_PERF_STATE structure to describe the completion status of the request.

Requirements

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

See also

PEP_DEVICE_REGISTER_V2

PEP_DPM_REGISTER_DEVICE

PEP_DPM_REQUEST_COMPONENT_PERF_STATE

PEP_WORK_INFORMATION