// ntddstor.h
typedef struct _STORAGE_TEMPERATURE_INFO {
USHORT Index;
SHORT Temperature;
SHORT OverThreshold;
SHORT UnderThreshold;
BOOLEAN OverThresholdChangable;
BOOLEAN UnderThresholdChangable;
BOOLEAN EventGenerated;
UCHAR Reserved0;
ULONG Reserved1;
} STORAGE_TEMPERATURE_INFO, *PSTORAGE_TEMPERATURE_INFO;
View the official Windows Driver Kit DDI reference// winioctl.h
typedef struct _STORAGE_TEMPERATURE_INFO {
WORD Index;
SHORT Temperature;
SHORT OverThreshold;
SHORT UnderThreshold;
BOOLEAN OverThresholdChangable;
BOOLEAN UnderThresholdChangable;
BOOLEAN EventGenerated;
BYTE Reserved0;
DWORD Reserved1;
} STORAGE_TEMPERATURE_INFO, *PSTORAGE_TEMPERATURE_INFO;
View the official Win32 API referenceNo description available.
Describes device temperature data. Returned as part of STORAGE_TEMPERATURE_DATA_DESCRIPTOR when querying for temperature data with an IOCTL_STORAGE_QUERY_PROPERTY request.
IndexIdentifies the instance of temperature information. Starts from 0. Index 0 may indicate a composite value.
TemperatureA signed value that indicates the current temperature, in degrees Celsius.
OverThresholdA signed value that specifies the maximum temperature within the desired threshold, in degrees Celsius.
UnderThresholdA signed value that specifies the minimum temperature within the desired threshold, in degrees Celsius.
OverThresholdChangableIndicates if OverThreshold can be changed by using IOCTL_STORAGE_SET_TEMPERATURE_THRESHOLD.
UnderThresholdChangableIndicates if UnderThreshold can be changed by using IOCTL_STORAGE_SET_TEMPERATURE_THRESHOLD.
EventGeneratedIndicates if a notification will be generated when the current temperature crosses a threshold.
Reserved0Reserved for future use.
Reserved1Reserved for future use.
STORAGE_TEMPERATURE_INFO
Describes device temperature data. Returned as part of STORAGE_TEMPERATURE_DATA_DESCRIPTOR when querying for temperature data with an IOCTL_STORAGE_QUERY_PROPERTY request.
IndexIdentifies the instance of temperature information. Starts from 0. Index 0 may indicate a composite value.
TemperatureA signed value that indicates the current temperature, in degrees Celsius.
OverThresholdA signed value that specifies the maximum temperature within the desired threshold, in degrees Celsius.
UnderThresholdA signed value that specifies the minimum temperature within the desired threshold, in degrees Celsius.
OverThresholdChangableIndicates if OverThreshold can be changed by using IOCTL_STORAGE_SET_TEMPERATURE_THRESHOLD.
UnderThresholdChangableIndicates if UnderThreshold can be changed by using IOCTL_STORAGE_SET_TEMPERATURE_THRESHOLD.
EventGeneratedIndicates if a notification will be generated when the current temperature crosses a threshold.
Reserved0Reserved for future use.
Reserved1Reserved for future use.
IOCTL_STORAGE_SET_TEMPERATURE_THRESHOLD