AdsSyncGetTimeoutEx
Returns the set timeout time for the ADS functions. The default value is 5000 ms.
LONG AdsSyncGetTimeoutEx(
LONG port,
LONG* pnMs
);
Parameter
port
[in] port number of an ADS port that had previously been opened with AdsPortOpenEx or AdsPortOpen.
pnMs
[out] Buffer for the timeout time in ms.
Return value
Returns the function's error state.
Sample
-