Win32 API 阻止待机
What is the Win32 api function that prevents the system from going into standby?
Some programs use it, which is pretty annoying in my opinion.
I know there's a couple of WM_SYSCOMMAND messages you can trap to prevent the screensaver from coming on..
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
设置线程执行状态。没有 Get,也不需要线程句柄。完毕。
SetThreadExecutionState. There's no Get and it doesn't take a thread handle. Done.