- make sure even GUI users notice a "missing xmessage" problem by
[wine/wine64.git] / dlls / rasapi32 / rasapi.c
blobf2e13c674085bd8efe6d9e1d07aac34586902770
1 /*
2 * RASAPI32
4 * Copyright 1998 Marcus Meissner
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.
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.
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
21 #include "windef.h"
22 #include "ras.h"
23 #include "wine/debug.h"
25 WINE_DEFAULT_DEBUG_CHANNEL(ras);
27 /**************************************************************************
28 * RasEnumConnectionsA [RASAPI32.544]
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 */
36 return 0;
39 /**************************************************************************
40 * RasEnumEntriesA [RASAPI32.546]
42 DWORD WINAPI RasEnumEntriesA( LPCSTR Reserved, LPCSTR lpszPhoneBook,
43 LPRASENTRYNAMEA lpRasEntryName,
44 LPDWORD lpcb, LPDWORD lpcEntries)
46 FIXME("(%p,%s,%p,%p,%p),stub!\n",Reserved,debugstr_a(lpszPhoneBook),
47 lpRasEntryName,lpcb,lpcEntries);
48 *lpcEntries = 0;
49 return 0;
52 /**************************************************************************
53 * RasGetEntryDialParamsA [RASAPI32.550]
55 DWORD WINAPI RasGetEntryDialParamsA( LPCSTR lpszPhoneBook,
56 LPRASDIALPARAMSA lpRasDialParams,
57 LPBOOL lpfPassword)
59 FIXME("(%s,%p,%p),stub!\n",debugstr_a(lpszPhoneBook),
60 lpRasDialParams,lpfPassword);
61 return 0;
64 /**************************************************************************
65 * RasHangUpA [RASAPI32.556]
67 DWORD WINAPI RasHangUpA( HRASCONN hrasconn)
69 FIXME("(%x),stub!\n",hrasconn);
70 return 0;
73 /**************************************************************************
74 * RasDeleteEntryA [RASAPI32.7]
76 DWORD WINAPI RasDeleteEntryA(LPCSTR a, LPCSTR b)
78 FIXME("(%s,%s),stub!\n",debugstr_a(a),debugstr_a(b));
79 return 0;
82 /**************************************************************************
83 * RasDeleteEntryW [RASAPI32.8]
85 DWORD WINAPI RasDeleteEntryW(LPCWSTR a, LPCWSTR b)
87 FIXME("(%s,%s),stub!\n",debugstr_w(a),debugstr_w(b));
88 return 0;
91 /**************************************************************************
92 * RasEnumAutodialAddressesA [RASAPI32.14]
94 DWORD WINAPI RasEnumAutodialAddressesA(LPCSTR *a, LPDWORD b, LPDWORD c)
96 FIXME("(%p,%p,%p),stub!\n",a,b,c);
97 return 0;
100 /**************************************************************************
101 * RasEnumAutodialAddressesW [RASAPI32.15]
103 DWORD WINAPI RasEnumAutodialAddressesW(LPCWSTR *a, LPDWORD b, LPDWORD c)
105 FIXME("(%p,%p,%p),stub!\n",a,b,c);
106 return 0;
109 typedef LPVOID LPRASDEVINFOA;
110 typedef LPVOID LPRASDEVINFOW;
111 typedef LPVOID LPRASAUTODIALENTRYA;
112 typedef LPVOID LPRASAUTODIALENTRYW;
114 /**************************************************************************
115 * RasEnumDevicesA [RASAPI32.19]
117 DWORD WINAPI RasEnumDevicesA(LPRASDEVINFOA a, LPDWORD b, LPDWORD c)
119 FIXME("(%p,%p,%p),stub!\n",a,b,c);
120 return 0;
123 /**************************************************************************
124 * RasEnumDevicesW [RASAPI32.20]
126 DWORD WINAPI RasEnumDevicesW(LPRASDEVINFOW a, LPDWORD b, LPDWORD c)
128 FIXME("(%p,%p,%p),stub!\n",a,b,c);
129 return 0;
132 /**************************************************************************
133 * RasGetAutodialAddressA [RASAPI32.24]
135 DWORD WINAPI RasGetAutodialAddressA(LPCSTR a, LPDWORD b, LPRASAUTODIALENTRYA c,
136 LPDWORD d, LPDWORD e)
138 FIXME("(%s,%p,%p,%p,%p),stub!\n",debugstr_a(a),b,c,d,e);
139 return 0;
142 /**************************************************************************
143 * RasGetAutodialAddressW [RASAPI32.25]
145 DWORD WINAPI RasGetAutodialAddressW(LPCWSTR a, LPDWORD b, LPRASAUTODIALENTRYW c,
146 LPDWORD d, LPDWORD e)
148 FIXME("(%s,%p,%p,%p,%p),stub!\n",debugstr_w(a),b,c,d,e);
149 return 0;
152 /**************************************************************************
153 * RasGetAutodialEnableA [RASAPI32.26]
155 DWORD WINAPI RasGetAutodialEnableA(DWORD a, LPBOOL b)
157 FIXME("(%lx,%p),stub!\n",a,b);
158 return 0;
161 /**************************************************************************
162 * RasGetAutodialEnableW [RASAPI32.27]
164 DWORD WINAPI RasGetAutodialEnableW(DWORD a, LPBOOL b)
166 FIXME("(%lx,%p),stub!\n",a,b);
167 return 0;
170 /**************************************************************************
171 * RasGetAutodialParamA [RASAPI32.28]
173 DWORD WINAPI RasGetAutodialParamA(DWORD a, LPVOID b, LPDWORD c)
175 FIXME("(%lx,%p,%p),stub!\n",a,b,c);
176 return 0;
179 /**************************************************************************
180 * RasGetAutodialParamW [RASAPI32.29]
182 DWORD WINAPI RasGetAutodialParamW(DWORD a, LPVOID b, LPDWORD c)
184 FIXME("(%lx,%p,%p),stub!\n",a,b,c);
185 return 0;
188 /**************************************************************************
189 * RasSetAutodialAddressA [RASAPI32.57]
191 DWORD WINAPI RasSetAutodialAddressA(LPCSTR a, DWORD b, LPRASAUTODIALENTRYA c,
192 DWORD d, DWORD e)
194 FIXME("(%s,%lx,%p,%lx,%lx),stub!\n",debugstr_a(a),b,c,d,e);
195 return 0;
198 /**************************************************************************
199 * RasSetAutodialAddressW [RASAPI32.58]
201 DWORD WINAPI RasSetAutodialAddressW(LPCWSTR a, DWORD b, LPRASAUTODIALENTRYW c,
202 DWORD d, DWORD e)
204 FIXME("(%s,%lx,%p,%lx,%lx),stub!\n",debugstr_w(a),b,c,d,e);
205 return 0;
208 /**************************************************************************
209 * RasSetAutodialEnableA [RASAPI32.59]
211 DWORD WINAPI RasSetAutodialEnableA(DWORD a, BOOL b)
213 FIXME("(%lx,%x),stub!\n",a,b);
214 return 0;
217 /**************************************************************************
218 * RasSetAutodialEnableW [RASAPI32.60]
220 DWORD WINAPI RasSetAutodialEnableW(DWORD a, BOOL b)
222 FIXME("(%lx,%x),stub!\n",a,b);
223 return 0;
226 /**************************************************************************
227 * RasSetAutodialParamA [RASAPI32.61]
229 DWORD WINAPI RasSetAutodialParamA(DWORD a, LPVOID b, DWORD c)
231 FIXME("(%lx,%p,%lx),stub!\n",a,b,c);
232 return 0;
235 /**************************************************************************
236 * RasSetAutodialParamW [RASAPI32.62]
238 DWORD WINAPI RasSetAutodialParamW(DWORD a, LPVOID b, DWORD c)
240 FIXME("(%lx,%p,%lx),stub!\n",a,b,c);
241 return 0;