mike_marquet
asked on
Enable / Disabling screen saver via API !
Did someone knows the API function for enabling and disabling the screen saver ?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
And a bit different: My tip uses SETSCREENSAVEACTIVE instead of SPI_SCREENSAVERRUNNING...
ASKER
Thanks
You can use this function to tell windows that a screensaver is already running. It has the neat side effect, that windows won't start another screensaver.
Hope it helps,
Nils
(zoppo, you where some seconds faster :)