The MODEMDEVCAPS structure contains information about the capabilities of a modem.
typedef struct modemdevcaps_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
// Product and version identification
DWORD dwModemProviderVersion; // provider version number
DWORD dwModemManufacturerOffset; // offset of manufacturer name
DWORD dwModemManufacturerSize; // length of manufacturer name
DWORD dwModemModelOffset; // offset of model name
DWORD dwModemModelSize; // length of model name
DWORD dwModemVersionOffset; // offset of version name
DWORD dwModemVersionSize; // length of version name
// Local option capabilities
DWORD dwDialOptions; // bitmap of supported values
DWORD dwCallSetupFailTimer; // maximum in seconds
DWORD dwInactivityTimeout; // maximum in tenths of seconds
DWORD dwSpeakerVolume; // bitmap of supported values
DWORD dwSpeakerMode; // bitmap of supported values
DWORD dwModemOptions; // bitmap of supported values
DWORD dwMaxDTERate; // maximum value in bit/s
DWORD dwMaxDCERate; // maximum value in bit/s
// Variable portion for strings and provider-specific data
BYTE abVariablePortion [1]; // variable-length data
} MODEMDEVCAPS, *PMODEMDEVCAPS, *LPMODEMDEVCAPS;
Value |
Meaning |
DIALOPTION_DIALBILLING |
Specifies that the modem supports waiting for billing tone (bong). |
DIALOPTION_DIALQUIET |
Specifies that the modem supports waiting for quiet. |
DIALOPTION_DIALDIALTONE |
Specifies that the modem supports waiting for a dial tone. |
Value |
Meaning |
MDMVOLFLAG_LOW |
The modem supports low (MDMVOL_LOW) volume. |
MDMVOLFLAG_MEDIUM |
The modem supports medium (MDMVOL_MEDIUM) volume. |
MDMVOLFLAG_HIGH |
The modem supports high (MDMVOL_HIGH) volume. |
Value |
Meaning |
MDMSPKRFLAG_OFF |
The modem supports the MDMSPKR_OFF speaker mode. |
MDMSPKRFLAG_DIAL |
The modem supports the MDMSPKR_DIAL speaker mode. |
MDMSPKRFLAG_ON |
The modem supports the MDMSPKR_ON speaker mode. |
MDMSPKRFLAG_CALLSETUP |
The modem supports the MDMSPKR_CALLSETUP speaker mode. |
MDM_BLIND_DIAL |
MDM_FLOWCONTROL_SOFT |
MDM_CCITT_OVERRIDE |
MDM_FORCED_EC |
MDM_CELLULAR |
MDM_SPEED_ADJUST |
MDM_COMPRESSION |
MDM_TONE_DIAL |
MDM_ERROR_CONTROL |
MDM_V23_OVERRIDE |
MDM_FLOWCONTROL_HARD |
When MODEMDEVCAPS is used to set modem options, as part of the MODEMSETTINGS structure, these values are used as follows:
Value |
Meaning |
MDM_CCITT_OVERRIDE |
When set, CCITT modulations are enabled for V.21 and V.22 or V.23. When clear, bell modulations are enabled for 103 and 212A. |
MDM_V23_OVERRIDE |
When set, CCITT modulations are enabled for V.23. When clear, CCITT modulations are enabled for V.21 and V.22. |
For V.23 to be set, both MDM_CCITT_OVERRIDE and MDM_V23_OVERRIDE must be set.
file: /Techref/os/win/api/win32/struc/src/str11_16.htm, 10KB, , updated: 2000/4/7 11:20, local time: 2024/11/26 17:06,
52.14.252.16: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://sxlist.com/techref/os/win/api/win32/struc/src/str11_16.htm"> MODEMDEVCAPS</A> |
Did you find what you needed? |
Welcome to sxlist.com!sales, advertizing, & kind contributors just like you! Please don't rip/copy (here's why Copies of the site on CD are available at minimal cost. |
Welcome to sxlist.com! |
.