TCatGetState

The TCatGetState function returns the current ADS - State of TwinCAT System Service.

LRESULT TCatGetState();

Return Values

Current AdsState of TwinCAT System Service. If the function fails, the return value is ADSSTATE_ERROR.

QuickInfo

For Windows CE: