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.
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论