win32event.WaitForInputIdle
int = WaitForInputIdle(hProcess, milliseconds )
Waits until the given process is waiting for user input with no input pending, or until the time-out interval has elapsed
Parameters
Return Value
The return value indicates wether the process is ready or wether it timed out. This value can be one of the following.
Value | Meaning |
0 | The process is ready. |
WAIT_TIMEOUT | The time-out interval elapsed, and the process is not ready. |