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.
hPort
Handle of a communications resource.
RxQueue and cbRxQueue
Base address and size of the receive queue.
TxQueue and cbTxQueue
Base address and size of the transmit queue.
See also _VCOMM_GetLastError, _QSB