Programmatically access CPU fan on a laptop? (Windows)

后端 未结 5 1642
情话喂你
情话喂你 2020-12-08 08:16

Is there a Windows standard way to do things such as \"start fan\", \"decrease speed\" or the like, from C/C++?

I have a suspicion it might be ACPI, but I am a frail

5条回答
  •  旧巷少年郎
    2020-12-08 08:43

    WIndows Management Instrumentation library (WMI) does provide a Win32_Fan Class and even a SetSpeed method. Alas, the docs say this is not implemented, so I guess it's not very helpful. But you may be able to control things by setting the power state.

提交回复
热议问题