how can i set the value of Minimum (Maximum) Processor state

喜你入骨 提交于 2019-12-06 05:58:40

I could only recommend calling WriteProcessorPwrScheme using PInvoke. Windows API Code Pack for .NET has some power management functions but probably not this one.

use

PowerWriteACValueIndex()/PowerWriteDCValueIndex()

1st parameter is NULL, 2nd parameter -- GUID for desired power scheme (GUID_MAX_POWER_SAVINGS/GUID_MIN_POWER_SAVINGS/GUID_TYPICAL_POWER_SAVINGS), 3rd parameter -- GUID_PROCESSOR_SETTINGS_SUBGROUP, 4th parameter -- GUID_PROCESSOR_THROTTLE_MAXIMUM or GUID_PROCESSOR_THROTTLE_MINIMUM

all the GUID description could be found in winnt.h

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!