PEP_PPM_QUERY_STATE_NAME structure (pep_x.h)

The PEP_PPM_QUERY_STATE_NAME structure contains information about a specific coordinated or platform idle state.

Syntax

typedef struct _PEP_PPM_QUERY_STATE_NAME {
  [in]     ULONG  StateIndex;
  [in/out] USHORT NameSize;
  [in]     PWSTR  Name;
} PEP_PPM_QUERY_STATE_NAME, *PPEP_PPM_QUERY_STATE_NAME;

Members

[in] StateIndex

The index of the state that the OS is querying about.

[in/out] NameSize

If Name is NULL, returns the size of the buffer required to hold Name (including the trailing UNICODE_NULL character), in WCHARs. If Name is not NULL, supplies the size of the Name buffer, in WCHARs.

[in] Name

A pointer to a buffer to copy the name of the state to, or NULL.

Requirements

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

See also

PEP_NOTIFY_PPM_QUERY_COORDINATED_STATE_NAME notification

PEP_NOTIFY_PPM_QUERY_PROCESSOR_STATE_NAME notification