include vcomm.inc
VxDCall _VCOMM_SetupComm, <hPort, <OFFSET32 RxQueue>, cbRxQueue, \
<OFFSET32 TxQueue>, cbTxQueue>
or eax, eax
jz error_handler
Sets the receive and transmit queues for a communications resource. Any characters in the previous receive and transmit queues are discarded. Uses the C calling convention.
_VCOMM_GetLastError, _QSB