For a program presentation i need a rotiine that block power monitor and screen saver program. Do can you help me?
Try this: https://learn.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-setthreadexecutionstateCode: Pascal [Select][+][-]SetThreadExecutionState(ES_CONTINUOUS or ES_SYSTEM_REQUIRED or ES_DISPLAY_REQUIRED);
This function does not stop the screen saver from executing.