Share via


PoSetThermalActiveCooling function

The PoSetThermalActiveCooling updates the active cooling constraint associated with the thermal request, propagating the update to the device's cooling interface if needed.

Syntax

NTKERNELAPI
NTSTATUS
PoSetThermalActiveCooling (
    PVOID ThermalRequest,
    BOOLEAN Engaged
    )

Parameters

ThermalRequest

Supplies a pointer to receive the thermal request object.

Engaged

Supplies TRUE if active cooling should be engaged, FALSE otherwise.

Return Value

NTSTATUS

Requirements

   
Minimum supported client Available starting with Windows 10 1703 release.
Target Platform Universal
Header wdm.h (include Wdm.h, Ntddk.h, Ntifs.h)
Library NtosKrnl.lib
DLL NtosKrnl.exe
IRQL <= APC_LEVEL