STOR_UNIT_CONTROL_POWER - NtDoc

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

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;

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

Description

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.

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.

See also

HwStorUnitControl