include vcomm.inc VxDcall _VCOMM_CloseComm, <hPort> or eax, eax jz error_handler
Closes a communications resource, freeing it for use by other VCOMM clients. Uses the C calling convention.
hPort
Handle of a communications resource.
This service fails if the close property is PORTCLOSE_WAIT and the data remaining in the transmit queue could not be sent.
See also _VCOMM_GetLastError, _VCOMM_OpenComm