source: trunk/src/rasapi32/rasapi32.cpp

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

JW: RASAPI32: Added stubs

File size: 15.5 KB
RevLine 
[2843]1/* $Id: rasapi32.cpp,v 1.5 2000-02-21 10:33:34 sandervl Exp $ */
[772]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>
[1710]14#include <odinwrap.h>
[772]15
[1710]16ODINDEBUGCHANNEL(rasapi32)
[772]17
18/**************************************************************************
[1012]19 * RasConnectionNotificationA [RASAPI32.550]
[772]20 */
21DWORD APIENTRY RasConnectionNotificationA( HRASCONN hras, HANDLE handle, DWORD dword )
22{
[1012]23#ifdef DEBUG
24 dprintf(("RASAPI32: RasConnectionNotificationA not implemented\n"));
25#endif
[772]26 return 0;
27}
28
[1012]29
[772]30/**************************************************************************
[1012]31 * RasConnectionNotificationW [RASAPI32.551]
[772]32 */
33DWORD APIENTRY RasConnectionNotificationW( HRASCONN hras, HANDLE handle, DWORD dword )
34{
[1012]35#ifdef DEBUG
36 dprintf(("RASAPI32: RasConnectionNotificationA not implemented\n"));
37#endif
[772]38 return 0;
39}
40
[1012]41
[772]42/**************************************************************************
[1358]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/**************************************************************************
[1012]132 * RasCreatePhonebookEntryA [RASAPI32.559]
[772]133 */
134DWORD APIENTRY RasCreatePhonebookEntryA( HWND hwnd, LPSTR lpstr)
135{
[1012]136#ifdef DEBUG
137 dprintf(("RASAPI32: RasCreatePhonebookEntryA not implemented\n"));
138#endif
[772]139 return 0;
140}
141
[1012]142
[772]143/**************************************************************************
[1012]144 * RasCreatePhonebookEntryW [RASAPI32.560]
[772]145 */
146DWORD APIENTRY RasCreatePhonebookEntryW( HWND hwnd, LPWSTR lpwstr )
147{
[1012]148#ifdef DEBUG
149 dprintf(("RASAPI32: RasCreatePhonebookEntryW not implemented\n"));
150#endif
[772]151 return 0;
152}
153
[1012]154
[772]155/**************************************************************************
[1012]156 * RasDialA [RASAPI32.561]
[772]157 */
158DWORD APIENTRY RasDialA( LPRASDIALEXTENSIONS rasdial, LPSTR str, LPRASDIALPARAMSA rasdial2, DWORD dword, LPVOID lpv, LPHRASCONN rascon )
159{
[1012]160#ifdef DEBUG
161 dprintf(("RASAPI32: RasDialA not implemented\n"));
162#endif
[772]163 return 0;
164}
165
[1012]166
[772]167/**************************************************************************
[1012]168 * RasDialW [RASAPI32.562]
[772]169 */
170DWORD APIENTRY RasDialW( LPRASDIALEXTENSIONS rasdial, LPWSTR str, LPRASDIALPARAMSW rasdial2, DWORD dword, LPVOID lpv, LPHRASCONN rascon )
171{
[1012]172#ifdef DEBUG
173 dprintf(("RASAPI32: RasDialW not implemented\n"));
174#endif
[772]175 return 0;
176}
177
[1012]178
[772]179/**************************************************************************
[1012]180 * RasEditPhonebookEntryA [RASAPI32.563]
[772]181 */
182DWORD APIENTRY RasEditPhonebookEntryA( HWND hwnd, LPSTR str, LPSTR str2 )
183{
[1012]184#ifdef DEBUG
185 dprintf(("RASAPI32: RasEditPhonebookEntryA not implemented\n"));
186#endif
[772]187 return 0;
188}
189
[1012]190
[772]191/**************************************************************************
[1012]192 * RasEditPhonebookEntryW [RASAPI32.564]
[772]193 */
194DWORD APIENTRY RasEditPhonebookEntryW( HWND hwnd, LPWSTR str, LPWSTR str2 )
195{
[1012]196#ifdef DEBUG
197 dprintf(("RASAPI32: RasEditPhonebookEntryA not implemented\n"));
198#endif
[772]199 return 0;
200}
201
[1012]202
[772]203/**************************************************************************
[1012]204 * RasEnumConnectionsA [RASAPI32.565]
[772]205 */
206DWORD WINAPI RasEnumConnectionsA( LPRASCONNA rca, LPDWORD x, LPDWORD y)
207{
[1012]208#ifdef DEBUG
209 dprintf(("RASAPI32: RasEnumConnectionsA not implemented\n"));
210#endif
[772]211 return 0;
212}
213
[1012]214
[772]215/**************************************************************************
[1012]216 * RasEnumConnectionsW [RASAPI32.566]
[772]217 */
218DWORD APIENTRY RasEnumConnectionsW( LPRASCONNW rca, LPDWORD x, LPDWORD y )
219{
[1012]220#ifdef DEBUG
221 dprintf(("RASAPI32: RasEnumConnectionsW not implemented\n"));
222#endif
[772]223 return 0;
224}
225
[1012]226
[772]227/**************************************************************************
[1012]228 * RasEnumEntriesA [RASAPI32.567]
[772]229 */
230DWORD APIENTRY RasEnumEntriesA( LPSTR str, LPSTR str2, LPRASENTRYNAMEA rasentry,
231 LPDWORD lpdw, LPDWORD lpdw2 )
232{
[1012]233#ifdef DEBUG
234 dprintf(("RASAPI32: RasEnumEntriesA not implemented\n"));
235#endif
[772]236 return 0;
237}
238
[1012]239
[772]240/**************************************************************************
[1012]241 * RasEnumEntriesW [RASAPI32.568]
[772]242 */
243DWORD APIENTRY RasEnumEntriesW( LPWSTR str, LPWSTR str2, LPRASENTRYNAMEW rasentry,
244 LPDWORD lpdw, LPDWORD lpdw2 )
245{
[1012]246#ifdef DEBUG
247 dprintf(("RASAPI32: RasEnumEntriesW not implemented\n"));
248#endif
[772]249 return 0;
250}
251
[1012]252
[772]253/**************************************************************************
[1012]254 * RasGetConnectStatusA [RASAPI32.569]
[772]255 */
256DWORD APIENTRY RasGetConnectStatusA( HRASCONN hras, LPRASCONNSTATUSA rascon )
257{
[1012]258#ifdef DEBUG
259 dprintf(("RASAPI32: RasGetConnectStatusA not implemented\n"));
260#endif
[772]261 return 0;
262}
263
[1012]264
[772]265/**************************************************************************
[1012]266 * RasGetConnectStatusW [RASAPI32.570]
[772]267 */
268DWORD APIENTRY RasGetConnectStatusW( HRASCONN rasconn, LPRASCONNSTATUSW connstat )
269{
[1012]270#ifdef DEBUG
271 dprintf(("RASAPI32: RasGetConnectStatusW not implemented\n"));
272#endif
[772]273 return 0;
274}
275
[1012]276
[772]277/**************************************************************************
[1012]278 * RasGetEntryDialParamsA [RASAPI32.571]
[772]279 */
280DWORD APIENTRY RasGetEntryDialParamsA( LPSTR str, LPRASDIALPARAMSA dialparm, LPBOOL lpb)
281{
[1012]282#ifdef DEBUG
283 dprintf(("RASAPI32: RasGetEntryDialParamsA not implemented\n"));
284#endif
[772]285 return 0;
286}
287
[1012]288
[772]289/**************************************************************************
[1012]290 * RasGetEntryDialParamsW [RASAPI32.572]
[772]291 */
292DWORD APIENTRY RasGetEntryDialParamsW( LPWSTR str, LPRASDIALPARAMSW dialparm, LPBOOL lpb )
293{
[1012]294#ifdef DEBUG
295 dprintf(("RASAPI32: RasGetEntryDialParamsW not implemented\n"));
296#endif
[772]297 return 0;
298}
299
[1012]300
[772]301/**************************************************************************
[1012]302 * RasGetErrorStringA [RASAPI32.573]
[772]303 */
304DWORD APIENTRY RasGetErrorStringA( UINT uint, LPSTR str, DWORD dword )
305{
[1012]306#ifdef DEBUG
307 dprintf(("RASAPI32: RasGetErrorStringA not implemented\n"));
308#endif
[772]309 return 0;
310}
311
[1012]312
[772]313/**************************************************************************
[1012]314 * RasGetErrorStringW [RASAPI32.574]
[772]315 */
316DWORD APIENTRY RasGetErrorStringW( UINT uint, LPWSTR str, DWORD dword )
317{
[1012]318#ifdef DEBUG
319 dprintf(("RASAPI32: RasGetErrorStringW not implemented\n"));
320#endif
[772]321 return 0;
322}
323
[1012]324
[772]325/**************************************************************************
[1012]326 * RasGetProjectionInfoA [RASAPI32.575]
[772]327 */
328DWORD APIENTRY RasGetProjectionInfoA( HRASCONN rascon, RASPROJECTION rasprj,
329 LPVOID lpv, LPDWORD lpdw )
330{
[1012]331#ifdef DEBUG
332 dprintf(("RASAPI32: RasGetProjectInfoA not implemented\n"));
333#endif
[772]334 return 0;
335}
336
[1012]337
[772]338/**************************************************************************
[1012]339 * RasGetProjectionInfoW [RASAPI32.576]
[772]340 */
341DWORD APIENTRY RasGetProjectionInfoW( HRASCONN rascon, RASPROJECTION rasprj,
342 LPVOID lpv, LPDWORD lpdw )
343{
[1012]344#ifdef DEBUG
345 dprintf(("RASAPI32: RasGetProjectInfoW not implemented\n"));
346#endif
[772]347 return 0;
348}
349
[1012]350
[772]351/**************************************************************************
[1012]352 * RasHangUpA [RASAPI32.577]
[772]353 */
354DWORD APIENTRY RasHangUpA( HRASCONN hras )
355{
[1012]356#ifdef DEBUG
357 dprintf(("RASAPI32: RasHangUpA not implemented\n"));
358#endif
[772]359 return 0;
360}
361
[1012]362
[772]363/**************************************************************************
[1012]364 * RasHangUpW [RASAPI32.578]
[772]365 */
366DWORD APIENTRY RasHangUpW( HRASCONN hras )
367{
[1012]368#ifdef DEBUG
369 dprintf(("RASAPI32: RasHangUpW not implemented\n"));
370#endif
[772]371 return 0;
372}
373
[1012]374
[772]375/**************************************************************************
[1012]376 * RasSetEntryDialParamsA [RASAPI32.579]
[772]377 */
378DWORD APIENTRY RasSetEntryDialParamsA( LPSTR str, LPRASDIALPARAMSA rasdp, BOOL bo )
379{
[1012]380#ifdef DEBUG
381 dprintf(("RASAPI32: RasSetEntryDialParamsA not implemented\n"));
382#endif
[772]383 return 0;
384}
385
[1012]386
[772]387/**************************************************************************
[1012]388 * RasSetEntryDialParamsW [RASAPI32.580]
[772]389 */
390DWORD APIENTRY RasSetEntryDialParamsW( LPWSTR str, LPRASDIALPARAMSW rasdp, BOOL bo)
391{
[1012]392#ifdef DEBUG
393 dprintf(("RASAPI32: RasSetEntryDialParamsW not implemented\n"));
394#endif
[772]395 return 0;
396}
397
398
399/**************************************************************************
[1358]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 */
[2843]414DWORD APIENTRY RnaComplete(HANDLE hConn, LPCOMPLETE_INFO lpci, LPPROJECTION_INFO lppi, DWORD cEntries)
[1358]415{
416#ifdef DEBUG
417 dprintf(("RASAPI32: RnaComplete not implemented\n"));
418#endif
419 return 0;
[2843]420}
[1358]421
422
423/**************************************************************************
424 * RnaGetDevicePort [RASAPI32.583]
425 */
[2843]426DWORD WINAPI RnaGetDevicePort(HANDLE hConn, LPDEVICE_PORT_INFO lpdpi)
[1358]427{
428#ifdef DEBUG
429 dprintf(("RASAPI32: RnaGetDevicePort not implemented\n"));
430#endif
431 return 0;
[2843]432}
[1358]433
434
435/**************************************************************************
436 * RnaGetUserProfile [RASAPI32.585]
437 */
[2843]438DWORD WINAPI RnaGetUserProfile(HANDLE hConn, LPUSER_PROFILE lpUserProfile)
[1358]439{
440#ifdef DEBUG
441 dprintf(("RASAPI32: RnaGetUserProfile not implemented\n"));
442#endif
443 return 0;
[2843]444}
[1358]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 */
[2843]462DWORD APIENTRY RnaSessInitialize(LPSTR lpszType, LPRNA_FUNCS lpRnaFuncs)
[1358]463{
464#ifdef DEBUG
465 dprintf(("RASAPI32: RnaSessInitialize not implemented\n"));
466#endif
467 return 0;
[2843]468}
[1358]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/**************************************************************************
[1012]520 * RasValidateEntryNameA [RASAPI32.612]
[772]521 */
522DWORD APIENTRY RasValidateEntryNameA( LPSTR str, LPSTR str2)
523{
[1012]524#ifdef DEBUG
525 dprintf(("RASAPI32: RasValidateEntryNameA not implemented\n"));
526#endif
[772]527 return 0;
528}
529
[1012]530
[772]531/**************************************************************************
[1012]532 * RasRenameEntryA [RASAPI32.613]
[772]533 */
534DWORD APIENTRY RasRenameEntryA( LPSTR str, LPSTR str2, LPSTR str3 )
535{
[1012]536#ifdef DEBUG
537 dprintf(("RASAPI32: RasRenameEntryA not implemented\n"));
538#endif
[772]539 return 0;
540}
541
[1012]542
[772]543/**************************************************************************
[1012]544 * RasDeleteEntryA [RASAPI32.614]
[772]545 */
546DWORD APIENTRY RasDeleteEntryA( LPSTR str, LPSTR str2)
547{
[1012]548#ifdef DEBUG
549 dprintf(("RASAPI32: RasDeleteEntryA not implemented\n"));
550#endif
[772]551 return 0;
552}
553
[1012]554
[772]555/**************************************************************************
[1012]556 * RasGetEntryPropertiesA [RASAPI32.615]
[772]557 */
558DWORD APIENTRY RasGetEntryPropertiesA( LPSTR str, LPSTR str2, LPRASENTRYA rasentry, LPDWORD dword, LPBYTE pbyte, LPDWORD dword2 )
559{
[1012]560#ifdef DEBUG
561 dprintf(("RASAPI32: RasGetEntryPropertiesA not implemented\n"));
562#endif
[772]563 return 0;
564}
565
[1012]566
[772]567/**************************************************************************
[1012]568 * RasSetEntryPropertiesA [RASAPI32.616]
[772]569 */
570DWORD APIENTRY RasSetEntryPropertiesA( LPSTR str, LPSTR str2, LPRASENTRYA rasentry, DWORD dword, LPBYTE pbyte, DWORD dword2 )
571{
[1012]572#ifdef DEBUG
573 dprintf(("RASAPI32: RasSetEntryPropertiesA not implemented\n"));
574#endif
[772]575 return 0;
576}
577
[1012]578
[772]579/**************************************************************************
[1012]580 * RasEnumDevicesA [RASAPI32.617]
[772]581 */
582DWORD APIENTRY RasEnumDevicesA( LPRASDEVINFOA rasdevinfo, LPDWORD dword, LPDWORD dword2)
583{
[1012]584#ifdef DEBUG
585 dprintf(("RASAPI32: RasEnumDevicesA not implemented\n"));
586#endif
[772]587 return 0;
588}
589
[1012]590
[772]591/**************************************************************************
[1012]592 * RasGetCountryInfoA [RASAPI32.618]
[772]593 */
594DWORD APIENTRY RasGetCountryInfoA( LPRASCTRYINFOA rasctryinfo, LPDWORD dword )
595{
[1012]596#ifdef DEBUG
597 dprintf(("RASAPI32: RasGetCountryInfoA not implemented\n"));
598#endif
[772]599 return 0;
600}
Note: See TracBrowser for help on using the repository browser.