winsta: Enable compilation with long types.
[wine.git] / include / ras.h
blob210a2a45f09828dd948343eccded7f4c60feb1ad
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>
28 #include <inaddr.h>
29 #include <in6addr.h>
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 {
61 DWORD dwSize;
62 CHAR szDeviceType[ RAS_MaxDeviceType + 1 ];
63 CHAR szDeviceName[ RAS_MaxDeviceName + 1 ];
64 } RASDEVINFOA, *LPRASDEVINFOA;
66 typedef struct tagRASDEVINFOW {
67 DWORD dwSize;
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 {
79 DWORD dwSize;
80 HRASCONN hRasConn;
81 CHAR szEntryName[ RAS_MaxEntryName + 1 ];
82 CHAR szDeviceType[ RAS_MaxDeviceType + 1 ];
83 CHAR szDeviceName[ RAS_MaxDeviceName + 1 ];
84 CHAR szPhonebook[ MAX_PATH ];
85 DWORD dwSubEntry;
86 GUID guidEntry;
87 DWORD dwFlags;
88 LUID luid;
89 GUID guidCorrelationId;
90 } RASCONNA,*LPRASCONNA;
92 typedef struct tagRASCONNW {
93 DWORD dwSize;
94 HRASCONN hRasConn;
95 WCHAR szEntryName[ RAS_MaxEntryName + 1 ];
96 WCHAR szDeviceType[ RAS_MaxDeviceType + 1 ];
97 WCHAR szDeviceName[ RAS_MaxDeviceName + 1 ];
98 WCHAR szPhonebook[ MAX_PATH ];
99 DWORD dwSubEntry;
100 GUID guidEntry;
101 DWORD dwFlags;
102 LUID luid;
103 GUID guidCorrelationId;
104 } RASCONNW,*LPRASCONNW;
106 DECL_WINELIB_TYPE_AW(RASCONN)
107 DECL_WINELIB_TYPE_AW(LPRASCONN)
109 typedef struct tagRASENTRYNAMEA {
110 DWORD dwSize;
111 CHAR szEntryName[ RAS_MaxEntryName + 1 ];
112 } RASENTRYNAMEA, *LPRASENTRYNAMEA;
114 typedef struct tagRASENTRYNAMEW {
115 DWORD dwSize;
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 {
123 DWORD dwSize;
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 ];
130 DWORD dwSubEntry;
131 DWORD dwCallbackId;
132 } RASDIALPARAMSA, *LPRASDIALPARAMSA;
134 typedef struct tagRASDIALPARAMSW {
135 DWORD dwSize;
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 ];
142 DWORD dwSubEntry;
143 DWORD dwCallbackId;
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;
151 } RASIPADDR;
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 {
170 DWORD dwSize;
171 DWORD dwfOptions;
173 /* Location */
175 DWORD dwCountryID;
176 DWORD dwCountryCode;
177 CHAR szAreaCode[ RAS_MaxAreaCode + 1 ];
178 CHAR szLocalPhoneNumber[ RAS_MaxPhoneNumber + 1 ];
179 DWORD dwAlternateOffset;
181 /* IP related stuff */
183 RASIPADDR ipaddr;
184 RASIPADDR ipaddrDns;
185 RASIPADDR ipaddrDnsAlt;
186 RASIPADDR ipaddrWins;
187 RASIPADDR ipaddrWinsAlt;
189 /* Framing (for ppp/isdn etc...) */
191 DWORD dwFrameSize;
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 ];
203 /* x25 only */
205 CHAR szX25PadType[ RAS_MaxPadType + 1 ];
206 CHAR szX25Address[ RAS_MaxX25Address + 1 ];
207 CHAR szX25Facilities[ RAS_MaxFacilities + 1 ];
208 CHAR szX25UserData[ RAS_MaxUserData + 1 ];
209 DWORD dwChannels;
211 DWORD dwReserved1;
212 DWORD dwReserved2;
214 /* Multilink and BAP */
216 DWORD dwSubEntries;
217 DWORD dwDialMode;
218 DWORD dwDialExtraPercent;
219 DWORD dwDialExtraSampleSeconds;
220 DWORD dwHangUpExtraPercent;
221 DWORD dwHangUpExtraSampleSeconds;
223 /* Idle time out */
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 */
233 DWORD dwfOptions2;
234 DWORD dwfOptions3;
235 CHAR szDnsSuffix[RAS_MaxDnsSuffix];
236 DWORD dwTcpWindowSize;
237 CHAR szPrerequisitePbk[MAX_PATH];
238 CHAR szPrerequisiteEntry[RAS_MaxEntryName + 1];
239 DWORD dwRedialCount;
240 DWORD dwRedialPause;
241 } RASENTRYA, *LPRASENTRYA;
243 typedef struct tagRASENTRYW {
244 DWORD dwSize;
245 DWORD dwfOptions;
247 /* Location */
249 DWORD dwCountryID;
250 DWORD dwCountryCode;
251 WCHAR szAreaCode[ RAS_MaxAreaCode + 1 ];
252 WCHAR szLocalPhoneNumber[ RAS_MaxPhoneNumber + 1 ];
253 DWORD dwAlternateOffset;
255 /* IP related stuff */
257 RASIPADDR ipaddr;
258 RASIPADDR ipaddrDns;
259 RASIPADDR ipaddrDnsAlt;
260 RASIPADDR ipaddrWins;
261 RASIPADDR ipaddrWinsAlt;
263 /* Framing (for ppp/isdn etc...) */
265 DWORD dwFrameSize;
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 ];
277 /* x25 only */
279 WCHAR szX25PadType[ RAS_MaxPadType + 1 ];
280 WCHAR szX25Address[ RAS_MaxX25Address + 1 ];
281 WCHAR szX25Facilities[ RAS_MaxFacilities + 1 ];
282 WCHAR szX25UserData[ RAS_MaxUserData + 1 ];
283 DWORD dwChannels;
285 DWORD dwReserved1;
286 DWORD dwReserved2;
288 /* Multilink and BAP */
290 DWORD dwSubEntries;
291 DWORD dwDialMode;
292 DWORD dwDialExtraPercent;
293 DWORD dwDialExtraSampleSeconds;
294 DWORD dwHangUpExtraPercent;
295 DWORD dwHangUpExtraSampleSeconds;
297 /* Idle time out */
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 */
307 DWORD dwfOptions2;
308 DWORD dwfOptions3;
309 WCHAR szDnsSuffix[RAS_MaxDnsSuffix];
310 DWORD dwTcpWindowSize;
311 WCHAR szPrerequisitePbk[MAX_PATH];
312 WCHAR szPrerequisiteEntry[RAS_MaxEntryName + 1];
313 DWORD dwRedialCount;
314 DWORD dwRedialPause;
315 } RASENTRYW, *LPRASENTRYW;
317 DECL_WINELIB_TYPE_AW(RASENTRY)
319 #define RASCS_PAUSED 0x1000
320 #define RASCS_DONE 0x2000
321 typedef enum tagRASCONNSTATE
323 RASCS_OpenPort = 0,
324 RASCS_PortOpened,
325 RASCS_ConnectDevice,
326 RASCS_DeviceConnected,
327 RASCS_AllDevicesConnected,
328 RASCS_Authenticate,
329 RASCS_AuthNotify,
330 RASCS_AuthRetry,
331 RASCS_AuthCallback,
332 RASCS_AuthChangePassword,
333 RASCS_AuthProject,
334 RASCS_AuthLinkSpeed,
335 RASCS_AuthAck,
336 RASCS_ReAuthenticate,
337 RASCS_Authenticated,
338 RASCS_PrepareForCallback,
339 RASCS_WaitForModemReset,
340 RASCS_WaitForCallback,
341 RASCS_Projected,
342 RASCS_StartAuthentication,
343 RASCS_CallbackComplete,
344 RASCS_LogonNetwork,
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,
352 RASCS_Disconnected
353 } RASCONNSTATE, *LPRASCONNSTATE;
355 typedef struct tagRASCONNSTATUSA
357 DWORD dwSize;
358 RASCONNSTATE rasconnstate;
359 DWORD dwError;
360 CHAR szDeviceType[RAS_MaxDeviceType + 1];
361 CHAR szDeviceName[RAS_MaxDeviceName + 1];
362 } RASCONNSTATUSA, *LPRASCONNSTATUSA;
364 typedef struct tagRASCONNSTATUSW
366 DWORD dwSize;
367 RASCONNSTATE rasconnstate;
368 DWORD dwError;
369 WCHAR szDeviceType[RAS_MaxDeviceType + 1];
370 WCHAR szDeviceName[RAS_MaxDeviceName + 1];
371 } RASCONNSTATUSW, *LPRASCONNSTATUSW;
373 DECL_WINELIB_TYPE_AW(RASCONNSTATUS)
375 typedef struct tagRASCREDENTIALSA
377 DWORD dwSize;
378 DWORD dwMask;
379 CHAR szUserName[UNLEN + 1];
380 CHAR szPassword[PWLEN + 1];
381 CHAR szDomain[DNLEN + 1];
382 } RASCREDENTIALSA, *LPRASCREDENTIALSA;
384 typedef struct tagRASCREDENTIALSW
386 DWORD dwSize;
387 DWORD dwMask;
388 WCHAR szUserName[UNLEN + 1];
389 WCHAR szPassword[PWLEN + 1];
390 WCHAR szDomain[DNLEN + 1];
391 } RASCREDENTIALSW, *LPRASCREDENTIALSW;
393 DECL_WINELIB_TYPE_AW(RASCREDENTIALS)
394 DECL_WINELIB_TYPE_AW(LPRASCREDENTIALS)
396 typedef enum tagRASPROJECTION
398 RASP_Amb = 0x10000,
399 RASP_PppNbf = 0x803F,
400 RASP_PppIpx = 0x802B,
401 RASP_PppIp = 0x8021,
402 RASP_PppLcp = 0xC021,
403 RASP_Slip = 0x20000
404 } RASPROJECTION, *LPRASPROJECTION;
406 typedef struct tagRASSUBENTRYA
408 DWORD dwSize;
409 DWORD dwfFlags;
410 CHAR szDeviceType[RAS_MaxDeviceType + 1];
411 CHAR szDeviceName[RAS_MaxDeviceName + 1];
412 CHAR szLocalPhoneNumber[RAS_MaxPhoneNumber + 1];
413 DWORD dwAlternateOffset;
414 } RASSUBENTRYA, *LPRASSUBENTRYA;
416 typedef struct tagRASSUBENTRYW
418 DWORD dwSize;
419 DWORD dwfFlags;
420 WCHAR szDeviceType[RAS_MaxDeviceType + 1];
421 WCHAR szDeviceName[RAS_MaxDeviceName + 1];
422 WCHAR szLocalPhoneNumber[RAS_MaxPhoneNumber + 1];
423 DWORD dwAlternateOffset;
424 } RASSUBENTRYW, *LPRASSUBENTRYW;
426 typedef struct tagRASDIALEXTENSIONS
428 DWORD dwSize;
429 DWORD dwfOptions;
430 HWND hwndParent;
431 ULONG_PTR reserved;
432 } RASDIALEXTENSIONS, *LPRASDIALEXTENSIONS;
434 typedef struct tagRASAUTODIALENTRYA
436 DWORD dwSize;
437 DWORD dwFlags;
438 DWORD dwDialingLocation;
439 CHAR szEntry[ RAS_MaxEntryName + 1 ];
440 } RASAUTODIALENTRYA, *LPRASAUTODIALENTRYA;
442 typedef struct tagRASAUTODIALENTRYW
444 DWORD dwSize;
445 DWORD dwFlags;
446 DWORD dwDialingLocation;
447 WCHAR szEntry[ RAS_MaxEntryName + 1 ];
448 } RASAUTODIALENTRYW, *LPRASAUTODIALENTRYW;
450 typedef struct _RAS_STATS
452 DWORD dwSize;
453 DWORD dwBytesXmited;
454 DWORD dwBytesRcved;
455 DWORD dwFramesXmited;
456 DWORD dwFramesRcved;
457 DWORD dwCrcErr;
458 DWORD dwTimeoutErr;
459 DWORD dwAlignmentErr;
460 DWORD dwHardwareOverrunErr;
461 DWORD dwFramingErr;
462 DWORD dwBufferOverrunErr;
463 DWORD dwCompressionRatioIn;
464 DWORD dwCompressionRatioOut;
465 DWORD dwBps;
466 DWORD dwConnectDuration;
467 } RAS_STATS, *PRAS_STATS;
469 DWORD WINAPI RasConnectionNotificationA(HRASCONN,HANDLE,DWORD);
470 DWORD WINAPI RasConnectionNotificationW(HRASCONN,HANDLE,DWORD);
471 #define RasConnectionNotification WINELIB_NAME_AW(RasConnectionNotification)
472 DWORD WINAPI RasCreatePhonebookEntryA(HWND,LPCSTR);
473 DWORD WINAPI RasCreatePhonebookEntryW(HWND,LPCWSTR);
474 #define RasCreatePhonebookEntry WINELIB_NAME_AW(RasCreatePhonebookEntry)
475 DWORD WINAPI RasDeleteEntryA(LPCSTR,LPCSTR);
476 DWORD WINAPI RasDeleteEntryW(LPCWSTR,LPCWSTR);
477 #define RasDeleteEntry WINELIB_NAME_AW(RasDeleteEntry)
478 DWORD WINAPI RasDeleteSubEntryA(LPCSTR,LPCSTR,DWORD);
479 DWORD WINAPI RasDeleteSubEntryW(LPCWSTR,LPCWSTR,DWORD);
480 #define RasDeleteSubEntry WINELIB_NAME_AW(RasDeleteSubEntry)
481 DWORD WINAPI RasDialA(LPRASDIALEXTENSIONS,LPCSTR,LPRASDIALPARAMSA,DWORD,LPVOID,LPHRASCONN);
482 DWORD WINAPI RasDialW(LPRASDIALEXTENSIONS,LPCWSTR,LPRASDIALPARAMSW,DWORD,LPVOID,LPHRASCONN);
483 #define RasDial WINELIB_NAME_AW(RasDial)
484 DWORD WINAPI RasEditPhonebookEntryA(HWND,LPCSTR,LPCSTR);
485 DWORD WINAPI RasEditPhonebookEntryW(HWND,LPCWSTR,LPCWSTR);
486 #define RasEditPhonebookEntry WINELIB_NAME_AW(RasEditPhonebookEntry)
487 DWORD WINAPI RasEnumAutodialAddressesA(LPSTR*,LPDWORD,LPDWORD);
488 DWORD WINAPI RasEnumAutodialAddressesW(LPWSTR*,LPDWORD,LPDWORD);
489 #define RasEnumAutodialAddresses WINELIB_NAME_AW(RasEnumAutodialAddresses)
490 DWORD WINAPI RasEnumConnectionsA(LPRASCONNA,LPDWORD,LPDWORD);
491 DWORD WINAPI RasEnumConnectionsW(LPRASCONNW,LPDWORD,LPDWORD);
492 #define RasEnumConnections WINELIB_NAME_AW(RasEnumConnections)
493 DWORD WINAPI RasEnumDevicesA(LPRASDEVINFOA,LPDWORD,LPDWORD);
494 DWORD WINAPI RasEnumDevicesW(LPRASDEVINFOW,LPDWORD,LPDWORD);
495 #define RasEnumDevices WINELIB_NAME_AW(RasEnumDevices)
496 DWORD WINAPI RasEnumEntriesA(LPCSTR,LPCSTR,LPRASENTRYNAMEA,LPDWORD,LPDWORD);
497 DWORD WINAPI RasEnumEntriesW(LPCWSTR,LPCWSTR,LPRASENTRYNAMEW,LPDWORD,LPDWORD);
498 #define RasEnumEntries WINELIB_NAME_AW(RasEnumEntries)
499 DWORD WINAPI RasGetAutodialAddressA(LPCSTR,LPDWORD,LPRASAUTODIALENTRYA,LPDWORD,LPDWORD);
500 DWORD WINAPI RasGetAutodialAddressW(LPCWSTR,LPDWORD,LPRASAUTODIALENTRYW,LPDWORD,LPDWORD);
501 #define RasGetAutodialAddresses WINELIB_NAME_AW(RasGetAutodialAddresses)
502 DWORD WINAPI RasGetAutodialEnableA(DWORD,LPBOOL);
503 DWORD WINAPI RasGetAutodialEnableW(DWORD,LPBOOL);
504 #define RasGetAutodialEnable WINELIB_NAME_AW(RasGetAutodialEnable)
505 DWORD WINAPI RasGetAutodialParamA(DWORD dwKey, LPVOID lpvValue, LPDWORD lpdwcbValue);
506 DWORD WINAPI RasGetAutodialParamW(DWORD dwKey, LPVOID lpvValue, LPDWORD lpdwcbValue);
507 #define RasGetAutodialParam WINELIB_NAME_AW(RasGetAutodialParam)
508 DWORD WINAPI RasGetConnectStatusA(HRASCONN,LPRASCONNSTATUSA);
509 DWORD WINAPI RasGetConnectStatusW(HRASCONN,LPRASCONNSTATUSW);
510 #define RasGetConnectStatus WINELIB_NAME_AW(RasGetConnectStatus)
511 DWORD WINAPI RasGetEntryDialParamsA(LPCSTR,LPRASDIALPARAMSA,LPBOOL);
512 DWORD WINAPI RasGetEntryDialParamsW(LPCWSTR,LPRASDIALPARAMSW,LPBOOL);
513 #define RasGetEntryDialParams WINELIB_NAME_AW(RasGetEntryDialParams)
514 DWORD WINAPI RasGetEntryPropertiesA(LPCSTR,LPCSTR,LPRASENTRYA,LPDWORD,LPBYTE,LPDWORD);
515 DWORD WINAPI RasGetEntryPropertiesW(LPCWSTR,LPCWSTR,LPRASENTRYW,LPDWORD,LPBYTE,LPDWORD);
516 #define RasGetEntryProperties WINELIB_NAME_AW(RasGetEntryProperties)
517 DWORD WINAPI RasGetErrorStringA(UINT,LPSTR,DWORD);
518 DWORD WINAPI RasGetErrorStringW(UINT,LPWSTR,DWORD);
519 #define RasGetErrorString WINELIB_NAME_AW(RasGetErrorString)
520 DWORD WINAPI RasGetProjectionInfoA(HRASCONN,RASPROJECTION,LPVOID,LPDWORD);
521 DWORD WINAPI RasGetProjectionInfoW(HRASCONN,RASPROJECTION,LPVOID,LPDWORD);
522 #define RasGetProjectionInfo WINELIB_NAME_AW(RasGetProjectionInfo)
523 DWORD WINAPI RasHangUpA(HRASCONN);
524 DWORD WINAPI RasHangUpW(HRASCONN);
525 #define RasHangUp WINELIB_NAME_AW(RasHangUp)
526 DWORD WINAPI RasRenameEntryA(LPCSTR,LPCSTR,LPCSTR);
527 DWORD WINAPI RasRenameEntryW(LPCWSTR,LPCWSTR,LPCWSTR);
528 #define RasRenameEntry WINELIB_NAME_AW(RasRenameEntry)
529 DWORD WINAPI RasSetAutodialAddressA(LPCSTR,DWORD,LPRASAUTODIALENTRYA,DWORD,DWORD);
530 DWORD WINAPI RasSetAutodialAddressW(LPCWSTR,DWORD,LPRASAUTODIALENTRYW,DWORD,DWORD);
531 #define RasSetAutodialAddress WINELIB_NAME_AW(RasSetAutodialAddress)
532 DWORD WINAPI RasSetAutodialParamA(DWORD,LPVOID,DWORD);
533 DWORD WINAPI RasSetAutodialParamW(DWORD,LPVOID,DWORD);
534 #define RasSetAutodialParam WINELIB_NAME_AW(RasSetAutodialParam)
535 DWORD WINAPI RasSetCustomAuthDataA(const CHAR *,const CHAR *,BYTE *,DWORD);
536 DWORD WINAPI RasSetCustomAuthDataW(const WCHAR *,const WCHAR *,BYTE *,DWORD);
537 #define RasSetCustomAuthData WINELIB_NAME_AW(RasSetCustomAuthData)
538 DWORD WINAPI RasSetEntryDialParamsA(LPCSTR,LPRASDIALPARAMSA,BOOL);
539 DWORD WINAPI RasSetEntryDialParamsW(LPCWSTR,LPRASDIALPARAMSW,BOOL);
540 #define RasSetEntryDialParams WINELIB_NAME_AW(RasSetEntryDialParams)
541 DWORD WINAPI RasSetSubEntryPropertiesA(LPCSTR,LPCSTR,DWORD,LPRASSUBENTRYA,DWORD,LPBYTE,DWORD);
542 DWORD WINAPI RasSetSubEntryPropertiesW(LPCWSTR,LPCWSTR,DWORD,LPRASSUBENTRYW,DWORD,LPBYTE,DWORD);
543 #define RasSetSubEntryProperties WINELIB_NAME_AW(RasSetSubEntryProperties)
544 DWORD WINAPI RasValidateEntryNameA(LPCSTR lpszPhonebook, LPCSTR lpszEntry);
545 DWORD WINAPI RasValidateEntryNameW(LPCWSTR lpszPhonebook, LPCWSTR lpszEntry);
546 #define RasValidateEntryName WINELIB_NAME_AW(RasValidateEntryName)
547 DWORD WINAPI RasSetEntryPropertiesA(LPCSTR,LPCSTR,LPRASENTRYA,DWORD,LPBYTE,DWORD);
548 DWORD WINAPI RasSetEntryPropertiesW(LPCWSTR,LPCWSTR,LPRASENTRYW,DWORD,LPBYTE,DWORD);
549 #define RasSetEntryProperties WINELIB_NAME_AW(RasSetEntryProperties)
550 DWORD WINAPI RasSetAutodialEnableA(DWORD dwDialingLocation, BOOL fEnabled);
551 DWORD WINAPI RasSetAutodialEnableW(DWORD dwDialingLocation, BOOL fEnabled);
552 #define RasSetAutodialEnable WINELIB_NAME_AW(RasSetAutodialEnable)
554 #include <poppack.h>
555 #ifdef __cplusplus
557 #endif
559 #endif