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