次の方法で共有


STORAGE_DEVICE_POWER_CAP_UNITS列挙 (winioctl.h)

最大電力しきい値の単位。

構文

typedef enum _STORAGE_DEVICE_POWER_CAP_UNITS {
  StorageDevicePowerCapUnitsPercent,
  StorageDevicePowerCapUnitsMilliwatts
} STORAGE_DEVICE_POWER_CAP_UNITS, *PSTORAGE_DEVICE_POWER_CAP_UNITS;

定数

 
StorageDevicePowerCapUnitsPercent
パーセント単位の単位。
StorageDevicePowerCapUnitsMilliwatts
単位はミリワット単位です。

要件

要件
サポートされている最小のクライアント Windows 10
サポートされている最小のサーバー Windows Server 2016
Header winioctl.h (Windows.h を含む)

こちらもご覧ください