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.
file: /Techref/os/win/api/win32/struc/src/str11_17.htm, 6KB, , updated: 2000/4/7 11:20, local time: 2024/11/12 23:33,
18.222.110.69:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://linistepper.com/Techref/os/win/api/win32/struc/src/str11_17.htm"> MODEMSETTINGS</A> |
Did you find what you needed? |