Added support for POINT, WIREFRAME and SOLID fill modes.
[wine] / dlls / rasapi32 / rasapi.c
1 /*
2  * RASAPI32
3  *
4  * Copyright 1998 Marcus Meissner
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * version 2.1 of the License, or (at your option) any later version.
10  *
11  * This library is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with this library; if not, write to the Free Software
18  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
19  */
20
21 #include "windef.h"
22 #include "ras.h"
23 #include "wine/debug.h"
24
25 WINE_DEFAULT_DEBUG_CHANNEL(ras);
26
27 /**************************************************************************
28  *                 RasEnumConnectionsA                  [RASAPI32.544]
29  */
30 DWORD WINAPI RasEnumConnectionsA( LPRASCONNA rca, LPDWORD lpcb, LPDWORD lpcConnections) {
31         /* Remote Access Service stuff is done by underlying OS anyway */
32         FIXME("(%p,%p,%p),stub!\n",rca,lpcb,lpcConnections);
33         FIXME("RAS support is not implemented ! Configure program to use LAN connection/winsock instead !\n");
34         *lpcConnections = 0; /* no RAS connections available */
35
36         return 0;
37 }
38
39 /**************************************************************************
40  *                 RasEnumEntriesA                              [RASAPI32.546]
41  */
42 DWORD WINAPI RasEnumEntriesA( LPCSTR Reserved, LPCSTR lpszPhoneBook,
43         LPRASENTRYNAMEA lpRasEntryName,
44         LPDWORD lpcb, LPDWORD lpcEntries)
45 {
46         FIXME("(%p,%s,%p,%p,%p),stub!\n",Reserved,debugstr_a(lpszPhoneBook),
47             lpRasEntryName,lpcb,lpcEntries);
48         *lpcEntries = 0;
49         return 0;
50 }
51
52 /**************************************************************************
53  *                 RasGetEntryDialParamsA                       [RASAPI32.550]
54  */
55 DWORD WINAPI RasGetEntryDialParamsA( LPCSTR lpszPhoneBook,
56         LPRASDIALPARAMSA lpRasDialParams,
57         LPBOOL lpfPassword)
58 {
59         FIXME("(%s,%p,%p),stub!\n",debugstr_a(lpszPhoneBook),
60             lpRasDialParams,lpfPassword);
61         return 0;
62 }
63
64 /**************************************************************************
65  *                 RasHangUpA                   [RASAPI32.556]
66  */
67 DWORD WINAPI RasHangUpA( HRASCONN hrasconn)
68 {
69         FIXME("(%x),stub!\n",hrasconn);
70         return 0;
71 }
72
73 /**************************************************************************
74  *                 RasDeleteEntryA              [RASAPI32.7]
75  */
76 DWORD WINAPI RasDeleteEntryA(LPCSTR a, LPCSTR b)
77 {
78         FIXME("(%s,%s),stub!\n",debugstr_a(a),debugstr_a(b));
79         return 0;
80 }
81
82 /**************************************************************************
83  *                 RasDeleteEntryW              [RASAPI32.8]
84  */
85 DWORD WINAPI RasDeleteEntryW(LPCWSTR a, LPCWSTR b)
86 {
87         FIXME("(%s,%s),stub!\n",debugstr_w(a),debugstr_w(b));
88         return 0;
89 }
90
91 /**************************************************************************
92  *                 RasEnumAutodialAddressesA    [RASAPI32.14]
93  */
94 DWORD WINAPI RasEnumAutodialAddressesA(LPCSTR *a, LPDWORD b, LPDWORD c)
95 {
96         FIXME("(%p,%p,%p),stub!\n",a,b,c);
97         return 0;
98 }
99
100 /**************************************************************************
101  *                 RasEnumAutodialAddressesW    [RASAPI32.15]
102  */
103 DWORD WINAPI RasEnumAutodialAddressesW(LPCWSTR *a, LPDWORD b, LPDWORD c)
104 {
105         FIXME("(%p,%p,%p),stub!\n",a,b,c);
106         return 0;
107 }
108
109 typedef LPVOID LPRASDEVINFOA;
110 typedef LPVOID LPRASDEVINFOW;
111 typedef LPVOID LPRASAUTODIALENTRYA;
112 typedef LPVOID LPRASAUTODIALENTRYW;
113
114 /**************************************************************************
115  *                 RasEnumDevicesA              [RASAPI32.19]
116  */
117 DWORD WINAPI RasEnumDevicesA(LPRASDEVINFOA a, LPDWORD b, LPDWORD c)
118 {
119         FIXME("(%p,%p,%p),stub!\n",a,b,c);
120         return 0;
121 }
122
123 /**************************************************************************
124  *                 RasEnumDevicesW              [RASAPI32.20]
125  */
126 DWORD WINAPI RasEnumDevicesW(LPRASDEVINFOW a, LPDWORD b, LPDWORD c)
127 {
128         FIXME("(%p,%p,%p),stub!\n",a,b,c);
129         return 0;
130 }
131
132 /**************************************************************************
133  *                 RasGetAutodialAddressA       [RASAPI32.24]
134  */
135 DWORD WINAPI RasGetAutodialAddressA(LPCSTR a, LPDWORD b, LPRASAUTODIALENTRYA c,
136                                         LPDWORD d, LPDWORD e)
137 {
138         FIXME("(%s,%p,%p,%p,%p),stub!\n",debugstr_a(a),b,c,d,e);
139         return 0;
140 }
141
142 /**************************************************************************
143  *                 RasGetAutodialAddressW       [RASAPI32.25]
144  */
145 DWORD WINAPI RasGetAutodialAddressW(LPCWSTR a, LPDWORD b, LPRASAUTODIALENTRYW c,
146                                         LPDWORD d, LPDWORD e)
147 {
148         FIXME("(%s,%p,%p,%p,%p),stub!\n",debugstr_w(a),b,c,d,e);
149         return 0;
150 }
151
152 /**************************************************************************
153  *                 RasGetAutodialEnableA        [RASAPI32.26]
154  */
155 DWORD WINAPI RasGetAutodialEnableA(DWORD a, LPBOOL b)
156 {
157         FIXME("(%lx,%p),stub!\n",a,b);
158         return 0;
159 }
160
161 /**************************************************************************
162  *                 RasGetAutodialEnableW        [RASAPI32.27]
163  */
164 DWORD WINAPI RasGetAutodialEnableW(DWORD a, LPBOOL b)
165 {
166         FIXME("(%lx,%p),stub!\n",a,b);
167         return 0;
168 }
169
170 /**************************************************************************
171  *                 RasGetAutodialParamA         [RASAPI32.28]
172  */
173 DWORD WINAPI RasGetAutodialParamA(DWORD a, LPVOID b, LPDWORD c)
174 {
175         FIXME("(%lx,%p,%p),stub!\n",a,b,c);
176         return 0;
177 }
178
179 /**************************************************************************
180  *                 RasGetAutodialParamW         [RASAPI32.29]
181  */
182 DWORD WINAPI RasGetAutodialParamW(DWORD a, LPVOID b, LPDWORD c)
183 {
184         FIXME("(%lx,%p,%p),stub!\n",a,b,c);
185         return 0;
186 }
187
188 /**************************************************************************
189  *                 RasSetAutodialAddressA       [RASAPI32.57]
190  */
191 DWORD WINAPI RasSetAutodialAddressA(LPCSTR a, DWORD b, LPRASAUTODIALENTRYA c,
192                                         DWORD d, DWORD e)
193 {
194         FIXME("(%s,%lx,%p,%lx,%lx),stub!\n",debugstr_a(a),b,c,d,e);
195         return 0;
196 }
197
198 /**************************************************************************
199  *                 RasSetAutodialAddressW       [RASAPI32.58]
200  */
201 DWORD WINAPI RasSetAutodialAddressW(LPCWSTR a, DWORD b, LPRASAUTODIALENTRYW c,
202                                         DWORD d, DWORD e)
203 {
204         FIXME("(%s,%lx,%p,%lx,%lx),stub!\n",debugstr_w(a),b,c,d,e);
205         return 0;
206 }
207
208 /**************************************************************************
209  *                 RasSetAutodialEnableA        [RASAPI32.59]
210  */
211 DWORD WINAPI RasSetAutodialEnableA(DWORD a, BOOL b)
212 {
213         FIXME("(%lx,%x),stub!\n",a,b);
214         return 0;
215 }
216
217 /**************************************************************************
218  *                 RasSetAutodialEnableW        [RASAPI32.60]
219  */
220 DWORD WINAPI RasSetAutodialEnableW(DWORD a, BOOL b)
221 {
222         FIXME("(%lx,%x),stub!\n",a,b);
223         return 0;
224 }
225
226 /**************************************************************************
227  *                 RasSetAutodialParamA [RASAPI32.61]
228  */
229 DWORD WINAPI RasSetAutodialParamA(DWORD a, LPVOID b, DWORD c)
230 {
231         FIXME("(%lx,%p,%lx),stub!\n",a,b,c);
232         return 0;
233 }
234
235 /**************************************************************************
236  *                 RasSetAutodialParamW [RASAPI32.62]
237  */
238 DWORD WINAPI RasSetAutodialParamW(DWORD a, LPVOID b, DWORD c)
239 {
240         FIXME("(%lx,%p,%lx),stub!\n",a,b,c);
241         return 0;
242 }