// 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 referenceNo description available.
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.
AddressThe device address for the power notification.
PowerActionA STOR_POWER_ACTION value that indicates the power action. For a runtime power transition, set PowerAction to StorPowerActionNone.
PowerStateA 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.