MXSIO_Disconnect
Disconnect the RS-485/232 I/O device. The I/O device handle will be invalid.
C/C++
int MXSIO_Disconnect( int hConnection);
Visual Basic
Declare Function MXSIO_Disconnect Lib "MXIO.dll" (ByVal hConnection As Long) As Long
Arguments:
hConnection |
Handle for the I/O device connection. |
Return Value:
Succeed |
MXIO_OK |
Fail |
Refer to Return Codes. |