IShellExecuteInfo.WaitTimeout

Syntax

WaitTimeout: Integer;

Description

The WaitTimeout property determines the amount of time that the program will wait for the running application to complete its work.

Comments

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.

Example

The property use is given in the example for IProcess.Start.

See also:

IShellExecuteInfo