STOR_DEVICE_POWER_STATE 枚举 (storport.h)

STOR_DEVICE_POWER_STATE枚举器指定存储设备电源状态。

语法

typedef enum _STOR_DEVICE_POWER_STATE {
  StorPowerDeviceUnspecified,
  StorPowerDeviceD0,
  StorPowerDeviceD1,
  StorPowerDeviceD2,
  StorPowerDeviceD3,
  StorPowerDeviceMaximum
} STOR_DEVICE_POWER_STATE, *PSTOR_DEVICE_POWER_STATE;

常量

 
StorPowerDeviceUnspecified
未指定设备电源状态。
StorPowerDeviceD0
最大设备电源状态,对应于 设备工作状态 D0
StorPowerDeviceD1
小于 StorPowerDeviceD0 且大于 StorPowerDeviceD2 的设备睡眠状态,对应于设备电源状态 D1。
StorPowerDeviceD2
小于 StorPowerDeviceD1 且大于 StorPowerDeviceD3 的设备睡眠状态,对应于设备电源状态 D2。
StorPowerDeviceD3
最低功率设备睡眠状态,对应于设备电源状态 D3。
StorPowerDeviceMaximum
设备电源状态的上限分隔值。

要求

要求
最低受支持的客户端 Windows 8
标头 storport.h (包括 Storport.h、Minitape.h、Srb.h)

另请参阅

HwStorUnitControl

SCSI_POWER_REQUEST_BLOCK

STOR_UNIT_CONTROL_POWER