blob: f2e13c674085bd8efe6d9e1d07aac34586902770 [file] [log] [blame]
Marcus Meissner30ef8771998-12-11 13:26:26 +00001/*
2 * RASAPI32
Vincent Béron9a624912002-05-31 23:06:46 +00003 *
Marcus Meissner30ef8771998-12-11 13:26:26 +00004 * Copyright 1998 Marcus Meissner
Alexandre Julliard0799c1a2002-03-09 23:29:33 +00005 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
10 *
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
15 *
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Marcus Meissner30ef8771998-12-11 13:26:26 +000019 */
20
Jim Aston2e1cafa1999-03-14 16:35:05 +000021#include "windef.h"
Marcus Meissner30ef8771998-12-11 13:26:26 +000022#include "ras.h"
Alexandre Julliard0799c1a2002-03-09 23:29:33 +000023#include "wine/debug.h"
Marcus Meissner30ef8771998-12-11 13:26:26 +000024
Alexandre Julliard0799c1a2002-03-09 23:29:33 +000025WINE_DEFAULT_DEBUG_CHANNEL(ras);
Patrik Stridvallb4b9fae1999-04-19 14:56:29 +000026
Marcus Meissner30ef8771998-12-11 13:26:26 +000027/**************************************************************************
Patrik Stridvall2d6457c2000-03-28 20:22:59 +000028 * RasEnumConnectionsA [RASAPI32.544]
Marcus Meissner30ef8771998-12-11 13:26:26 +000029 */
Andreas Mohr7f7c6472001-11-12 15:46:33 +000030DWORD WINAPI RasEnumConnectionsA( LPRASCONNA rca, LPDWORD lpcb, LPDWORD lpcConnections) {
Marcus Meissner30ef8771998-12-11 13:26:26 +000031 /* Remote Access Service stuff is done by underlying OS anyway */
Andreas Mohr7f7c6472001-11-12 15:46:33 +000032 FIXME("(%p,%p,%p),stub!\n",rca,lpcb,lpcConnections);
33 FIXME("RAS support is not implemented ! Configure program to use LAN connection/winsock instead !\n");
34 *lpcConnections = 0; /* no RAS connections available */
Vincent Béron9a624912002-05-31 23:06:46 +000035
Marcus Meissner30ef8771998-12-11 13:26:26 +000036 return 0;
37}
Rein Klazes34a02f11999-11-07 05:49:28 +000038
39/**************************************************************************
40 * RasEnumEntriesA [RASAPI32.546]
41 */
François Gougetce03ac82000-12-24 20:44:08 +000042DWORD WINAPI RasEnumEntriesA( LPCSTR Reserved, LPCSTR lpszPhoneBook,
Vincent Béron9a624912002-05-31 23:06:46 +000043 LPRASENTRYNAMEA lpRasEntryName,
44 LPDWORD lpcb, LPDWORD lpcEntries)
Rein Klazes34a02f11999-11-07 05:49:28 +000045{
46 FIXME("(%p,%s,%p,%p,%p),stub!\n",Reserved,debugstr_a(lpszPhoneBook),
47 lpRasEntryName,lpcb,lpcEntries);
Gerard Patelf90b60e1999-11-12 01:38:49 +000048 *lpcEntries = 0;
Rein Klazes34a02f11999-11-07 05:49:28 +000049 return 0;
50}
51
52/**************************************************************************
53 * RasGetEntryDialParamsA [RASAPI32.550]
54 */
François Gougetce03ac82000-12-24 20:44:08 +000055DWORD WINAPI RasGetEntryDialParamsA( LPCSTR lpszPhoneBook,
56 LPRASDIALPARAMSA lpRasDialParams,
Vincent Béron9a624912002-05-31 23:06:46 +000057 LPBOOL lpfPassword)
Rein Klazes34a02f11999-11-07 05:49:28 +000058{
59 FIXME("(%s,%p,%p),stub!\n",debugstr_a(lpszPhoneBook),
60 lpRasDialParams,lpfPassword);
61 return 0;
62}
Ove Kaaven67135412000-07-23 13:32:57 +000063
64/**************************************************************************
65 * RasHangUpA [RASAPI32.556]
66 */
67DWORD WINAPI RasHangUpA( HRASCONN hrasconn)
68{
69 FIXME("(%x),stub!\n",hrasconn);
70 return 0;
71}
Mike McCormack140cec52001-07-11 17:25:03 +000072
73/**************************************************************************
Patrik Stridvalle9782fa2001-07-12 22:33:51 +000074 * RasDeleteEntryA [RASAPI32.7]
Mike McCormack140cec52001-07-11 17:25:03 +000075 */
76DWORD WINAPI RasDeleteEntryA(LPCSTR a, LPCSTR b)
77{
78 FIXME("(%s,%s),stub!\n",debugstr_a(a),debugstr_a(b));
79 return 0;
80}
81
82/**************************************************************************
Patrik Stridvalle9782fa2001-07-12 22:33:51 +000083 * RasDeleteEntryW [RASAPI32.8]
Mike McCormack140cec52001-07-11 17:25:03 +000084 */
85DWORD WINAPI RasDeleteEntryW(LPCWSTR a, LPCWSTR b)
86{
87 FIXME("(%s,%s),stub!\n",debugstr_w(a),debugstr_w(b));
88 return 0;
89}
90
91/**************************************************************************
Patrik Stridvalle9782fa2001-07-12 22:33:51 +000092 * RasEnumAutodialAddressesA [RASAPI32.14]
Mike McCormack140cec52001-07-11 17:25:03 +000093 */
94DWORD WINAPI RasEnumAutodialAddressesA(LPCSTR *a, LPDWORD b, LPDWORD c)
95{
96 FIXME("(%p,%p,%p),stub!\n",a,b,c);
97 return 0;
98}
99
100/**************************************************************************
Patrik Stridvalle9782fa2001-07-12 22:33:51 +0000101 * RasEnumAutodialAddressesW [RASAPI32.15]
Mike McCormack140cec52001-07-11 17:25:03 +0000102 */
103DWORD WINAPI RasEnumAutodialAddressesW(LPCWSTR *a, LPDWORD b, LPDWORD c)
104{
105 FIXME("(%p,%p,%p),stub!\n",a,b,c);
106 return 0;
107}
108
109typedef LPVOID LPRASDEVINFOA;
110typedef LPVOID LPRASDEVINFOW;
111typedef LPVOID LPRASAUTODIALENTRYA;
112typedef LPVOID LPRASAUTODIALENTRYW;
113
114/**************************************************************************
Patrik Stridvalle9782fa2001-07-12 22:33:51 +0000115 * RasEnumDevicesA [RASAPI32.19]
Mike McCormack140cec52001-07-11 17:25:03 +0000116 */
117DWORD WINAPI RasEnumDevicesA(LPRASDEVINFOA a, LPDWORD b, LPDWORD c)
118{
119 FIXME("(%p,%p,%p),stub!\n",a,b,c);
120 return 0;
121}
122
123/**************************************************************************
Patrik Stridvalle9782fa2001-07-12 22:33:51 +0000124 * RasEnumDevicesW [RASAPI32.20]
Mike McCormack140cec52001-07-11 17:25:03 +0000125 */
126DWORD WINAPI RasEnumDevicesW(LPRASDEVINFOW a, LPDWORD b, LPDWORD c)
127{
128 FIXME("(%p,%p,%p),stub!\n",a,b,c);
129 return 0;
130}
131
132/**************************************************************************
Patrik Stridvalle9782fa2001-07-12 22:33:51 +0000133 * RasGetAutodialAddressA [RASAPI32.24]
Mike McCormack140cec52001-07-11 17:25:03 +0000134 */
135DWORD WINAPI RasGetAutodialAddressA(LPCSTR a, LPDWORD b, LPRASAUTODIALENTRYA c,
136 LPDWORD d, LPDWORD e)
137{
138 FIXME("(%s,%p,%p,%p,%p),stub!\n",debugstr_a(a),b,c,d,e);
139 return 0;
140}
141
142/**************************************************************************
Patrik Stridvalle9782fa2001-07-12 22:33:51 +0000143 * RasGetAutodialAddressW [RASAPI32.25]
Mike McCormack140cec52001-07-11 17:25:03 +0000144 */
145DWORD WINAPI RasGetAutodialAddressW(LPCWSTR a, LPDWORD b, LPRASAUTODIALENTRYW c,
146 LPDWORD d, LPDWORD e)
147{
148 FIXME("(%s,%p,%p,%p,%p),stub!\n",debugstr_w(a),b,c,d,e);
149 return 0;
150}
151
152/**************************************************************************
Patrik Stridvalle9782fa2001-07-12 22:33:51 +0000153 * RasGetAutodialEnableA [RASAPI32.26]
Mike McCormack140cec52001-07-11 17:25:03 +0000154 */
155DWORD WINAPI RasGetAutodialEnableA(DWORD a, LPBOOL b)
156{
157 FIXME("(%lx,%p),stub!\n",a,b);
158 return 0;
159}
160
161/**************************************************************************
Patrik Stridvalle9782fa2001-07-12 22:33:51 +0000162 * RasGetAutodialEnableW [RASAPI32.27]
Mike McCormack140cec52001-07-11 17:25:03 +0000163 */
164DWORD WINAPI RasGetAutodialEnableW(DWORD a, LPBOOL b)
165{
166 FIXME("(%lx,%p),stub!\n",a,b);
167 return 0;
168}
169
170/**************************************************************************
Patrik Stridvalle9782fa2001-07-12 22:33:51 +0000171 * RasGetAutodialParamA [RASAPI32.28]
Mike McCormack140cec52001-07-11 17:25:03 +0000172 */
173DWORD WINAPI RasGetAutodialParamA(DWORD a, LPVOID b, LPDWORD c)
174{
175 FIXME("(%lx,%p,%p),stub!\n",a,b,c);
176 return 0;
177}
178
179/**************************************************************************
Patrik Stridvalle9782fa2001-07-12 22:33:51 +0000180 * RasGetAutodialParamW [RASAPI32.29]
Mike McCormack140cec52001-07-11 17:25:03 +0000181 */
182DWORD WINAPI RasGetAutodialParamW(DWORD a, LPVOID b, LPDWORD c)
183{
184 FIXME("(%lx,%p,%p),stub!\n",a,b,c);
185 return 0;
186}
187
188/**************************************************************************
Patrik Stridvalle9782fa2001-07-12 22:33:51 +0000189 * RasSetAutodialAddressA [RASAPI32.57]
Mike McCormack140cec52001-07-11 17:25:03 +0000190 */
191DWORD WINAPI RasSetAutodialAddressA(LPCSTR a, DWORD b, LPRASAUTODIALENTRYA c,
192 DWORD d, DWORD e)
193{
194 FIXME("(%s,%lx,%p,%lx,%lx),stub!\n",debugstr_a(a),b,c,d,e);
195 return 0;
196}
197
198/**************************************************************************
Patrik Stridvalle9782fa2001-07-12 22:33:51 +0000199 * RasSetAutodialAddressW [RASAPI32.58]
Mike McCormack140cec52001-07-11 17:25:03 +0000200 */
201DWORD WINAPI RasSetAutodialAddressW(LPCWSTR a, DWORD b, LPRASAUTODIALENTRYW c,
202 DWORD d, DWORD e)
203{
204 FIXME("(%s,%lx,%p,%lx,%lx),stub!\n",debugstr_w(a),b,c,d,e);
205 return 0;
206}
207
208/**************************************************************************
Patrik Stridvalle9782fa2001-07-12 22:33:51 +0000209 * RasSetAutodialEnableA [RASAPI32.59]
Mike McCormack140cec52001-07-11 17:25:03 +0000210 */
211DWORD WINAPI RasSetAutodialEnableA(DWORD a, BOOL b)
212{
213 FIXME("(%lx,%x),stub!\n",a,b);
214 return 0;
215}
216
217/**************************************************************************
Patrik Stridvalle9782fa2001-07-12 22:33:51 +0000218 * RasSetAutodialEnableW [RASAPI32.60]
Mike McCormack140cec52001-07-11 17:25:03 +0000219 */
220DWORD WINAPI RasSetAutodialEnableW(DWORD a, BOOL b)
221{
222 FIXME("(%lx,%x),stub!\n",a,b);
223 return 0;
224}
225
226/**************************************************************************
Patrik Stridvalle9782fa2001-07-12 22:33:51 +0000227 * RasSetAutodialParamA [RASAPI32.61]
Mike McCormack140cec52001-07-11 17:25:03 +0000228 */
229DWORD WINAPI RasSetAutodialParamA(DWORD a, LPVOID b, DWORD c)
230{
231 FIXME("(%lx,%p,%lx),stub!\n",a,b,c);
232 return 0;
233}
234
235/**************************************************************************
Patrik Stridvalle9782fa2001-07-12 22:33:51 +0000236 * RasSetAutodialParamW [RASAPI32.62]
Mike McCormack140cec52001-07-11 17:25:03 +0000237 */
238DWORD WINAPI RasSetAutodialParamW(DWORD a, LPVOID b, DWORD c)
239{
240 FIXME("(%lx,%p,%lx),stub!\n",a,b,c);
241 return 0;
242}