Bewerken

Delen via


PEP_PPM_QUERY_PLATFORM_STATE structure (pepfx.h)

The PEP_PPM_QUERY_PLATFORM_STATE structure contains information about a platform idle state.

Syntax

typedef struct _PEP_PPM_QUERY_PLATFORM_STATE {
  [in]  ULONG                   StateIndex;
  [out] PEP_PLATFORM_IDLE_STATE State;
} PEP_PPM_QUERY_PLATFORM_STATE, *PPEP_PPM_QUERY_PLATFORM_STATE;

Members

[in] StateIndex

The index of this platform idle state. If the hardware platform supports N platform idle states, the states are numbered 0 to N-1. The Windows power management framework (PoFx) previously sent a PEP_NOTIFY_PPM_QUERY_PLATFORM_STATES notification to the platform extension plug-in (PEP) to determine the number of supported platform idle states.

[out] State

A PEP_PLATFORM_IDLE_STATE structure that describes the platform idle state.

Remarks

This structure is used by the PEP_NOTIFY_PPM_QUERY_PLATFORM_STATE notification. The StateIndex member of the PEP_PPM_QUERY_PLATFORM_STATE structure contains an input value that is supplied by the Windows power management framework (PoFx) when this notification is sent to the PEP. The State member contains an output value that the PEP writes to the structure in response to the notification.

The buffer that PoFx allocates to hold the PEP_PPM_QUERY_PLATFORM_STATE structure is guaranteed to be large enough to contain this structure plus any elements of the State.DependencyArray array that follow this structure.

Requirements

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

See also

PEP_NOTIFY_PPM_QUERY_PLATFORM_STATE

PEP_NOTIFY_PPM_QUERY_PLATFORM_STATES

PEP_PLATFORM_IDLE_STATE