AdsSyncSetTimeoutEx
Alters the timeout for the ADS functions. The default value is 5000 ms.
LONG AdsSyncSetTimeoutEx(
LONG port,
LONG nMs
);
Parameter
port
[in] port number of an ADS port that had previously been opened with AdsPortOpenEx or AdsPortOpen.
nMs
[in] Timeout in ms.
Return value
Returns the function's error state.
Sample
-