I would like to turn off the screensaver, if it is currently running. I have found these two functions, but neither of them seem to work.
Code:SystemParametersInfo(SPI_SETSCREENSAVEACTIVE, FALSE, NULL, 0); SendMessage(GetDesktopWindow(), WM_SYSCOMMAND, SC_SCREENSAVE, -1);
Any help is appreciated.