Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygennddeapi.c
Go to the documentation of this file.
00001 /* 00002 * nddeapi main 00003 * 00004 * Copyright 2006 Benjamin Arai (Google) 00005 * 00006 * This library is free software; you can redistribute it and/or 00007 * modify it under the terms of the GNU Lesser General Public 00008 * License as published by the Free Software Foundation; either 00009 * version 2.1 of the License, or (at your option) any later version. 00010 * 00011 * This library is distributed in the hope that it will be useful, 00012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00014 * Lesser General Public License for more details. 00015 * 00016 * You should have received a copy of the GNU Lesser General Public 00017 * License along with this library; if not, write to the Free Software 00018 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA 00019 */ 00020 00021 #include <stdarg.h> 00022 00023 #include "windef.h" 00024 #include "winbase.h" 00025 #include "wine/debug.h" 00026 00027 WINE_DEFAULT_DEBUG_CHANNEL(nddeapi); 00028 00029 /* Network DDE functionality was removed in Windows Vista, so the functions are silent stubs. 00030 * Since the corresponding header is no longer available in the Windows SDK, a required definition 00031 * is replicated here. */ 00032 #define NDDE_NOT_IMPLEMENTED 14 00033 00034 /*********************************************************************** 00035 * NDdeShareAddA (NDDEAPI.@) 00036 * 00037 */ 00038 UINT WINAPI NDdeShareAddA(LPSTR lpszServer, UINT nLevel, PSECURITY_DESCRIPTOR pSD, 00039 LPBYTE lpBuffer, DWORD cBufSize) 00040 { 00041 TRACE("(%s, %u, %p, %p, %u)\n", debugstr_a(lpszServer), nLevel, pSD, lpBuffer, cBufSize); 00042 00043 return NDDE_NOT_IMPLEMENTED; 00044 } 00045 00046 /*********************************************************************** 00047 * NDdeShareDelA (NDDEAPI.@) 00048 * 00049 */ 00050 UINT WINAPI NDdeShareDelA(LPSTR lpszServer, LPSTR lpszShareName, UINT wReserved) 00051 { 00052 TRACE("(%s, %s, %u)\n", debugstr_a(lpszServer), debugstr_a(lpszShareName), wReserved); 00053 00054 return NDDE_NOT_IMPLEMENTED; 00055 } 00056 00057 /*********************************************************************** 00058 * NDdeShareEnumA (NDDEAPI.@) 00059 * 00060 */ 00061 UINT WINAPI NDdeShareEnumA(LPSTR lpszServer, UINT nLevel, LPBYTE lpBuffer, DWORD cBufSize, 00062 LPDWORD lpnEntriesRead, LPDWORD lpcbTotalAvailable) 00063 { 00064 TRACE("(%s, %u, %p, %u, %p, %p)\n", debugstr_a(lpszServer), nLevel, lpBuffer, cBufSize, 00065 lpnEntriesRead, lpcbTotalAvailable); 00066 00067 return NDDE_NOT_IMPLEMENTED; 00068 } 00069 00070 /*********************************************************************** 00071 * NDdeShareGetInfoA (NDDEAPI.@) 00072 * 00073 */ 00074 UINT WINAPI NDdeShareGetInfoA(LPSTR lpszServer, LPSTR lpszShareName, UINT nLevel, LPBYTE lpBuffer, 00075 DWORD cBufSize, LPDWORD lpnTotalAvailable, LPWORD lpnItems) 00076 { 00077 TRACE("(%s, %s, %u, %p, %u, %p, %p)\n", debugstr_a(lpszServer), debugstr_a(lpszShareName), nLevel, 00078 lpBuffer, cBufSize, lpnTotalAvailable, lpnItems); 00079 00080 return NDDE_NOT_IMPLEMENTED; 00081 } 00082 00083 /*********************************************************************** 00084 * NDdeShareSetInfoA (NDDEAPI.@) 00085 * 00086 */ 00087 UINT WINAPI NDdeShareSetInfoA(LPSTR lpszServer, LPSTR lpszShareName, UINT nLevel, LPBYTE lpBuffer, 00088 DWORD cBufSize, WORD sParmNum) 00089 { 00090 TRACE("(%s, %s, %u, %p, %u, %u)\n", debugstr_a(lpszServer), debugstr_a(lpszShareName), nLevel, 00091 lpBuffer, cBufSize, sParmNum); 00092 00093 return NDDE_NOT_IMPLEMENTED; 00094 } 00095 00096 /*********************************************************************** 00097 * NDdeGetErrorStringA (NDDEAPI.@) 00098 * 00099 */ 00100 UINT WINAPI NDdeGetErrorStringA(UINT uErrorCode, LPSTR lpszErrorString, DWORD cBufSize) 00101 { 00102 TRACE("(%u, %p, %d)\n", uErrorCode, lpszErrorString, cBufSize); 00103 00104 return NDDE_NOT_IMPLEMENTED; 00105 } 00106 00107 /*********************************************************************** 00108 * NDdeIsValidShareNameA (NDDEAPI.@) 00109 * 00110 */ 00111 BOOL WINAPI NDdeIsValidShareNameA(LPSTR shareName) 00112 { 00113 TRACE("(%s)\n", debugstr_a(shareName)); 00114 00115 return FALSE; 00116 } 00117 00118 /*********************************************************************** 00119 * NDdeIsValidAppTopicListA (NDDEAPI.@) 00120 * 00121 */ 00122 BOOL WINAPI NDdeIsValidAppTopicListA(LPSTR targetTopic) 00123 { 00124 TRACE("(%s)\n", debugstr_a(targetTopic)); 00125 00126 return FALSE; 00127 } 00128 00129 /*********************************************************************** 00130 * NDdeGetShareSecurityA (NDDEAPI.@) 00131 * 00132 */ 00133 UINT WINAPI NDdeGetShareSecurityA(LPSTR lpszServer, LPSTR lpszShareName, SECURITY_INFORMATION si, 00134 PSECURITY_DESCRIPTOR pSD, DWORD cbSD, LPDWORD lpcbsdRequired) 00135 { 00136 TRACE("(%s, %s, %u, %p, %u, %p)\n", debugstr_a(lpszServer), debugstr_a(lpszShareName), 00137 si, pSD, cbSD, lpcbsdRequired); 00138 00139 return NDDE_NOT_IMPLEMENTED; 00140 } 00141 00142 /*********************************************************************** 00143 * NDdeSetShareSecurityA (NDDEAPI.@) 00144 * 00145 */ 00146 UINT WINAPI NDdeSetShareSecurityA(LPSTR lpszServer, LPSTR lpszShareName, SECURITY_INFORMATION si, 00147 PSECURITY_DESCRIPTOR pSD) 00148 { 00149 TRACE("(%s, %s, %u, %p)\n", debugstr_a(lpszServer), debugstr_a(lpszShareName), si, pSD); 00150 00151 return NDDE_NOT_IMPLEMENTED; 00152 } 00153 00154 /*********************************************************************** 00155 * NDdeGetTrustedShareA (NDDEAPI.@) 00156 * 00157 */ 00158 UINT WINAPI NDdeGetTrustedShareA(LPSTR lpszServer, LPSTR lpszShareName, LPDWORD lpdwTrustOptions, 00159 LPDWORD lpdwShareModId0, LPDWORD lpdwShareModId1) 00160 { 00161 TRACE("(%s, %s, %p, %p, %p)\n", debugstr_a(lpszServer), debugstr_a(lpszShareName), lpdwTrustOptions, 00162 lpdwShareModId0, lpdwShareModId1); 00163 00164 return NDDE_NOT_IMPLEMENTED; 00165 } 00166 00167 /*********************************************************************** 00168 * NDdeSetTrustedShareA (NDDEAPI.@) 00169 * 00170 */ 00171 UINT WINAPI NDdeSetTrustedShareA(LPSTR lpszServer, LPSTR lpszShareName, DWORD dwTrustOptions) 00172 { 00173 TRACE("(%s, %s, 0x%08x)\n", debugstr_a(lpszServer), debugstr_a(lpszShareName), dwTrustOptions); 00174 00175 return NDDE_NOT_IMPLEMENTED; 00176 } 00177 00178 /*********************************************************************** 00179 * NDdeTrustedShareEnumA (NDDEAPI.@) 00180 * 00181 */ 00182 UINT WINAPI NDdeTrustedShareEnumA(LPSTR lpszServer, UINT nLevel, LPBYTE lpBuffer, DWORD cBufSize, 00183 LPDWORD lpnEntriesRead, LPDWORD lpcbTotalAvailable) 00184 { 00185 TRACE("(%s, %u, %p, %u, %p, %p)\n", debugstr_a(lpszServer), nLevel, lpBuffer, cBufSize, 00186 lpnEntriesRead, lpcbTotalAvailable); 00187 00188 return NDDE_NOT_IMPLEMENTED; 00189 } 00190 00191 /*********************************************************************** 00192 * NDdeShareAddW (NDDEAPI.@) 00193 * 00194 */ 00195 UINT WINAPI NDdeShareAddW(LPWSTR lpszServer, UINT nLevel, PSECURITY_DESCRIPTOR pSD, 00196 LPBYTE lpBuffer, DWORD cBufSize) 00197 { 00198 TRACE("(%s, %u, %p, %p, %u)\n", debugstr_w(lpszServer), nLevel, pSD, lpBuffer, cBufSize); 00199 00200 return NDDE_NOT_IMPLEMENTED; 00201 } 00202 00203 /*********************************************************************** 00204 * NDdeShareDelW (NDDEAPI.@) 00205 * 00206 */ 00207 UINT WINAPI NDdeShareDelW(LPWSTR lpszServer, LPWSTR lpszShareName, UINT wReserved) 00208 { 00209 TRACE("(%s, %s, %u)\n", debugstr_w(lpszServer), debugstr_w(lpszShareName), wReserved); 00210 00211 return NDDE_NOT_IMPLEMENTED; 00212 } 00213 00214 /*********************************************************************** 00215 * NDdeShareEnumW (NDDEAPI.@) 00216 * 00217 */ 00218 UINT WINAPI NDdeShareEnumW(LPWSTR lpszServer, UINT nLevel, LPBYTE lpBuffer, DWORD cBufSize, 00219 LPDWORD lpnEntriesRead, LPDWORD lpcbTotalAvailable) 00220 { 00221 TRACE("(%s, %u, %p, %u, %p, %p)\n", debugstr_w(lpszServer), nLevel, lpBuffer, cBufSize, 00222 lpnEntriesRead, lpcbTotalAvailable); 00223 00224 return NDDE_NOT_IMPLEMENTED; 00225 } 00226 00227 /*********************************************************************** 00228 * NDdeShareGetInfoW (NDDEAPI.@) 00229 * 00230 */ 00231 UINT WINAPI NDdeShareGetInfoW(LPWSTR lpszServer, LPWSTR lpszShareName, UINT nLevel, LPBYTE lpBuffer, 00232 DWORD cBufSize, LPDWORD lpnTotalAvailable, LPWORD lpnItems) 00233 { 00234 TRACE("(%s, %s, %u, %p, %u, %p, %p)\n", debugstr_w(lpszServer), debugstr_w(lpszShareName), nLevel, 00235 lpBuffer, cBufSize, lpnTotalAvailable, lpnItems); 00236 00237 return NDDE_NOT_IMPLEMENTED; 00238 } 00239 00240 /*********************************************************************** 00241 * NDdeShareSetInfoW (NDDEAPI.@) 00242 * 00243 */ 00244 UINT WINAPI NDdeShareSetInfoW(LPWSTR lpszServer, LPWSTR lpszShareName, UINT nLevel, LPBYTE lpBuffer, 00245 DWORD cBufSize, WORD sParmNum) 00246 { 00247 TRACE("(%s, %s, %u, %p, %u, %u)\n", debugstr_w(lpszServer), debugstr_w(lpszShareName), nLevel, 00248 lpBuffer, cBufSize, sParmNum); 00249 00250 return NDDE_NOT_IMPLEMENTED; 00251 } 00252 00253 /*********************************************************************** 00254 * NDdeGetErrorStringW (NDDEAPI.@) 00255 * 00256 */ 00257 UINT WINAPI NDdeGetErrorStringW(UINT uErrorCode, LPWSTR lpszErrorString, DWORD cBufSize) 00258 { 00259 FIXME("(%u, %p, %d): stub!\n", uErrorCode, lpszErrorString, cBufSize); 00260 00261 return NDDE_NOT_IMPLEMENTED; 00262 } 00263 00264 /*********************************************************************** 00265 * NDdeIsValidShareNameW (NDDEAPI.@) 00266 * 00267 */ 00268 BOOL WINAPI NDdeIsValidShareNameW(LPWSTR shareName) 00269 { 00270 TRACE("(%s)\n", debugstr_w(shareName)); 00271 00272 return FALSE; 00273 } 00274 00275 /*********************************************************************** 00276 * NDdeIsValidAppTopicListW (NDDEAPI.@) 00277 * 00278 */ 00279 BOOL WINAPI NDdeIsValidAppTopicListW(LPWSTR targetTopic) 00280 { 00281 TRACE("(%s)\n", debugstr_w(targetTopic)); 00282 00283 return FALSE; 00284 } 00285 00286 /*********************************************************************** 00287 * NDdeGetShareSecurityW (NDDEAPI.@) 00288 * 00289 */ 00290 UINT WINAPI NDdeGetShareSecurityW(LPWSTR lpszServer, LPWSTR lpszShareName, SECURITY_INFORMATION si, 00291 PSECURITY_DESCRIPTOR pSD, DWORD cbSD, LPDWORD lpcbsdRequired) 00292 { 00293 TRACE("(%s, %s, %u, %p, %u, %p)\n", debugstr_w(lpszServer), debugstr_w(lpszShareName), 00294 si, pSD, cbSD, lpcbsdRequired); 00295 00296 return NDDE_NOT_IMPLEMENTED; 00297 } 00298 00299 /*********************************************************************** 00300 * NDdeSetShareSecurityW (NDDEAPI.@) 00301 * 00302 */ 00303 UINT WINAPI NDdeSetShareSecurityW(LPWSTR lpszServer, LPWSTR lpszShareName, SECURITY_INFORMATION si, 00304 PSECURITY_DESCRIPTOR pSD) 00305 { 00306 TRACE("(%s, %s, %u, %p)\n", debugstr_w(lpszServer), debugstr_w(lpszShareName), si, pSD); 00307 00308 return NDDE_NOT_IMPLEMENTED; 00309 } 00310 00311 /*********************************************************************** 00312 * NDdeGetTrustedShareW (NDDEAPI.@) 00313 * 00314 */ 00315 UINT WINAPI NDdeGetTrustedShareW(LPWSTR lpszServer, LPWSTR lpszShareName, LPDWORD lpdwTrustOptions, 00316 LPDWORD lpdwShareModId0, LPDWORD lpdwShareModId1) 00317 { 00318 TRACE("(%s, %s, %p, %p, %p)\n", debugstr_w(lpszServer), debugstr_w(lpszShareName), lpdwTrustOptions, 00319 lpdwShareModId0, lpdwShareModId1); 00320 00321 return NDDE_NOT_IMPLEMENTED; 00322 } 00323 00324 /*********************************************************************** 00325 * NDdeSetTrustedShareW (NDDEAPI.@) 00326 * 00327 */ 00328 UINT WINAPI NDdeSetTrustedShareW(LPWSTR lpszServer, LPWSTR lpszShareName, DWORD dwTrustOptions) 00329 { 00330 TRACE("(%s, %s, 0x%08x)\n", debugstr_w(lpszServer), debugstr_w(lpszShareName), dwTrustOptions); 00331 00332 return NDDE_NOT_IMPLEMENTED; 00333 } 00334 00335 /*********************************************************************** 00336 * NDdeTrustedShareEnumW (NDDEAPI.@) 00337 * 00338 */ 00339 UINT WINAPI NDdeTrustedShareEnumW(LPWSTR lpszServer, UINT nLevel, LPBYTE lpBuffer, DWORD cBufSize, 00340 LPDWORD lpnEntriesRead, LPDWORD lpcbTotalAvailable) 00341 { 00342 TRACE("(%s, %u, %p, %u, %p, %p)\n", debugstr_w(lpszServer), nLevel, lpBuffer, cBufSize, 00343 lpnEntriesRead, lpcbTotalAvailable); 00344 00345 return NDDE_NOT_IMPLEMENTED; 00346 } Generated on Sun May 27 2012 04:25:27 for ReactOS by
1.7.6.1
|