STORAGE_DEVICE_POWER_CAP structure (ntddstor.h)

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

Syntax

typedef struct _STORAGE_DEVICE_POWER_CAP {
  ULONG                          Version;
  ULONG                          Size;
  STORAGE_DEVICE_POWER_CAP_UNITS Units;
  ULONGLONG                      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.

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 ntddstor.h (include Ntddstor.h)