How do I call ACPI control methods from C++ or C# on Windows?

前端 未结 1 2041
陌清茗
陌清茗 2021-02-20 02:17

I\'m getting tired of waiting for HP to fix the switchable graphics driver for my laptop, but I think I can switch GPUs myself by calling ACPI methods. The switching works using

相关标签:
1条回答
  • 2021-02-20 02:47

    Some links on similar problems (For example) say that this is possible only from kernel-mode driver under Windows. So to accomplish this I can think only of the following options:

    1. Writing entire videodriver by yourself - I doubt you will go this way...

    2. Finding documentation on or reverse-engineering existing videodriver for your GPU and issuing necessary commands via IOCTLs using function DeviceIoControl (MSDN). Also not very reliable - existing driver might not contain necessary functions/IOCTLs - but I think it will be much easier than the first option.

    0 讨论(0)
提交回复
热议问题