We have a third party application running. It shows login dialog when idle for 20 minutes. We need to prevent the application to display login screen.
We do not have any idea how idle state is handled internally in that application.
We have done the follwoing with no luck.
Is there any other way to achieve the goal?
If third-party application detects idle state using GetLastInputInfo function, you can try SendInput to reset an idle state. Find some input event that doesn't affect normal program execution, like mouse movement to 1 or even 0 pixels.