Quote Originally Posted by Anarchi
ok thanks I'll remember that

ps. I found an alternative way to avoid standby.

SetThreadExecutionState(ES_SYSTEM_REQUIRED);
SetThreadExecutionState(ES_DISPLAY_REQUIRED);
That's very interesting. Thanks for sharing