Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

STORAGE_TEMPERATURE_INFO structure (winioctl.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 {
 WORD Index;
 SHORT Temperature;
 SHORT OverThreshold;
 SHORT UnderThreshold;
 BOOLEAN OverThresholdChangable;
 BOOLEAN UnderThresholdChangable;
 BOOLEAN EventGenerated;
 BYTE Reserved0;
 DWORD 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 winioctl.h (include Windows.h)

See also

IOCTL_STORAGE_QUERY_PROPERTY

IOCTL_STORAGE_SET_TEMPERATURE_THRESHOLD

STORAGE_PROPERTY_ID

STORAGE_PROPERTY_QUERY


Feedback

Was this page helpful?

Additional resources