comdlg32: Take nMaxFile into account when converting A->W.
[wine.git] / dlls / nddeapi / nddeapi.c
blob84c636affb0e9cc30335802059c8b1403ec15f42
1 /*
2 * nddeapi main
4 * Copyright 2006 Benjamin Arai (Google)
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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
21 #include <stdarg.h>
23 #include "windef.h"
24 #include "winbase.h"
25 #include "wine/debug.h"
27 WINE_DEFAULT_DEBUG_CHANNEL(nddeapi);
29 /* Network DDE functionality was removed in Windows Vista, so the functions are silent stubs.
30 * Since the corresponding header is no longer available in the Windows SDK, a required definition
31 * is replicated here. */
32 #define NDDE_NOT_IMPLEMENTED 14
34 /***********************************************************************
35 * NDdeShareAddA (NDDEAPI.@)
38 UINT WINAPI NDdeShareAddA(LPSTR lpszServer, UINT nLevel, PSECURITY_DESCRIPTOR pSD,
39 LPBYTE lpBuffer, DWORD cBufSize)
41 TRACE("(%s, %u, %p, %p, %u)\n", debugstr_a(lpszServer), nLevel, pSD, lpBuffer, cBufSize);
43 return NDDE_NOT_IMPLEMENTED;
46 /***********************************************************************
47 * NDdeShareDelA (NDDEAPI.@)
50 UINT WINAPI NDdeShareDelA(LPSTR lpszServer, LPSTR lpszShareName, UINT wReserved)
52 TRACE("(%s, %s, %u)\n", debugstr_a(lpszServer), debugstr_a(lpszShareName), wReserved);
54 return NDDE_NOT_IMPLEMENTED;
57 /***********************************************************************
58 * NDdeShareEnumA (NDDEAPI.@)
61 UINT WINAPI NDdeShareEnumA(LPSTR lpszServer, UINT nLevel, LPBYTE lpBuffer, DWORD cBufSize,
62 LPDWORD lpnEntriesRead, LPDWORD lpcbTotalAvailable)
64 TRACE("(%s, %u, %p, %u, %p, %p)\n", debugstr_a(lpszServer), nLevel, lpBuffer, cBufSize,
65 lpnEntriesRead, lpcbTotalAvailable);
67 return NDDE_NOT_IMPLEMENTED;
70 /***********************************************************************
71 * NDdeShareGetInfoA (NDDEAPI.@)
74 UINT WINAPI NDdeShareGetInfoA(LPSTR lpszServer, LPSTR lpszShareName, UINT nLevel, LPBYTE lpBuffer,
75 DWORD cBufSize, LPDWORD lpnTotalAvailable, LPWORD lpnItems)
77 TRACE("(%s, %s, %u, %p, %u, %p, %p)\n", debugstr_a(lpszServer), debugstr_a(lpszShareName), nLevel,
78 lpBuffer, cBufSize, lpnTotalAvailable, lpnItems);
80 return NDDE_NOT_IMPLEMENTED;
83 /***********************************************************************
84 * NDdeShareSetInfoA (NDDEAPI.@)
87 UINT WINAPI NDdeShareSetInfoA(LPSTR lpszServer, LPSTR lpszShareName, UINT nLevel, LPBYTE lpBuffer,
88 DWORD cBufSize, WORD sParmNum)
90 TRACE("(%s, %s, %u, %p, %u, %u)\n", debugstr_a(lpszServer), debugstr_a(lpszShareName), nLevel,
91 lpBuffer, cBufSize, sParmNum);
93 return NDDE_NOT_IMPLEMENTED;
96 /***********************************************************************
97 * NDdeGetErrorStringA (NDDEAPI.@)
100 UINT WINAPI NDdeGetErrorStringA(UINT uErrorCode, LPSTR lpszErrorString, DWORD cBufSize)
102 TRACE("(%u, %p, %d)\n", uErrorCode, lpszErrorString, cBufSize);
104 return NDDE_NOT_IMPLEMENTED;
107 /***********************************************************************
108 * NDdeIsValidShareNameA (NDDEAPI.@)
111 BOOL WINAPI NDdeIsValidShareNameA(LPSTR shareName)
113 TRACE("(%s)\n", debugstr_a(shareName));
115 return FALSE;
118 /***********************************************************************
119 * NDdeIsValidAppTopicListA (NDDEAPI.@)
122 BOOL WINAPI NDdeIsValidAppTopicListA(LPSTR targetTopic)
124 TRACE("(%s)\n", debugstr_a(targetTopic));
126 return FALSE;
129 /***********************************************************************
130 * NDdeGetShareSecurityA (NDDEAPI.@)
133 UINT WINAPI NDdeGetShareSecurityA(LPSTR lpszServer, LPSTR lpszShareName, SECURITY_INFORMATION si,
134 PSECURITY_DESCRIPTOR pSD, DWORD cbSD, LPDWORD lpcbsdRequired)
136 TRACE("(%s, %s, %u, %p, %u, %p)\n", debugstr_a(lpszServer), debugstr_a(lpszShareName),
137 si, pSD, cbSD, lpcbsdRequired);
139 return NDDE_NOT_IMPLEMENTED;
142 /***********************************************************************
143 * NDdeSetShareSecurityA (NDDEAPI.@)
146 UINT WINAPI NDdeSetShareSecurityA(LPSTR lpszServer, LPSTR lpszShareName, SECURITY_INFORMATION si,
147 PSECURITY_DESCRIPTOR pSD)
149 TRACE("(%s, %s, %u, %p)\n", debugstr_a(lpszServer), debugstr_a(lpszShareName), si, pSD);
151 return NDDE_NOT_IMPLEMENTED;
154 /***********************************************************************
155 * NDdeGetTrustedShareA (NDDEAPI.@)
158 UINT WINAPI NDdeGetTrustedShareA(LPSTR lpszServer, LPSTR lpszShareName, LPDWORD lpdwTrustOptions,
159 LPDWORD lpdwShareModId0, LPDWORD lpdwShareModId1)
161 TRACE("(%s, %s, %p, %p, %p)\n", debugstr_a(lpszServer), debugstr_a(lpszShareName), lpdwTrustOptions,
162 lpdwShareModId0, lpdwShareModId1);
164 return NDDE_NOT_IMPLEMENTED;
167 /***********************************************************************
168 * NDdeSetTrustedShareA (NDDEAPI.@)
171 UINT WINAPI NDdeSetTrustedShareA(LPSTR lpszServer, LPSTR lpszShareName, DWORD dwTrustOptions)
173 TRACE("(%s, %s, 0x%08x)\n", debugstr_a(lpszServer), debugstr_a(lpszShareName), dwTrustOptions);
175 return NDDE_NOT_IMPLEMENTED;
178 /***********************************************************************
179 * NDdeTrustedShareEnumA (NDDEAPI.@)
182 UINT WINAPI NDdeTrustedShareEnumA(LPSTR lpszServer, UINT nLevel, LPBYTE lpBuffer, DWORD cBufSize,
183 LPDWORD lpnEntriesRead, LPDWORD lpcbTotalAvailable)
185 TRACE("(%s, %u, %p, %u, %p, %p)\n", debugstr_a(lpszServer), nLevel, lpBuffer, cBufSize,
186 lpnEntriesRead, lpcbTotalAvailable);
188 return NDDE_NOT_IMPLEMENTED;
191 /***********************************************************************
192 * NDdeShareAddW (NDDEAPI.@)
195 UINT WINAPI NDdeShareAddW(LPWSTR lpszServer, UINT nLevel, PSECURITY_DESCRIPTOR pSD,
196 LPBYTE lpBuffer, DWORD cBufSize)
198 TRACE("(%s, %u, %p, %p, %u)\n", debugstr_w(lpszServer), nLevel, pSD, lpBuffer, cBufSize);
200 return NDDE_NOT_IMPLEMENTED;
203 /***********************************************************************
204 * NDdeShareDelW (NDDEAPI.@)
207 UINT WINAPI NDdeShareDelW(LPWSTR lpszServer, LPWSTR lpszShareName, UINT wReserved)
209 TRACE("(%s, %s, %u)\n", debugstr_w(lpszServer), debugstr_w(lpszShareName), wReserved);
211 return NDDE_NOT_IMPLEMENTED;
214 /***********************************************************************
215 * NDdeShareEnumW (NDDEAPI.@)
218 UINT WINAPI NDdeShareEnumW(LPWSTR lpszServer, UINT nLevel, LPBYTE lpBuffer, DWORD cBufSize,
219 LPDWORD lpnEntriesRead, LPDWORD lpcbTotalAvailable)
221 TRACE("(%s, %u, %p, %u, %p, %p)\n", debugstr_w(lpszServer), nLevel, lpBuffer, cBufSize,
222 lpnEntriesRead, lpcbTotalAvailable);
224 return NDDE_NOT_IMPLEMENTED;
227 /***********************************************************************
228 * NDdeShareGetInfoW (NDDEAPI.@)
231 UINT WINAPI NDdeShareGetInfoW(LPWSTR lpszServer, LPWSTR lpszShareName, UINT nLevel, LPBYTE lpBuffer,
232 DWORD cBufSize, LPDWORD lpnTotalAvailable, LPWORD lpnItems)
234 TRACE("(%s, %s, %u, %p, %u, %p, %p)\n", debugstr_w(lpszServer), debugstr_w(lpszShareName), nLevel,
235 lpBuffer, cBufSize, lpnTotalAvailable, lpnItems);
237 return NDDE_NOT_IMPLEMENTED;
240 /***********************************************************************
241 * NDdeShareSetInfoW (NDDEAPI.@)
244 UINT WINAPI NDdeShareSetInfoW(LPWSTR lpszServer, LPWSTR lpszShareName, UINT nLevel, LPBYTE lpBuffer,
245 DWORD cBufSize, WORD sParmNum)
247 TRACE("(%s, %s, %u, %p, %u, %u)\n", debugstr_w(lpszServer), debugstr_w(lpszShareName), nLevel,
248 lpBuffer, cBufSize, sParmNum);
250 return NDDE_NOT_IMPLEMENTED;
253 /***********************************************************************
254 * NDdeGetErrorStringW (NDDEAPI.@)
257 UINT WINAPI NDdeGetErrorStringW(UINT uErrorCode, LPWSTR lpszErrorString, DWORD cBufSize)
259 FIXME("(%u, %p, %d): stub!\n", uErrorCode, lpszErrorString, cBufSize);
261 return NDDE_NOT_IMPLEMENTED;
264 /***********************************************************************
265 * NDdeIsValidShareNameW (NDDEAPI.@)
268 BOOL WINAPI NDdeIsValidShareNameW(LPWSTR shareName)
270 TRACE("(%s)\n", debugstr_w(shareName));
272 return FALSE;
275 /***********************************************************************
276 * NDdeIsValidAppTopicListW (NDDEAPI.@)
279 BOOL WINAPI NDdeIsValidAppTopicListW(LPWSTR targetTopic)
281 TRACE("(%s)\n", debugstr_w(targetTopic));
283 return FALSE;
286 /***********************************************************************
287 * NDdeGetShareSecurityW (NDDEAPI.@)
290 UINT WINAPI NDdeGetShareSecurityW(LPWSTR lpszServer, LPWSTR lpszShareName, SECURITY_INFORMATION si,
291 PSECURITY_DESCRIPTOR pSD, DWORD cbSD, LPDWORD lpcbsdRequired)
293 TRACE("(%s, %s, %u, %p, %u, %p)\n", debugstr_w(lpszServer), debugstr_w(lpszShareName),
294 si, pSD, cbSD, lpcbsdRequired);
296 return NDDE_NOT_IMPLEMENTED;
299 /***********************************************************************
300 * NDdeSetShareSecurityW (NDDEAPI.@)
303 UINT WINAPI NDdeSetShareSecurityW(LPWSTR lpszServer, LPWSTR lpszShareName, SECURITY_INFORMATION si,
304 PSECURITY_DESCRIPTOR pSD)
306 TRACE("(%s, %s, %u, %p)\n", debugstr_w(lpszServer), debugstr_w(lpszShareName), si, pSD);
308 return NDDE_NOT_IMPLEMENTED;
311 /***********************************************************************
312 * NDdeGetTrustedShareW (NDDEAPI.@)
315 UINT WINAPI NDdeGetTrustedShareW(LPWSTR lpszServer, LPWSTR lpszShareName, LPDWORD lpdwTrustOptions,
316 LPDWORD lpdwShareModId0, LPDWORD lpdwShareModId1)
318 TRACE("(%s, %s, %p, %p, %p)\n", debugstr_w(lpszServer), debugstr_w(lpszShareName), lpdwTrustOptions,
319 lpdwShareModId0, lpdwShareModId1);
321 return NDDE_NOT_IMPLEMENTED;
324 /***********************************************************************
325 * NDdeSetTrustedShareW (NDDEAPI.@)
328 UINT WINAPI NDdeSetTrustedShareW(LPWSTR lpszServer, LPWSTR lpszShareName, DWORD dwTrustOptions)
330 TRACE("(%s, %s, 0x%08x)\n", debugstr_w(lpszServer), debugstr_w(lpszShareName), dwTrustOptions);
332 return NDDE_NOT_IMPLEMENTED;
335 /***********************************************************************
336 * NDdeTrustedShareEnumW (NDDEAPI.@)
339 UINT WINAPI NDdeTrustedShareEnumW(LPWSTR lpszServer, UINT nLevel, LPBYTE lpBuffer, DWORD cBufSize,
340 LPDWORD lpnEntriesRead, LPDWORD lpcbTotalAvailable)
342 TRACE("(%s, %u, %p, %u, %p, %p)\n", debugstr_w(lpszServer), nLevel, lpBuffer, cBufSize,
343 lpnEntriesRead, lpcbTotalAvailable);
345 return NDDE_NOT_IMPLEMENTED;