I was searching for solution to "Prevent ScreenSaver". I know this was disscused before, for example in the following topic's:     But today I was reading this: https://docs.microsoft.com/en-us/windows/desktop/api/winuser/nf-winuser-systemparametersinfoa .... .... .... And I'm wondering if somebody could provide example how to use this parameter together with this: https://docs.microsoft.com/en-us/windows/desktop/api/winuser/nf-winuser-sendinput