开发者

Win32 API prevent standby

What is the Win32 api function that prevents the system from going into standby?

Some progra开发者_开发技巧ms 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..


SetThreadExecutionState. There's no Get and it doesn't take a thread handle. Done.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜