Is there a way to detect when a windows process is waiting for user input.
For instance, when you click on a particular program it loads, in this case the program\'s pr
Call WaitForInputIdle with a handle to a process. it will suspend execution until the program completes its initialization and is waiting for user input with no input pending.