PortSetup


cCall [pPortSetup], <hPort, <OFFSET32 RxQueue>, cbRxQueue, \
    <OFFSET32 TxQueue>, cbTxQueue>
or      eax, eax
jz      error_handler

Called by the _VCOMM_SetupComm service to set the receive and transmit queues for a port, and retrieve the status of previous receive queue. Uses the C calling convention.

hPort

Address of a _PORTINFORMATION structure returned by the PortOpen function.

RxQueue and cbRxQueue

Base address and size of the receive queue.

TxQueue and cbTxQueue

Base address and size of the transmit queue.

Any characters in the receive and transmit queues are discarded.

See also _PORTINFORMATION, PortOpen, _VCOMM_SetupComm