STORAGE_DEVICE_POWER_CAP structure

This structure is used as an input and output buffer for the IOCTL_STORAGE_DEVICE_POWER_CAP.

Syntax

typedef struct _STORAGE_DEVICE_POWER_CAP {
  DWORD                          Version;
  DWORD                          Size;
  STORAGE_DEVICE_POWER_CAP_UNITS Units;
  DWORDLONG                      MaxPower;
} STORAGE_DEVICE_POWER_CAP, *PSTORAGE_DEVICE_POWER_CAP;

Members

Version

The version of this structure. This should be set to STORAGE_DEVICE_POWER_CAP_VERSION_V1.

Size

The size of this structure.

Units

The units of the MaxPower value, of type STORAGE_DEVICE_POWER_CAP_UNITS.

MaxPower

Contains the value of the actual maximum power consumption level of the device. This may be equal to, less than, or greater than the desired threshold, depending on what the device supports.

Requirements

   
Minimum supported client Windows 10
Minimum supported server Windows Server 2016
Header winioctl.h (include Windows.h)