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
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
{
60 CHAR szDeviceType
[ RAS_MaxDeviceType
+ 1 ];
61 CHAR szDeviceName
[ RAS_MaxDeviceName
+ 1 ];
62 } RASDEVINFOA
, *LPRASDEVINFOA
;
64 typedef struct tagRASDEVINFOW
{
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
{
79 CHAR szEntryName
[ RAS_MaxEntryName
+ 1 ];
80 CHAR szDeviceType
[ RAS_MaxDeviceType
+ 1 ];
81 CHAR szDeviceName
[ RAS_MaxDeviceName
+ 1 ];
82 CHAR szPhonebook
[ MAX_PATH
];
87 GUID guidCorrelationId
;
88 } RASCONNA
,*LPRASCONNA
;
90 typedef struct tagRASCONNW
{
93 WCHAR szEntryName
[ RAS_MaxEntryName
+ 1 ];
94 WCHAR szDeviceType
[ RAS_MaxDeviceType
+ 1 ];
95 WCHAR szDeviceName
[ RAS_MaxDeviceName
+ 1 ];
96 WCHAR szPhonebook
[ MAX_PATH
];
101 GUID guidCorrelationId
;
102 } RASCONNW
,*LPRASCONNW
;
104 DECL_WINELIB_TYPE_AW(RASCONN
)
105 DECL_WINELIB_TYPE_AW(LPRASCONN
)
107 typedef struct tagRASENTRYNAMEA
{
109 CHAR szEntryName
[ RAS_MaxEntryName
+ 1 ];
110 } RASENTRYNAMEA
, *LPRASENTRYNAMEA
;
112 typedef struct tagRASENTRYNAMEW
{
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
{
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 ];
130 } RASDIALPARAMSA
, *LPRASDIALPARAMSA
;
132 typedef struct tagRASDIALPARAMSW
{
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 ];
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
;
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
{
175 CHAR szAreaCode
[ RAS_MaxAreaCode
+ 1 ];
176 CHAR szLocalPhoneNumber
[ RAS_MaxPhoneNumber
+ 1 ];
177 DWORD dwAlternateOffset
;
179 /* IP related stuff */
183 RASIPADDR ipaddrDnsAlt
;
184 RASIPADDR ipaddrWins
;
185 RASIPADDR ipaddrWinsAlt
;
187 /* Framing (for ppp/isdn etc...) */
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 ];
203 CHAR szX25PadType
[ RAS_MaxPadType
+ 1 ];
204 CHAR szX25Address
[ RAS_MaxX25Address
+ 1 ];
205 CHAR szX25Facilities
[ RAS_MaxFacilities
+ 1 ];
206 CHAR szX25UserData
[ RAS_MaxUserData
+ 1 ];
212 /* Multilink and BAP */
216 DWORD dwDialExtraPercent
;
217 DWORD dwDialExtraSampleSeconds
;
218 DWORD dwHangUpExtraPercent
;
219 DWORD dwHangUpExtraSampleSeconds
;
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 */
233 CHAR szDnsSuffix
[RAS_MaxDnsSuffix
];
234 DWORD dwTcpWindowSize
;
235 CHAR szPrerequisitePbk
[MAX_PATH
];
236 CHAR szPrerequisiteEntry
[RAS_MaxEntryName
+ 1];
239 } RASENTRYA
, *LPRASENTRYA
;
241 typedef struct tagRASENTRYW
{
249 WCHAR szAreaCode
[ RAS_MaxAreaCode
+ 1 ];
250 WCHAR szLocalPhoneNumber
[ RAS_MaxPhoneNumber
+ 1 ];
251 DWORD dwAlternateOffset
;
253 /* IP related stuff */
257 RASIPADDR ipaddrDnsAlt
;
258 RASIPADDR ipaddrWins
;
259 RASIPADDR ipaddrWinsAlt
;
261 /* Framing (for ppp/isdn etc...) */
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 ];
277 WCHAR szX25PadType
[ RAS_MaxPadType
+ 1 ];
278 WCHAR szX25Address
[ RAS_MaxX25Address
+ 1 ];
279 WCHAR szX25Facilities
[ RAS_MaxFacilities
+ 1 ];
280 WCHAR szX25UserData
[ RAS_MaxUserData
+ 1 ];
286 /* Multilink and BAP */
290 DWORD dwDialExtraPercent
;
291 DWORD dwDialExtraSampleSeconds
;
292 DWORD dwHangUpExtraPercent
;
293 DWORD dwHangUpExtraSampleSeconds
;
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 */
307 WCHAR szDnsSuffix
[RAS_MaxDnsSuffix
];
308 DWORD dwTcpWindowSize
;
309 WCHAR szPrerequisitePbk
[MAX_PATH
];
310 WCHAR szPrerequisiteEntry
[RAS_MaxEntryName
+ 1];
313 } RASENTRYW
, *LPRASENTRYW
;
315 DECL_WINELIB_TYPE_AW(RASENTRY
)
317 #define RASCS_PAUSED 0x1000
318 #define RASCS_DONE 0x2000
319 typedef enum tagRASCONNSTATE
324 RASCS_DeviceConnected
,
325 RASCS_AllDevicesConnected
,
330 RASCS_AuthChangePassword
,
334 RASCS_ReAuthenticate
,
336 RASCS_PrepareForCallback
,
337 RASCS_WaitForModemReset
,
338 RASCS_WaitForCallback
,
340 RASCS_StartAuthentication
,
341 RASCS_CallbackComplete
,
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
,
351 } RASCONNSTATE
, *LPRASCONNSTATE
;
353 typedef struct tagRASCONNSTATUSA
356 RASCONNSTATE rasconnstate
;
358 CHAR szDeviceType
[RAS_MaxDeviceType
+ 1];
359 CHAR szDeviceName
[RAS_MaxDeviceName
+ 1];
360 } RASCONNSTATUSA
, *LPRASCONNSTATUSA
;
362 typedef struct tagRASCONNSTATUSW
365 RASCONNSTATE rasconnstate
;
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
376 RASP_PppNbf
= 0x803F,
377 RASP_PppIpx
= 0x802B,
379 RASP_PppLcp
= 0xC021,
381 } RASPROJECTION
, *LPRASPROJECTION
;
383 typedef struct tagRASSUBENTRYA
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
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
409 } RASDIALEXTENSIONS
, *LPRASDIALEXTENSIONS
;
411 typedef struct tagRASAUTODIALENTRYA
415 DWORD dwDialingLocation
;
416 CHAR szEntry
[ RAS_MaxEntryName
+ 1 ];
417 } RASAUTODIALENTRYA
, *LPRASAUTODIALENTRYA
;
419 typedef struct tagRASAUTODIALENTRYW
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)