Memory leaks when Windows shuts down the display

Started by
10 comments, last by Mona2000 9 years, 1 month ago

If all else fails you can prevent the computer turning off the display with SetThreadExecutionState() https://msdn.microsoft.com/en-us/library/windows/desktop/aa373208%28v=vs.85%29.aspx

Would once per frame be appropriate?

Advertisement

It would be pointless. I think you missed the ES_CONTINUOUS flag..

This topic is closed to new replies.

Advertisement