THERMAL_EVENT structure (powrprof.h)
Contains a thermal event.
Syntax
typedef struct _THERMAL_EVENT {
ULONG Version;
ULONG Size;
ULONG Type;
ULONG Temperature;
ULONG TripPointTemperature;
LPWSTR Initiator;
} THERMAL_EVENT, *PTHERMAL_EVENT;
Members
Version
The current structure version level, THERMAL_EVENT_VERSION.
Size
The size of the structure.
Type
One of the thermal event values from Ntpoapi.h: THERMAL_EVENT_SHUTDOWN, THERMAL_EVENT_HIBERNATE, or THERMAL_EVENT_UNSPECIFIED.
Temperature
The temperature, in tenths of a degree Kelvin, that the sensor was at after crossing the trip point (or zero if unknown).
TripPointTemperature
The temperature, in tenths of a degree Kelvin, of the trip point (or zero if unknown).
Initiator
A pointer to a NULL-terminated, wide-character string that identifies the sensor whose threshold was crossed.
Remarks
Drivers use the THERMAL_EVENT structure to specify a thermal event. By calling the PowerReportThermalEvent routine, the operating system can record the thermal event in the system event log.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8.1 [desktop apps only] |
Minimum supported server | Windows Server 2012 [desktop apps only] |
Header | powrprof.h |