diff --git a/00. Inbox/00. Inbox/[APP] 設定CPU Power mode.md b/00. Inbox/00. Inbox/[APP] 設定CPU Power mode.md index 783869a..e3a99ff 100644 --- a/00. Inbox/00. Inbox/[APP] 設定CPU Power mode.md +++ b/00. Inbox/00. Inbox/[APP] 設定CPU Power mode.md @@ -1,3 +1,6 @@ 用 [`PowerWriteACValueIndex()`](https://learn.microsoft.com/en-us/windows/win32/api/powersetting/nf-powersetting-powerwriteacvalueindex) 或是 `PowerWriteDCValueIndex()` 來設定,然後用 `PowerSetActiveScheme()` 使其生效。 -關於 scheme 的 GUID: https://learn.microsoft.com/en-us/windows/win32/power/power-setting-guids \ No newline at end of file +關於 scheme 的 GUID: https://learn.microsoft.com/en-us/windows/win32/power/power-setting-guids + +C#的使用:[C#使用WinAPI 修改电源设置,临时禁止笔记本合上盖子时睡眠(使用PowerGetActiveScheme等函数,以及C#对WINAPI的调用) - findumars - 博客园](https://www.cnblogs.com/findumars/p/6298724.html) +使用 API 的例子:[qt - Disable CPU package idle states in Windows from C++ code - Stack Overflow](https://stackoverflow.com/questions/69346153/disable-cpu-package-idle-states-in-windows-from-c-code) \ No newline at end of file