Bewerken

Delen via


PEP_QUERY_COMPONENT_PERF_CAPABILITIES structure (pep_x.h)

The PEP_QUERY_COMPONENT_PERF_CAPABILITIES structure specifies the number of performance state (P-state) sets that are defined for a component.

Syntax

typedef struct _PEP_QUERY_COMPONENT_PERF_CAPABILITIES {
  [in]  PEPHANDLE DeviceHandle;
  [in]  ULONG     Component;
  [out] ULONG     SetCount;
} PEP_QUERY_COMPONENT_PERF_CAPABILITIES, *PPEP_QUERY_COMPONENT_PERF_CAPABILITIES;

Members

[in] DeviceHandle

A PEPHANDLE value that identifies the device. The PEP supplied this handle in response to 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.

[out] SetCount

The number of P-state sets that are defined for this component.

Remarks

This structure is used by the PEP_DPM_QUERY_COMPONENT_PERF_CAPABILITIES notification. The DeviceHandle and Component members contain input values that are supplied by the Windows power management framework (PoFx) when this notification is sent. The SetCount member contains an output value that the PEP writes to the structure in response to the notification.

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_QUERY_COMPONENT_PERF_CAPABILITIES

PEP_DPM_REGISTER_DEVICE