STOR_POFX_PERF_STATE_CONTEXT structure (storport.h)

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.

Syntax

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;

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.

Requirements

Requirement Value
Minimum supported client Windows 8
Header storport.h

See also

HwStorAdapterControl

StorPortPoFxSetPerfState