Win32 API Function Compatible List

Windows 98

Test function

Test Flag

 

 

1. PurgeComm

PURGE_TXABORT

 

PURGE_RXABORT

2. ClearCommBreak()

 

3. SetCommBreak()

 

4. ClearCommError

cbInQue

 

cbOutQue

5. EscapeCommFunction

SETDTR

 

SETRTS

 

SETXON

 

SETXOFF

 

SETBREAK,CLRBREAK

6. GetCommMask

EV_BREAK

 

EV_CTS

 

EV_DSR

 

EV_ERR

 

EV_RING

 

EV_RLSD

 

EV_RXCHAR

 

EV_RXFLAG

 

EV_TXEMPTY

7. GetCommModemStatus()

 

8. SetCommMask

EV_CTS

 

EV_DSR

 

EV_RLSD

 

EV_RXCHAR

 

EV_RXFLAG

 

EV_TXEMPTY

10. SetCommState

BaudRate

 

Parity, ByteSize, StopBits,fParity

 

ErrorChar,fErrorChar

 

fNull

 

fRtsControl=RTS_CONTROL_DISABLE

 

fRtsControl=RTS_CONTROL_ENABLE

 

fDtrControl=DTR_CONTROL_DISABLE

 

fDtrControl=DTR_CONTROL_ENABLE

 

FDsrSensitivity=TRUE

11.SetCommTimeouts

ReadIntervalTimeout

 

WriteTotalTimeoutMultiplier

 

WriteTotalTimeoutConstant

13. HWFlowContrl()

dcb.fRtsControl=RTS_CONTROL_HANDSHAKE

14. CloseHandle()

 

15. ReadFile()

 

A-2 NPort 1220/1240 USB-to-Serial Hub User’s Manual

Page 30
Image 30
Moxa Technologies NPort 1220, NPort 1240 user manual Win32 API Function Compatible List, Test function Test Flag