CloseComPort

Purpose

Closes a communications port previously opened with OpenComPort, or the communications port associated with a resource that was opened with the OpenComPortEx command.

Parameters

Parameter: port
Type: integer
Description: The number of the port to be closed or the resource number of the port to be closed if OpenComPortEx was used to open it.

Returns

None.