THERMAL_WAIT_READ structure

The THERMAL_WAIT_READ struct is used as the input buffer by the IOCTL_THERMAL_READ_TEMPERATURE IOCTL control code.

Syntax

C++

typedef struct _THERMAL_WAIT_READ {

ULONG Timeout;

ULONG LowTemperature;

ULONG HighTemperature;

} THERMAL_WAIT_READ, *PTHERMAL_WAIT_READ;

Members

Timeout

The time to wait before returning temperature data, in milliseconds. 0 indicates the temperature should be read immediately, with no wait. -1 indicates the read should not time out.

LowTemperature

The lower threshold for returning the new temperature given in tenths degrees Kelvin. As soon as the temperature drops below the low temperature threshold, the driver should complete the IOCTL. If the temperature is already below the low temperature, the IOCTL should be completed immediately.

HighTemperature

The upper threshold for returning the new temperature given in tenths degrees Kelvin. As soon as the temperature rises above the high temperature threshold, the driver should complete the IOCTL. If the temperature is already above the high temperature, the IOCTL should be completed immediately.

Thermal Management in Windows

Thermal Management Datatypes

Thermal Management IOCTLs