tools: Move the cpmap.pl script to tools/make_unicode.
[wine/multimedia.git] / include / ras.h
blob3a75f41d3e2ba41c837490968a74051b60768245
1 /*
2 * Copyright (C) 1998 Marcus Meissner
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 #ifndef __WINE_RAS_H
20 #define __WINE_RAS_H
22 #include <lmcons.h>
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
27 #include <pshpack4.h>
29 #define RAS_MaxCallbackNumber RAS_MaxPhoneNumber
30 #define RAS_MaxDeviceName 128
31 #define RAS_MaxDeviceType 16
32 #define RAS_MaxEntryName 256
33 #define RAS_MaxPhoneNumber 128
34 #define RAS_MaxAreaCode 10
35 #define RAS_MaxPadType 32
36 #define RAS_MaxX25Address 200
37 #define RAS_MaxFacilities 200
38 #define RAS_MaxUserData 200
39 #define RAS_MaxDnsSuffix 256
41 /* szDeviceType strings for RASDEVINFO */
42 #define RASDT_Direct "direct"
43 #define RASDT_Modem "modem"
44 #define RASDT_Isdn "isdn"
45 #define RASDT_X25 "x25"
46 #define RASDT_Vpn "vpn"
47 #define RASDT_Pad "pad"
48 #define RASDT_Generic "GENERIC"
49 #define RASDT_Serial "SERIAL"
50 #define RASDT_FrameRelay "FRAMERELAY"
51 #define RASDT_Atm "ATM"
52 #define RASDT_Sonet "SONET"
53 #define RASDT_SW56 "SW56"
54 #define RASDT_Irda "IRDA"
55 #define RASDT_Parallel "PARALLEL"
56 #define RASDT_PPPoE "PPPoE"
58 typedef struct tagRASDEVINFOA {
59 DWORD dwSize;
60 CHAR szDeviceType[ RAS_MaxDeviceType + 1 ];
61 CHAR szDeviceName[ RAS_MaxDeviceName + 1 ];
62 } RASDEVINFOA, *LPRASDEVINFOA;
64 typedef struct tagRASDEVINFOW {
65 DWORD dwSize;
66 WCHAR szDeviceType[ RAS_MaxDeviceType + 1 ];
67 WCHAR szDeviceName[ RAS_MaxDeviceName + 1 ];
68 } RASDEVINFOW, *LPRASDEVINFOW;
70 DECL_WINELIB_TYPE_AW(RASDEVINFO)
71 DECL_WINELIB_TYPE_AW(LPRASDEVINFO)
73 DECLARE_HANDLE(HRASCONN);
74 typedef HRASCONN* LPHRASCONN;
76 typedef struct tagRASCONNA {
77 DWORD dwSize;
78 HRASCONN hRasConn;
79 CHAR szEntryName[ RAS_MaxEntryName + 1 ];
80 CHAR szDeviceType[ RAS_MaxDeviceType + 1 ];
81 CHAR szDeviceName[ RAS_MaxDeviceName + 1 ];
82 CHAR szPhonebook[ MAX_PATH ];
83 DWORD dwSubEntry;
84 GUID guidEntry;
85 DWORD dwFlags;
86 LUID luid;
87 GUID guidCorrelationId;
88 } RASCONNA,*LPRASCONNA;
90 typedef struct tagRASCONNW {
91 DWORD dwSize;
92 HRASCONN hRasConn;
93 WCHAR szEntryName[ RAS_MaxEntryName + 1 ];
94 WCHAR szDeviceType[ RAS_MaxDeviceType + 1 ];
95 WCHAR szDeviceName[ RAS_MaxDeviceName + 1 ];
96 WCHAR szPhonebook[ MAX_PATH ];
97 DWORD dwSubEntry;
98 GUID guidEntry;
99 DWORD dwFlags;
100 LUID luid;
101 GUID guidCorrelationId;
102 } RASCONNW,*LPRASCONNW;
104 DECL_WINELIB_TYPE_AW(RASCONN)
105 DECL_WINELIB_TYPE_AW(LPRASCONN)
107 typedef struct tagRASENTRYNAMEA {
108 DWORD dwSize;
109 CHAR szEntryName[ RAS_MaxEntryName + 1 ];
110 } RASENTRYNAMEA, *LPRASENTRYNAMEA;
112 typedef struct tagRASENTRYNAMEW {
113 DWORD dwSize;
114 WCHAR szEntryName[ RAS_MaxEntryName + 1 ];
115 } RASENTRYNAMEW, *LPRASENTRYNAMEW;
117 DECL_WINELIB_TYPE_AW(RASENTRYNAME)
118 DECL_WINELIB_TYPE_AW(LPRASENTRYNAME)
120 typedef struct tagRASDIALPARAMSA {
121 DWORD dwSize;
122 CHAR szEntryName[ RAS_MaxEntryName + 1 ];
123 CHAR szPhoneNumber[ RAS_MaxPhoneNumber + 1 ];
124 CHAR szCallbackNumber[ RAS_MaxCallbackNumber + 1 ];
125 CHAR szUserName[ UNLEN + 1 ];
126 CHAR szPassword[ PWLEN + 1 ];
127 CHAR szDomain[ DNLEN + 1 ];
128 DWORD dwSubEntry;
129 DWORD dwCallbackId;
130 } RASDIALPARAMSA, *LPRASDIALPARAMSA;
132 typedef struct tagRASDIALPARAMSW {
133 DWORD dwSize;
134 WCHAR szEntryName[ RAS_MaxEntryName + 1 ];
135 WCHAR szPhoneNumber[ RAS_MaxPhoneNumber + 1 ];
136 WCHAR szCallbackNumber[ RAS_MaxCallbackNumber + 1 ];
137 WCHAR szUserName[ UNLEN + 1 ];
138 WCHAR szPassword[ PWLEN + 1 ];
139 WCHAR szDomain[ DNLEN + 1 ];
140 DWORD dwSubEntry;
141 DWORD dwCallbackId;
142 } RASDIALPARAMSW, *LPRASDIALPARAMSW;
144 DECL_WINELIB_TYPE_AW(RASDIALPARAMS)
145 DECL_WINELIB_TYPE_AW(LPRASDIALPARAMS)
147 typedef struct tagRASIPADDR {
148 BYTE classA,classB,classC,classD;
149 } RASIPADDR;
151 #define RASEO_UseCountryAndAreaCodes 0x0001
152 #define RASEO_SpecificIpAddr 0x0002
153 #define RASEO_SpecificNameServers 0x0004
154 #define RASEO_IpHeaderCompression 0x0008
155 #define RASEO_RemoteDefaultGateway 0x0010
156 #define RASEO_DisableLcpExtensions 0x0020
157 #define RASEO_TerminalBeforeDial 0x0040
158 #define RASEO_TerminalAfterDial 0x0080
159 #define RASEO_ModemLights 0x0100
160 #define RASEO_SwCompression 0x0200
161 #define RASEO_RequireEncryptedPw 0x0400
162 #define RASEO_RequireMsEncryptedPw 0x0800
163 #define RASEO_RequireDataEncryption 0x1000
164 #define RASEO_NetworkLogon 0x2000
165 #define RASEO_UseLogonCredentials 0x4000
166 #define RASEO_PromoteAlternates 0x8000
167 typedef struct tagRASENTRYA {
168 DWORD dwSize;
169 DWORD dwfOptions;
171 /* Location */
173 DWORD dwCountryID;
174 DWORD dwCountryCode;
175 CHAR szAreaCode[ RAS_MaxAreaCode + 1 ];
176 CHAR szLocalPhoneNumber[ RAS_MaxPhoneNumber + 1 ];
177 DWORD dwAlternateOffset;
179 /* IP related stuff */
181 RASIPADDR ipaddr;
182 RASIPADDR ipaddrDns;
183 RASIPADDR ipaddrDnsAlt;
184 RASIPADDR ipaddrWins;
185 RASIPADDR ipaddrWinsAlt;
187 /* Framing (for ppp/isdn etc...) */
189 DWORD dwFrameSize;
190 DWORD dwfNetProtocols;
191 DWORD dwFramingProtocol;
193 CHAR szScript[ MAX_PATH ];
195 CHAR szAutodialDll[ MAX_PATH ];
196 CHAR szAutodialFunc[ MAX_PATH ];
198 CHAR szDeviceType[ RAS_MaxDeviceType + 1 ];
199 CHAR szDeviceName[ RAS_MaxDeviceName + 1 ];
201 /* x25 only */
203 CHAR szX25PadType[ RAS_MaxPadType + 1 ];
204 CHAR szX25Address[ RAS_MaxX25Address + 1 ];
205 CHAR szX25Facilities[ RAS_MaxFacilities + 1 ];
206 CHAR szX25UserData[ RAS_MaxUserData + 1 ];
207 DWORD dwChannels;
209 DWORD dwReserved1;
210 DWORD dwReserved2;
212 /* Multilink and BAP */
214 DWORD dwSubEntries;
215 DWORD dwDialMode;
216 DWORD dwDialExtraPercent;
217 DWORD dwDialExtraSampleSeconds;
218 DWORD dwHangUpExtraPercent;
219 DWORD dwHangUpExtraSampleSeconds;
221 /* Idle time out */
222 DWORD dwIdleDisconnectSeconds;
224 DWORD dwType; /* entry type */
225 DWORD dwEncryptionType; /* type of encryption to use */
226 DWORD dwCustomAuthKey; /* authentication key for EAP */
227 GUID guidId; /* guid that represents the phone-book entry */
228 CHAR szCustomDialDll[MAX_PATH]; /* DLL for custom dialing */
229 DWORD dwVpnStrategy; /* specifies type of VPN protocol */
231 DWORD dwfOptions2;
232 DWORD dwfOptions3;
233 CHAR szDnsSuffix[RAS_MaxDnsSuffix];
234 DWORD dwTcpWindowSize;
235 CHAR szPrerequisitePbk[MAX_PATH];
236 CHAR szPrerequisiteEntry[RAS_MaxEntryName + 1];
237 DWORD dwRedialCount;
238 DWORD dwRedialPause;
239 } RASENTRYA, *LPRASENTRYA;
241 typedef struct tagRASENTRYW {
242 DWORD dwSize;
243 DWORD dwfOptions;
245 /* Location */
247 DWORD dwCountryID;
248 DWORD dwCountryCode;
249 WCHAR szAreaCode[ RAS_MaxAreaCode + 1 ];
250 WCHAR szLocalPhoneNumber[ RAS_MaxPhoneNumber + 1 ];
251 DWORD dwAlternateOffset;
253 /* IP related stuff */
255 RASIPADDR ipaddr;
256 RASIPADDR ipaddrDns;
257 RASIPADDR ipaddrDnsAlt;
258 RASIPADDR ipaddrWins;
259 RASIPADDR ipaddrWinsAlt;
261 /* Framing (for ppp/isdn etc...) */
263 DWORD dwFrameSize;
264 DWORD dwfNetProtocols;
265 DWORD dwFramingProtocol;
267 WCHAR szScript[ MAX_PATH ];
269 WCHAR szAutodialDll[ MAX_PATH ];
270 WCHAR szAutodialFunc[ MAX_PATH ];
272 WCHAR szDeviceType[ RAS_MaxDeviceType + 1 ];
273 WCHAR szDeviceName[ RAS_MaxDeviceName + 1 ];
275 /* x25 only */
277 WCHAR szX25PadType[ RAS_MaxPadType + 1 ];
278 WCHAR szX25Address[ RAS_MaxX25Address + 1 ];
279 WCHAR szX25Facilities[ RAS_MaxFacilities + 1 ];
280 WCHAR szX25UserData[ RAS_MaxUserData + 1 ];
281 DWORD dwChannels;
283 DWORD dwReserved1;
284 DWORD dwReserved2;
286 /* Multilink and BAP */
288 DWORD dwSubEntries;
289 DWORD dwDialMode;
290 DWORD dwDialExtraPercent;
291 DWORD dwDialExtraSampleSeconds;
292 DWORD dwHangUpExtraPercent;
293 DWORD dwHangUpExtraSampleSeconds;
295 /* Idle time out */
296 DWORD dwIdleDisconnectSeconds;
298 DWORD dwType; /* entry type */
299 DWORD dwEncryptionType; /* type of encryption to use */
300 DWORD dwCustomAuthKey; /* authentication key for EAP */
301 GUID guidId; /* guid that represents the phone-book entry */
302 WCHAR szCustomDialDll[MAX_PATH]; /* DLL for custom dialing */
303 DWORD dwVpnStrategy; /* specifies type of VPN protocol */
305 DWORD dwfOptions2;
306 DWORD dwfOptions3;
307 WCHAR szDnsSuffix[RAS_MaxDnsSuffix];
308 DWORD dwTcpWindowSize;
309 WCHAR szPrerequisitePbk[MAX_PATH];
310 WCHAR szPrerequisiteEntry[RAS_MaxEntryName + 1];
311 DWORD dwRedialCount;
312 DWORD dwRedialPause;
313 } RASENTRYW, *LPRASENTRYW;
315 DECL_WINELIB_TYPE_AW(RASENTRY)
317 #define RASCS_PAUSED 0x1000
318 #define RASCS_DONE 0x2000
319 typedef enum tagRASCONNSTATE
321 RASCS_OpenPort = 0,
322 RASCS_PortOpened,
323 RASCS_ConnectDevice,
324 RASCS_DeviceConnected,
325 RASCS_AllDevicesConnected,
326 RASCS_Authenticate,
327 RASCS_AuthNotify,
328 RASCS_AuthRetry,
329 RASCS_AuthCallback,
330 RASCS_AuthChangePassword,
331 RASCS_AuthProject,
332 RASCS_AuthLinkSpeed,
333 RASCS_AuthAck,
334 RASCS_ReAuthenticate,
335 RASCS_Authenticated,
336 RASCS_PrepareForCallback,
337 RASCS_WaitForModemReset,
338 RASCS_WaitForCallback,
339 RASCS_Projected,
340 RASCS_StartAuthentication,
341 RASCS_CallbackComplete,
342 RASCS_LogonNetwork,
343 RASCS_SubEntryConnected,
344 RASCS_SubEntryDisconnected,
345 RASCS_Interactive = RASCS_PAUSED,
346 RASCS_RetryAuthentication,
347 RASCS_CallbackSetByCaller,
348 RASCS_PasswordExpired,
349 RASCS_Connected = RASCS_DONE,
350 RASCS_Disconnected
351 } RASCONNSTATE, *LPRASCONNSTATE;
353 typedef struct tagRASCONNSTATUSA
355 DWORD dwSize;
356 RASCONNSTATE rasconnstate;
357 DWORD dwError;
358 CHAR szDeviceType[RAS_MaxDeviceType + 1];
359 CHAR szDeviceName[RAS_MaxDeviceName + 1];
360 } RASCONNSTATUSA, *LPRASCONNSTATUSA;
362 typedef struct tagRASCONNSTATUSW
364 DWORD dwSize;
365 RASCONNSTATE rasconnstate;
366 DWORD dwError;
367 WCHAR szDeviceType[RAS_MaxDeviceType + 1];
368 WCHAR szDeviceName[RAS_MaxDeviceName + 1];
369 } RASCONNSTATUSW, *LPRASCONNSTATUSW;
371 DECL_WINELIB_TYPE_AW(RASCONNSTATUS)
373 typedef enum tagRASPROJECTION
375 RASP_Amb = 0x10000,
376 RASP_PppNbf = 0x803F,
377 RASP_PppIpx = 0x802B,
378 RASP_PppIp = 0x8021,
379 RASP_PppLcp = 0xC021,
380 RASP_Slip = 0x20000
381 } RASPROJECTION, *LPRASPROJECTION;
383 typedef struct tagRASSUBENTRYA
385 DWORD dwSize;
386 DWORD dwfFlags;
387 CHAR szDeviceType[RAS_MaxDeviceType + 1];
388 CHAR szDeviceName[RAS_MaxDeviceName + 1];
389 CHAR szLocalPhoneNumber[RAS_MaxPhoneNumber + 1];
390 DWORD dwAlternateOffset;
391 } RASSUBENTRYA, *LPRASSUBENTRYA;
393 typedef struct tagRASSUBENTRYW
395 DWORD dwSize;
396 DWORD dwfFlags;
397 WCHAR szDeviceType[RAS_MaxDeviceType + 1];
398 WCHAR szDeviceName[RAS_MaxDeviceName + 1];
399 WCHAR szLocalPhoneNumber[RAS_MaxPhoneNumber + 1];
400 DWORD dwAlternateOffset;
401 } RASSUBENTRYW, *LPRASSUBENTRYW;
403 typedef struct tagRASDIALEXTENSIONS
405 DWORD dwSize;
406 DWORD dwfOptions;
407 HWND hwndParent;
408 ULONG_PTR reserved;
409 } RASDIALEXTENSIONS, *LPRASDIALEXTENSIONS;
411 typedef struct tagRASAUTODIALENTRYA
413 DWORD dwSize;
414 DWORD dwFlags;
415 DWORD dwDialingLocation;
416 CHAR szEntry[ RAS_MaxEntryName + 1 ];
417 } RASAUTODIALENTRYA, *LPRASAUTODIALENTRYA;
419 typedef struct tagRASAUTODIALENTRYW
421 DWORD dwSize;
422 DWORD dwFlags;
423 DWORD dwDialingLocation;
424 WCHAR szEntry[ RAS_MaxEntryName + 1 ];
425 } RASAUTODIALENTRYW, *LPRASAUTODIALENTRYW;
428 DWORD WINAPI RasConnectionNotificationA(HRASCONN,HANDLE,DWORD);
429 DWORD WINAPI RasConnectionNotificationW(HRASCONN,HANDLE,DWORD);
430 #define RasConnectionNotification WINELIB_NAME_AW(RasConnectionNotification)
431 DWORD WINAPI RasCreatePhonebookEntryA(HWND,LPCSTR);
432 DWORD WINAPI RasCreatePhonebookEntryW(HWND,LPCWSTR);
433 #define RasCreatePhonebookEntry WINELIB_NAME_AW(RasCreatePhonebookEntry)
434 DWORD WINAPI RasDeleteEntryA(LPCSTR,LPCSTR);
435 DWORD WINAPI RasDeleteEntryW(LPCWSTR,LPCWSTR);
436 #define RasDeleteEntry WINELIB_NAME_AW(RasDeleteEntry)
437 DWORD WINAPI RasDeleteSubEntryA(LPCSTR,LPCSTR,DWORD);
438 DWORD WINAPI RasDeleteSubEntryW(LPCWSTR,LPCWSTR,DWORD);
439 #define RasDeleteSubEntry WINELIB_NAME_AW(RasDeleteSubEntry)
440 DWORD WINAPI RasDialA(LPRASDIALEXTENSIONS,LPCSTR,LPRASDIALPARAMSA,DWORD,LPVOID,LPHRASCONN);
441 DWORD WINAPI RasDialW(LPRASDIALEXTENSIONS,LPCWSTR,LPRASDIALPARAMSW,DWORD,LPVOID,LPHRASCONN);
442 #define RasDial WINELIB_NAME_AW(RasDial)
443 DWORD WINAPI RasEditPhonebookEntryA(HWND,LPCSTR,LPCSTR);
444 DWORD WINAPI RasEditPhonebookEntryW(HWND,LPCWSTR,LPCWSTR);
445 #define RasEditPhonebookEntry WINELIB_NAME_AW(RasEditPhonebookEntry)
446 DWORD WINAPI RasEnumAutodialAddressesA(LPSTR*,LPDWORD,LPDWORD);
447 DWORD WINAPI RasEnumAutodialAddressesW(LPWSTR*,LPDWORD,LPDWORD);
448 #define RasEnumAutodialAddresses WINELIB_NAME_AW(RasEnumAutodialAddresses)
449 DWORD WINAPI RasEnumConnectionsA(LPRASCONNA,LPDWORD,LPDWORD);
450 DWORD WINAPI RasEnumConnectionsW(LPRASCONNW,LPDWORD,LPDWORD);
451 #define RasEnumConnections WINELIB_NAME_AW(RasEnumConnections)
452 DWORD WINAPI RasEnumDevicesA(LPRASDEVINFOA,LPDWORD,LPDWORD);
453 DWORD WINAPI RasEnumDevicesW(LPRASDEVINFOW,LPDWORD,LPDWORD);
454 #define RasEnumDevices WINELIB_NAME_AW(RasEnumDevices)
455 DWORD WINAPI RasEnumEntriesA(LPCSTR,LPCSTR,LPRASENTRYNAMEA,LPDWORD,LPDWORD);
456 DWORD WINAPI RasEnumEntriesW(LPCWSTR,LPCWSTR,LPRASENTRYNAMEW,LPDWORD,LPDWORD);
457 #define RasEnumEntries WINELIB_NAME_AW(RasEnumEntries)
458 DWORD WINAPI RasGetAutodialAddressA(LPCSTR,LPDWORD,LPRASAUTODIALENTRYA,LPDWORD,LPDWORD);
459 DWORD WINAPI RasGetAutodialAddressW(LPCWSTR,LPDWORD,LPRASAUTODIALENTRYW,LPDWORD,LPDWORD);
460 #define RasGetAutodialAddresses WINELIB_NAME_AW(RasGetAutodialAddresses)
461 DWORD WINAPI RasGetAutodialEnableA(DWORD,LPBOOL);
462 DWORD WINAPI RasGetAutodialEnableW(DWORD,LPBOOL);
463 #define RasGetAutodialEnable WINELIB_NAME_AW(RasGetAutodialEnable)
464 DWORD WINAPI RasGetAutodialParamA(DWORD dwKey, LPVOID lpvValue, LPDWORD lpdwcbValue);
465 DWORD WINAPI RasGetAutodialParamW(DWORD dwKey, LPVOID lpvValue, LPDWORD lpdwcbValue);
466 #define RasGetAutodialParam WINELIB_NAME_AW(RasGetAutodialParam)
467 DWORD WINAPI RasGetConnectStatusA(HRASCONN,LPRASCONNSTATUSA);
468 DWORD WINAPI RasGetConnectStatusW(HRASCONN,LPRASCONNSTATUSW);
469 #define RasGetConnectStatus WINELIB_NAME_AW(RasGetConnectStatus)
470 DWORD WINAPI RasGetEntryDialParamsA(LPCSTR,LPRASDIALPARAMSA,LPBOOL);
471 DWORD WINAPI RasGetEntryDialParamsW(LPCWSTR,LPRASDIALPARAMSW,LPBOOL);
472 #define RasGetEntryDialParams WINELIB_NAME_AW(RasGetEntryDialParams)
473 DWORD WINAPI RasGetEntryPropertiesA(LPCSTR,LPCSTR,LPRASENTRYA,LPDWORD,LPBYTE,LPDWORD);
474 DWORD WINAPI RasGetEntryPropertiesW(LPCWSTR,LPCWSTR,LPRASENTRYW,LPDWORD,LPBYTE,LPDWORD);
475 #define RasGetEntryProperties WINELIB_NAME_AW(RasGetEntryProperties)
476 DWORD WINAPI RasGetErrorStringA(UINT,LPSTR,DWORD);
477 DWORD WINAPI RasGetErrorStringW(UINT,LPWSTR,DWORD);
478 #define RasGetErrorString WINELIB_NAME_AW(RasGetErrorString)
479 DWORD WINAPI RasGetProjectionInfoA(HRASCONN,RASPROJECTION,LPVOID,LPDWORD);
480 DWORD WINAPI RasGetProjectionInfoW(HRASCONN,RASPROJECTION,LPVOID,LPDWORD);
481 #define RasGetProjectionInfo WINELIB_NAME_AW(RasGetProjectionInfo)
482 DWORD WINAPI RasHangUpA(HRASCONN);
483 DWORD WINAPI RasHangUpW(HRASCONN);
484 #define RasHangUp WINELIB_NAME_AW(RasHangUp)
485 DWORD WINAPI RasRenameEntryA(LPCSTR,LPCSTR,LPCSTR);
486 DWORD WINAPI RasRenameEntryW(LPCWSTR,LPCWSTR,LPCWSTR);
487 #define RasRenameEntry WINELIB_NAME_AW(RasRenameEntry)
488 DWORD WINAPI RasSetAutodialAddressA(LPCSTR,DWORD,LPRASAUTODIALENTRYA,DWORD,DWORD);
489 DWORD WINAPI RasSetAutodialAddressW(LPCWSTR,DWORD,LPRASAUTODIALENTRYW,DWORD,DWORD);
490 #define RasSetAutodialAddress WINELIB_NAME_AW(RasSetAutodialAddress)
491 DWORD WINAPI RasSetAutodialParamA(DWORD,LPVOID,DWORD);
492 DWORD WINAPI RasSetAutodialParamW(DWORD,LPVOID,DWORD);
493 #define RasSetAutodialParam WINELIB_NAME_AW(RasSetAutodialParam)
494 DWORD WINAPI RasSetEntryDialParamsA(LPCSTR,LPRASDIALPARAMSA,BOOL);
495 DWORD WINAPI RasSetEntryDialParamsW(LPCWSTR,LPRASDIALPARAMSW,BOOL);
496 #define RasSetEntryDialParams WINELIB_NAME_AW(RasSetEntryDialParams)
497 DWORD WINAPI RasSetSubEntryPropertiesA(LPCSTR,LPCSTR,DWORD,LPRASSUBENTRYA,DWORD,LPBYTE,DWORD);
498 DWORD WINAPI RasSetSubEntryPropertiesW(LPCWSTR,LPCWSTR,DWORD,LPRASSUBENTRYW,DWORD,LPBYTE,DWORD);
499 #define RasSetSubEntryProperties WINELIB_NAME_AW(RasSetSubEntryProperties)
500 DWORD WINAPI RasValidateEntryNameA(LPCSTR lpszPhonebook, LPCSTR lpszEntry);
501 DWORD WINAPI RasValidateEntryNameW(LPCWSTR lpszPhonebook, LPCWSTR lpszEntry);
502 #define RasValidateEntryName WINELIB_NAME_AW(RasValidateEntryName)
503 DWORD WINAPI RasSetEntryPropertiesA(LPCSTR,LPCSTR,LPRASENTRYA,DWORD,LPBYTE,DWORD);
504 DWORD WINAPI RasSetEntryPropertiesW(LPCWSTR,LPCWSTR,LPRASENTRYW,DWORD,LPBYTE,DWORD);
505 #define RasSetEntryProperties WINELIB_NAME_AW(RasSetEntryProperties)
506 DWORD WINAPI RasSetAutodialEnableA(DWORD dwDialingLocation, BOOL fEnabled);
507 DWORD WINAPI RasSetAutodialEnableW(DWORD dwDialingLocation, BOOL fEnabled);
508 #define RasSetAutodialEnable WINELIB_NAME_AW(RasSetAutodialEnable)
510 #include <poppack.h>
511 #ifdef __cplusplus
513 #endif
515 #endif