STORAGE_TEMPERATURE_INFO structure (ntddstor.h)
Describes device temperature data. Returned as part of STORAGE_TEMPERATURE_DATA_DESCRIPTOR when querying for temperature data with an IOCTL_STORAGE_QUERY_PROPERTY request.
Syntax
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;
Members
Index
Identifies the instance of temperature information. Starts from 0. Index 0 may indicate a composite value.
Temperature
A signed value that indicates the current temperature, in degrees Celsius.
OverThreshold
A signed value that specifies the maximum temperature within the desired threshold, in degrees Celsius.
UnderThreshold
A signed value that specifies the minimum temperature within the desired threshold, in degrees Celsius.
OverThresholdChangable
Indicates if OverThreshold can be changed by using IOCTL_STORAGE_SET_TEMPERATURE_THRESHOLD.
UnderThresholdChangable
Indicates if UnderThreshold can be changed by using IOCTL_STORAGE_SET_TEMPERATURE_THRESHOLD.
EventGenerated
Indicates if a notification will be generated when the current temperature crosses a threshold.
Reserved0
Reserved for future use.
Reserved1
Reserved for future use.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10 |
Minimum supported server | Windows Server 2016 |
Header | ntddstor.h (include Ntddstor.h) |