include vcomm.inc
VxDCall _VCOMM_SetCommState, <hPort, <OFFSET32 dcbPort>, ActionMask>
or eax, eax
jz error_handler
Sets the hardware and software state of a communications resource. Uses the C calling convention. This is an asynchronous service.
fBaudRate | fStopBits | fEvtChar2 |
fBitMask | fXonChar | fRlsTimeout |
fXonLim | fXoffChar | fCtsTimeout |
fXoffLim | fErrorChar | fDsrTimeout |
fByteSize | fEofChar | fTxDelay |
fParity | fEvtChar1 |
_DCB, _VCOMM_GetCommState, _VCOMM_GetLastError