'KCMLClosePort(iHandle)

Closes a serial or parallel port on the client previously opened with KCMLOpenPort.

Arguments

INT()iHandle[in] Handle to the port returned from KCMLOpenPort.

Returns

The function has no return value.

Syntax

The following definition is built into KCML. You do not have to include it in your own code.

$DECLARE 'KCMLClosePort(INT())

Remarks

Closes a port handle opened with KCMLOpenPort. The handle should be closed once it is no longer needed. If the handle is left open further calls to KCMLOpenPort on that port will fail.

Further Information

IntroducedKCML 6.20
CompatibilityKClient

See Also

KCMLDebugBackProcess, KCMLGetClientIP_TOS, KCMLOpenPort, KCMLReadPort, KCMLSetClientIP_TOS, KCMLWritePort, KCMLWritePortName

Index of internal $DECLARE functions