_VCOMM_SetupComm

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