ReactOS 0.4.15-dev-7842-g558ab78
dfs.c
Go to the documentation of this file.
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
17
18/* FUNCTIONS *****************************************************************/
19
23 _In_ LPWSTR DfsEntryPath,
24 _In_ LPWSTR ServerName,
25 _In_ LPWSTR PathName,
28{
29#if 0
31
32 TRACE("NetDfsAdd(%s %s %s %s 0x%lx)\n",
33 debugstr_w(DfsEntryPath), debugstr_w(ServerName), debugstr_w(PathName),
35
36 if (DfsEntryPath == NULL ||
37 *DfsEntryPath == UNICODE_NULL ||
38 ServerName == NULL ||
39 *ServerName == UNICODE_NULL ||
40 PathName == NULL ||
41 *PathName == UNICODE_NULL)
43
45 {
46 Status = NetrDfsAdd(DfsEntryPath,
47 ServerName,
48 PathName,
49 Comment,
50 Flags);
51 }
53 {
55 }
57
58 return Status;
59#endif
61 return 0;
62}
63
64
68 _In_ LPWSTR ServerName,
69 _In_ LPWSTR RootShare,
70 _In_ LPWSTR FtDfsName,
73{
75 return 0;
76}
77
78
82 _In_ LPWSTR ServerName,
83 _In_ LPWSTR RootShare,
86{
88 return 0;
89}
90
91
95 _In_ LPWSTR ServerName,
96 _In_ LPWSTR RootShare,
98 _In_ LPWSTR Store)
99{
101 return 0;
102}
103
104
106WINAPI
108 _In_ LPWSTR DfsName,
110 _In_ DWORD PrefMaxLen,
112 _Out_ LPDWORD EntriesRead,
113 _Inout_ LPDWORD ResumeHandle)
114{
116 return 0;
117}
118
119
121WINAPI
123 _In_ LPWSTR DfsEntryPath,
124 _In_opt_ LPWSTR ServerName,
125 _In_opt_ LPWSTR ShareName,
128{
130 return 0;
131}
132
133
135WINAPI
137 _In_ LPWSTR ServerName,
138 _Out_ LPWSTR *DcIpAddress,
141{
143 return 0;
144}
145
146
148WINAPI
150 _In_ LPWSTR DomainName,
152 _Out_ PSECURITY_DESCRIPTOR *ppSecurityDescriptor,
153 _Out_ LPDWORD lpcbSecurityDescriptor)
154{
156 return 0;
157}
158
159
161WINAPI
163 _In_ LPWSTR DfsEntryPath,
164 _In_opt_ LPWSTR ServerName,
165 _In_opt_ LPWSTR ShareName,
168{
170 return 0;
171}
172
173
175WINAPI
177 _In_ LPWSTR DfsEntryPath,
179 _Out_ PSECURITY_DESCRIPTOR *ppSecurityDescriptor,
180 _Out_ LPDWORD lpcbSecurityDescriptor)
181{
183 return 0;
184}
185
186
188WINAPI
192 _Out_ PSECURITY_DESCRIPTOR *ppSecurityDescriptor,
193 _Out_ LPDWORD lpcbSecurityDescriptor)
194{
196 return 0;
197}
198
199
200/* NetDfsManagerGetConfigInfo */
201
202
204WINAPI
206 _In_ LPWSTR ServerName,
208{
210 return 0;
211}
212
213
214/* NetDfsManagerSendSiteInfo */
215
216
218WINAPI
221 _In_ LPWSTR NewPath,
223{
225 return 0;
226}
227
228
230WINAPI
232 _In_ LPWSTR DfsEntryPath,
233 _In_opt_ LPWSTR ServerName,
234 _In_opt_ LPWSTR ShareName)
235{
237 return 0;
238}
239
240
242WINAPI
244 _In_ LPWSTR ServerName,
245 _In_ LPWSTR RootShare,
246 _In_ LPWSTR FtDfsName,
248{
250 return 0;
251}
252
253
255WINAPI
257 _In_ LPWSTR DomainName,
258 _In_ LPWSTR ServerName,
259 _In_ LPWSTR RootShare,
260 _In_ LPWSTR FtDfsName,
262{
264 return 0;
265}
266
267
269WINAPI
271 _In_ LPWSTR ServerName,
272 _In_ LPWSTR RootShare,
274{
276 return 0;
277}
278
279
281WINAPI
284 _In_ LPWSTR NewPath)
285{
287 return 0;
288}
289
290
292WINAPI
294 _In_ LPWSTR DfsEntryPath,
295 _In_opt_ LPWSTR ServerName,
296 _In_opt_ LPWSTR ShareName,
299{
301 return 0;
302}
303
304
306WINAPI
308 _In_ LPWSTR DomainName,
310 _In_ PSECURITY_DESCRIPTOR pSecurityDescriptor)
311{
313 return 0;
314}
315
316
318WINAPI
320 _In_ LPWSTR DfsEntryPath,
321 _In_opt_ LPWSTR ServerName,
322 _In_opt_ LPWSTR ShareName,
325{
327 return 0;
328}
329
330
332WINAPI
334 _In_ LPWSTR DfsEntryPath,
336 _In_ PSECURITY_DESCRIPTOR pSecurityDescriptor)
337{
339 return 0;
340}
341
342
344WINAPI
348 _In_ PSECURITY_DESCRIPTOR pSecurityDescriptor)
349{
351 return 0;
352}
353
354/* EOF */
PRTL_UNICODE_STRING_BUFFER Path
@ Comment
Definition: asmpp.cpp:34
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
Definition: precomp.h:23
#define UNIMPLEMENTED
Definition: debug.h:115
Definition: bufpool.h:45
#define NULL
Definition: types.h:112
#define ERROR_INVALID_PARAMETER
Definition: compat.h:101
NET_API_STATUS WINAPI NetDfsGetFtContainerSecurity(_In_ LPWSTR DomainName, _In_ SECURITY_INFORMATION SecurityInformation, _Out_ PSECURITY_DESCRIPTOR *ppSecurityDescriptor, _Out_ LPDWORD lpcbSecurityDescriptor)
Definition: dfs.c:149
NET_API_STATUS WINAPI NetDfsGetDcAddress(_In_ LPWSTR ServerName, _Out_ LPWSTR *DcIpAddress, _Out_ PBOOLEAN IsRoot, _Out_ PULONG Timeout)
Definition: dfs.c:136
NET_API_STATUS WINAPI NetDfsAddStdRootForced(_In_ LPWSTR ServerName, _In_ LPWSTR RootShare, _In_opt_ LPWSTR Comment, _In_ LPWSTR Store)
Definition: dfs.c:94
NET_API_STATUS WINAPI NetDfsSetInfo(_In_ LPWSTR DfsEntryPath, _In_opt_ LPWSTR ServerName, _In_opt_ LPWSTR ShareName, _In_ DWORD Level, _In_ LPBYTE Buffer)
Definition: dfs.c:319
NET_API_STATUS WINAPI NetDfsGetStdContainerSecurity(_In_ LPWSTR MachineName, _In_ SECURITY_INFORMATION SecurityInformation, _Out_ PSECURITY_DESCRIPTOR *ppSecurityDescriptor, _Out_ LPDWORD lpcbSecurityDescriptor)
Definition: dfs.c:189
NET_API_STATUS WINAPI NetDfsAdd(_In_ LPWSTR DfsEntryPath, _In_ LPWSTR ServerName, _In_ LPWSTR PathName, _In_opt_ LPWSTR Comment, _In_ DWORD Flags)
Definition: dfs.c:22
NET_API_STATUS WINAPI NetDfsGetClientInfo(_In_ LPWSTR DfsEntryPath, _In_opt_ LPWSTR ServerName, _In_opt_ LPWSTR ShareName, _In_ DWORD Level, _Out_ LPBYTE *Buffer)
Definition: dfs.c:122
NET_API_STATUS WINAPI NetDfsRemoveFtRootForced(_In_ LPWSTR DomainName, _In_ LPWSTR ServerName, _In_ LPWSTR RootShare, _In_ LPWSTR FtDfsName, _Reserved_ DWORD Flags)
Definition: dfs.c:256
NET_API_STATUS WINAPI NetDfsGetSecurity(_In_ LPWSTR DfsEntryPath, _In_ SECURITY_INFORMATION SecurityInformation, _Out_ PSECURITY_DESCRIPTOR *ppSecurityDescriptor, _Out_ LPDWORD lpcbSecurityDescriptor)
Definition: dfs.c:176
NET_API_STATUS WINAPI NetDfsRemoveFtRoot(_In_ LPWSTR ServerName, _In_ LPWSTR RootShare, _In_ LPWSTR FtDfsName, _Reserved_ DWORD Flags)
Definition: dfs.c:243
NET_API_STATUS WINAPI NetDfsRemoveStdRoot(_In_ LPWSTR ServerName, _In_ LPWSTR RootShare, _In_ DWORD Flags)
Definition: dfs.c:270
NET_API_STATUS WINAPI NetDfsSetStdContainerSecurity(_In_ LPWSTR MachineName, _In_ SECURITY_INFORMATION SecurityInformation, _In_ PSECURITY_DESCRIPTOR pSecurityDescriptor)
Definition: dfs.c:345
NET_API_STATUS WINAPI NetDfsRemove(_In_ LPWSTR DfsEntryPath, _In_opt_ LPWSTR ServerName, _In_opt_ LPWSTR ShareName)
Definition: dfs.c:231
NET_API_STATUS WINAPI NetDfsAddStdRoot(_In_ LPWSTR ServerName, _In_ LPWSTR RootShare, _In_opt_ LPWSTR Comment, _In_ DWORD Flags)
Definition: dfs.c:81
NET_API_STATUS WINAPI NetDfsRename(_In_ LPWSTR Path, _In_ LPWSTR NewPath)
Definition: dfs.c:282
NET_API_STATUS WINAPI NetDfsSetSecurity(_In_ LPWSTR DfsEntryPath, _In_ SECURITY_INFORMATION SecurityInformation, _In_ PSECURITY_DESCRIPTOR pSecurityDescriptor)
Definition: dfs.c:333
NET_API_STATUS WINAPI NetDfsEnum(_In_ LPWSTR DfsName, _In_ DWORD Level, _In_ DWORD PrefMaxLen, _Out_ LPBYTE *Buffer, _Out_ LPDWORD EntriesRead, _Inout_ LPDWORD ResumeHandle)
Definition: dfs.c:107
NET_API_STATUS WINAPI NetDfsMove(_In_ LPWSTR Path, _In_ LPWSTR NewPath, _In_ ULONG Flags)
Definition: dfs.c:219
NET_API_STATUS WINAPI NetDfsGetInfo(_In_ LPWSTR DfsEntryPath, _In_opt_ LPWSTR ServerName, _In_opt_ LPWSTR ShareName, _In_ DWORD Level, _Out_ LPBYTE *Buffer)
Definition: dfs.c:162
NET_API_STATUS WINAPI NetDfsSetFtContainerSecurity(_In_ LPWSTR DomainName, _In_ SECURITY_INFORMATION SecurityInformation, _In_ PSECURITY_DESCRIPTOR pSecurityDescriptor)
Definition: dfs.c:307
NET_API_STATUS WINAPI NetDfsManagerInitialize(_In_ LPWSTR ServerName, _Reserved_ DWORD Flags)
Definition: dfs.c:205
NET_API_STATUS WINAPI NetDfsSetClientInfo(_In_ LPWSTR DfsEntryPath, _In_opt_ LPWSTR ServerName, _In_opt_ LPWSTR ShareName, _In_ DWORD Level, _In_ LPBYTE Buffer)
Definition: dfs.c:293
NET_API_STATUS WINAPI NetDfsAddFtRoot(_In_ LPWSTR ServerName, _In_ LPWSTR RootShare, _In_ LPWSTR FtDfsName, _In_opt_ LPWSTR Comment, _In_ DWORD Flags)
Definition: dfs.c:67
#define IsRoot(Fcb)
Definition: ext2fs.h:287
unsigned long DWORD
Definition: ntddk_ex.h:95
_Must_inspect_result_ _In_ PFILE_OBJECT _In_ SECURITY_INFORMATION SecurityInformation
Definition: fltkernel.h:1340
Status
Definition: gdiplustypes.h:25
#define EXCEPTION_EXECUTE_HANDLER
Definition: excpt.h:85
#define debugstr_w
Definition: kernel32.h:32
DWORD SECURITY_INFORMATION
Definition: ms-dtyp.idl:311
DWORD NET_API_STATUS
Definition: ms-dtyp.idl:91
#define _Inout_
Definition: ms_sal.h:378
#define _Out_
Definition: ms_sal.h:345
#define _In_
Definition: ms_sal.h:308
#define _In_opt_
Definition: ms_sal.h:309
#define _Reserved_
Definition: ms_sal.h:295
#define UNICODE_NULL
static ULONG Timeout
Definition: ping.c:61
LONG WINAPI I_RpcMapWin32Status(RPC_STATUS status)
Definition: rpcrt4_main.c:740
#define RpcEndExcept
Definition: rpc.h:128
#define RpcTryExcept
Definition: rpc.h:126
#define RpcExcept(expr)
Definition: rpc.h:127
#define RpcExceptionCode()
Definition: rpc.h:132
_In_ DWORD _Out_ PDWORD _In_opt_ PCSTR MachineName
Definition: setupapi.h:1293
#define TRACE(s)
Definition: solgame.cpp:4
uint32_t * PULONG
Definition: typedefs.h:59
unsigned char * PBOOLEAN
Definition: typedefs.h:53
unsigned char * LPBYTE
Definition: typedefs.h:53
uint32_t * LPDWORD
Definition: typedefs.h:59
uint32_t ULONG
Definition: typedefs.h:59
#define WINAPI
Definition: msvc.h:6
_IRQL_requires_same_ typedef _In_ ULONG _In_ UCHAR Level
Definition: wmitypes.h:56
_Must_inspect_result_ _In_ ULONG Flags
Definition: wsk.h:170
WCHAR * LPWSTR
Definition: xmlstorage.h:184