Specifies a timeout in milliseconds to wait for a DDE Transaction to be completed.
[ lStatus = ] DdeTimeout ( lmSec )
The DdeTimeout procedure syntax has the following parts:
|
Name |
Type |
Description |
|
lStatus |
Long |
Status |
|
lmSec |
Val Long |
Timeout value in milliseconds |
The return value specifies the previous timeout value in milliseconds upon success. If lmSec is 0 or negative, the function returns 0. The function specifies the maximum time to wait for the DDE server application to respond to a DDE Transaction. A DDE Transaction can be invoked by calling DdeExecute, DdePoke, and DdeRequest function. The default timeout value is 1000 ms.
! Set Dde timeout to 2.5 seconds
DdeTimeout (2500)