电源管理问题,

红牛哥110 2006-05-15 02:22:00
我通过注册表修改了进入userIdle的时间,想让它马上生效(目前必需重启才生效).
注册表中的位置如下:
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Power\Timeouts],
在PM驱动中我看到是通过PlatformLoadTimeouts(VOID)这个函数来重新读取Timeouts键中的值的.
但不知要创建或打开一个什么样的事件来引发PlatformLoadTimeouts(VOID).

...全文
248 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
红牛哥110 2006-05-15
  • 打赏
  • 举报
回复
问题已解决,散分.
红牛哥110 2006-05-15
  • 打赏
  • 举报
回复
刚在MS的网站上查到的;
You can reset the system state transition timers by creating a named auto-reset event called _T("PowerManager/ReloadActivityTimeouts") and calling SetEvent on the handle of that event. This informs the Power Manager to read transition timer settings again from the Timeouts registry key.

suyun9329 2006-05-15
  • 打赏
  • 举报
回复
CONCERN
Saint_Feeling 2006-05-15
  • 打赏
  • 举报
回复
帮顶!

19,503

社区成员

发帖
与我相关
我的任务
社区描述
硬件/嵌入开发 嵌入开发(WinCE)
社区管理员
  • 嵌入开发(WinCE)社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧