source: trunk/src/rasapi32/rasapi32.cpp@ 1505

Last change on this file since 1505 was 1358, checked in by sandervl, 26 years ago

JW: Added stubs

File size: 15.5 KB
Line 
1/* $Id: rasapi32.cpp,v 1.3 1999-10-19 12:55:05 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
18DEFAULT_DEBUG_CHANNEL(ras)
19
20
21
22/**************************************************************************
23 * RasConnectionNotificationA [RASAPI32.550]
24 */
25DWORD 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 */
37DWORD 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 * RasValidateEntryName [RASAPI32.552]
48 */
49DWORD APIENTRY RasValidateEntryName(LPCTSTR lpszPhonebook, LPCTSTR lpszEntry)
50{
51#ifdef DEBUG
52 dprintf(("RASAPI32: RasValidateEntryName not implemented\n"));
53#endif
54 return 0;
55}
56
57
58/**************************************************************************
59 * RasRenameEntry [RASAPI32.553]
60 */
61DWORD APIENTRY RasRenameEntry(LPCTSTR lpszPhonebook, LPCTSTR lpszOldEntry, LPCTSTR lpszNewEntry)
62{
63#ifdef DEBUG
64 dprintf(("RASAPI32: RasRenameEntry not implemented\n"));
65#endif
66 return 0;
67}
68
69
70/**************************************************************************
71 * RasDeleteEntry [RASAPI32.554]
72 */
73DWORD APIENTRY RasDeleteEntry(LPCTSTR lpszPhonebook, LPCTSTR lpszEntry)
74{
75#ifdef DEBUG
76 dprintf(("RASAPI32: RasDeleteEntry not implemented\n"));
77#endif
78 return 0;
79}
80
81
82/**************************************************************************
83 * RasGetEntryProperties [RASAPI32.555]
84 */
85DWORD APIENTRY RasGetEntryProperties(LPCTSTR lpszPhonebook, LPCTSTR lpszEntry,
86 LPRASENTRY lpRasEntry, LPDWORD lpdwEntryInfoSize,
87 LPBYTE lpbDeviceInfo, LPDWORD lpdwDeviceInfoSize)
88{
89#ifdef DEBUG
90 dprintf(("RASAPI32: RasGetEntryProperties not implemented\n"));
91#endif
92 return 0;
93}
94
95
96/**************************************************************************
97 * RasSetEntryProperties [RASAPI32.556]
98 */
99DWORD APIENTRY RasSetEntryProperties(LPCTSTR lpszPhonebook, LPCTSTR lpszEntry,
100 LPRASENTRY lpRasEntry, DWORD dwEntryInfoSize,
101 LPBYTE lpbDeviceInfo, DWORD dwDeviceInfoSize)
102{
103#ifdef DEBUG
104 dprintf(("RASAPI32: RasSetEntryProperties not implemented\n"));
105#endif
106 return 0;
107}
108
109
110/**************************************************************************
111 * RasEnumDevices [RASAPI32.557]
112 */
113DWORD APIENTRY RasEnumDevices(LPRASDEVINFO lpRasDevInfo,
114 LPDWORD lpcb, LPDWORD lpcDevices)
115{
116#ifdef DEBUG
117 dprintf(("RASAPI32: RasEnumDevices not implemented\n"));
118#endif
119 return 0;
120}
121
122
123/**************************************************************************
124 * RasGetCountryInfo [RASAPI32.558]
125 */
126DWORD APIENTRY RasGetCountryInfo( LPRASCTRYINFO lpRasCtryInfo, LPDWORD lpdwSize)
127{
128#ifdef DEBUG
129 dprintf(("RASAPI32: RasGetCountryInfo not implemented\n"));
130#endif
131 return 0;
132}
133
134
135/**************************************************************************
136 * RasCreatePhonebookEntryA [RASAPI32.559]
137 */
138DWORD APIENTRY RasCreatePhonebookEntryA( HWND hwnd, LPSTR lpstr)
139{
140#ifdef DEBUG
141 dprintf(("RASAPI32: RasCreatePhonebookEntryA not implemented\n"));
142#endif
143 return 0;
144}
145
146
147/**************************************************************************
148 * RasCreatePhonebookEntryW [RASAPI32.560]
149 */
150DWORD APIENTRY RasCreatePhonebookEntryW( HWND hwnd, LPWSTR lpwstr )
151{
152#ifdef DEBUG
153 dprintf(("RASAPI32: RasCreatePhonebookEntryW not implemented\n"));
154#endif
155 return 0;
156}
157
158
159/**************************************************************************
160 * RasDialA [RASAPI32.561]
161 */
162DWORD APIENTRY RasDialA( LPRASDIALEXTENSIONS rasdial, LPSTR str, LPRASDIALPARAMSA rasdial2, DWORD dword, LPVOID lpv, LPHRASCONN rascon )
163{
164#ifdef DEBUG
165 dprintf(("RASAPI32: RasDialA not implemented\n"));
166#endif
167 return 0;
168}
169
170
171/**************************************************************************
172 * RasDialW [RASAPI32.562]
173 */
174DWORD APIENTRY RasDialW( LPRASDIALEXTENSIONS rasdial, LPWSTR str, LPRASDIALPARAMSW rasdial2, DWORD dword, LPVOID lpv, LPHRASCONN rascon )
175{
176#ifdef DEBUG
177 dprintf(("RASAPI32: RasDialW not implemented\n"));
178#endif
179 return 0;
180}
181
182
183/**************************************************************************
184 * RasEditPhonebookEntryA [RASAPI32.563]
185 */
186DWORD APIENTRY RasEditPhonebookEntryA( HWND hwnd, LPSTR str, LPSTR str2 )
187{
188#ifdef DEBUG
189 dprintf(("RASAPI32: RasEditPhonebookEntryA not implemented\n"));
190#endif
191 return 0;
192}
193
194
195/**************************************************************************
196 * RasEditPhonebookEntryW [RASAPI32.564]
197 */
198DWORD APIENTRY RasEditPhonebookEntryW( HWND hwnd, LPWSTR str, LPWSTR str2 )
199{
200#ifdef DEBUG
201 dprintf(("RASAPI32: RasEditPhonebookEntryA not implemented\n"));
202#endif
203 return 0;
204}
205
206
207/**************************************************************************
208 * RasEnumConnectionsA [RASAPI32.565]
209 */
210DWORD WINAPI RasEnumConnectionsA( LPRASCONNA rca, LPDWORD x, LPDWORD y)
211{
212#ifdef DEBUG
213 dprintf(("RASAPI32: RasEnumConnectionsA not implemented\n"));
214#endif
215 return 0;
216}
217
218
219/**************************************************************************
220 * RasEnumConnectionsW [RASAPI32.566]
221 */
222DWORD APIENTRY RasEnumConnectionsW( LPRASCONNW rca, LPDWORD x, LPDWORD y )
223{
224#ifdef DEBUG
225 dprintf(("RASAPI32: RasEnumConnectionsW not implemented\n"));
226#endif
227 return 0;
228}
229
230
231/**************************************************************************
232 * RasEnumEntriesA [RASAPI32.567]
233 */
234DWORD APIENTRY RasEnumEntriesA( LPSTR str, LPSTR str2, LPRASENTRYNAMEA rasentry,
235 LPDWORD lpdw, LPDWORD lpdw2 )
236{
237#ifdef DEBUG
238 dprintf(("RASAPI32: RasEnumEntriesA not implemented\n"));
239#endif
240 return 0;
241}
242
243
244/**************************************************************************
245 * RasEnumEntriesW [RASAPI32.568]
246 */
247DWORD APIENTRY RasEnumEntriesW( LPWSTR str, LPWSTR str2, LPRASENTRYNAMEW rasentry,
248 LPDWORD lpdw, LPDWORD lpdw2 )
249{
250#ifdef DEBUG
251 dprintf(("RASAPI32: RasEnumEntriesW not implemented\n"));
252#endif
253 return 0;
254}
255
256
257/**************************************************************************
258 * RasGetConnectStatusA [RASAPI32.569]
259 */
260DWORD APIENTRY RasGetConnectStatusA( HRASCONN hras, LPRASCONNSTATUSA rascon )
261{
262#ifdef DEBUG
263 dprintf(("RASAPI32: RasGetConnectStatusA not implemented\n"));
264#endif
265 return 0;
266}
267
268
269/**************************************************************************
270 * RasGetConnectStatusW [RASAPI32.570]
271 */
272DWORD APIENTRY RasGetConnectStatusW( HRASCONN rasconn, LPRASCONNSTATUSW connstat )
273{
274#ifdef DEBUG
275 dprintf(("RASAPI32: RasGetConnectStatusW not implemented\n"));
276#endif
277 return 0;
278}
279
280
281/**************************************************************************
282 * RasGetEntryDialParamsA [RASAPI32.571]
283 */
284DWORD APIENTRY RasGetEntryDialParamsA( LPSTR str, LPRASDIALPARAMSA dialparm, LPBOOL lpb)
285{
286#ifdef DEBUG
287 dprintf(("RASAPI32: RasGetEntryDialParamsA not implemented\n"));
288#endif
289 return 0;
290}
291
292
293/**************************************************************************
294 * RasGetEntryDialParamsW [RASAPI32.572]
295 */
296DWORD APIENTRY RasGetEntryDialParamsW( LPWSTR str, LPRASDIALPARAMSW dialparm, LPBOOL lpb )
297{
298#ifdef DEBUG
299 dprintf(("RASAPI32: RasGetEntryDialParamsW not implemented\n"));
300#endif
301 return 0;
302}
303
304
305/**************************************************************************
306 * RasGetErrorStringA [RASAPI32.573]
307 */
308DWORD APIENTRY RasGetErrorStringA( UINT uint, LPSTR str, DWORD dword )
309{
310#ifdef DEBUG
311 dprintf(("RASAPI32: RasGetErrorStringA not implemented\n"));
312#endif
313 return 0;
314}
315
316
317/**************************************************************************
318 * RasGetErrorStringW [RASAPI32.574]
319 */
320DWORD APIENTRY RasGetErrorStringW( UINT uint, LPWSTR str, DWORD dword )
321{
322#ifdef DEBUG
323 dprintf(("RASAPI32: RasGetErrorStringW not implemented\n"));
324#endif
325 return 0;
326}
327
328
329/**************************************************************************
330 * RasGetProjectionInfoA [RASAPI32.575]
331 */
332DWORD APIENTRY RasGetProjectionInfoA( HRASCONN rascon, RASPROJECTION rasprj,
333 LPVOID lpv, LPDWORD lpdw )
334{
335#ifdef DEBUG
336 dprintf(("RASAPI32: RasGetProjectInfoA not implemented\n"));
337#endif
338 return 0;
339}
340
341
342/**************************************************************************
343 * RasGetProjectionInfoW [RASAPI32.576]
344 */
345DWORD APIENTRY RasGetProjectionInfoW( HRASCONN rascon, RASPROJECTION rasprj,
346 LPVOID lpv, LPDWORD lpdw )
347{
348#ifdef DEBUG
349 dprintf(("RASAPI32: RasGetProjectInfoW not implemented\n"));
350#endif
351 return 0;
352}
353
354
355/**************************************************************************
356 * RasHangUpA [RASAPI32.577]
357 */
358DWORD APIENTRY RasHangUpA( HRASCONN hras )
359{
360#ifdef DEBUG
361 dprintf(("RASAPI32: RasHangUpA not implemented\n"));
362#endif
363 return 0;
364}
365
366
367/**************************************************************************
368 * RasHangUpW [RASAPI32.578]
369 */
370DWORD APIENTRY RasHangUpW( HRASCONN hras )
371{
372#ifdef DEBUG
373 dprintf(("RASAPI32: RasHangUpW not implemented\n"));
374#endif
375 return 0;
376}
377
378
379/**************************************************************************
380 * RasSetEntryDialParamsA [RASAPI32.579]
381 */
382DWORD APIENTRY RasSetEntryDialParamsA( LPSTR str, LPRASDIALPARAMSA rasdp, BOOL bo )
383{
384#ifdef DEBUG
385 dprintf(("RASAPI32: RasSetEntryDialParamsA not implemented\n"));
386#endif
387 return 0;
388}
389
390
391/**************************************************************************
392 * RasSetEntryDialParamsW [RASAPI32.580]
393 */
394DWORD APIENTRY RasSetEntryDialParamsW( LPWSTR str, LPRASDIALPARAMSW rasdp, BOOL bo)
395{
396#ifdef DEBUG
397 dprintf(("RASAPI32: RasSetEntryDialParamsW not implemented\n"));
398#endif
399 return 0;
400}
401
402
403/**************************************************************************
404 * RnaCloseMac [RASAPI32.581]
405 */
406DWORD WINAPI RnaCloseMac(HANDLE hConn)
407{
408#ifdef DEBUG
409 dprintf(("RASAPI32: RnaCloseMac not implemented\n"));
410#endif
411 return 0;
412}
413
414
415/**************************************************************************
416 * RnaComplete [RASAPI32.582]
417 */
418/* DWORD APIENTRY RnaComplete(HANDLE hConn, LPCOMPLETE_INFO lpci, LPPROJECTION_INFO lppi, DWORD cEntries)
419{
420#ifdef DEBUG
421 dprintf(("RASAPI32: RnaComplete not implemented\n"));
422#endif
423 return 0;
424} */
425
426
427/**************************************************************************
428 * RnaGetDevicePort [RASAPI32.583]
429 */
430/* DWORD WINAPI RnaGetDevicePort(HANDLE hConn, LPDEVICE_PORT_INFO lpdpi)
431{
432#ifdef DEBUG
433 dprintf(("RASAPI32: RnaGetDevicePort not implemented\n"));
434#endif
435 return 0;
436} */
437
438
439/**************************************************************************
440 * RnaGetUserProfile [RASAPI32.585]
441 */
442/* DWORD WINAPI RnaGetUserProfile(HANDLE hConn, LPUSER_PROFILE lpUserProfile)
443{
444#ifdef DEBUG
445 dprintf(("RASAPI32: RnaGetUserProfile not implemented\n"));
446#endif
447 return 0;
448} */
449
450
451/**************************************************************************
452 * RnaOpenMac [RASAPI32.586]
453 */
454/* DWORD WINAPI RnaOpenMac(HANDLE hConn, HANDLE * lphMAC, LPMAC_OPEN lpmo, DWORD dwSize, HANDLE hEvent)
455{
456#ifdef DEBUG
457 dprintf(("RASAPI32: RnaOpenMac not implemented\n"));
458#endif
459 return 0;
460} */
461
462
463/**************************************************************************
464 * RnaSessInitialize [RASAPI32.587]
465 */
466/* DWORD APIENTRY RnaSessInitialize(LPSTR lpszType, LPRNA_FUNCS lpRnaFuncs)
467{
468#ifdef DEBUG
469 dprintf(("RASAPI32: RnaSessInitialize not implemented\n"));
470#endif
471 return 0;
472} */
473
474
475/**************************************************************************
476 * RnaStartCallback [RASAPI32.588]
477 */
478DWORD APIENTRY RnaStartCallback(HANDLE hConn, HANDLE hEvent)
479{
480#ifdef DEBUG
481 dprintf(("RASAPI32: RnaStartCallback not implemented\n"));
482#endif
483 return 0;
484}
485
486
487/**************************************************************************
488 * RnaTerminate [RASAPI32.589]
489 */
490DWORD APIENTRY RnaTerminate(HANDLE hConn, HANDLE hThread)
491{
492#ifdef DEBUG
493 dprintf(("RASAPI32: RnaTerminate not implemented\n"));
494#endif
495 return 0;
496}
497
498
499/**************************************************************************
500 * RnaUICallbackDialog [RASAPI32.590]
501 */
502DWORD WINAPI RnaUICallbackDialog(HANDLE hConn, LPSTR lpszLocList, DWORD dwType, BOOL fOptional, LPINT lpuIndex, LPSTR lpszSelectLocation, UINT cbBuff)
503{
504#ifdef DEBUG
505 dprintf(("RASAPI32: RnaUICallbackDialog not implemented\n"));
506#endif
507 return 0;
508}
509
510
511/**************************************************************************
512 * RnaUIUsernamePassword [RASAPI32.591]
513 */
514DWORD WINAPI RnaUIUsernamePassword(HANDLE hConn, LPSTR lpszUsername, UINT cbUsername, LPSTR lpszPassword, UINT cbPassword, LPSTR lpszDomain, UINT cbDomain)
515{
516#ifdef DEBUG
517 dprintf(("RASAPI32: RnaUIUsernamePassword not implemented\n"));
518#endif
519 return 0;
520}
521
522
523/**************************************************************************
524 * RasValidateEntryNameA [RASAPI32.612]
525 */
526DWORD APIENTRY RasValidateEntryNameA( LPSTR str, LPSTR str2)
527{
528#ifdef DEBUG
529 dprintf(("RASAPI32: RasValidateEntryNameA not implemented\n"));
530#endif
531 return 0;
532}
533
534
535/**************************************************************************
536 * RasRenameEntryA [RASAPI32.613]
537 */
538DWORD APIENTRY RasRenameEntryA( LPSTR str, LPSTR str2, LPSTR str3 )
539{
540#ifdef DEBUG
541 dprintf(("RASAPI32: RasRenameEntryA not implemented\n"));
542#endif
543 return 0;
544}
545
546
547/**************************************************************************
548 * RasDeleteEntryA [RASAPI32.614]
549 */
550DWORD APIENTRY RasDeleteEntryA( LPSTR str, LPSTR str2)
551{
552#ifdef DEBUG
553 dprintf(("RASAPI32: RasDeleteEntryA not implemented\n"));
554#endif
555 return 0;
556}
557
558
559/**************************************************************************
560 * RasGetEntryPropertiesA [RASAPI32.615]
561 */
562DWORD APIENTRY RasGetEntryPropertiesA( LPSTR str, LPSTR str2, LPRASENTRYA rasentry, LPDWORD dword, LPBYTE pbyte, LPDWORD dword2 )
563{
564#ifdef DEBUG
565 dprintf(("RASAPI32: RasGetEntryPropertiesA not implemented\n"));
566#endif
567 return 0;
568}
569
570
571/**************************************************************************
572 * RasSetEntryPropertiesA [RASAPI32.616]
573 */
574DWORD APIENTRY RasSetEntryPropertiesA( LPSTR str, LPSTR str2, LPRASENTRYA rasentry, DWORD dword, LPBYTE pbyte, DWORD dword2 )
575{
576#ifdef DEBUG
577 dprintf(("RASAPI32: RasSetEntryPropertiesA not implemented\n"));
578#endif
579 return 0;
580}
581
582
583/**************************************************************************
584 * RasEnumDevicesA [RASAPI32.617]
585 */
586DWORD APIENTRY RasEnumDevicesA( LPRASDEVINFOA rasdevinfo, LPDWORD dword, LPDWORD dword2)
587{
588#ifdef DEBUG
589 dprintf(("RASAPI32: RasEnumDevicesA not implemented\n"));
590#endif
591 return 0;
592}
593
594
595/**************************************************************************
596 * RasGetCountryInfoA [RASAPI32.618]
597 */
598DWORD APIENTRY RasGetCountryInfoA( LPRASCTRYINFOA rasctryinfo, LPDWORD dword )
599{
600#ifdef DEBUG
601 dprintf(("RASAPI32: RasGetCountryInfoA not implemented\n"));
602#endif
603 return 0;
604}
Note: See TracBrowser for help on using the repository browser.