PowerReportThermalEvent function
Notifies the operating system of thermal events.
Syntax
DWORD WINAPI PowerReportThermalEvent( _In_ PTHERMAL_EVENT Event );
Parameters
- Event [in]
-
The thermal event structure, THERMAL_EVENT.
Return value
Returns ERROR_SUCCESS (zero) if the call was successful, and a nonzero value if the call failed.
Remarks
Thermal managers call the PowerReportThermalEvent routine to notifiy the operating system of a thermal event so that the event can be recorded in the system event log.
Before calling PowerReportThermalEvent, the thermal manager sets the members of the THERMAL_EVENT structure to describe the thermal event.
Requirements
|
Minimum supported client |
Windows 8.1 [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2012 [desktop apps only] |
|
Header |
|
|
Library |
|
|
DLL |
|
See also