PO_FX_PERF_STATE_CHANGE structure (wdm.h)

The PO_FX_PERF_STATE_CHANGE structure contains information about a change to a performance state that is being requested by calling the PoFxIssueComponentPerfStateChange or PoFxIssueComponentPerfStateChangeMultiple routine.

Syntax

typedef struct _PO_FX_PERF_STATE_CHANGE {
  ULONG Set;
  union {
    ULONG     StateIndex;
    ULONGLONG StateValue;
  };
} PO_FX_PERF_STATE_CHANGE, *PPO_FX_PERF_STATE_CHANGE;

Members

Set

The index of the performance state set that is being changed within the collection of performance state sets for the component.

StateIndex

For sets that represent a discrete number of performance states (that is, where the Type member of the PO_FX_COMPONENT_PERF_SET is PoFxPerfStateTypeDiscrete), this member is the index of the performance state to use for the new performance level.

StateValue

For sets that represent a continuous distribution of performance states (that is, where the Type member of the PO_FX_COMPONENT_PERF_SET is PoFxPerfStateTypeRange), this member is the value of the performance state to use for the new performance level.

Remarks

The PO_FX_PERF_STATE_CHANGE structure is used for the PerfChange parameter of the PoFxIssueComponentPerfStateChange routine and the PerfChanges parameter of the PoFxIssueComponentPerfStateChangeMultiple routine.

Requirements

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

See also

Device Performance State Management

PoFxIssueComponentPerfStateChange

PoFxIssueComponentPerfStateChangeMultiple