Windows 2000/xp – Moxa Technologies 1240 User Manual
Page 28

NPort 1200/1240 User’s Manual
Technical Refernece
A-3
E
14. CloseHandle()
15. ReadFile()
Windows 2000/XP
Test function
Test Flag
1. PurgeComm
PURGE_TXABORT
PURGE_RXABORT
PURGE_TXCLEAR
2. ClearCommBreak()
3. SetCommBreak()
4. ClearCommError
CE_BREAK
CE_RXPARITY
CE_FRAME
CE_RXOVER
fCtsHold
fDsrHold
fXoffHold
cbInQue
cbOutQue
5. EscapeCommFunction
SETDTR
SETRTS
SETXON
SETXOFF
SETBREAK,CLRBREAK
6. GetCommMask
EV_CTS
EV_DSR
EV_RING
EV_RLSD
EV_RXCHAR
EV_RXFLAG
EV_TXEMPTY
8. GetCommModemStatus()
9. SetCommMask
EV_CTS
EV_DSR
EV_RLSD
EV_RXCHAR
EV_RXFLAG
EV_TXEMPTY
EV_TXEMPTY
10. SetCommState
BaudRate
Parity, ByteSize, StopBits,fParity
ErrorChar,fErrorChar
fNull
This manual is related to the following products: