4 #pragma GCC system_header
10 #define DIALOPTION_BILLING 64
11 #define DIALOPTION_QUIET 128
12 #define DIALOPTION_DIALTONE 256
13 #define MDMVOLFLAG_LOW 1
14 #define MDMVOLFLAG_MEDIUM 2
15 #define MDMVOLFLAG_HIGH 4
17 #define MDMVOL_MEDIUM 1
19 #define MDMSPKRFLAG_OFF 1
20 #define MDMSPKRFLAG_DIAL 2
21 #define MDMSPKRFLAG_ON 4
22 #define MDMSPKRFLAG_CALLSETUP 8
24 #define MDMSPKR_DIAL 1
26 #define MDMSPKR_CALLSETUP 3
27 #define MDM_COMPRESSION 1
28 #define MDM_ERROR_CONTROL 2
29 #define MDM_FORCED_EC 4
30 #define MDM_CELLULAR 8
31 #define MDM_FLOWCONTROL_HARD 16
32 #define MDM_FLOWCONTROL_SOFT 32
33 #define MDM_CCITT_OVERRIDE 64
34 #define MDM_SPEED_ADJUST 128
35 #define MDM_TONE_DIAL 256
36 #define MDM_BLIND_DIAL 512
37 #define MDM_V23_OVERRIDE 1024
38 typedef struct _MODEMDEVCAPS
{
41 DWORD dwDevSpecificOffset
;
42 DWORD dwDevSpecificSize
;
43 DWORD dwModemProviderVersion
;
44 DWORD dwModemManufacturerOffset
;
45 DWORD dwModemManufacturerSize
;
46 DWORD dwModemModelOffset
;
47 DWORD dwModemModelSize
;
48 DWORD dwModemVersionOffset
;
49 DWORD dwModemVersionSize
;
51 DWORD dwCallSetupFailTimer
;
52 DWORD dwInactivityTimeout
;
53 DWORD dwSpeakerVolume
;
58 BYTE abVariablePortion
[1];
59 } MODEMDEVCAPS
,*PMODEMDEVCAPS
,*LPMODEMDEVCAPS
;
60 typedef struct _MODEMSETTINGS
{
63 DWORD dwDevSpecificOffset
;
64 DWORD dwDevSpecificSize
;
65 DWORD dwCallSetupFailTimer
;
66 DWORD dwInactivityTimeout
;
67 DWORD dwSpeakerVolume
;
69 DWORD dwPreferredModemOptions
;
70 DWORD dwNegotiatedModemOptions
;
71 DWORD dwNegotiatedDCERate
;
72 BYTE abVariablePortion
[1];
73 } MODEMSETTINGS
,*PMODEMSETTINGS
,*LPMODEMSETTINGS
;