STORAGE_TEMPERATURE_DATA_DESCRIPTOR structure

This structure is used in conjunction with IOCTL_STORAGE_QUERY_PROPERTY to return temperature data from a storage device or adapter.

Syntax

typedef struct _STORAGE_TEMPERATURE_DATA_DESCRIPTOR {
  DWORD                    Version;
  DWORD                    Size;
  SHORT                    CriticalTemperature;
  SHORT                    WarningTemperature;
  WORD                     InfoCount;
  BYTE                     Reserved0[2];
  DWORD                    Reserved1[2];
  STORAGE_TEMPERATURE_INFO TemperatureInfo[ANYSIZE_ARRAY];
} STORAGE_TEMPERATURE_DATA_DESCRIPTOR, *PSTORAGE_TEMPERATURE_DATA_DESCRIPTOR;

Members

Version

Contains the size of this structure, in bytes. The value of this member will change as members are added to the structure.

Size

Specifies the total size of the data returned, in bytes. This may include data that follows this structure.

CriticalTemperature

Indicates the minimum temperature in degrees Celsius that may prevent normal operation. Exceeding this temperature may result in possible data loss, automatic device shutdown, extreme performance throttling, or permanent damage.

WarningTemperature

Indicates the maximum temperature in degrees Celsius at which the device is capable of operating continuously without degrading operation or reliability.

InfoCount

Specifies the number of STORAGE_TEMPERATURE_INFO structures reported in TemperatureInfo. More than one set of temperature data may be returned when there are multiple sensors in the drive.

Reserved0

Reserved for future use.

Reserved1

Reserved for future use.

TemperatureInfo

Requirements

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

See also

IOCTL_STORAGE_QUERY_PROPERTY

IOCTL_STORAGE_SET_TEMPERATURE_THRESHOLD

STORAGE_PROPERTY_ID

STORAGE_PROPERTY_QUERY

STORAGE_TEMPERATURE_INFO