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.

119

Page 119
Image 119
Casio IT-2000W manual Comstat structure, Members