mfplay: Forward playback control methods to the session.
[wine/zf.git] / include / ras.h
bloba8c04da2b6db00fb11680de8acfe1f0d220df001
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 enum tagRASPROJECTION
377 RASP_Amb = 0x10000,
378 RASP_PppNbf = 0x803F,
379 RASP_PppIpx = 0x802B,
380 RASP_PppIp = 0x8021,
381 RASP_PppLcp = 0xC021,
382 RASP_Slip = 0x20000
383 } RASPROJECTION, *LPRASPROJECTION;
385 typedef struct tagRASSUBENTRYA
387 DWORD dwSize;
388 DWORD dwfFlags;
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
397 DWORD dwSize;
398 DWORD dwfFlags;
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
407 DWORD dwSize;
408 DWORD dwfOptions;
409 HWND hwndParent;
410 ULONG_PTR reserved;
411 } RASDIALEXTENSIONS, *LPRASDIALEXTENSIONS;
413 typedef struct tagRASAUTODIALENTRYA
415 DWORD dwSize;
416 DWORD dwFlags;
417 DWORD dwDialingLocation;
418 CHAR szEntry[ RAS_MaxEntryName + 1 ];
419 } RASAUTODIALENTRYA, *LPRASAUTODIALENTRYA;
421 typedef struct tagRASAUTODIALENTRYW
423 DWORD dwSize;
424 DWORD dwFlags;
425 DWORD dwDialingLocation;
426 WCHAR szEntry[ RAS_MaxEntryName + 1 ];
427 } RASAUTODIALENTRYW, *LPRASAUTODIALENTRYW;
429 typedef struct _RAS_STATS
431 DWORD dwSize;
432 DWORD dwBytesXmited;
433 DWORD dwBytesRcved;
434 DWORD dwFramesXmited;
435 DWORD dwFramesRcved;
436 DWORD dwCrcErr;
437 DWORD dwTimeoutErr;
438 DWORD dwAlignmentErr;
439 DWORD dwHardwareOverrunErr;
440 DWORD dwFramingErr;
441 DWORD dwBufferOverrunErr;
442 DWORD dwCompressionRatioIn;
443 DWORD dwCompressionRatioOut;
444 DWORD dwBps;
445 DWORD dwConnectDuration;
446 } RAS_STATS, *PRAS_STATS;
448 DWORD WINAPI RasConnectionNotificationA(HRASCONN,HANDLE,DWORD);
449 DWORD WINAPI RasConnectionNotificationW(HRASCONN,HANDLE,DWORD);
450 #define RasConnectionNotification WINELIB_NAME_AW(RasConnectionNotification)
451 DWORD WINAPI RasCreatePhonebookEntryA(HWND,LPCSTR);
452 DWORD WINAPI RasCreatePhonebookEntryW(HWND,LPCWSTR);
453 #define RasCreatePhonebookEntry WINELIB_NAME_AW(RasCreatePhonebookEntry)
454 DWORD WINAPI RasDeleteEntryA(LPCSTR,LPCSTR);
455 DWORD WINAPI RasDeleteEntryW(LPCWSTR,LPCWSTR);
456 #define RasDeleteEntry WINELIB_NAME_AW(RasDeleteEntry)
457 DWORD WINAPI RasDeleteSubEntryA(LPCSTR,LPCSTR,DWORD);
458 DWORD WINAPI RasDeleteSubEntryW(LPCWSTR,LPCWSTR,DWORD);
459 #define RasDeleteSubEntry WINELIB_NAME_AW(RasDeleteSubEntry)
460 DWORD WINAPI RasDialA(LPRASDIALEXTENSIONS,LPCSTR,LPRASDIALPARAMSA,DWORD,LPVOID,LPHRASCONN);
461 DWORD WINAPI RasDialW(LPRASDIALEXTENSIONS,LPCWSTR,LPRASDIALPARAMSW,DWORD,LPVOID,LPHRASCONN);
462 #define RasDial WINELIB_NAME_AW(RasDial)
463 DWORD WINAPI RasEditPhonebookEntryA(HWND,LPCSTR,LPCSTR);
464 DWORD WINAPI RasEditPhonebookEntryW(HWND,LPCWSTR,LPCWSTR);
465 #define RasEditPhonebookEntry WINELIB_NAME_AW(RasEditPhonebookEntry)
466 DWORD WINAPI RasEnumAutodialAddressesA(LPSTR*,LPDWORD,LPDWORD);
467 DWORD WINAPI RasEnumAutodialAddressesW(LPWSTR*,LPDWORD,LPDWORD);
468 #define RasEnumAutodialAddresses WINELIB_NAME_AW(RasEnumAutodialAddresses)
469 DWORD WINAPI RasEnumConnectionsA(LPRASCONNA,LPDWORD,LPDWORD);
470 DWORD WINAPI RasEnumConnectionsW(LPRASCONNW,LPDWORD,LPDWORD);
471 #define RasEnumConnections WINELIB_NAME_AW(RasEnumConnections)
472 DWORD WINAPI RasEnumDevicesA(LPRASDEVINFOA,LPDWORD,LPDWORD);
473 DWORD WINAPI RasEnumDevicesW(LPRASDEVINFOW,LPDWORD,LPDWORD);
474 #define RasEnumDevices WINELIB_NAME_AW(RasEnumDevices)
475 DWORD WINAPI RasEnumEntriesA(LPCSTR,LPCSTR,LPRASENTRYNAMEA,LPDWORD,LPDWORD);
476 DWORD WINAPI RasEnumEntriesW(LPCWSTR,LPCWSTR,LPRASENTRYNAMEW,LPDWORD,LPDWORD);
477 #define RasEnumEntries WINELIB_NAME_AW(RasEnumEntries)
478 DWORD WINAPI RasGetAutodialAddressA(LPCSTR,LPDWORD,LPRASAUTODIALENTRYA,LPDWORD,LPDWORD);
479 DWORD WINAPI RasGetAutodialAddressW(LPCWSTR,LPDWORD,LPRASAUTODIALENTRYW,LPDWORD,LPDWORD);
480 #define RasGetAutodialAddresses WINELIB_NAME_AW(RasGetAutodialAddresses)
481 DWORD WINAPI RasGetAutodialEnableA(DWORD,LPBOOL);
482 DWORD WINAPI RasGetAutodialEnableW(DWORD,LPBOOL);
483 #define RasGetAutodialEnable WINELIB_NAME_AW(RasGetAutodialEnable)
484 DWORD WINAPI RasGetAutodialParamA(DWORD dwKey, LPVOID lpvValue, LPDWORD lpdwcbValue);
485 DWORD WINAPI RasGetAutodialParamW(DWORD dwKey, LPVOID lpvValue, LPDWORD lpdwcbValue);
486 #define RasGetAutodialParam WINELIB_NAME_AW(RasGetAutodialParam)
487 DWORD WINAPI RasGetConnectStatusA(HRASCONN,LPRASCONNSTATUSA);
488 DWORD WINAPI RasGetConnectStatusW(HRASCONN,LPRASCONNSTATUSW);
489 #define RasGetConnectStatus WINELIB_NAME_AW(RasGetConnectStatus)
490 DWORD WINAPI RasGetEntryDialParamsA(LPCSTR,LPRASDIALPARAMSA,LPBOOL);
491 DWORD WINAPI RasGetEntryDialParamsW(LPCWSTR,LPRASDIALPARAMSW,LPBOOL);
492 #define RasGetEntryDialParams WINELIB_NAME_AW(RasGetEntryDialParams)
493 DWORD WINAPI RasGetEntryPropertiesA(LPCSTR,LPCSTR,LPRASENTRYA,LPDWORD,LPBYTE,LPDWORD);
494 DWORD WINAPI RasGetEntryPropertiesW(LPCWSTR,LPCWSTR,LPRASENTRYW,LPDWORD,LPBYTE,LPDWORD);
495 #define RasGetEntryProperties WINELIB_NAME_AW(RasGetEntryProperties)
496 DWORD WINAPI RasGetErrorStringA(UINT,LPSTR,DWORD);
497 DWORD WINAPI RasGetErrorStringW(UINT,LPWSTR,DWORD);
498 #define RasGetErrorString WINELIB_NAME_AW(RasGetErrorString)
499 DWORD WINAPI RasGetProjectionInfoA(HRASCONN,RASPROJECTION,LPVOID,LPDWORD);
500 DWORD WINAPI RasGetProjectionInfoW(HRASCONN,RASPROJECTION,LPVOID,LPDWORD);
501 #define RasGetProjectionInfo WINELIB_NAME_AW(RasGetProjectionInfo)
502 DWORD WINAPI RasHangUpA(HRASCONN);
503 DWORD WINAPI RasHangUpW(HRASCONN);
504 #define RasHangUp WINELIB_NAME_AW(RasHangUp)
505 DWORD WINAPI RasRenameEntryA(LPCSTR,LPCSTR,LPCSTR);
506 DWORD WINAPI RasRenameEntryW(LPCWSTR,LPCWSTR,LPCWSTR);
507 #define RasRenameEntry WINELIB_NAME_AW(RasRenameEntry)
508 DWORD WINAPI RasSetAutodialAddressA(LPCSTR,DWORD,LPRASAUTODIALENTRYA,DWORD,DWORD);
509 DWORD WINAPI RasSetAutodialAddressW(LPCWSTR,DWORD,LPRASAUTODIALENTRYW,DWORD,DWORD);
510 #define RasSetAutodialAddress WINELIB_NAME_AW(RasSetAutodialAddress)
511 DWORD WINAPI RasSetAutodialParamA(DWORD,LPVOID,DWORD);
512 DWORD WINAPI RasSetAutodialParamW(DWORD,LPVOID,DWORD);
513 #define RasSetAutodialParam WINELIB_NAME_AW(RasSetAutodialParam)
514 DWORD WINAPI RasSetCustomAuthDataA(const CHAR *,const CHAR *,BYTE *,DWORD);
515 DWORD WINAPI RasSetCustomAuthDataW(const WCHAR *,const WCHAR *,BYTE *,DWORD);
516 #define RasSetCustomAuthData WINELIB_NAME_AW(RasSetCustomAuthData)
517 DWORD WINAPI RasSetEntryDialParamsA(LPCSTR,LPRASDIALPARAMSA,BOOL);
518 DWORD WINAPI RasSetEntryDialParamsW(LPCWSTR,LPRASDIALPARAMSW,BOOL);
519 #define RasSetEntryDialParams WINELIB_NAME_AW(RasSetEntryDialParams)
520 DWORD WINAPI RasSetSubEntryPropertiesA(LPCSTR,LPCSTR,DWORD,LPRASSUBENTRYA,DWORD,LPBYTE,DWORD);
521 DWORD WINAPI RasSetSubEntryPropertiesW(LPCWSTR,LPCWSTR,DWORD,LPRASSUBENTRYW,DWORD,LPBYTE,DWORD);
522 #define RasSetSubEntryProperties WINELIB_NAME_AW(RasSetSubEntryProperties)
523 DWORD WINAPI RasValidateEntryNameA(LPCSTR lpszPhonebook, LPCSTR lpszEntry);
524 DWORD WINAPI RasValidateEntryNameW(LPCWSTR lpszPhonebook, LPCWSTR lpszEntry);
525 #define RasValidateEntryName WINELIB_NAME_AW(RasValidateEntryName)
526 DWORD WINAPI RasSetEntryPropertiesA(LPCSTR,LPCSTR,LPRASENTRYA,DWORD,LPBYTE,DWORD);
527 DWORD WINAPI RasSetEntryPropertiesW(LPCWSTR,LPCWSTR,LPRASENTRYW,DWORD,LPBYTE,DWORD);
528 #define RasSetEntryProperties WINELIB_NAME_AW(RasSetEntryProperties)
529 DWORD WINAPI RasSetAutodialEnableA(DWORD dwDialingLocation, BOOL fEnabled);
530 DWORD WINAPI RasSetAutodialEnableW(DWORD dwDialingLocation, BOOL fEnabled);
531 #define RasSetAutodialEnable WINELIB_NAME_AW(RasSetAutodialEnable)
533 #include <poppack.h>
534 #ifdef __cplusplus
536 #endif
538 #endif