MXSIO_CloseCommport
Closes the COM port; the COM port handle will be invalid.
C/C++
int MXSIO_CloseCommport( int hCommport);
Visual Basic
Declare Function MXSIO_CloseCommport Lib "MXIO.dll" (ByVal hCommport As Long) As Long
Arguments:
hCommport |
Handle of the opened COM port. |
Return Value:
Succeed |
MXIO_OK |
Fail |
Refer to Return Codes. |