New XP debugging APIs: implemented DebugActiveProcessStop,
[wine] / dlls / rasapi32 / rasapi.c
1 /*
2  * RASAPI32
3  * 
4  * Copyright 1998 Marcus Meissner
5  */
6
7 #include "windef.h"
8 #include "ras.h"
9 #include "debugtools.h"
10
11 DEFAULT_DEBUG_CHANNEL(ras);
12
13 /**************************************************************************
14  *                 RasEnumConnectionsA                  [RASAPI32.544]
15  */
16 DWORD WINAPI RasEnumConnectionsA( LPRASCONNA rca, LPDWORD lpcb, LPDWORD lpcConnections) {
17         /* Remote Access Service stuff is done by underlying OS anyway */
18         FIXME("(%p,%p,%p),stub!\n",rca,lpcb,lpcConnections);
19         FIXME("RAS support is not implemented ! Configure program to use LAN connection/winsock instead !\n");
20         *lpcConnections = 0; /* no RAS connections available */
21         
22         return 0;
23 }
24
25 /**************************************************************************
26  *                 RasEnumEntriesA                              [RASAPI32.546]
27  */
28 DWORD WINAPI RasEnumEntriesA( LPCSTR Reserved, LPCSTR lpszPhoneBook,
29         LPRASENTRYNAMEA lpRasEntryName, 
30         LPDWORD lpcb, LPDWORD lpcEntries) 
31 {
32         FIXME("(%p,%s,%p,%p,%p),stub!\n",Reserved,debugstr_a(lpszPhoneBook),
33             lpRasEntryName,lpcb,lpcEntries);
34         *lpcEntries = 0;
35         return 0;
36 }
37
38 /**************************************************************************
39  *                 RasGetEntryDialParamsA                       [RASAPI32.550]
40  */
41 DWORD WINAPI RasGetEntryDialParamsA( LPCSTR lpszPhoneBook,
42         LPRASDIALPARAMSA lpRasDialParams,
43         LPBOOL lpfPassword) 
44 {
45         FIXME("(%s,%p,%p),stub!\n",debugstr_a(lpszPhoneBook),
46             lpRasDialParams,lpfPassword);
47         return 0;
48 }
49
50 /**************************************************************************
51  *                 RasHangUpA                   [RASAPI32.556]
52  */
53 DWORD WINAPI RasHangUpA( HRASCONN hrasconn)
54 {
55         FIXME("(%x),stub!\n",hrasconn);
56         return 0;
57 }
58
59 /**************************************************************************
60  *                 RasDeleteEntryA              [RASAPI32.7]
61  */
62 DWORD WINAPI RasDeleteEntryA(LPCSTR a, LPCSTR b)
63 {
64         FIXME("(%s,%s),stub!\n",debugstr_a(a),debugstr_a(b));
65         return 0;
66 }
67
68 /**************************************************************************
69  *                 RasDeleteEntryW              [RASAPI32.8]
70  */
71 DWORD WINAPI RasDeleteEntryW(LPCWSTR a, LPCWSTR b)
72 {
73         FIXME("(%s,%s),stub!\n",debugstr_w(a),debugstr_w(b));
74         return 0;
75 }
76
77 /**************************************************************************
78  *                 RasEnumAutodialAddressesA    [RASAPI32.14]
79  */
80 DWORD WINAPI RasEnumAutodialAddressesA(LPCSTR *a, LPDWORD b, LPDWORD c)
81 {
82         FIXME("(%p,%p,%p),stub!\n",a,b,c);
83         return 0;
84 }
85
86 /**************************************************************************
87  *                 RasEnumAutodialAddressesW    [RASAPI32.15]
88  */
89 DWORD WINAPI RasEnumAutodialAddressesW(LPCWSTR *a, LPDWORD b, LPDWORD c)
90 {
91         FIXME("(%p,%p,%p),stub!\n",a,b,c);
92         return 0;
93 }
94
95 typedef LPVOID LPRASDEVINFOA;
96 typedef LPVOID LPRASDEVINFOW;
97 typedef LPVOID LPRASAUTODIALENTRYA;
98 typedef LPVOID LPRASAUTODIALENTRYW;
99
100 /**************************************************************************
101  *                 RasEnumDevicesA              [RASAPI32.19]
102  */
103 DWORD WINAPI RasEnumDevicesA(LPRASDEVINFOA a, LPDWORD b, LPDWORD c)
104 {
105         FIXME("(%p,%p,%p),stub!\n",a,b,c);
106         return 0;
107 }
108
109 /**************************************************************************
110  *                 RasEnumDevicesW              [RASAPI32.20]
111  */
112 DWORD WINAPI RasEnumDevicesW(LPRASDEVINFOW a, LPDWORD b, LPDWORD c)
113 {
114         FIXME("(%p,%p,%p),stub!\n",a,b,c);
115         return 0;
116 }
117
118 /**************************************************************************
119  *                 RasGetAutodialAddressA       [RASAPI32.24]
120  */
121 DWORD WINAPI RasGetAutodialAddressA(LPCSTR a, LPDWORD b, LPRASAUTODIALENTRYA c,
122                                         LPDWORD d, LPDWORD e)
123 {
124         FIXME("(%s,%p,%p,%p,%p),stub!\n",debugstr_a(a),b,c,d,e);
125         return 0;
126 }
127
128 /**************************************************************************
129  *                 RasGetAutodialAddressW       [RASAPI32.25]
130  */
131 DWORD WINAPI RasGetAutodialAddressW(LPCWSTR a, LPDWORD b, LPRASAUTODIALENTRYW c,
132                                         LPDWORD d, LPDWORD e)
133 {
134         FIXME("(%s,%p,%p,%p,%p),stub!\n",debugstr_w(a),b,c,d,e);
135         return 0;
136 }
137
138 /**************************************************************************
139  *                 RasGetAutodialEnableA        [RASAPI32.26]
140  */
141 DWORD WINAPI RasGetAutodialEnableA(DWORD a, LPBOOL b)
142 {
143         FIXME("(%lx,%p),stub!\n",a,b);
144         return 0;
145 }
146
147 /**************************************************************************
148  *                 RasGetAutodialEnableW        [RASAPI32.27]
149  */
150 DWORD WINAPI RasGetAutodialEnableW(DWORD a, LPBOOL b)
151 {
152         FIXME("(%lx,%p),stub!\n",a,b);
153         return 0;
154 }
155
156 /**************************************************************************
157  *                 RasGetAutodialParamA         [RASAPI32.28]
158  */
159 DWORD WINAPI RasGetAutodialParamA(DWORD a, LPVOID b, LPDWORD c)
160 {
161         FIXME("(%lx,%p,%p),stub!\n",a,b,c);
162         return 0;
163 }
164
165 /**************************************************************************
166  *                 RasGetAutodialParamW         [RASAPI32.29]
167  */
168 DWORD WINAPI RasGetAutodialParamW(DWORD a, LPVOID b, LPDWORD c)
169 {
170         FIXME("(%lx,%p,%p),stub!\n",a,b,c);
171         return 0;
172 }
173
174 /**************************************************************************
175  *                 RasSetAutodialAddressA       [RASAPI32.57]
176  */
177 DWORD WINAPI RasSetAutodialAddressA(LPCSTR a, DWORD b, LPRASAUTODIALENTRYA c,
178                                         DWORD d, DWORD e)
179 {
180         FIXME("(%s,%lx,%p,%lx,%lx),stub!\n",debugstr_a(a),b,c,d,e);
181         return 0;
182 }
183
184 /**************************************************************************
185  *                 RasSetAutodialAddressW       [RASAPI32.58]
186  */
187 DWORD WINAPI RasSetAutodialAddressW(LPCWSTR a, DWORD b, LPRASAUTODIALENTRYW c,
188                                         DWORD d, DWORD e)
189 {
190         FIXME("(%s,%lx,%p,%lx,%lx),stub!\n",debugstr_w(a),b,c,d,e);
191         return 0;
192 }
193
194 /**************************************************************************
195  *                 RasSetAutodialEnableA        [RASAPI32.59]
196  */
197 DWORD WINAPI RasSetAutodialEnableA(DWORD a, BOOL b)
198 {
199         FIXME("(%lx,%x),stub!\n",a,b);
200         return 0;
201 }
202
203 /**************************************************************************
204  *                 RasSetAutodialEnableW        [RASAPI32.60]
205  */
206 DWORD WINAPI RasSetAutodialEnableW(DWORD a, BOOL b)
207 {
208         FIXME("(%lx,%x),stub!\n",a,b);
209         return 0;
210 }
211
212 /**************************************************************************
213  *                 RasSetAutodialParamA [RASAPI32.61]
214  */
215 DWORD WINAPI RasSetAutodialParamA(DWORD a, LPVOID b, DWORD c)
216 {
217         FIXME("(%lx,%p,%lx),stub!\n",a,b,c);
218         return 0;
219 }
220
221 /**************************************************************************
222  *                 RasSetAutodialParamW [RASAPI32.62]
223  */
224 DWORD WINAPI RasSetAutodialParamW(DWORD a, LPVOID b, DWORD c)
225 {
226         FIXME("(%lx,%p,%lx),stub!\n",a,b,c);
227         return 0;
228 }