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

Last change on this file since 3830 was 2843, checked in by sandervl, 26 years ago

JW: RASAPI32: Added stubs

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