STOR_POFX_PERF_STATE_CONTEXT - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// storport.h

typedef struct _STOR_POFX_PERF_STATE_CONTEXT {
  ULONG   Version;
  ULONG   Size;
  ULONG   ComponentIndex;
  BOOLEAN Succeeded;
  PVOID   Context;
} STOR_POFX_PERF_STATE_CONTEXT, *PSTOR_POFX_PERF_STATE_CONTEXT;

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-storport-stor_pofx_perf_state_context)

Description

STOR_POFX_PERF_STATE_CONTEXT is the structure pointed to by the Parameters parameter when a miniport's HwStorAdapterControl routine is called with a ControlType of ScsiAdapterPoFxSetPerfState.

Members

Version

Version of this structure. Currently set to 1.

Size

Size of this structure, in bytes. Set to sizeof(STOR_POFX_PERF_STATE_CONTEXT).

ComponentIndex

The index of the associated component.

Succeeded

BOOLEAN value. If the platform extension plug-in (PEP) has no part in the P-State transition (that is, only the miniport initiates the corresponding physical power state transition), then this field should always be TRUE. If the PEP plays some part in the P-State transition then this field indicates whether the PEP was successful (TRUE on success; FALSE otherwise).

Context

Pointer to the same context that was passed in a call to StorPortPoFxSetPerfState. This is typically the P-state index.

See also

HwStorAdapterControl

StorPortPoFxSetPerfState