TCatIoClose
The TCatIoClose function closes a connection to the TwinCAT I/O Server. Before ending the application TCatIoClose should be called to avoid loss of system resources.
LRESULT TCatIoClose();
Parameters
None
Return Values
If the function fails, the return value is non zero.
Remarks
TCatIoClose does some cleanup and frees allocated memory and system resources.
QuickInfo
For Windows NT:
- Windows NT Version: Requires version 4.0 or later.
- TwinCAT: Requires version 2.5 or later.
- Header: Declared in TCatIoApi.h.
- Import Library: Use TCatIoDrv.lib.
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.