AdsSyncGetTimeoutEx
Returns the configured timeout for the ADS functions. The standard value is 5000 ms.
LONG AdsSyncGetTimeoutEx(
LONG port,
LONG* pnMs
);
Parameters
port
[in] port number of an Ads port that had previously been opened with AdsPortOpenEx or AdsPortOpen.
pnMs
[out] Buffer to store timeout value in ms.
Return value
Returns the function's error status.
Example
-