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
31 #define RAS_MaxCallbackNumber RAS_MaxPhoneNumber
32 #define RAS_MaxDeviceName 128
33 #define RAS_MaxDeviceType 16
34 #define RAS_MaxEntryName 256
35 #define RAS_MaxPhoneNumber 128
36 #define RAS_MaxAreaCode 10
37 #define RAS_MaxPadType 32
38 #define RAS_MaxX25Address 200
39 #define RAS_MaxFacilities 200
40 #define RAS_MaxUserData 200
41 #define RAS_MaxDnsSuffix 256
43 /* szDeviceType strings for RASDEVINFO */
44 #define RASDT_Direct "direct"
45 #define RASDT_Modem "modem"
46 #define RASDT_Isdn "isdn"
47 #define RASDT_X25 "x25"
48 #define RASDT_Vpn "vpn"
49 #define RASDT_Pad "pad"
50 #define RASDT_Generic "GENERIC"
51 #define RASDT_Serial "SERIAL"
52 #define RASDT_FrameRelay "FRAMERELAY"
53 #define RASDT_Atm "ATM"
54 #define RASDT_Sonet "SONET"
55 #define RASDT_SW56 "SW56"
56 #define RASDT_Irda "IRDA"
57 #define RASDT_Parallel "PARALLEL"
58 #define RASDT_PPPoE "PPPoE"
60 typedef struct tagRASDEVINFOA
{
62 CHAR szDeviceType
[ RAS_MaxDeviceType
+ 1 ];
63 CHAR szDeviceName
[ RAS_MaxDeviceName
+ 1 ];
64 } RASDEVINFOA
, *LPRASDEVINFOA
;
66 typedef struct tagRASDEVINFOW
{
68 WCHAR szDeviceType
[ RAS_MaxDeviceType
+ 1 ];
69 WCHAR szDeviceName
[ RAS_MaxDeviceName
+ 1 ];
70 } RASDEVINFOW
, *LPRASDEVINFOW
;
72 DECL_WINELIB_TYPE_AW(RASDEVINFO
)
73 DECL_WINELIB_TYPE_AW(LPRASDEVINFO
)
75 DECLARE_HANDLE(HRASCONN
);
76 typedef HRASCONN
* LPHRASCONN
;
78 typedef struct tagRASCONNA
{
81 CHAR szEntryName
[ RAS_MaxEntryName
+ 1 ];
82 CHAR szDeviceType
[ RAS_MaxDeviceType
+ 1 ];
83 CHAR szDeviceName
[ RAS_MaxDeviceName
+ 1 ];
84 CHAR szPhonebook
[ MAX_PATH
];
89 GUID guidCorrelationId
;
90 } RASCONNA
,*LPRASCONNA
;
92 typedef struct tagRASCONNW
{
95 WCHAR szEntryName
[ RAS_MaxEntryName
+ 1 ];
96 WCHAR szDeviceType
[ RAS_MaxDeviceType
+ 1 ];
97 WCHAR szDeviceName
[ RAS_MaxDeviceName
+ 1 ];
98 WCHAR szPhonebook
[ MAX_PATH
];
103 GUID guidCorrelationId
;
104 } RASCONNW
,*LPRASCONNW
;
106 DECL_WINELIB_TYPE_AW(RASCONN
)
107 DECL_WINELIB_TYPE_AW(LPRASCONN
)
109 typedef struct tagRASENTRYNAMEA
{
111 CHAR szEntryName
[ RAS_MaxEntryName
+ 1 ];
112 } RASENTRYNAMEA
, *LPRASENTRYNAMEA
;
114 typedef struct tagRASENTRYNAMEW
{
116 WCHAR szEntryName
[ RAS_MaxEntryName
+ 1 ];
117 } RASENTRYNAMEW
, *LPRASENTRYNAMEW
;
119 DECL_WINELIB_TYPE_AW(RASENTRYNAME
)
120 DECL_WINELIB_TYPE_AW(LPRASENTRYNAME
)
122 typedef struct tagRASDIALPARAMSA
{
124 CHAR szEntryName
[ RAS_MaxEntryName
+ 1 ];
125 CHAR szPhoneNumber
[ RAS_MaxPhoneNumber
+ 1 ];
126 CHAR szCallbackNumber
[ RAS_MaxCallbackNumber
+ 1 ];
127 CHAR szUserName
[ UNLEN
+ 1 ];
128 CHAR szPassword
[ PWLEN
+ 1 ];
129 CHAR szDomain
[ DNLEN
+ 1 ];
132 } RASDIALPARAMSA
, *LPRASDIALPARAMSA
;
134 typedef struct tagRASDIALPARAMSW
{
136 WCHAR szEntryName
[ RAS_MaxEntryName
+ 1 ];
137 WCHAR szPhoneNumber
[ RAS_MaxPhoneNumber
+ 1 ];
138 WCHAR szCallbackNumber
[ RAS_MaxCallbackNumber
+ 1 ];
139 WCHAR szUserName
[ UNLEN
+ 1 ];
140 WCHAR szPassword
[ PWLEN
+ 1 ];
141 WCHAR szDomain
[ DNLEN
+ 1 ];
144 } RASDIALPARAMSW
, *LPRASDIALPARAMSW
;
146 DECL_WINELIB_TYPE_AW(RASDIALPARAMS
)
147 DECL_WINELIB_TYPE_AW(LPRASDIALPARAMS
)
149 typedef struct tagRASIPADDR
{
150 BYTE classA
,classB
,classC
,classD
;
153 #define RASEO_UseCountryAndAreaCodes 0x0001
154 #define RASEO_SpecificIpAddr 0x0002
155 #define RASEO_SpecificNameServers 0x0004
156 #define RASEO_IpHeaderCompression 0x0008
157 #define RASEO_RemoteDefaultGateway 0x0010
158 #define RASEO_DisableLcpExtensions 0x0020
159 #define RASEO_TerminalBeforeDial 0x0040
160 #define RASEO_TerminalAfterDial 0x0080
161 #define RASEO_ModemLights 0x0100
162 #define RASEO_SwCompression 0x0200
163 #define RASEO_RequireEncryptedPw 0x0400
164 #define RASEO_RequireMsEncryptedPw 0x0800
165 #define RASEO_RequireDataEncryption 0x1000
166 #define RASEO_NetworkLogon 0x2000
167 #define RASEO_UseLogonCredentials 0x4000
168 #define RASEO_PromoteAlternates 0x8000
169 typedef struct tagRASENTRYA
{
177 CHAR szAreaCode
[ RAS_MaxAreaCode
+ 1 ];
178 CHAR szLocalPhoneNumber
[ RAS_MaxPhoneNumber
+ 1 ];
179 DWORD dwAlternateOffset
;
181 /* IP related stuff */
185 RASIPADDR ipaddrDnsAlt
;
186 RASIPADDR ipaddrWins
;
187 RASIPADDR ipaddrWinsAlt
;
189 /* Framing (for ppp/isdn etc...) */
192 DWORD dwfNetProtocols
;
193 DWORD dwFramingProtocol
;
195 CHAR szScript
[ MAX_PATH
];
197 CHAR szAutodialDll
[ MAX_PATH
];
198 CHAR szAutodialFunc
[ MAX_PATH
];
200 CHAR szDeviceType
[ RAS_MaxDeviceType
+ 1 ];
201 CHAR szDeviceName
[ RAS_MaxDeviceName
+ 1 ];
205 CHAR szX25PadType
[ RAS_MaxPadType
+ 1 ];
206 CHAR szX25Address
[ RAS_MaxX25Address
+ 1 ];
207 CHAR szX25Facilities
[ RAS_MaxFacilities
+ 1 ];
208 CHAR szX25UserData
[ RAS_MaxUserData
+ 1 ];
214 /* Multilink and BAP */
218 DWORD dwDialExtraPercent
;
219 DWORD dwDialExtraSampleSeconds
;
220 DWORD dwHangUpExtraPercent
;
221 DWORD dwHangUpExtraSampleSeconds
;
224 DWORD dwIdleDisconnectSeconds
;
226 DWORD dwType
; /* entry type */
227 DWORD dwEncryptionType
; /* type of encryption to use */
228 DWORD dwCustomAuthKey
; /* authentication key for EAP */
229 GUID guidId
; /* guid that represents the phone-book entry */
230 CHAR szCustomDialDll
[MAX_PATH
]; /* DLL for custom dialing */
231 DWORD dwVpnStrategy
; /* specifies type of VPN protocol */
235 CHAR szDnsSuffix
[RAS_MaxDnsSuffix
];
236 DWORD dwTcpWindowSize
;
237 CHAR szPrerequisitePbk
[MAX_PATH
];
238 CHAR szPrerequisiteEntry
[RAS_MaxEntryName
+ 1];
241 } RASENTRYA
, *LPRASENTRYA
;
243 typedef struct tagRASENTRYW
{
251 WCHAR szAreaCode
[ RAS_MaxAreaCode
+ 1 ];
252 WCHAR szLocalPhoneNumber
[ RAS_MaxPhoneNumber
+ 1 ];
253 DWORD dwAlternateOffset
;
255 /* IP related stuff */
259 RASIPADDR ipaddrDnsAlt
;
260 RASIPADDR ipaddrWins
;
261 RASIPADDR ipaddrWinsAlt
;
263 /* Framing (for ppp/isdn etc...) */
266 DWORD dwfNetProtocols
;
267 DWORD dwFramingProtocol
;
269 WCHAR szScript
[ MAX_PATH
];
271 WCHAR szAutodialDll
[ MAX_PATH
];
272 WCHAR szAutodialFunc
[ MAX_PATH
];
274 WCHAR szDeviceType
[ RAS_MaxDeviceType
+ 1 ];
275 WCHAR szDeviceName
[ RAS_MaxDeviceName
+ 1 ];
279 WCHAR szX25PadType
[ RAS_MaxPadType
+ 1 ];
280 WCHAR szX25Address
[ RAS_MaxX25Address
+ 1 ];
281 WCHAR szX25Facilities
[ RAS_MaxFacilities
+ 1 ];
282 WCHAR szX25UserData
[ RAS_MaxUserData
+ 1 ];
288 /* Multilink and BAP */
292 DWORD dwDialExtraPercent
;
293 DWORD dwDialExtraSampleSeconds
;
294 DWORD dwHangUpExtraPercent
;
295 DWORD dwHangUpExtraSampleSeconds
;
298 DWORD dwIdleDisconnectSeconds
;
300 DWORD dwType
; /* entry type */
301 DWORD dwEncryptionType
; /* type of encryption to use */
302 DWORD dwCustomAuthKey
; /* authentication key for EAP */
303 GUID guidId
; /* guid that represents the phone-book entry */
304 WCHAR szCustomDialDll
[MAX_PATH
]; /* DLL for custom dialing */
305 DWORD dwVpnStrategy
; /* specifies type of VPN protocol */
309 WCHAR szDnsSuffix
[RAS_MaxDnsSuffix
];
310 DWORD dwTcpWindowSize
;
311 WCHAR szPrerequisitePbk
[MAX_PATH
];
312 WCHAR szPrerequisiteEntry
[RAS_MaxEntryName
+ 1];
315 } RASENTRYW
, *LPRASENTRYW
;
317 DECL_WINELIB_TYPE_AW(RASENTRY
)
319 #define RASCS_PAUSED 0x1000
320 #define RASCS_DONE 0x2000
321 typedef enum tagRASCONNSTATE
326 RASCS_DeviceConnected
,
327 RASCS_AllDevicesConnected
,
332 RASCS_AuthChangePassword
,
336 RASCS_ReAuthenticate
,
338 RASCS_PrepareForCallback
,
339 RASCS_WaitForModemReset
,
340 RASCS_WaitForCallback
,
342 RASCS_StartAuthentication
,
343 RASCS_CallbackComplete
,
345 RASCS_SubEntryConnected
,
346 RASCS_SubEntryDisconnected
,
347 RASCS_Interactive
= RASCS_PAUSED
,
348 RASCS_RetryAuthentication
,
349 RASCS_CallbackSetByCaller
,
350 RASCS_PasswordExpired
,
351 RASCS_Connected
= RASCS_DONE
,
353 } RASCONNSTATE
, *LPRASCONNSTATE
;
355 typedef struct tagRASCONNSTATUSA
358 RASCONNSTATE rasconnstate
;
360 CHAR szDeviceType
[RAS_MaxDeviceType
+ 1];
361 CHAR szDeviceName
[RAS_MaxDeviceName
+ 1];
362 } RASCONNSTATUSA
, *LPRASCONNSTATUSA
;
364 typedef struct tagRASCONNSTATUSW
367 RASCONNSTATE rasconnstate
;
369 WCHAR szDeviceType
[RAS_MaxDeviceType
+ 1];
370 WCHAR szDeviceName
[RAS_MaxDeviceName
+ 1];
371 } RASCONNSTATUSW
, *LPRASCONNSTATUSW
;
373 DECL_WINELIB_TYPE_AW(RASCONNSTATUS
)
375 typedef enum tagRASPROJECTION
378 RASP_PppNbf
= 0x803F,
379 RASP_PppIpx
= 0x802B,
381 RASP_PppLcp
= 0xC021,
383 } RASPROJECTION
, *LPRASPROJECTION
;
385 typedef struct tagRASSUBENTRYA
389 CHAR szDeviceType
[RAS_MaxDeviceType
+ 1];
390 CHAR szDeviceName
[RAS_MaxDeviceName
+ 1];
391 CHAR szLocalPhoneNumber
[RAS_MaxPhoneNumber
+ 1];
392 DWORD dwAlternateOffset
;
393 } RASSUBENTRYA
, *LPRASSUBENTRYA
;
395 typedef struct tagRASSUBENTRYW
399 WCHAR szDeviceType
[RAS_MaxDeviceType
+ 1];
400 WCHAR szDeviceName
[RAS_MaxDeviceName
+ 1];
401 WCHAR szLocalPhoneNumber
[RAS_MaxPhoneNumber
+ 1];
402 DWORD dwAlternateOffset
;
403 } RASSUBENTRYW
, *LPRASSUBENTRYW
;
405 typedef struct tagRASDIALEXTENSIONS
411 } RASDIALEXTENSIONS
, *LPRASDIALEXTENSIONS
;
413 typedef struct tagRASAUTODIALENTRYA
417 DWORD dwDialingLocation
;
418 CHAR szEntry
[ RAS_MaxEntryName
+ 1 ];
419 } RASAUTODIALENTRYA
, *LPRASAUTODIALENTRYA
;
421 typedef struct tagRASAUTODIALENTRYW
425 DWORD dwDialingLocation
;
426 WCHAR szEntry
[ RAS_MaxEntryName
+ 1 ];
427 } RASAUTODIALENTRYW
, *LPRASAUTODIALENTRYW
;
430 DWORD WINAPI
RasConnectionNotificationA(HRASCONN
,HANDLE
,DWORD
);
431 DWORD WINAPI
RasConnectionNotificationW(HRASCONN
,HANDLE
,DWORD
);
432 #define RasConnectionNotification WINELIB_NAME_AW(RasConnectionNotification)
433 DWORD WINAPI
RasCreatePhonebookEntryA(HWND
,LPCSTR
);
434 DWORD WINAPI
RasCreatePhonebookEntryW(HWND
,LPCWSTR
);
435 #define RasCreatePhonebookEntry WINELIB_NAME_AW(RasCreatePhonebookEntry)
436 DWORD WINAPI
RasDeleteEntryA(LPCSTR
,LPCSTR
);
437 DWORD WINAPI
RasDeleteEntryW(LPCWSTR
,LPCWSTR
);
438 #define RasDeleteEntry WINELIB_NAME_AW(RasDeleteEntry)
439 DWORD WINAPI
RasDeleteSubEntryA(LPCSTR
,LPCSTR
,DWORD
);
440 DWORD WINAPI
RasDeleteSubEntryW(LPCWSTR
,LPCWSTR
,DWORD
);
441 #define RasDeleteSubEntry WINELIB_NAME_AW(RasDeleteSubEntry)
442 DWORD WINAPI
RasDialA(LPRASDIALEXTENSIONS
,LPCSTR
,LPRASDIALPARAMSA
,DWORD
,LPVOID
,LPHRASCONN
);
443 DWORD WINAPI
RasDialW(LPRASDIALEXTENSIONS
,LPCWSTR
,LPRASDIALPARAMSW
,DWORD
,LPVOID
,LPHRASCONN
);
444 #define RasDial WINELIB_NAME_AW(RasDial)
445 DWORD WINAPI
RasEditPhonebookEntryA(HWND
,LPCSTR
,LPCSTR
);
446 DWORD WINAPI
RasEditPhonebookEntryW(HWND
,LPCWSTR
,LPCWSTR
);
447 #define RasEditPhonebookEntry WINELIB_NAME_AW(RasEditPhonebookEntry)
448 DWORD WINAPI
RasEnumAutodialAddressesA(LPSTR
*,LPDWORD
,LPDWORD
);
449 DWORD WINAPI
RasEnumAutodialAddressesW(LPWSTR
*,LPDWORD
,LPDWORD
);
450 #define RasEnumAutodialAddresses WINELIB_NAME_AW(RasEnumAutodialAddresses)
451 DWORD WINAPI
RasEnumConnectionsA(LPRASCONNA
,LPDWORD
,LPDWORD
);
452 DWORD WINAPI
RasEnumConnectionsW(LPRASCONNW
,LPDWORD
,LPDWORD
);
453 #define RasEnumConnections WINELIB_NAME_AW(RasEnumConnections)
454 DWORD WINAPI
RasEnumDevicesA(LPRASDEVINFOA
,LPDWORD
,LPDWORD
);
455 DWORD WINAPI
RasEnumDevicesW(LPRASDEVINFOW
,LPDWORD
,LPDWORD
);
456 #define RasEnumDevices WINELIB_NAME_AW(RasEnumDevices)
457 DWORD WINAPI
RasEnumEntriesA(LPCSTR
,LPCSTR
,LPRASENTRYNAMEA
,LPDWORD
,LPDWORD
);
458 DWORD WINAPI
RasEnumEntriesW(LPCWSTR
,LPCWSTR
,LPRASENTRYNAMEW
,LPDWORD
,LPDWORD
);
459 #define RasEnumEntries WINELIB_NAME_AW(RasEnumEntries)
460 DWORD WINAPI
RasGetAutodialAddressA(LPCSTR
,LPDWORD
,LPRASAUTODIALENTRYA
,LPDWORD
,LPDWORD
);
461 DWORD WINAPI
RasGetAutodialAddressW(LPCWSTR
,LPDWORD
,LPRASAUTODIALENTRYW
,LPDWORD
,LPDWORD
);
462 #define RasGetAutodialAddresses WINELIB_NAME_AW(RasGetAutodialAddresses)
463 DWORD WINAPI
RasGetAutodialEnableA(DWORD
,LPBOOL
);
464 DWORD WINAPI
RasGetAutodialEnableW(DWORD
,LPBOOL
);
465 #define RasGetAutodialEnable WINELIB_NAME_AW(RasGetAutodialEnable)
466 DWORD WINAPI
RasGetAutodialParamA(DWORD dwKey
, LPVOID lpvValue
, LPDWORD lpdwcbValue
);
467 DWORD WINAPI
RasGetAutodialParamW(DWORD dwKey
, LPVOID lpvValue
, LPDWORD lpdwcbValue
);
468 #define RasGetAutodialParam WINELIB_NAME_AW(RasGetAutodialParam)
469 DWORD WINAPI
RasGetConnectStatusA(HRASCONN
,LPRASCONNSTATUSA
);
470 DWORD WINAPI
RasGetConnectStatusW(HRASCONN
,LPRASCONNSTATUSW
);
471 #define RasGetConnectStatus WINELIB_NAME_AW(RasGetConnectStatus)
472 DWORD WINAPI
RasGetEntryDialParamsA(LPCSTR
,LPRASDIALPARAMSA
,LPBOOL
);
473 DWORD WINAPI
RasGetEntryDialParamsW(LPCWSTR
,LPRASDIALPARAMSW
,LPBOOL
);
474 #define RasGetEntryDialParams WINELIB_NAME_AW(RasGetEntryDialParams)
475 DWORD WINAPI
RasGetEntryPropertiesA(LPCSTR
,LPCSTR
,LPRASENTRYA
,LPDWORD
,LPBYTE
,LPDWORD
);
476 DWORD WINAPI
RasGetEntryPropertiesW(LPCWSTR
,LPCWSTR
,LPRASENTRYW
,LPDWORD
,LPBYTE
,LPDWORD
);
477 #define RasGetEntryProperties WINELIB_NAME_AW(RasGetEntryProperties)
478 DWORD WINAPI
RasGetErrorStringA(UINT
,LPSTR
,DWORD
);
479 DWORD WINAPI
RasGetErrorStringW(UINT
,LPWSTR
,DWORD
);
480 #define RasGetErrorString WINELIB_NAME_AW(RasGetErrorString)
481 DWORD WINAPI
RasGetProjectionInfoA(HRASCONN
,RASPROJECTION
,LPVOID
,LPDWORD
);
482 DWORD WINAPI
RasGetProjectionInfoW(HRASCONN
,RASPROJECTION
,LPVOID
,LPDWORD
);
483 #define RasGetProjectionInfo WINELIB_NAME_AW(RasGetProjectionInfo)
484 DWORD WINAPI
RasHangUpA(HRASCONN
);
485 DWORD WINAPI
RasHangUpW(HRASCONN
);
486 #define RasHangUp WINELIB_NAME_AW(RasHangUp)
487 DWORD WINAPI
RasRenameEntryA(LPCSTR
,LPCSTR
,LPCSTR
);
488 DWORD WINAPI
RasRenameEntryW(LPCWSTR
,LPCWSTR
,LPCWSTR
);
489 #define RasRenameEntry WINELIB_NAME_AW(RasRenameEntry)
490 DWORD WINAPI
RasSetAutodialAddressA(LPCSTR
,DWORD
,LPRASAUTODIALENTRYA
,DWORD
,DWORD
);
491 DWORD WINAPI
RasSetAutodialAddressW(LPCWSTR
,DWORD
,LPRASAUTODIALENTRYW
,DWORD
,DWORD
);
492 #define RasSetAutodialAddress WINELIB_NAME_AW(RasSetAutodialAddress)
493 DWORD WINAPI
RasSetAutodialParamA(DWORD
,LPVOID
,DWORD
);
494 DWORD WINAPI
RasSetAutodialParamW(DWORD
,LPVOID
,DWORD
);
495 #define RasSetAutodialParam WINELIB_NAME_AW(RasSetAutodialParam)
496 DWORD WINAPI
RasSetEntryDialParamsA(LPCSTR
,LPRASDIALPARAMSA
,BOOL
);
497 DWORD WINAPI
RasSetEntryDialParamsW(LPCWSTR
,LPRASDIALPARAMSW
,BOOL
);
498 #define RasSetEntryDialParams WINELIB_NAME_AW(RasSetEntryDialParams)
499 DWORD WINAPI
RasSetSubEntryPropertiesA(LPCSTR
,LPCSTR
,DWORD
,LPRASSUBENTRYA
,DWORD
,LPBYTE
,DWORD
);
500 DWORD WINAPI
RasSetSubEntryPropertiesW(LPCWSTR
,LPCWSTR
,DWORD
,LPRASSUBENTRYW
,DWORD
,LPBYTE
,DWORD
);
501 #define RasSetSubEntryProperties WINELIB_NAME_AW(RasSetSubEntryProperties)
502 DWORD WINAPI
RasValidateEntryNameA(LPCSTR lpszPhonebook
, LPCSTR lpszEntry
);
503 DWORD WINAPI
RasValidateEntryNameW(LPCWSTR lpszPhonebook
, LPCWSTR lpszEntry
);
504 #define RasValidateEntryName WINELIB_NAME_AW(RasValidateEntryName)
505 DWORD WINAPI
RasSetEntryPropertiesA(LPCSTR
,LPCSTR
,LPRASENTRYA
,DWORD
,LPBYTE
,DWORD
);
506 DWORD WINAPI
RasSetEntryPropertiesW(LPCWSTR
,LPCWSTR
,LPRASENTRYW
,DWORD
,LPBYTE
,DWORD
);
507 #define RasSetEntryProperties WINELIB_NAME_AW(RasSetEntryProperties)
508 DWORD WINAPI
RasSetAutodialEnableA(DWORD dwDialingLocation
, BOOL fEnabled
);
509 DWORD WINAPI
RasSetAutodialEnableW(DWORD dwDialingLocation
, BOOL fEnabled
);
510 #define RasSetAutodialEnable WINELIB_NAME_AW(RasSetAutodialEnable)