Win32 api function compatible list, Windows 98 – Moxa Technologies 1240 User Manual

Page 27

Advertising
background image

NPort 1200/1240 User’s Manual

Technical Refernece

A-2

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_HANDSHAK

Advertising
This manual is related to the following products: