Casio IT-2000W User Manual

Page 119

Advertising
background image

119

COMSTAT structure

typedef struct tagCOMSTAT {

/* cmst */

BYTE status;

/* transfer status */

UNIT cbInQue;

/* Number of characters in the reception queue */

UNIT cbOutQue;

/* Number of characters in the transmission queue */

} COMSTAT;

The COMSTAT structure is used to store information about the communication device.

< Members >

status

Indicates the transfer status. This member consists of the following flags.
CSTF_CTSHOLD

Not supported

CSTF_DSRHOLD

Not supported.

CSTF_RLSDHOLD

Not supported.

CSTF_XOFFHOLD

Not supported.

CSTF_XOFFSENT

Not supported.

CSTF_EOF

Not supported.

CSTF_TXIM

Not supported.

cbInQue

Indicates the number of characters in the reception buffer.

cbOutQue

Indicates the number of characters in the transmission buffer.

Advertising