[NETAPI32] Do not try to set usriX_max_storage. Just ignore it.
[reactos.git] / dll / win32 / netapi32 / dfs.c
1 /*
2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: NetAPI DLL
4 * FILE: reactos/dll/win32/netapi32/dfs.c
5 * PURPOSE: Distributed File System Service interface code
6 * PROGRAMMERS: Eric Kohl
7 */
8
9 /* INCLUDES ******************************************************************/
10
11 #include "netapi32.h"
12
13 #include <rpc.h>
14 #include "netdfs_c.h"
15
16 WINE_DEFAULT_DEBUG_CHANNEL(netapi32);
17
18 /* FUNCTIONS *****************************************************************/
19
20 NET_API_STATUS
21 WINAPI
22 NetDfsAdd(
23 _In_ LPWSTR DfsEntryPath,
24 _In_ LPWSTR ServerName,
25 _In_ LPWSTR PathName,
26 _In_opt_ LPWSTR Comment,
27 _In_ DWORD Flags)
28 {
29 #if 0
30 NET_API_STATUS Status;
31
32 TRACE("NetDfsAdd(%s %s %s %s 0x%lx)\n",
33 debugstr_w(DfsEntryPath), debugstr_w(ServerName), debugstr_w(PathName),
34 debugstr_w(Comment), Flags);
35
36 if (DfsEntryPath == NULL ||
37 *DfsEntryPath == UNICODE_NULL ||
38 ServerName == NULL ||
39 *ServerName == UNICODE_NULL ||
40 PathName == NULL ||
41 *PathName == UNICODE_NULL)
42 return ERROR_INVALID_PARAMETER;
43
44 RpcTryExcept
45 {
46 Status = NetrDfsAdd(DfsEntryPath,
47 ServerName,
48 PathName,
49 Comment,
50 Flags);
51 }
52 RpcExcept(EXCEPTION_EXECUTE_HANDLER)
53 {
54 Status = I_RpcMapWin32Status(RpcExceptionCode());
55 }
56 RpcEndExcept;
57
58 return Status;
59 #endif
60 UNIMPLEMENTED;
61 return 0;
62 }
63
64
65 NET_API_STATUS
66 WINAPI
67 NetDfsAddFtRoot(
68 _In_ LPWSTR ServerName,
69 _In_ LPWSTR RootShare,
70 _In_ LPWSTR FtDfsName,
71 _In_opt_ LPWSTR Comment,
72 _In_ DWORD Flags)
73 {
74 UNIMPLEMENTED;
75 return 0;
76 }
77
78
79 NET_API_STATUS
80 WINAPI
81 NetDfsAddStdRoot(
82 _In_ LPWSTR ServerName,
83 _In_ LPWSTR RootShare,
84 _In_opt_ LPWSTR Comment,
85 _In_ DWORD Flags)
86 {
87 UNIMPLEMENTED;
88 return 0;
89 }
90
91
92 NET_API_STATUS
93 WINAPI
94 NetDfsAddStdRootForced(
95 _In_ LPWSTR ServerName,
96 _In_ LPWSTR RootShare,
97 _In_opt_ LPWSTR Comment,
98 _In_ LPWSTR Store)
99 {
100 UNIMPLEMENTED;
101 return 0;
102 }
103
104
105 NET_API_STATUS
106 WINAPI
107 NetDfsEnum(
108 _In_ LPWSTR DfsName,
109 _In_ DWORD Level,
110 _In_ DWORD PrefMaxLen,
111 _Out_ LPBYTE *Buffer,
112 _Out_ LPDWORD EntriesRead,
113 _Inout_ LPDWORD ResumeHandle)
114 {
115 UNIMPLEMENTED;
116 return 0;
117 }
118
119
120 NET_API_STATUS
121 WINAPI
122 NetDfsGetClientInfo(
123 _In_ LPWSTR DfsEntryPath,
124 _In_opt_ LPWSTR ServerName,
125 _In_opt_ LPWSTR ShareName,
126 _In_ DWORD Level,
127 _Out_ LPBYTE *Buffer)
128 {
129 UNIMPLEMENTED;
130 return 0;
131 }
132
133
134 NET_API_STATUS
135 WINAPI
136 NetDfsGetDcAddress(
137 _In_ LPWSTR ServerName,
138 _Out_ LPWSTR *DcIpAddress,
139 _Out_ PBOOLEAN IsRoot,
140 _Out_ PULONG Timeout)
141 {
142 UNIMPLEMENTED;
143 return 0;
144 }
145
146
147 NET_API_STATUS
148 WINAPI
149 NetDfsGetFtContainerSecurity(
150 _In_ LPWSTR DomainName,
151 _In_ SECURITY_INFORMATION SecurityInformation,
152 _Out_ PSECURITY_DESCRIPTOR *ppSecurityDescriptor,
153 _Out_ LPDWORD lpcbSecurityDescriptor)
154 {
155 UNIMPLEMENTED;
156 return 0;
157 }
158
159
160 NET_API_STATUS
161 WINAPI
162 NetDfsGetInfo(
163 _In_ LPWSTR DfsEntryPath,
164 _In_opt_ LPWSTR ServerName,
165 _In_opt_ LPWSTR ShareName,
166 _In_ DWORD Level,
167 _Out_ LPBYTE *Buffer)
168 {
169 UNIMPLEMENTED;
170 return 0;
171 }
172
173
174 NET_API_STATUS
175 WINAPI
176 NetDfsGetSecurity(
177 _In_ LPWSTR DfsEntryPath,
178 _In_ SECURITY_INFORMATION SecurityInformation,
179 _Out_ PSECURITY_DESCRIPTOR *ppSecurityDescriptor,
180 _Out_ LPDWORD lpcbSecurityDescriptor)
181 {
182 UNIMPLEMENTED;
183 return 0;
184 }
185
186
187 NET_API_STATUS
188 WINAPI
189 NetDfsGetStdContainerSecurity(
190 _In_ LPWSTR MachineName,
191 _In_ SECURITY_INFORMATION SecurityInformation,
192 _Out_ PSECURITY_DESCRIPTOR *ppSecurityDescriptor,
193 _Out_ LPDWORD lpcbSecurityDescriptor)
194 {
195 UNIMPLEMENTED;
196 return 0;
197 }
198
199
200 /* NetDfsManagerGetConfigInfo */
201
202
203 NET_API_STATUS
204 WINAPI
205 NetDfsManagerInitialize(
206 _In_ LPWSTR ServerName,
207 _Reserved_ DWORD Flags)
208 {
209 UNIMPLEMENTED;
210 return 0;
211 }
212
213
214 /* NetDfsManagerSendSiteInfo */
215
216
217 NET_API_STATUS
218 WINAPI
219 NetDfsMove(
220 _In_ LPWSTR Path,
221 _In_ LPWSTR NewPath,
222 _In_ ULONG Flags)
223 {
224 UNIMPLEMENTED;
225 return 0;
226 }
227
228
229 NET_API_STATUS
230 WINAPI
231 NetDfsRemove(
232 _In_ LPWSTR DfsEntryPath,
233 _In_opt_ LPWSTR ServerName,
234 _In_opt_ LPWSTR ShareName)
235 {
236 UNIMPLEMENTED;
237 return 0;
238 }
239
240
241 NET_API_STATUS
242 WINAPI
243 NetDfsRemoveFtRoot(
244 _In_ LPWSTR ServerName,
245 _In_ LPWSTR RootShare,
246 _In_ LPWSTR FtDfsName,
247 _Reserved_ DWORD Flags)
248 {
249 UNIMPLEMENTED;
250 return 0;
251 }
252
253
254 NET_API_STATUS
255 WINAPI
256 NetDfsRemoveFtRootForced(
257 _In_ LPWSTR DomainName,
258 _In_ LPWSTR ServerName,
259 _In_ LPWSTR RootShare,
260 _In_ LPWSTR FtDfsName,
261 _Reserved_ DWORD Flags)
262 {
263 UNIMPLEMENTED;
264 return 0;
265 }
266
267
268 NET_API_STATUS
269 WINAPI
270 NetDfsRemoveStdRoot(
271 _In_ LPWSTR ServerName,
272 _In_ LPWSTR RootShare,
273 _In_ DWORD Flags)
274 {
275 UNIMPLEMENTED;
276 return 0;
277 }
278
279
280 NET_API_STATUS
281 WINAPI
282 NetDfsRename(
283 _In_ LPWSTR Path,
284 _In_ LPWSTR NewPath)
285 {
286 UNIMPLEMENTED;
287 return 0;
288 }
289
290
291 NET_API_STATUS
292 WINAPI
293 NetDfsSetClientInfo(
294 _In_ LPWSTR DfsEntryPath,
295 _In_opt_ LPWSTR ServerName,
296 _In_opt_ LPWSTR ShareName,
297 _In_ DWORD Level,
298 _In_ LPBYTE Buffer)
299 {
300 UNIMPLEMENTED;
301 return 0;
302 }
303
304
305 NET_API_STATUS
306 WINAPI
307 NetDfsSetFtContainerSecurity(
308 _In_ LPWSTR DomainName,
309 _In_ SECURITY_INFORMATION SecurityInformation,
310 _In_ PSECURITY_DESCRIPTOR pSecurityDescriptor)
311 {
312 UNIMPLEMENTED;
313 return 0;
314 }
315
316
317 NET_API_STATUS
318 WINAPI
319 NetDfsSetInfo(
320 _In_ LPWSTR DfsEntryPath,
321 _In_opt_ LPWSTR ServerName,
322 _In_opt_ LPWSTR ShareName,
323 _In_ DWORD Level,
324 _In_ LPBYTE Buffer)
325 {
326 UNIMPLEMENTED;
327 return 0;
328 }
329
330
331 NET_API_STATUS
332 WINAPI
333 NetDfsSetSecurity(
334 _In_ LPWSTR DfsEntryPath,
335 _In_ SECURITY_INFORMATION SecurityInformation,
336 _In_ PSECURITY_DESCRIPTOR pSecurityDescriptor)
337 {
338 UNIMPLEMENTED;
339 return 0;
340 }
341
342
343 NET_API_STATUS
344 WINAPI
345 NetDfsSetStdContainerSecurity(
346 _In_ LPWSTR MachineName,
347 _In_ SECURITY_INFORMATION SecurityInformation,
348 _In_ PSECURITY_DESCRIPTOR pSecurityDescriptor)
349 {
350 UNIMPLEMENTED;
351 return 0;
352 }
353
354 /* EOF */