The MODEMSETTINGS structure contains information about a modem’s configuration.
typedef struct modemsettings_tag {
DWORD dwActualSize; // size of returned data, in bytes
DWORD dwRequiredSize; // total size of structure
DWORD dwDevSpecificOffset; // offset of provider-defined data
DWORD dwDevSpecificSize; // size of provider-defined data
// Static local options (read/write)
DWORD dwCallSetupFailTimer; // call setup timeout, in seconds
DWORD dwInactivityTimeout; // inactivity timeout, in tenths of seconds
DWORD dwSpeakerVolume; // speaker volume level
DWORD dwSpeakerMode; // speaker mode
DWORD dwPreferredModemOptions; // bitmap specifying preferred options
// negotiated options (read only) for current or last call
DWORD dwNegotiatedModemOptions; // bitmap specifying actual options
DWORD dwNegotiatedDCERate; // DCE rate, in bits per second
// Variable portion for proprietary expansion
BYTE abVariablePortion[1]; // variable-length data
} MODEMSETTINGS, *PMODEMSETTINGS, *LPMODEMSETTINGS;
|
Value |
Meaning |
|
MDMVOL_LOW |
Low volume. |
|
MDMVOL_MEDIUM |
Medium volume. |
|
MDMVOL_HIGH |
High volume. |
The MODEMDEVCAPS structure specifies
the speaker volumes a modem supports. Actual volumes are hardware-specific.
|
Value |
Meaning |
|
MDMSPKR_OFF |
The speaker is always off. |
|
MDMSPKR_CALLSETUP |
The speaker is on until a connection is established. |
|
MDMSPKR_ON |
The speaker is always on. |
|
MDMSPKR_DIAL |
The speaker is on until a connection is established, except that it is off while the modem is actually dialing. |
The dwModemOptions member of the MODEMDEVCAPSstructure
specifies the modem options supported by the local modem. For a list of modem
options, see the description of the MODEMDEVCAPS structure.
The dwModemOptions member of the MODEMDEVCAPS structure
specifies the modem options supported by the local modem. For a list of modem
options, see the description of the MODEMDEVCAPS structure.