WaitTimeout: Integer;
WaitTimeout: Int32;
The WaitTimeout property determines the amount of time that the program will wait for the running application to complete its work.
WaitTimeout is taken into account if the IShellExecuteInfo.WaitToTerminate property is set to True. By default, the WaitTimeout property is set to -1, and the waiting lasts for indefinite time. The current application is available again when the time is expired if any time is set in the WaitTimeout property.
Value of the WaitTimeout property is specified in milliseconds.
The property use is given in the example for IShellExecuteInfo.Parameters.
See also: