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 #define WIN32_NO_STATUS
26 //#include "winbase.h"
27 #include <wine/debug.h>
29 WINE_DEFAULT_DEBUG_CHANNEL(nddeapi
);
31 /* Network DDE functionality was removed in Windows Vista, so the functions are silent stubs.
32 * Since the corresponding header is no longer available in the Windows SDK, a required definition
33 * is replicated here. */
34 #define NDDE_NOT_IMPLEMENTED 14
36 /***********************************************************************
37 * NDdeShareAddA (NDDEAPI.@)
40 UINT WINAPI
NDdeShareAddA(LPSTR lpszServer
, UINT nLevel
, PSECURITY_DESCRIPTOR pSD
,
41 LPBYTE lpBuffer
, DWORD cBufSize
)
43 TRACE("(%s, %u, %p, %p, %u)\n", debugstr_a(lpszServer
), nLevel
, pSD
, lpBuffer
, cBufSize
);
45 return NDDE_NOT_IMPLEMENTED
;
48 /***********************************************************************
49 * NDdeShareDelA (NDDEAPI.@)
52 UINT WINAPI
NDdeShareDelA(LPSTR lpszServer
, LPSTR lpszShareName
, UINT wReserved
)
54 TRACE("(%s, %s, %u)\n", debugstr_a(lpszServer
), debugstr_a(lpszShareName
), wReserved
);
56 return NDDE_NOT_IMPLEMENTED
;
59 /***********************************************************************
60 * NDdeShareEnumA (NDDEAPI.@)
63 UINT WINAPI
NDdeShareEnumA(LPSTR lpszServer
, UINT nLevel
, LPBYTE lpBuffer
, DWORD cBufSize
,
64 LPDWORD lpnEntriesRead
, LPDWORD lpcbTotalAvailable
)
66 TRACE("(%s, %u, %p, %u, %p, %p)\n", debugstr_a(lpszServer
), nLevel
, lpBuffer
, cBufSize
,
67 lpnEntriesRead
, lpcbTotalAvailable
);
69 return NDDE_NOT_IMPLEMENTED
;
72 /***********************************************************************
73 * NDdeShareGetInfoA (NDDEAPI.@)
76 UINT WINAPI
NDdeShareGetInfoA(LPSTR lpszServer
, LPSTR lpszShareName
, UINT nLevel
, LPBYTE lpBuffer
,
77 DWORD cBufSize
, LPDWORD lpnTotalAvailable
, LPWORD lpnItems
)
79 TRACE("(%s, %s, %u, %p, %u, %p, %p)\n", debugstr_a(lpszServer
), debugstr_a(lpszShareName
), nLevel
,
80 lpBuffer
, cBufSize
, lpnTotalAvailable
, lpnItems
);
82 return NDDE_NOT_IMPLEMENTED
;
85 /***********************************************************************
86 * NDdeShareSetInfoA (NDDEAPI.@)
89 UINT WINAPI
NDdeShareSetInfoA(LPSTR lpszServer
, LPSTR lpszShareName
, UINT nLevel
, LPBYTE lpBuffer
,
90 DWORD cBufSize
, WORD sParmNum
)
92 TRACE("(%s, %s, %u, %p, %u, %u)\n", debugstr_a(lpszServer
), debugstr_a(lpszShareName
), nLevel
,
93 lpBuffer
, cBufSize
, sParmNum
);
95 return NDDE_NOT_IMPLEMENTED
;
98 /***********************************************************************
99 * NDdeGetErrorStringA (NDDEAPI.@)
102 UINT WINAPI
NDdeGetErrorStringA(UINT uErrorCode
, LPSTR lpszErrorString
, DWORD cBufSize
)
104 TRACE("(%u, %p, %d)\n", uErrorCode
, lpszErrorString
, cBufSize
);
106 return NDDE_NOT_IMPLEMENTED
;
109 /***********************************************************************
110 * NDdeIsValidShareNameA (NDDEAPI.@)
113 BOOL WINAPI
NDdeIsValidShareNameA(LPSTR shareName
)
115 TRACE("(%s)\n", debugstr_a(shareName
));
120 /***********************************************************************
121 * NDdeIsValidAppTopicListA (NDDEAPI.@)
124 BOOL WINAPI
NDdeIsValidAppTopicListA(LPSTR targetTopic
)
126 TRACE("(%s)\n", debugstr_a(targetTopic
));
131 /***********************************************************************
132 * NDdeGetShareSecurityA (NDDEAPI.@)
135 UINT WINAPI
NDdeGetShareSecurityA(LPSTR lpszServer
, LPSTR lpszShareName
, SECURITY_INFORMATION si
,
136 PSECURITY_DESCRIPTOR pSD
, DWORD cbSD
, LPDWORD lpcbsdRequired
)
138 TRACE("(%s, %s, %u, %p, %u, %p)\n", debugstr_a(lpszServer
), debugstr_a(lpszShareName
),
139 si
, pSD
, cbSD
, lpcbsdRequired
);
141 return NDDE_NOT_IMPLEMENTED
;
144 /***********************************************************************
145 * NDdeSetShareSecurityA (NDDEAPI.@)
148 UINT WINAPI
NDdeSetShareSecurityA(LPSTR lpszServer
, LPSTR lpszShareName
, SECURITY_INFORMATION si
,
149 PSECURITY_DESCRIPTOR pSD
)
151 TRACE("(%s, %s, %u, %p)\n", debugstr_a(lpszServer
), debugstr_a(lpszShareName
), si
, pSD
);
153 return NDDE_NOT_IMPLEMENTED
;
156 /***********************************************************************
157 * NDdeGetTrustedShareA (NDDEAPI.@)
160 UINT WINAPI
NDdeGetTrustedShareA(LPSTR lpszServer
, LPSTR lpszShareName
, LPDWORD lpdwTrustOptions
,
161 LPDWORD lpdwShareModId0
, LPDWORD lpdwShareModId1
)
163 TRACE("(%s, %s, %p, %p, %p)\n", debugstr_a(lpszServer
), debugstr_a(lpszShareName
), lpdwTrustOptions
,
164 lpdwShareModId0
, lpdwShareModId1
);
166 return NDDE_NOT_IMPLEMENTED
;
169 /***********************************************************************
170 * NDdeSetTrustedShareA (NDDEAPI.@)
173 UINT WINAPI
NDdeSetTrustedShareA(LPSTR lpszServer
, LPSTR lpszShareName
, DWORD dwTrustOptions
)
175 TRACE("(%s, %s, 0x%08x)\n", debugstr_a(lpszServer
), debugstr_a(lpszShareName
), dwTrustOptions
);
177 return NDDE_NOT_IMPLEMENTED
;
180 /***********************************************************************
181 * NDdeTrustedShareEnumA (NDDEAPI.@)
184 UINT WINAPI
NDdeTrustedShareEnumA(LPSTR lpszServer
, UINT nLevel
, LPBYTE lpBuffer
, DWORD cBufSize
,
185 LPDWORD lpnEntriesRead
, LPDWORD lpcbTotalAvailable
)
187 TRACE("(%s, %u, %p, %u, %p, %p)\n", debugstr_a(lpszServer
), nLevel
, lpBuffer
, cBufSize
,
188 lpnEntriesRead
, lpcbTotalAvailable
);
190 return NDDE_NOT_IMPLEMENTED
;
193 /***********************************************************************
194 * NDdeShareAddW (NDDEAPI.@)
197 UINT WINAPI
NDdeShareAddW(LPWSTR lpszServer
, UINT nLevel
, PSECURITY_DESCRIPTOR pSD
,
198 LPBYTE lpBuffer
, DWORD cBufSize
)
200 TRACE("(%s, %u, %p, %p, %u)\n", debugstr_w(lpszServer
), nLevel
, pSD
, lpBuffer
, cBufSize
);
202 return NDDE_NOT_IMPLEMENTED
;
205 /***********************************************************************
206 * NDdeShareDelW (NDDEAPI.@)
209 UINT WINAPI
NDdeShareDelW(LPWSTR lpszServer
, LPWSTR lpszShareName
, UINT wReserved
)
211 TRACE("(%s, %s, %u)\n", debugstr_w(lpszServer
), debugstr_w(lpszShareName
), wReserved
);
213 return NDDE_NOT_IMPLEMENTED
;
216 /***********************************************************************
217 * NDdeShareEnumW (NDDEAPI.@)
220 UINT WINAPI
NDdeShareEnumW(LPWSTR lpszServer
, UINT nLevel
, LPBYTE lpBuffer
, DWORD cBufSize
,
221 LPDWORD lpnEntriesRead
, LPDWORD lpcbTotalAvailable
)
223 TRACE("(%s, %u, %p, %u, %p, %p)\n", debugstr_w(lpszServer
), nLevel
, lpBuffer
, cBufSize
,
224 lpnEntriesRead
, lpcbTotalAvailable
);
226 return NDDE_NOT_IMPLEMENTED
;
229 /***********************************************************************
230 * NDdeShareGetInfoW (NDDEAPI.@)
233 UINT WINAPI
NDdeShareGetInfoW(LPWSTR lpszServer
, LPWSTR lpszShareName
, UINT nLevel
, LPBYTE lpBuffer
,
234 DWORD cBufSize
, LPDWORD lpnTotalAvailable
, LPWORD lpnItems
)
236 TRACE("(%s, %s, %u, %p, %u, %p, %p)\n", debugstr_w(lpszServer
), debugstr_w(lpszShareName
), nLevel
,
237 lpBuffer
, cBufSize
, lpnTotalAvailable
, lpnItems
);
239 return NDDE_NOT_IMPLEMENTED
;
242 /***********************************************************************
243 * NDdeShareSetInfoW (NDDEAPI.@)
246 UINT WINAPI
NDdeShareSetInfoW(LPWSTR lpszServer
, LPWSTR lpszShareName
, UINT nLevel
, LPBYTE lpBuffer
,
247 DWORD cBufSize
, WORD sParmNum
)
249 TRACE("(%s, %s, %u, %p, %u, %u)\n", debugstr_w(lpszServer
), debugstr_w(lpszShareName
), nLevel
,
250 lpBuffer
, cBufSize
, sParmNum
);
252 return NDDE_NOT_IMPLEMENTED
;
255 /***********************************************************************
256 * NDdeGetErrorStringW (NDDEAPI.@)
259 UINT WINAPI
NDdeGetErrorStringW(UINT uErrorCode
, LPWSTR lpszErrorString
, DWORD cBufSize
)
261 FIXME("(%u, %p, %d): stub!\n", uErrorCode
, lpszErrorString
, cBufSize
);
263 return NDDE_NOT_IMPLEMENTED
;
266 /***********************************************************************
267 * NDdeIsValidShareNameW (NDDEAPI.@)
270 BOOL WINAPI
NDdeIsValidShareNameW(LPWSTR shareName
)
272 TRACE("(%s)\n", debugstr_w(shareName
));
277 /***********************************************************************
278 * NDdeIsValidAppTopicListW (NDDEAPI.@)
281 BOOL WINAPI
NDdeIsValidAppTopicListW(LPWSTR targetTopic
)
283 TRACE("(%s)\n", debugstr_w(targetTopic
));
288 /***********************************************************************
289 * NDdeGetShareSecurityW (NDDEAPI.@)
292 UINT WINAPI
NDdeGetShareSecurityW(LPWSTR lpszServer
, LPWSTR lpszShareName
, SECURITY_INFORMATION si
,
293 PSECURITY_DESCRIPTOR pSD
, DWORD cbSD
, LPDWORD lpcbsdRequired
)
295 TRACE("(%s, %s, %u, %p, %u, %p)\n", debugstr_w(lpszServer
), debugstr_w(lpszShareName
),
296 si
, pSD
, cbSD
, lpcbsdRequired
);
298 return NDDE_NOT_IMPLEMENTED
;
301 /***********************************************************************
302 * NDdeSetShareSecurityW (NDDEAPI.@)
305 UINT WINAPI
NDdeSetShareSecurityW(LPWSTR lpszServer
, LPWSTR lpszShareName
, SECURITY_INFORMATION si
,
306 PSECURITY_DESCRIPTOR pSD
)
308 TRACE("(%s, %s, %u, %p)\n", debugstr_w(lpszServer
), debugstr_w(lpszShareName
), si
, pSD
);
310 return NDDE_NOT_IMPLEMENTED
;
313 /***********************************************************************
314 * NDdeGetTrustedShareW (NDDEAPI.@)
317 UINT WINAPI
NDdeGetTrustedShareW(LPWSTR lpszServer
, LPWSTR lpszShareName
, LPDWORD lpdwTrustOptions
,
318 LPDWORD lpdwShareModId0
, LPDWORD lpdwShareModId1
)
320 TRACE("(%s, %s, %p, %p, %p)\n", debugstr_w(lpszServer
), debugstr_w(lpszShareName
), lpdwTrustOptions
,
321 lpdwShareModId0
, lpdwShareModId1
);
323 return NDDE_NOT_IMPLEMENTED
;
326 /***********************************************************************
327 * NDdeSetTrustedShareW (NDDEAPI.@)
330 UINT WINAPI
NDdeSetTrustedShareW(LPWSTR lpszServer
, LPWSTR lpszShareName
, DWORD dwTrustOptions
)
332 TRACE("(%s, %s, 0x%08x)\n", debugstr_w(lpszServer
), debugstr_w(lpszShareName
), dwTrustOptions
);
334 return NDDE_NOT_IMPLEMENTED
;
337 /***********************************************************************
338 * NDdeTrustedShareEnumW (NDDEAPI.@)
341 UINT WINAPI
NDdeTrustedShareEnumW(LPWSTR lpszServer
, UINT nLevel
, LPBYTE lpBuffer
, DWORD cBufSize
,
342 LPDWORD lpnEntriesRead
, LPDWORD lpcbTotalAvailable
)
344 TRACE("(%s, %u, %p, %u, %p, %p)\n", debugstr_w(lpszServer
), nLevel
, lpBuffer
, cBufSize
,
345 lpnEntriesRead
, lpcbTotalAvailable
);
347 return NDDE_NOT_IMPLEMENTED
;