STOR_UNIT_CONTROL_POWER结构(storport.h)

STOR_UNIT_CONTROL_POWER 是 Storport 调用微型端口的 HwStorUnitControl 例程时,Parameters 参数所指向的结构,ControlTypeScsiUnitPower

语法

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;

成员

Address

电源通知的设备地址。

PowerAction

指示电源作的 STOR_POWER_ACTION 值。 对于运行时电源转换,请将 PowerAction 设置为 StorPowerActionNone

PowerState

指示当前电源状态的 STOR_DEVICE_POWER_STATE 值。 这是 StorPowerDeviceD0StorPowerDeviceD3 分别用于开机状态或关机状态。

要求

要求 价值
最低支持的客户端 Windows 8
标头 storport.h

另请参阅

HwStorUnitControl