STOR_UNIT_CONTROL_POWER structure (storport.h)

STOR_UNIT_CONTROL_POWER is the structure pointed to by the Parameters parameter when Storport calls a miniport's HwStorUnitControl routine with a ControlType of ScsiUnitPower.

Syntax

typedef struct _STOR_UNIT_CONTROL_POWER {
  PSTOR_ADDRESS           Address;
  STOR_POWER_ACTION       PowerAction;
  STOR_DEVICE_POWER_STATE PowerState;
} STOR_UNIT_CONTROL_POWER, *PSTOR_UNIT_CONTROL_POWER;

Members

Address

The device address for the power notification.

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

HwStorUnitControl