Gild GetLastInputInfo für den Benutzeraccount, in welchem das Programm läuft, oder für alle Benutzer?
Aus Luckies Link: This function is useful for input idle detection. However, GetLastInputInfo
does not provide system-wide user input information across all running sessions. Rather, GetLastInputInfo provides session-specific
user input information for only the session that invoked the function.