12 #define RAS_MaxCallbackNumber RAS_MaxPhoneNumber
13 #define RAS_MaxDeviceName 128
14 #define RAS_MaxDeviceType 16
15 #define RAS_MaxEntryName 256
16 #define RAS_MaxPhoneNumber 128
18 DECLARE_HANDLE(HRASCONN);
20 typedef struct tagRASCONNA {
23 CHAR szEntryName[ RAS_MaxEntryName + 1 ];
24 CHAR szDeviceType[ RAS_MaxDeviceType + 1 ];
25 CHAR szDeviceName[ RAS_MaxDeviceName + 1 ];
26 CHAR szPhonebook[ MAX_PATH ];
28 } RASCONNA,*LPRASCONNA;
30 typedef struct tagRASCONNW {
33 WCHAR szEntryName[ RAS_MaxEntryName + 1 ];
34 WCHAR szDeviceType[ RAS_MaxDeviceType + 1 ];
35 WCHAR szDeviceName[ RAS_MaxDeviceName + 1 ];
36 WCHAR szPhonebook[ MAX_PATH ];
38 } RASCONNW,*LPRASCONNW;
40 DECL_WINELIB_TYPE_AW(RASCONN)
41 DECL_WINELIB_TYPE_AW(LPRASCONN)
43 typedef struct tagRASENTRYNAMEA {
45 CHAR szEntryName[ RAS_MaxEntryName + 1 ];
46 } RASENTRYNAMEA, *LPRASENTRYNAMEA;
48 typedef struct tagRASENTRYNAMEW {
50 WCHAR szEntryName[ RAS_MaxEntryName + 1 ];
51 } RASENTRYNAMEW, *LPRASENTRYNAMEW;
53 DECL_WINELIB_TYPE_AW(RASENTRYNAME)
54 DECL_WINELIB_TYPE_AW(LPRASENTRYNAME)
56 typedef struct tagRASDIALPARAMSA {
58 CHAR szEntryName[ RAS_MaxEntryName + 1 ];
59 CHAR szPhoneNumber[ RAS_MaxPhoneNumber + 1 ];
60 CHAR szCallbackNumber[ RAS_MaxCallbackNumber + 1 ];
61 CHAR szUserName[ UNLEN + 1 ];
62 CHAR szPassword[ PWLEN + 1 ];
63 CHAR szDomain[ DNLEN + 1 ];
66 } RASDIALPARAMSA, *LPRASDIALPARAMSA;
68 typedef struct tagRASDIALPARAMSW {
70 WCHAR szEntryName[ RAS_MaxEntryName + 1 ];
71 WCHAR szPhoneNumber[ RAS_MaxPhoneNumber + 1 ];
72 WCHAR szCallbackNumber[ RAS_MaxCallbackNumber + 1 ];
73 WCHAR szUserName[ UNLEN + 1 ];
74 WCHAR szPassword[ PWLEN + 1 ];
75 WCHAR szDomain[ DNLEN + 1 ];
78 } RASDIALPARAMSW, *LPRASDIALPARAMSW;
80 DECL_WINELIB_TYPE_AW(RASDIALPARAMS)
81 DECL_WINELIB_TYPE_AW(LPRASDIALPARAMS)
84 DWORD WINAPI RasEnumConnectionsA(LPRASCONNA,LPDWORD,LPDWORD);
85 DWORD WINAPI RasEnumConnectionsW(LPRASCONNW,LPDWORD,LPDWORD);
86 #define RasEnumConnections WINELIB_NAME_AW(RasEnumConnections)
87 DWORD WINAPI RasEnumEntriesA(LPCSTR,LPCSTR,LPRASENTRYNAMEA,LPDWORD,LPDWORD);
88 DWORD WINAPI RasEnumEntriesW(LPCWSTR,LPCWSTR,LPRASENTRYNAMEW,LPDWORD,LPDWORD);
89 #define RasEnumEntries WINELIB_NAME_AW(RasEnumEntries)
90 DWORD WINAPI RasGetEntryDialParamsA(LPCSTR,LPRASDIALPARAMSA,LPBOOL);
91 DWORD WINAPI RasGetEntryDialParamsW(LPCWSTR,LPRASDIALPARAMSW,LPBOOL);
92 #define RasGetEntryDialParams WINELIB_NAME_AW(RasGetEntryDialParams)
93 DWORD WINAPI RasHangUpA(HRASCONN);
94 DWORD WINAPI RasHangUpW(HRASCONN);
95 #define RasHangUp WINELIB_NAME_AW(RasHangUp)