◄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 ♦