STOR_POFX_ACTIVE_CONTEXT structure (storport.h)

STOR_POFX_ACTIVE_CONTEXT is the structure pointed to by the Parameters parameter when a miniport's HwStorUnitControl routine is called with a ControlType of ScsiUnitPoFxPowerActive or a miniport's HwStorAdapterControl routine is called with a ControlType of ScsiAdapterPoFxPowerActive.

Syntax

typedef struct _STOR_POFX_ACTIVE_CONTEXT {
  STOR_POWER_CONTROL_HEADER Header;
  ULONG                     ComponentIndex;
  BOOLEAN                   Active;
} STOR_POFX_ACTIVE_CONTEXT, *PSTOR_POFX_ACTIVE_CONTEXT;

Members

Header

The STOR_POWER_CONTROL_HEADER structure.

ComponentIndex

Index of the device component with the active status. The component index is always 0 for a unit device and for an adapter.

Active

The active status of the component. For a unit device, Active is set to TRUE if the unit is active or FALSE if the unit is idle. For an adapter, Active is always set to TRUE.

Requirements

Requirement Value
Minimum supported client Windows 8
Header storport.h

See also

HwStorAdapterControl

HwStorUnitControl

STOR_POWER_CONTROL_HEADER