msos2.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.
MODEMSTATUS (1.2)
                                                      Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_DOSDEVIOCTL
 
typedef struct _MODEMSTATUS {    /* mdmst */
    BYTE fbModemOn;
    BYTE fbModemOff;
} MODEMSTATUS;
 
The MODEMSTATUS structure contains information about modem-control signals.
 
Field       Description
────────────────────────────────────────────────────────────────────────────
 
fbModemOn   Specifies which of the modem-control signals to enable. This
            field can be set to one or both of the following values:
 
            Value   Meaning
            ────────────────────────────────────────────────────────────────
            DTR_ON  Data-terminal-ready (DTR) signal enabled.
 
            RTS_ON  Request-to-send (RTS) signal enabled.
 
            If the fbModemOn field is set to 0x00, no signals are enabled.
 
fbModemOff  Specifies which of the modem-control signals to disable. This
            field can be set to one or both of the following values:
 
            Value    Meaning
            ────────────────────────────────────────────────────────────────
            DTR_OFF  Data-terminal-ready (DTR) signal disabled.
 
            RTS_OFF  Request-to-send (RTS) signal disabled.
 
            If the fbModemOff field is set to 0xFF, no signals are enabled.
 
Comments
 
Any value other than those specified for the fbModemOn and fbModemOff fields
will cause an error value.
 
If you are enabling DTR or RTS, set the fbModemOff field to 0xff. If you are
disabling DTR or RTS, set the fbModemOn field to 0x00.
 
See Also
 
ASYNC_SETMODEMCTRL