STOR_ADAPTER_CONTROL_POWER structure (storport.h)

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

Syntax

typedef struct _STOR_ADAPTER_CONTROL_POWER {
  STOR_POWER_CONTROL_HEADER Header;
  STOR_POWER_ACTION         PowerAction;
  STOR_DEVICE_POWER_STATE   PowerState;
} STOR_ADAPTER_CONTROL_POWER, *PSTOR_ADAPTER_CONTROL_POWER;

Members

Header

The STOR_POWER_CONTROL_HEADER structure.

PowerAction

A STOR_POWER_ACTION value that indicates the power action. For a runtime power transition, set PowerAction to StorPowerActionNone.

PowerState

A STOR_DEVICE_POWER_STATE value that indicates the current power state. This is either StorPowerDeviceD0 or StorPowerDeviceD3 for the power on or power off states respectively.

Requirements

Requirement Value
Minimum supported client Windows 8
Header storport.h

See also

HwStorAdapterControl