STORAGE_TEMPERATURE_DATA_DESCRIPTOR - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// ntddstor.h

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

View the official Windows Driver Kit DDI reference
// winioctl.h

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;

View the official Win32 API reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-ntddstor-_storage_temperature_data_descriptor)

STORAGE_TEMPERATURE_DATA_DESCRIPTOR structure

Description

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

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[2]

Reserved for future use.

Reserved1[2]

Reserved for future use.

TemperatureInfo[ANYSIZE_ARRAY]

Device temperature data, of type *STORAGE_TEMPERATURE_INFO.

See also

IOCTL_STORAGE_QUERY_PROPERTY

*STORAGE_PROPERTY_ID

*STORAGE_PROPERTY_QUERY

*STORAGE_TEMPERATURE_INFO


Win32 API reference (ns-winioctl-storage_temperature_data_descriptor)

Description

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

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

Device temperature data, of type STORAGE_TEMPERATURE_INFO.

See also

IOCTL_STORAGE_QUERY_PROPERTY

IOCTL_STORAGE_SET_TEMPERATURE_THRESHOLD

STORAGE_PROPERTY_ID

STORAGE_PROPERTY_QUERY

STORAGE_TEMPERATURE_INFO