1 | /* $Id: rasapi32.cpp,v 1.2 1999-09-23 09:38:06 sandervl Exp $ */
|
---|
2 | /*
|
---|
3 | * RASAPI32
|
---|
4 | *
|
---|
5 | * Copyright 1998 Marcus Meissner
|
---|
6 | * Copyright 1999 Jens Wiessner
|
---|
7 | */
|
---|
8 |
|
---|
9 | /* At the moment, these are only empty stubs.
|
---|
10 | */
|
---|
11 |
|
---|
12 | #include <os2win.h>
|
---|
13 | #include <ras.h>
|
---|
14 | #include "debugtools.h"
|
---|
15 | #include <debugdefs.h>
|
---|
16 |
|
---|
17 |
|
---|
18 | DEFAULT_DEBUG_CHANNEL(ras)
|
---|
19 |
|
---|
20 |
|
---|
21 |
|
---|
22 | /**************************************************************************
|
---|
23 | * RasConnectionNotificationA [RASAPI32.550]
|
---|
24 | */
|
---|
25 | DWORD APIENTRY RasConnectionNotificationA( HRASCONN hras, HANDLE handle, DWORD dword )
|
---|
26 | {
|
---|
27 | #ifdef DEBUG
|
---|
28 | dprintf(("RASAPI32: RasConnectionNotificationA not implemented\n"));
|
---|
29 | #endif
|
---|
30 | return 0;
|
---|
31 | }
|
---|
32 |
|
---|
33 |
|
---|
34 | /**************************************************************************
|
---|
35 | * RasConnectionNotificationW [RASAPI32.551]
|
---|
36 | */
|
---|
37 | DWORD APIENTRY RasConnectionNotificationW( HRASCONN hras, HANDLE handle, DWORD dword )
|
---|
38 | {
|
---|
39 | #ifdef DEBUG
|
---|
40 | dprintf(("RASAPI32: RasConnectionNotificationA not implemented\n"));
|
---|
41 | #endif
|
---|
42 | return 0;
|
---|
43 | }
|
---|
44 |
|
---|
45 |
|
---|
46 | /**************************************************************************
|
---|
47 | * RasCreatePhonebookEntryA [RASAPI32.559]
|
---|
48 | */
|
---|
49 | DWORD APIENTRY RasCreatePhonebookEntryA( HWND hwnd, LPSTR lpstr)
|
---|
50 | {
|
---|
51 | #ifdef DEBUG
|
---|
52 | dprintf(("RASAPI32: RasCreatePhonebookEntryA not implemented\n"));
|
---|
53 | #endif
|
---|
54 | return 0;
|
---|
55 | }
|
---|
56 |
|
---|
57 |
|
---|
58 | /**************************************************************************
|
---|
59 | * RasCreatePhonebookEntryW [RASAPI32.560]
|
---|
60 | */
|
---|
61 | DWORD APIENTRY RasCreatePhonebookEntryW( HWND hwnd, LPWSTR lpwstr )
|
---|
62 | {
|
---|
63 | #ifdef DEBUG
|
---|
64 | dprintf(("RASAPI32: RasCreatePhonebookEntryW not implemented\n"));
|
---|
65 | #endif
|
---|
66 | return 0;
|
---|
67 | }
|
---|
68 |
|
---|
69 |
|
---|
70 | /**************************************************************************
|
---|
71 | * RasDialA [RASAPI32.561]
|
---|
72 | */
|
---|
73 | DWORD APIENTRY RasDialA( LPRASDIALEXTENSIONS rasdial, LPSTR str, LPRASDIALPARAMSA rasdial2, DWORD dword, LPVOID lpv, LPHRASCONN rascon )
|
---|
74 | {
|
---|
75 | #ifdef DEBUG
|
---|
76 | dprintf(("RASAPI32: RasDialA not implemented\n"));
|
---|
77 | #endif
|
---|
78 | return 0;
|
---|
79 | }
|
---|
80 |
|
---|
81 |
|
---|
82 | /**************************************************************************
|
---|
83 | * RasDialW [RASAPI32.562]
|
---|
84 | */
|
---|
85 | DWORD APIENTRY RasDialW( LPRASDIALEXTENSIONS rasdial, LPWSTR str, LPRASDIALPARAMSW rasdial2, DWORD dword, LPVOID lpv, LPHRASCONN rascon )
|
---|
86 | {
|
---|
87 | #ifdef DEBUG
|
---|
88 | dprintf(("RASAPI32: RasDialW not implemented\n"));
|
---|
89 | #endif
|
---|
90 | return 0;
|
---|
91 | }
|
---|
92 |
|
---|
93 |
|
---|
94 | /**************************************************************************
|
---|
95 | * RasEditPhonebookEntryA [RASAPI32.563]
|
---|
96 | */
|
---|
97 | DWORD APIENTRY RasEditPhonebookEntryA( HWND hwnd, LPSTR str, LPSTR str2 )
|
---|
98 | {
|
---|
99 | #ifdef DEBUG
|
---|
100 | dprintf(("RASAPI32: RasEditPhonebookEntryA not implemented\n"));
|
---|
101 | #endif
|
---|
102 | return 0;
|
---|
103 | }
|
---|
104 |
|
---|
105 |
|
---|
106 | /**************************************************************************
|
---|
107 | * RasEditPhonebookEntryW [RASAPI32.564]
|
---|
108 | */
|
---|
109 | DWORD APIENTRY RasEditPhonebookEntryW( HWND hwnd, LPWSTR str, LPWSTR str2 )
|
---|
110 | {
|
---|
111 | #ifdef DEBUG
|
---|
112 | dprintf(("RASAPI32: RasEditPhonebookEntryA not implemented\n"));
|
---|
113 | #endif
|
---|
114 | return 0;
|
---|
115 | }
|
---|
116 |
|
---|
117 |
|
---|
118 | /**************************************************************************
|
---|
119 | * RasEnumConnectionsA [RASAPI32.565]
|
---|
120 | */
|
---|
121 | DWORD WINAPI RasEnumConnectionsA( LPRASCONNA rca, LPDWORD x, LPDWORD y)
|
---|
122 | {
|
---|
123 | #ifdef DEBUG
|
---|
124 | dprintf(("RASAPI32: RasEnumConnectionsA not implemented\n"));
|
---|
125 | #endif
|
---|
126 | return 0;
|
---|
127 | }
|
---|
128 |
|
---|
129 |
|
---|
130 | /**************************************************************************
|
---|
131 | * RasEnumConnectionsW [RASAPI32.566]
|
---|
132 | */
|
---|
133 | DWORD APIENTRY RasEnumConnectionsW( LPRASCONNW rca, LPDWORD x, LPDWORD y )
|
---|
134 | {
|
---|
135 | #ifdef DEBUG
|
---|
136 | dprintf(("RASAPI32: RasEnumConnectionsW not implemented\n"));
|
---|
137 | #endif
|
---|
138 | return 0;
|
---|
139 | }
|
---|
140 |
|
---|
141 |
|
---|
142 | /**************************************************************************
|
---|
143 | * RasEnumEntriesA [RASAPI32.567]
|
---|
144 | */
|
---|
145 | DWORD APIENTRY RasEnumEntriesA( LPSTR str, LPSTR str2, LPRASENTRYNAMEA rasentry,
|
---|
146 | LPDWORD lpdw, LPDWORD lpdw2 )
|
---|
147 | {
|
---|
148 | #ifdef DEBUG
|
---|
149 | dprintf(("RASAPI32: RasEnumEntriesA not implemented\n"));
|
---|
150 | #endif
|
---|
151 | return 0;
|
---|
152 | }
|
---|
153 |
|
---|
154 |
|
---|
155 | /**************************************************************************
|
---|
156 | * RasEnumEntriesW [RASAPI32.568]
|
---|
157 | */
|
---|
158 | DWORD APIENTRY RasEnumEntriesW( LPWSTR str, LPWSTR str2, LPRASENTRYNAMEW rasentry,
|
---|
159 | LPDWORD lpdw, LPDWORD lpdw2 )
|
---|
160 | {
|
---|
161 | #ifdef DEBUG
|
---|
162 | dprintf(("RASAPI32: RasEnumEntriesW not implemented\n"));
|
---|
163 | #endif
|
---|
164 | return 0;
|
---|
165 | }
|
---|
166 |
|
---|
167 |
|
---|
168 | /**************************************************************************
|
---|
169 | * RasGetConnectStatusA [RASAPI32.569]
|
---|
170 | */
|
---|
171 | DWORD APIENTRY RasGetConnectStatusA( HRASCONN hras, LPRASCONNSTATUSA rascon )
|
---|
172 | {
|
---|
173 | #ifdef DEBUG
|
---|
174 | dprintf(("RASAPI32: RasGetConnectStatusA not implemented\n"));
|
---|
175 | #endif
|
---|
176 | return 0;
|
---|
177 | }
|
---|
178 |
|
---|
179 |
|
---|
180 | /**************************************************************************
|
---|
181 | * RasGetConnectStatusW [RASAPI32.570]
|
---|
182 | */
|
---|
183 | DWORD APIENTRY RasGetConnectStatusW( HRASCONN rasconn, LPRASCONNSTATUSW connstat )
|
---|
184 | {
|
---|
185 | #ifdef DEBUG
|
---|
186 | dprintf(("RASAPI32: RasGetConnectStatusW not implemented\n"));
|
---|
187 | #endif
|
---|
188 | return 0;
|
---|
189 | }
|
---|
190 |
|
---|
191 |
|
---|
192 | /**************************************************************************
|
---|
193 | * RasGetEntryDialParamsA [RASAPI32.571]
|
---|
194 | */
|
---|
195 | DWORD APIENTRY RasGetEntryDialParamsA( LPSTR str, LPRASDIALPARAMSA dialparm, LPBOOL lpb)
|
---|
196 | {
|
---|
197 | #ifdef DEBUG
|
---|
198 | dprintf(("RASAPI32: RasGetEntryDialParamsA not implemented\n"));
|
---|
199 | #endif
|
---|
200 | return 0;
|
---|
201 | }
|
---|
202 |
|
---|
203 |
|
---|
204 | /**************************************************************************
|
---|
205 | * RasGetEntryDialParamsW [RASAPI32.572]
|
---|
206 | */
|
---|
207 | DWORD APIENTRY RasGetEntryDialParamsW( LPWSTR str, LPRASDIALPARAMSW dialparm, LPBOOL lpb )
|
---|
208 | {
|
---|
209 | #ifdef DEBUG
|
---|
210 | dprintf(("RASAPI32: RasGetEntryDialParamsW not implemented\n"));
|
---|
211 | #endif
|
---|
212 | return 0;
|
---|
213 | }
|
---|
214 |
|
---|
215 |
|
---|
216 | /**************************************************************************
|
---|
217 | * RasGetErrorStringA [RASAPI32.573]
|
---|
218 | */
|
---|
219 | DWORD APIENTRY RasGetErrorStringA( UINT uint, LPSTR str, DWORD dword )
|
---|
220 | {
|
---|
221 | #ifdef DEBUG
|
---|
222 | dprintf(("RASAPI32: RasGetErrorStringA not implemented\n"));
|
---|
223 | #endif
|
---|
224 | return 0;
|
---|
225 | }
|
---|
226 |
|
---|
227 |
|
---|
228 | /**************************************************************************
|
---|
229 | * RasGetErrorStringW [RASAPI32.574]
|
---|
230 | */
|
---|
231 | DWORD APIENTRY RasGetErrorStringW( UINT uint, LPWSTR str, DWORD dword )
|
---|
232 | {
|
---|
233 | #ifdef DEBUG
|
---|
234 | dprintf(("RASAPI32: RasGetErrorStringW not implemented\n"));
|
---|
235 | #endif
|
---|
236 | return 0;
|
---|
237 | }
|
---|
238 |
|
---|
239 |
|
---|
240 | /**************************************************************************
|
---|
241 | * RasGetProjectionInfoA [RASAPI32.575]
|
---|
242 | */
|
---|
243 | DWORD APIENTRY RasGetProjectionInfoA( HRASCONN rascon, RASPROJECTION rasprj,
|
---|
244 | LPVOID lpv, LPDWORD lpdw )
|
---|
245 | {
|
---|
246 | #ifdef DEBUG
|
---|
247 | dprintf(("RASAPI32: RasGetProjectInfoA not implemented\n"));
|
---|
248 | #endif
|
---|
249 | return 0;
|
---|
250 | }
|
---|
251 |
|
---|
252 |
|
---|
253 | /**************************************************************************
|
---|
254 | * RasGetProjectionInfoW [RASAPI32.576]
|
---|
255 | */
|
---|
256 | DWORD APIENTRY RasGetProjectionInfoW( HRASCONN rascon, RASPROJECTION rasprj,
|
---|
257 | LPVOID lpv, LPDWORD lpdw )
|
---|
258 | {
|
---|
259 | #ifdef DEBUG
|
---|
260 | dprintf(("RASAPI32: RasGetProjectInfoW not implemented\n"));
|
---|
261 | #endif
|
---|
262 | return 0;
|
---|
263 | }
|
---|
264 |
|
---|
265 |
|
---|
266 | /**************************************************************************
|
---|
267 | * RasHangUpA [RASAPI32.577]
|
---|
268 | */
|
---|
269 | DWORD APIENTRY RasHangUpA( HRASCONN hras )
|
---|
270 | {
|
---|
271 | #ifdef DEBUG
|
---|
272 | dprintf(("RASAPI32: RasHangUpA not implemented\n"));
|
---|
273 | #endif
|
---|
274 | return 0;
|
---|
275 | }
|
---|
276 |
|
---|
277 |
|
---|
278 | /**************************************************************************
|
---|
279 | * RasHangUpW [RASAPI32.578]
|
---|
280 | */
|
---|
281 | DWORD APIENTRY RasHangUpW( HRASCONN hras )
|
---|
282 | {
|
---|
283 | #ifdef DEBUG
|
---|
284 | dprintf(("RASAPI32: RasHangUpW not implemented\n"));
|
---|
285 | #endif
|
---|
286 | return 0;
|
---|
287 | }
|
---|
288 |
|
---|
289 |
|
---|
290 | /**************************************************************************
|
---|
291 | * RasSetEntryDialParamsA [RASAPI32.579]
|
---|
292 | */
|
---|
293 | DWORD APIENTRY RasSetEntryDialParamsA( LPSTR str, LPRASDIALPARAMSA rasdp, BOOL bo )
|
---|
294 | {
|
---|
295 | #ifdef DEBUG
|
---|
296 | dprintf(("RASAPI32: RasSetEntryDialParamsA not implemented\n"));
|
---|
297 | #endif
|
---|
298 | return 0;
|
---|
299 | }
|
---|
300 |
|
---|
301 |
|
---|
302 | /**************************************************************************
|
---|
303 | * RasSetEntryDialParamsW [RASAPI32.580]
|
---|
304 | */
|
---|
305 | DWORD APIENTRY RasSetEntryDialParamsW( LPWSTR str, LPRASDIALPARAMSW rasdp, BOOL bo)
|
---|
306 | {
|
---|
307 | #ifdef DEBUG
|
---|
308 | dprintf(("RASAPI32: RasSetEntryDialParamsW not implemented\n"));
|
---|
309 | #endif
|
---|
310 | return 0;
|
---|
311 | }
|
---|
312 |
|
---|
313 |
|
---|
314 | /**************************************************************************
|
---|
315 | * RasValidateEntryNameA [RASAPI32.612]
|
---|
316 | */
|
---|
317 | DWORD APIENTRY RasValidateEntryNameA( LPSTR str, LPSTR str2)
|
---|
318 | {
|
---|
319 | #ifdef DEBUG
|
---|
320 | dprintf(("RASAPI32: RasValidateEntryNameA not implemented\n"));
|
---|
321 | #endif
|
---|
322 | return 0;
|
---|
323 | }
|
---|
324 |
|
---|
325 |
|
---|
326 | /**************************************************************************
|
---|
327 | * RasRenameEntryA [RASAPI32.613]
|
---|
328 | */
|
---|
329 | DWORD APIENTRY RasRenameEntryA( LPSTR str, LPSTR str2, LPSTR str3 )
|
---|
330 | {
|
---|
331 | #ifdef DEBUG
|
---|
332 | dprintf(("RASAPI32: RasRenameEntryA not implemented\n"));
|
---|
333 | #endif
|
---|
334 | return 0;
|
---|
335 | }
|
---|
336 |
|
---|
337 |
|
---|
338 | /**************************************************************************
|
---|
339 | * RasDeleteEntryA [RASAPI32.614]
|
---|
340 | */
|
---|
341 | DWORD APIENTRY RasDeleteEntryA( LPSTR str, LPSTR str2)
|
---|
342 | {
|
---|
343 | #ifdef DEBUG
|
---|
344 | dprintf(("RASAPI32: RasDeleteEntryA not implemented\n"));
|
---|
345 | #endif
|
---|
346 | return 0;
|
---|
347 | }
|
---|
348 |
|
---|
349 |
|
---|
350 | /**************************************************************************
|
---|
351 | * RasGetEntryPropertiesA [RASAPI32.615]
|
---|
352 | */
|
---|
353 | DWORD APIENTRY RasGetEntryPropertiesA( LPSTR str, LPSTR str2, LPRASENTRYA rasentry, LPDWORD dword, LPBYTE pbyte, LPDWORD dword2 )
|
---|
354 | {
|
---|
355 | #ifdef DEBUG
|
---|
356 | dprintf(("RASAPI32: RasGetEntryPropertiesA not implemented\n"));
|
---|
357 | #endif
|
---|
358 | return 0;
|
---|
359 | }
|
---|
360 |
|
---|
361 |
|
---|
362 | /**************************************************************************
|
---|
363 | * RasSetEntryPropertiesA [RASAPI32.616]
|
---|
364 | */
|
---|
365 | DWORD APIENTRY RasSetEntryPropertiesA( LPSTR str, LPSTR str2, LPRASENTRYA rasentry, DWORD dword, LPBYTE pbyte, DWORD dword2 )
|
---|
366 | {
|
---|
367 | #ifdef DEBUG
|
---|
368 | dprintf(("RASAPI32: RasSetEntryPropertiesA not implemented\n"));
|
---|
369 | #endif
|
---|
370 | return 0;
|
---|
371 | }
|
---|
372 |
|
---|
373 |
|
---|
374 | /**************************************************************************
|
---|
375 | * RasEnumDevicesA [RASAPI32.617]
|
---|
376 | */
|
---|
377 | DWORD APIENTRY RasEnumDevicesA( LPRASDEVINFOA rasdevinfo, LPDWORD dword, LPDWORD dword2)
|
---|
378 | {
|
---|
379 | #ifdef DEBUG
|
---|
380 | dprintf(("RASAPI32: RasEnumDevicesA not implemented\n"));
|
---|
381 | #endif
|
---|
382 | return 0;
|
---|
383 | }
|
---|
384 |
|
---|
385 |
|
---|
386 | /**************************************************************************
|
---|
387 | * RasGetCountryInfoA [RASAPI32.618]
|
---|
388 | */
|
---|
389 | DWORD APIENTRY RasGetCountryInfoA( LPRASCTRYINFOA rasctryinfo, LPDWORD dword )
|
---|
390 | {
|
---|
391 | #ifdef DEBUG
|
---|
392 | dprintf(("RASAPI32: RasGetCountryInfoA not implemented\n"));
|
---|
393 | #endif
|
---|
394 | return 0;
|
---|
395 | }
|
---|