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:
- Windows CE Version: Requires version 4.2 or later.
- Image Version: Requires version 1.90 or later.
- Header: Declared in TCatIoW32Api.h.
- Import Library: Use TCatIoDrvW32.lib.