Windows 3.1 Device Drivers (ddag31qh.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
COMSTAT
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
typedef struct tagCOMSTAT {
   BYTE fCtsHold: 1;
   BYTE fDsrHold: 1;
   BYTE fRlsdHold: 1;
   BYTE fXoffHold: 1;
   BYTE fXoffSent: 1;
   BYTE fEof: 1;
   BYTE fTxim: 1;
   WORD cbInQue;
   WORD cbOutQue;
} COMSTAT;
 
The COMSTAT structure contains information about a communications device.
 
Member     Description
────────────────────────────────────────────────────────────────────────────
 
 
fCtsHold   Specifies whether transmission is waiting for the clear-to-send
           (CTS) signal to be sent.
 
fDsrHold   Specifies whether transmission is waiting for the data-set-ready
           (DSR) signal to be sent.
 
fRlsdHold  Specifies whether transmission is waiting for the
           receive-line-signal-detect (RLSD) signal to be sent.
 
fXoffHold  Specifies whether transmission is waiting as a result of the XOFF
           character being received.
 
fXoffSent  Specifies whether transmission is waiting as a result of the XOFF
           character being transmitted. Transmission halts when the XOFF
           character is transmitted and used by systems that take the next
           character as XON, regardless of the actual character.
 
fEof       Specifies whether the end-of-file (EOF) character has been
           received.
 
fTxim      Specifies whether a character previously passed to the ctx
           function is waiting to be transmitted.
 
cbInQue    Specifies the number of characters in the receive queue.
 
cbOutQue   Specifies the number of characters in the transmit queue.
 
See Also
 
stacom