xref: /reactos/sdk/include/psdk/mcx.h (revision c2c66aff)
1*c2c66affSColin Finck #ifndef _MCX_H
2*c2c66affSColin Finck #define _MCX_H
3*c2c66affSColin Finck 
4*c2c66affSColin Finck #ifdef __cplusplus
5*c2c66affSColin Finck extern "C" {
6*c2c66affSColin Finck #endif
7*c2c66affSColin Finck #define DIALOPTION_BILLING 64
8*c2c66affSColin Finck #define DIALOPTION_QUIET 128
9*c2c66affSColin Finck #define DIALOPTION_DIALTONE 256
10*c2c66affSColin Finck #define MDMVOLFLAG_LOW	1
11*c2c66affSColin Finck #define MDMVOLFLAG_MEDIUM	2
12*c2c66affSColin Finck #define MDMVOLFLAG_HIGH	4
13*c2c66affSColin Finck #define MDMVOL_LOW	0
14*c2c66affSColin Finck #define MDMVOL_MEDIUM	1
15*c2c66affSColin Finck #define MDMVOL_HIGH	2
16*c2c66affSColin Finck #define MDMSPKRFLAG_OFF	1
17*c2c66affSColin Finck #define MDMSPKRFLAG_DIAL	2
18*c2c66affSColin Finck #define MDMSPKRFLAG_ON	4
19*c2c66affSColin Finck #define MDMSPKRFLAG_CALLSETUP	8
20*c2c66affSColin Finck #define MDMSPKR_OFF	0
21*c2c66affSColin Finck #define MDMSPKR_DIAL 1
22*c2c66affSColin Finck #define MDMSPKR_ON	2
23*c2c66affSColin Finck #define MDMSPKR_CALLSETUP	3
24*c2c66affSColin Finck #define MDM_COMPRESSION	1
25*c2c66affSColin Finck #define MDM_ERROR_CONTROL	2
26*c2c66affSColin Finck #define MDM_FORCED_EC	4
27*c2c66affSColin Finck #define MDM_CELLULAR	8
28*c2c66affSColin Finck #define MDM_FLOWCONTROL_HARD	16
29*c2c66affSColin Finck #define MDM_FLOWCONTROL_SOFT	32
30*c2c66affSColin Finck #define MDM_CCITT_OVERRIDE	64
31*c2c66affSColin Finck #define MDM_SPEED_ADJUST	128
32*c2c66affSColin Finck #define MDM_TONE_DIAL	256
33*c2c66affSColin Finck #define MDM_BLIND_DIAL	512
34*c2c66affSColin Finck #define MDM_V23_OVERRIDE	1024
35*c2c66affSColin Finck typedef struct _MODEMDEVCAPS {
36*c2c66affSColin Finck 	DWORD dwActualSize;
37*c2c66affSColin Finck 	DWORD dwRequiredSize;
38*c2c66affSColin Finck 	DWORD dwDevSpecificOffset;
39*c2c66affSColin Finck 	DWORD dwDevSpecificSize;
40*c2c66affSColin Finck 	DWORD dwModemProviderVersion;
41*c2c66affSColin Finck 	DWORD dwModemManufacturerOffset;
42*c2c66affSColin Finck 	DWORD dwModemManufacturerSize;
43*c2c66affSColin Finck 	DWORD dwModemModelOffset;
44*c2c66affSColin Finck 	DWORD dwModemModelSize;
45*c2c66affSColin Finck 	DWORD dwModemVersionOffset;
46*c2c66affSColin Finck 	DWORD dwModemVersionSize;
47*c2c66affSColin Finck 	DWORD dwDialOptions;
48*c2c66affSColin Finck 	DWORD dwCallSetupFailTimer;
49*c2c66affSColin Finck 	DWORD dwInactivityTimeout;
50*c2c66affSColin Finck 	DWORD dwSpeakerVolume;
51*c2c66affSColin Finck 	DWORD dwSpeakerMode;
52*c2c66affSColin Finck 	DWORD dwModemOptions;
53*c2c66affSColin Finck 	DWORD dwMaxDTERate;
54*c2c66affSColin Finck 	DWORD dwMaxDCERate;
55*c2c66affSColin Finck 	BYTE abVariablePortion[1];
56*c2c66affSColin Finck } MODEMDEVCAPS,*PMODEMDEVCAPS,*LPMODEMDEVCAPS;
57*c2c66affSColin Finck typedef struct _MODEMSETTINGS {
58*c2c66affSColin Finck 	DWORD dwActualSize;
59*c2c66affSColin Finck 	DWORD dwRequiredSize;
60*c2c66affSColin Finck 	DWORD dwDevSpecificOffset;
61*c2c66affSColin Finck 	DWORD dwDevSpecificSize;
62*c2c66affSColin Finck 	DWORD dwCallSetupFailTimer;
63*c2c66affSColin Finck 	DWORD dwInactivityTimeout;
64*c2c66affSColin Finck 	DWORD dwSpeakerVolume;
65*c2c66affSColin Finck 	DWORD dwSpeakerMode;
66*c2c66affSColin Finck 	DWORD dwPreferredModemOptions;
67*c2c66affSColin Finck 	DWORD dwNegotiatedModemOptions;
68*c2c66affSColin Finck 	DWORD dwNegotiatedDCERate;
69*c2c66affSColin Finck 	BYTE abVariablePortion[1];
70*c2c66affSColin Finck } MODEMSETTINGS,*PMODEMSETTINGS,*LPMODEMSETTINGS;
71*c2c66affSColin Finck #ifdef __cplusplus
72*c2c66affSColin Finck }
73*c2c66affSColin Finck #endif
74*c2c66affSColin Finck #endif /* _MCX_H */
75