appwiz: Add simplified and traditional Chinese resources.
[wine/multimedia.git] / include / ras.h
blobf90d25ad896486384e2e99d17ae97ab6c8d50719
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 } RASCONNA,*LPRASCONNA;
86 typedef struct tagRASCONNW {
87 DWORD dwSize;
88 HRASCONN hRasConn;
89 WCHAR szEntryName[ RAS_MaxEntryName + 1 ];
90 WCHAR szDeviceType[ RAS_MaxDeviceType + 1 ];
91 WCHAR szDeviceName[ RAS_MaxDeviceName + 1 ];
92 WCHAR szPhonebook[ MAX_PATH ];
93 DWORD dwSubEntry;
94 } RASCONNW,*LPRASCONNW;
96 DECL_WINELIB_TYPE_AW(RASCONN)
97 DECL_WINELIB_TYPE_AW(LPRASCONN)
99 typedef struct tagRASENTRYNAMEA {
100 DWORD dwSize;
101 CHAR szEntryName[ RAS_MaxEntryName + 1 ];
102 } RASENTRYNAMEA, *LPRASENTRYNAMEA;
104 typedef struct tagRASENTRYNAMEW {
105 DWORD dwSize;
106 WCHAR szEntryName[ RAS_MaxEntryName + 1 ];
107 } RASENTRYNAMEW, *LPRASENTRYNAMEW;
109 DECL_WINELIB_TYPE_AW(RASENTRYNAME)
110 DECL_WINELIB_TYPE_AW(LPRASENTRYNAME)
112 typedef struct tagRASDIALPARAMSA {
113 DWORD dwSize;
114 CHAR szEntryName[ RAS_MaxEntryName + 1 ];
115 CHAR szPhoneNumber[ RAS_MaxPhoneNumber + 1 ];
116 CHAR szCallbackNumber[ RAS_MaxCallbackNumber + 1 ];
117 CHAR szUserName[ UNLEN + 1 ];
118 CHAR szPassword[ PWLEN + 1 ];
119 CHAR szDomain[ DNLEN + 1 ];
120 DWORD dwSubEntry;
121 DWORD dwCallbackId;
122 } RASDIALPARAMSA, *LPRASDIALPARAMSA;
124 typedef struct tagRASDIALPARAMSW {
125 DWORD dwSize;
126 WCHAR szEntryName[ RAS_MaxEntryName + 1 ];
127 WCHAR szPhoneNumber[ RAS_MaxPhoneNumber + 1 ];
128 WCHAR szCallbackNumber[ RAS_MaxCallbackNumber + 1 ];
129 WCHAR szUserName[ UNLEN + 1 ];
130 WCHAR szPassword[ PWLEN + 1 ];
131 WCHAR szDomain[ DNLEN + 1 ];
132 DWORD dwSubEntry;
133 DWORD dwCallbackId;
134 } RASDIALPARAMSW, *LPRASDIALPARAMSW;
136 DECL_WINELIB_TYPE_AW(RASDIALPARAMS)
137 DECL_WINELIB_TYPE_AW(LPRASDIALPARAMS)
139 typedef struct tagRASIPADDR {
140 BYTE classA,classB,classC,classD;
141 } RASIPADDR;
143 #define RASEO_UseCountryAndAreaCodes 0x0001
144 #define RASEO_SpecificIpAddr 0x0002
145 #define RASEO_SpecificNameServers 0x0004
146 #define RASEO_IpHeaderCompression 0x0008
147 #define RASEO_RemoteDefaultGateway 0x0010
148 #define RASEO_DisableLcpExtensions 0x0020
149 #define RASEO_TerminalBeforeDial 0x0040
150 #define RASEO_TerminalAfterDial 0x0080
151 #define RASEO_ModemLights 0x0100
152 #define RASEO_SwCompression 0x0200
153 #define RASEO_RequireEncryptedPw 0x0400
154 #define RASEO_RequireMsEncryptedPw 0x0800
155 #define RASEO_RequireDataEncryption 0x1000
156 #define RASEO_NetworkLogon 0x2000
157 #define RASEO_UseLogonCredentials 0x4000
158 #define RASEO_PromoteAlternates 0x8000
159 typedef struct tagRASENTRYA {
160 DWORD dwSize;
161 DWORD dwfOptions;
163 /* Location */
165 DWORD dwCountryID;
166 DWORD dwCountryCode;
167 CHAR szAreaCode[ RAS_MaxAreaCode + 1 ];
168 CHAR szLocalPhoneNumber[ RAS_MaxPhoneNumber + 1 ];
169 DWORD dwAlternateOffset;
171 /* IP related stuff */
173 RASIPADDR ipaddr;
174 RASIPADDR ipaddrDns;
175 RASIPADDR ipaddrDnsAlt;
176 RASIPADDR ipaddrWins;
177 RASIPADDR ipaddrWinsAlt;
179 /* Framing (for ppp/isdn etc...) */
181 DWORD dwFrameSize;
182 DWORD dwfNetProtocols;
183 DWORD dwFramingProtocol;
185 CHAR szScript[ MAX_PATH ];
187 CHAR szAutodialDll[ MAX_PATH ];
188 CHAR szAutodialFunc[ MAX_PATH ];
190 CHAR szDeviceType[ RAS_MaxDeviceType + 1 ];
191 CHAR szDeviceName[ RAS_MaxDeviceName + 1 ];
193 /* x25 only */
195 CHAR szX25PadType[ RAS_MaxPadType + 1 ];
196 CHAR szX25Address[ RAS_MaxX25Address + 1 ];
197 CHAR szX25Facilities[ RAS_MaxFacilities + 1 ];
198 CHAR szX25UserData[ RAS_MaxUserData + 1 ];
199 DWORD dwChannels;
201 DWORD dwReserved1;
202 DWORD dwReserved2;
204 /* Multilink and BAP */
206 DWORD dwSubEntries;
207 DWORD dwDialMode;
208 DWORD dwDialExtraPercent;
209 DWORD dwDialExtraSampleSeconds;
210 DWORD dwHangUpExtraPercent;
211 DWORD dwHangUpExtraSampleSeconds;
213 /* Idle time out */
214 DWORD dwIdleDisconnectSeconds;
216 DWORD dwType; /* entry type */
217 DWORD dwEncryptionType; /* type of encryption to use */
218 DWORD dwCustomAuthKey; /* authentication key for EAP */
219 GUID guidId; /* guid that represents the phone-book entry */
220 CHAR szCustomDialDll[MAX_PATH]; /* DLL for custom dialing */
221 DWORD dwVpnStrategy; /* specifies type of VPN protocol */
223 DWORD dwfOptions2;
224 DWORD dwfOptions3;
225 CHAR szDnsSuffix[RAS_MaxDnsSuffix];
226 DWORD dwTcpWindowSize;
227 CHAR szPrerequisitePbk[MAX_PATH];
228 CHAR szPrerequisiteEntry[RAS_MaxEntryName + 1];
229 DWORD dwRedialCount;
230 DWORD dwRedialPause;
231 } RASENTRYA, *LPRASENTRYA;
233 typedef struct tagRASENTRYW {
234 DWORD dwSize;
235 DWORD dwfOptions;
237 /* Location */
239 DWORD dwCountryID;
240 DWORD dwCountryCode;
241 WCHAR szAreaCode[ RAS_MaxAreaCode + 1 ];
242 WCHAR szLocalPhoneNumber[ RAS_MaxPhoneNumber + 1 ];
243 DWORD dwAlternateOffset;
245 /* IP related stuff */
247 RASIPADDR ipaddr;
248 RASIPADDR ipaddrDns;
249 RASIPADDR ipaddrDnsAlt;
250 RASIPADDR ipaddrWins;
251 RASIPADDR ipaddrWinsAlt;
253 /* Framing (for ppp/isdn etc...) */
255 DWORD dwFrameSize;
256 DWORD dwfNetProtocols;
257 DWORD dwFramingProtocol;
259 WCHAR szScript[ MAX_PATH ];
261 WCHAR szAutodialDll[ MAX_PATH ];
262 WCHAR szAutodialFunc[ MAX_PATH ];
264 WCHAR szDeviceType[ RAS_MaxDeviceType + 1 ];
265 WCHAR szDeviceName[ RAS_MaxDeviceName + 1 ];
267 /* x25 only */
269 WCHAR szX25PadType[ RAS_MaxPadType + 1 ];
270 WCHAR szX25Address[ RAS_MaxX25Address + 1 ];
271 WCHAR szX25Facilities[ RAS_MaxFacilities + 1 ];
272 WCHAR szX25UserData[ RAS_MaxUserData + 1 ];
273 DWORD dwChannels;
275 DWORD dwReserved1;
276 DWORD dwReserved2;
278 /* Multilink and BAP */
280 DWORD dwSubEntries;
281 DWORD dwDialMode;
282 DWORD dwDialExtraPercent;
283 DWORD dwDialExtraSampleSeconds;
284 DWORD dwHangUpExtraPercent;
285 DWORD dwHangUpExtraSampleSeconds;
287 /* Idle time out */
288 DWORD dwIdleDisconnectSeconds;
290 DWORD dwType; /* entry type */
291 DWORD dwEncryptionType; /* type of encryption to use */
292 DWORD dwCustomAuthKey; /* authentication key for EAP */
293 GUID guidId; /* guid that represents the phone-book entry */
294 WCHAR szCustomDialDll[MAX_PATH]; /* DLL for custom dialing */
295 DWORD dwVpnStrategy; /* specifies type of VPN protocol */
297 DWORD dwfOptions2;
298 DWORD dwfOptions3;
299 WCHAR szDnsSuffix[RAS_MaxDnsSuffix];
300 DWORD dwTcpWindowSize;
301 WCHAR szPrerequisitePbk[MAX_PATH];
302 WCHAR szPrerequisiteEntry[RAS_MaxEntryName + 1];
303 DWORD dwRedialCount;
304 DWORD dwRedialPause;
305 } RASENTRYW, *LPRASENTRYW;
307 DECL_WINELIB_TYPE_AW(RASENTRY)
309 #define RASCS_PAUSED 0x1000
310 #define RASCS_DONE 0x2000
311 typedef enum tagRASCONNSTATE
313 RASCS_OpenPort = 0,
314 RASCS_PortOpened,
315 RASCS_ConnectDevice,
316 RASCS_DeviceConnected,
317 RASCS_AllDevicesConnected,
318 RASCS_Authenticate,
319 RASCS_AuthNotify,
320 RASCS_AuthRetry,
321 RASCS_AuthCallback,
322 RASCS_AuthChangePassword,
323 RASCS_AuthProject,
324 RASCS_AuthLinkSpeed,
325 RASCS_AuthAck,
326 RASCS_ReAuthenticate,
327 RASCS_Authenticated,
328 RASCS_PrepareForCallback,
329 RASCS_WaitForModemReset,
330 RASCS_WaitForCallback,
331 RASCS_Projected,
332 RASCS_StartAuthentication,
333 RASCS_CallbackComplete,
334 RASCS_LogonNetwork,
335 RASCS_SubEntryConnected,
336 RASCS_SubEntryDisconnected,
337 RASCS_Interactive = RASCS_PAUSED,
338 RASCS_RetryAuthentication,
339 RASCS_CallbackSetByCaller,
340 RASCS_PasswordExpired,
341 RASCS_Connected = RASCS_DONE,
342 RASCS_Disconnected
343 } RASCONNSTATE, *LPRASCONNSTATE;
345 typedef struct tagRASCONNSTATUSA
347 DWORD dwSize;
348 RASCONNSTATE rasconnstate;
349 DWORD dwError;
350 CHAR szDeviceType[RAS_MaxDeviceType + 1];
351 CHAR szDeviceName[RAS_MaxDeviceName + 1];
352 } RASCONNSTATUSA, *LPRASCONNSTATUSA;
354 typedef struct tagRASCONNSTATUSW
356 DWORD dwSize;
357 RASCONNSTATE rasconnstate;
358 DWORD dwError;
359 WCHAR szDeviceType[RAS_MaxDeviceType + 1];
360 WCHAR szDeviceName[RAS_MaxDeviceName + 1];
361 } RASCONNSTATUSW, *LPRASCONNSTATUSW;
363 DECL_WINELIB_TYPE_AW(RASCONNSTATUS)
365 typedef enum tagRASPROJECTION
367 RASP_Amb = 0x10000,
368 RASP_PppNbf = 0x803F,
369 RASP_PppIpx = 0x802B,
370 RASP_PppIp = 0x8021,
371 RASP_PppLcp = 0xC021,
372 RASP_Slip = 0x20000
373 } RASPROJECTION, *LPRASPROJECTION;
375 typedef struct tagRASSUBENTRYA
377 DWORD dwSize;
378 DWORD dwfFlags;
379 CHAR szDeviceType[RAS_MaxDeviceType + 1];
380 CHAR szDeviceName[RAS_MaxDeviceName + 1];
381 CHAR szLocalPhoneNumber[RAS_MaxPhoneNumber + 1];
382 DWORD dwAlternateOffset;
383 } RASSUBENTRYA, *LPRASSUBENTRYA;
385 typedef struct tagRASSUBENTRYW
387 DWORD dwSize;
388 DWORD dwfFlags;
389 WCHAR szDeviceType[RAS_MaxDeviceType + 1];
390 WCHAR szDeviceName[RAS_MaxDeviceName + 1];
391 WCHAR szLocalPhoneNumber[RAS_MaxPhoneNumber + 1];
392 DWORD dwAlternateOffset;
393 } RASSUBENTRYW, *LPRASSUBENTRYW;
395 typedef struct tagRASDIALEXTENSIONS
397 DWORD dwSize;
398 DWORD dwfOptions;
399 HWND hwndParent;
400 ULONG_PTR reserved;
401 } RASDIALEXTENSIONS, *LPRASDIALEXTENSIONS;
403 typedef struct tagRASAUTODIALENTRYA
405 DWORD dwSize;
406 DWORD dwFlags;
407 DWORD dwDialingLocation;
408 CHAR szEntry[ RAS_MaxEntryName + 1 ];
409 } RASAUTODIALENTRYA, *LPRASAUTODIALENTRYA;
411 typedef struct tagRASAUTODIALENTRYW
413 DWORD dwSize;
414 DWORD dwFlags;
415 DWORD dwDialingLocation;
416 WCHAR szEntry[ RAS_MaxEntryName + 1 ];
417 } RASAUTODIALENTRYW, *LPRASAUTODIALENTRYW;
420 DWORD WINAPI RasConnectionNotificationA(HRASCONN,HANDLE,DWORD);
421 DWORD WINAPI RasConnectionNotificationW(HRASCONN,HANDLE,DWORD);
422 #define RasConnectionNotification WINELIB_NAME_AW(RasConnectionNotification)
423 DWORD WINAPI RasCreatePhonebookEntryA(HWND,LPCSTR);
424 DWORD WINAPI RasCreatePhonebookEntryW(HWND,LPCWSTR);
425 #define RasCreatePhonebookEntry WINELIB_NAME_AW(RasCreatePhonebookEntry)
426 DWORD WINAPI RasDeleteEntryA(LPCSTR,LPCSTR);
427 DWORD WINAPI RasDeleteEntryW(LPCWSTR,LPCWSTR);
428 #define RasDeleteEntry WINELIB_NAME_AW(RasDeleteEntry)
429 DWORD WINAPI RasDeleteSubEntryA(LPCSTR,LPCSTR,DWORD);
430 DWORD WINAPI RasDeleteSubEntryW(LPCWSTR,LPCWSTR,DWORD);
431 #define RasDeleteSubEntry WINELIB_NAME_AW(RasDeleteSubEntry)
432 DWORD WINAPI RasDialA(LPRASDIALEXTENSIONS,LPCSTR,LPRASDIALPARAMSA,DWORD,LPVOID,LPHRASCONN);
433 DWORD WINAPI RasDialW(LPRASDIALEXTENSIONS,LPCWSTR,LPRASDIALPARAMSW,DWORD,LPVOID,LPHRASCONN);
434 #define RasDial WINELIB_NAME_AW(RasDial)
435 DWORD WINAPI RasEditPhonebookEntryA(HWND,LPCSTR,LPCSTR);
436 DWORD WINAPI RasEditPhonebookEntryW(HWND,LPCWSTR,LPCWSTR);
437 #define RasEditPhonebookEntry WINELIB_NAME_AW(RasEditPhonebookEntry)
438 DWORD WINAPI RasEnumAutodialAddressesA(LPSTR*,LPDWORD,LPDWORD);
439 DWORD WINAPI RasEnumAutodialAddressesW(LPWSTR*,LPDWORD,LPDWORD);
440 #define RasEnumAutodialAddresses WINELIB_NAME_AW(RasEnumAutodialAddresses)
441 DWORD WINAPI RasEnumConnectionsA(LPRASCONNA,LPDWORD,LPDWORD);
442 DWORD WINAPI RasEnumConnectionsW(LPRASCONNW,LPDWORD,LPDWORD);
443 #define RasEnumConnections WINELIB_NAME_AW(RasEnumConnections)
444 DWORD WINAPI RasEnumDevicesA(LPRASDEVINFOA,LPDWORD,LPDWORD);
445 DWORD WINAPI RasEnumDevicesW(LPRASDEVINFOW,LPDWORD,LPDWORD);
446 #define RasEnumDevices WINELIB_NAME_AW(RasEnumDevices)
447 DWORD WINAPI RasEnumEntriesA(LPCSTR,LPCSTR,LPRASENTRYNAMEA,LPDWORD,LPDWORD);
448 DWORD WINAPI RasEnumEntriesW(LPCWSTR,LPCWSTR,LPRASENTRYNAMEW,LPDWORD,LPDWORD);
449 #define RasEnumEntries WINELIB_NAME_AW(RasEnumEntries)
450 DWORD WINAPI RasGetAutodialAddressA(LPCSTR,LPDWORD,LPRASAUTODIALENTRYA,LPDWORD,LPDWORD);
451 DWORD WINAPI RasGetAutodialAddressW(LPCWSTR,LPDWORD,LPRASAUTODIALENTRYW,LPDWORD,LPDWORD);
452 #define RasGetAutodialAddresses WINELIB_NAME_AW(RasGetAutodialAddresses)
453 DWORD WINAPI RasGetAutodialEnableA(DWORD,LPBOOL);
454 DWORD WINAPI RasGetAutodialEnableW(DWORD,LPBOOL);
455 #define RasGetAutodialEnable WINELIB_NAME_AW(RasGetAutodialEnable)
456 DWORD WINAPI RasGetAutodialParamA(DWORD dwKey, LPVOID lpvValue, LPDWORD lpdwcbValue);
457 DWORD WINAPI RasGetAutodialParamW(DWORD dwKey, LPVOID lpvValue, LPDWORD lpdwcbValue);
458 #define RasGetAutodialParam WINELIB_NAME_AW(RasGetAutodialParam)
459 DWORD WINAPI RasGetConnectStatusA(HRASCONN,LPRASCONNSTATUSA);
460 DWORD WINAPI RasGetConnectStatusW(HRASCONN,LPRASCONNSTATUSW);
461 #define RasGetConnectStatus WINELIB_NAME_AW(RasGetConnectStatus)
462 DWORD WINAPI RasGetEntryDialParamsA(LPCSTR,LPRASDIALPARAMSA,LPBOOL);
463 DWORD WINAPI RasGetEntryDialParamsW(LPCWSTR,LPRASDIALPARAMSW,LPBOOL);
464 #define RasGetEntryDialParams WINELIB_NAME_AW(RasGetEntryDialParams)
465 DWORD WINAPI RasGetEntryPropertiesA(LPCSTR,LPCSTR,LPRASENTRYA,LPDWORD,LPBYTE,LPDWORD);
466 DWORD WINAPI RasGetEntryPropertiesW(LPCWSTR,LPCWSTR,LPRASENTRYW,LPDWORD,LPBYTE,LPDWORD);
467 #define RasGetEntryProperties WINELIB_NAME_AW(RasGetEntryProperties)
468 DWORD WINAPI RasGetErrorStringA(UINT,LPSTR,DWORD);
469 DWORD WINAPI RasGetErrorStringW(UINT,LPWSTR,DWORD);
470 #define RasGetErrorString WINELIB_NAME_AW(RasGetErrorString)
471 DWORD WINAPI RasGetProjectionInfoA(HRASCONN,RASPROJECTION,LPVOID,LPDWORD);
472 DWORD WINAPI RasGetProjectionInfoW(HRASCONN,RASPROJECTION,LPVOID,LPDWORD);
473 #define RasGetProjectionInfo WINELIB_NAME_AW(RasGetProjectionInfo)
474 DWORD WINAPI RasHangUpA(HRASCONN);
475 DWORD WINAPI RasHangUpW(HRASCONN);
476 #define RasHangUp WINELIB_NAME_AW(RasHangUp)
477 DWORD WINAPI RasRenameEntryA(LPCSTR,LPCSTR,LPCSTR);
478 DWORD WINAPI RasRenameEntryW(LPCWSTR,LPCWSTR,LPCWSTR);
479 #define RasRenameEntry WINELIB_NAME_AW(RasRenameEntry)
480 DWORD WINAPI RasSetAutodialAddressA(LPCSTR,DWORD,LPRASAUTODIALENTRYA,DWORD,DWORD);
481 DWORD WINAPI RasSetAutodialAddressW(LPCWSTR,DWORD,LPRASAUTODIALENTRYW,DWORD,DWORD);
482 #define RasSetAutodialAddress WINELIB_NAME_AW(RasSetAutodialAddress)
483 DWORD WINAPI RasSetAutodialParamA(DWORD,LPVOID,DWORD);
484 DWORD WINAPI RasSetAutodialParamW(DWORD,LPVOID,DWORD);
485 #define RasSetAutodialParam WINELIB_NAME_AW(RasSetAutodialParam)
486 DWORD WINAPI RasSetEntryDialParamsA(LPCSTR,LPRASDIALPARAMSA,BOOL);
487 DWORD WINAPI RasSetEntryDialParamsW(LPCWSTR,LPRASDIALPARAMSW,BOOL);
488 #define RasSetEntryDialParams WINELIB_NAME_AW(RasSetEntryDialParams)
489 DWORD WINAPI RasSetSubEntryPropertiesA(LPCSTR,LPCSTR,DWORD,LPRASSUBENTRYA,DWORD,LPBYTE,DWORD);
490 DWORD WINAPI RasSetSubEntryPropertiesW(LPCWSTR,LPCWSTR,DWORD,LPRASSUBENTRYW,DWORD,LPBYTE,DWORD);
491 #define RasSetSubEntryProperties WINELIB_NAME_AW(RasSetSubEntryProperties)
492 DWORD WINAPI RasValidateEntryNameA(LPCSTR lpszPhonebook, LPCSTR lpszEntry);
493 DWORD WINAPI RasValidateEntryNameW(LPCWSTR lpszPhonebook, LPCWSTR lpszEntry);
494 #define RasValidateEntryName WINELIB_NAME_AW(RasValidateEntryName)
495 DWORD WINAPI RasSetEntryPropertiesA(LPCSTR,LPCSTR,LPRASENTRYA,DWORD,LPBYTE,DWORD);
496 DWORD WINAPI RasSetEntryPropertiesW(LPCWSTR,LPCWSTR,LPRASENTRYW,DWORD,LPBYTE,DWORD);
497 #define RasSetEntryProperties WINELIB_NAME_AW(RasSetEntryProperties)
498 DWORD WINAPI RasSetAutodialEnableA(DWORD dwDialingLocation, BOOL fEnabled);
499 DWORD WINAPI RasSetAutodialEnableW(DWORD dwDialingLocation, BOOL fEnabled);
500 #define RasSetAutodialEnable WINELIB_NAME_AW(RasSetAutodialEnable)
502 #include <poppack.h>
503 #ifdef __cplusplus
505 #endif
507 #endif