source: Daodan/MinGW/include/mcx.h@ 1068

Last change on this file since 1068 was 1046, checked in by alloc, 8 years ago

Daodan: Added Windows MinGW and build batch file

File size: 1.9 KB
Line 
1#ifndef _MCX_H
2#define _MCX_H
3#if __GNUC__ >=3
4#pragma GCC system_header
5#endif
6
7#ifdef __cplusplus
8extern "C" {
9#endif
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
16#define MDMVOL_LOW 0
17#define MDMVOL_MEDIUM 1
18#define MDMVOL_HIGH 2
19#define MDMSPKRFLAG_OFF 1
20#define MDMSPKRFLAG_DIAL 2
21#define MDMSPKRFLAG_ON 4
22#define MDMSPKRFLAG_CALLSETUP 8
23#define MDMSPKR_OFF 0
24#define MDMSPKR_DIAL 1
25#define MDMSPKR_ON 2
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
38typedef struct _MODEMDEVCAPS {
39 DWORD dwActualSize;
40 DWORD dwRequiredSize;
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;
50 DWORD dwDialOptions;
51 DWORD dwCallSetupFailTimer;
52 DWORD dwInactivityTimeout;
53 DWORD dwSpeakerVolume;
54 DWORD dwSpeakerMode;
55 DWORD dwModemOptions;
56 DWORD dwMaxDTERate;
57 DWORD dwMaxDCERate;
58 BYTE abVariablePortion[1];
59} MODEMDEVCAPS,*PMODEMDEVCAPS,*LPMODEMDEVCAPS;
60typedef struct _MODEMSETTINGS {
61 DWORD dwActualSize;
62 DWORD dwRequiredSize;
63 DWORD dwDevSpecificOffset;
64 DWORD dwDevSpecificSize;
65 DWORD dwCallSetupFailTimer;
66 DWORD dwInactivityTimeout;
67 DWORD dwSpeakerVolume;
68 DWORD dwSpeakerMode;
69 DWORD dwPreferredModemOptions;
70 DWORD dwNegotiatedModemOptions;
71 DWORD dwNegotiatedDCERate;
72 BYTE abVariablePortion[1];
73} MODEMSETTINGS,*PMODEMSETTINGS,*LPMODEMSETTINGS;
74#ifdef __cplusplus
75}
76#endif
77#endif /* _MCX_H */
Note: See TracBrowser for help on using the repository browser.