ReactOS  0.4.13-dev-66-gc714b7f
dfs.c File Reference
#include "netapi32.h"
#include <rpc.h>
#include "netdfs_c.h"
Include dependency graph for dfs.c:

Go to the source code of this file.

Functions

 WINE_DEFAULT_DEBUG_CHANNEL (netapi32)
 
NET_API_STATUS WINAPI NetDfsAdd (_In_ LPWSTR DfsEntryPath, _In_ LPWSTR ServerName, _In_ LPWSTR PathName, _In_opt_ LPWSTR Comment, _In_ DWORD Flags)
 
NET_API_STATUS WINAPI NetDfsAddFtRoot (_In_ LPWSTR ServerName, _In_ LPWSTR RootShare, _In_ LPWSTR FtDfsName, _In_opt_ LPWSTR Comment, _In_ DWORD Flags)
 
NET_API_STATUS WINAPI NetDfsAddStdRoot (_In_ LPWSTR ServerName, _In_ LPWSTR RootShare, _In_opt_ LPWSTR Comment, _In_ DWORD Flags)
 
NET_API_STATUS WINAPI NetDfsAddStdRootForced (_In_ LPWSTR ServerName, _In_ LPWSTR RootShare, _In_opt_ LPWSTR Comment, _In_ LPWSTR Store)
 
NET_API_STATUS WINAPI NetDfsEnum (_In_ LPWSTR DfsName, _In_ DWORD Level, _In_ DWORD PrefMaxLen, _Out_ LPBYTE *Buffer, _Out_ LPDWORD EntriesRead, _Inout_ LPDWORD ResumeHandle)
 
NET_API_STATUS WINAPI NetDfsGetClientInfo (_In_ LPWSTR DfsEntryPath, _In_opt_ LPWSTR ServerName, _In_opt_ LPWSTR ShareName, _In_ DWORD Level, _Out_ LPBYTE *Buffer)
 
NET_API_STATUS WINAPI NetDfsGetDcAddress (_In_ LPWSTR ServerName, _Out_ LPWSTR *DcIpAddress, _Out_ PBOOLEAN IsRoot, _Out_ PULONG Timeout)
 
NET_API_STATUS WINAPI NetDfsGetFtContainerSecurity (_In_ LPWSTR DomainName, _In_ SECURITY_INFORMATION SecurityInformation, _Out_ PSECURITY_DESCRIPTOR *ppSecurityDescriptor, _Out_ LPDWORD lpcbSecurityDescriptor)
 
NET_API_STATUS WINAPI NetDfsGetInfo (_In_ LPWSTR DfsEntryPath, _In_opt_ LPWSTR ServerName, _In_opt_ LPWSTR ShareName, _In_ DWORD Level, _Out_ LPBYTE *Buffer)
 
NET_API_STATUS WINAPI NetDfsGetSecurity (_In_ LPWSTR DfsEntryPath, _In_ SECURITY_INFORMATION SecurityInformation, _Out_ PSECURITY_DESCRIPTOR *ppSecurityDescriptor, _Out_ LPDWORD lpcbSecurityDescriptor)
 
NET_API_STATUS WINAPI NetDfsGetStdContainerSecurity (_In_ LPWSTR MachineName, _In_ SECURITY_INFORMATION SecurityInformation, _Out_ PSECURITY_DESCRIPTOR *ppSecurityDescriptor, _Out_ LPDWORD lpcbSecurityDescriptor)
 
NET_API_STATUS WINAPI NetDfsManagerInitialize (_In_ LPWSTR ServerName, _Reserved_ DWORD Flags)
 
NET_API_STATUS WINAPI NetDfsMove (_In_ LPWSTR Path, _In_ LPWSTR NewPath, _In_ ULONG Flags)
 
NET_API_STATUS WINAPI NetDfsRemove (_In_ LPWSTR DfsEntryPath, _In_opt_ LPWSTR ServerName, _In_opt_ LPWSTR ShareName)
 
NET_API_STATUS WINAPI NetDfsRemoveFtRoot (_In_ LPWSTR ServerName, _In_ LPWSTR RootShare, _In_ LPWSTR FtDfsName, _Reserved_ DWORD Flags)
 
NET_API_STATUS WINAPI NetDfsRemoveFtRootForced (_In_ LPWSTR DomainName, _In_ LPWSTR ServerName, _In_ LPWSTR RootShare, _In_ LPWSTR FtDfsName, _Reserved_ DWORD Flags)
 
NET_API_STATUS WINAPI NetDfsRemoveStdRoot (_In_ LPWSTR ServerName, _In_ LPWSTR RootShare, _In_ DWORD Flags)
 
NET_API_STATUS WINAPI NetDfsRename (_In_ LPWSTR Path, _In_ LPWSTR NewPath)
 
NET_API_STATUS WINAPI NetDfsSetClientInfo (_In_ LPWSTR DfsEntryPath, _In_opt_ LPWSTR ServerName, _In_opt_ LPWSTR ShareName, _In_ DWORD Level, _In_ LPBYTE Buffer)
 
NET_API_STATUS WINAPI NetDfsSetFtContainerSecurity (_In_ LPWSTR DomainName, _In_ SECURITY_INFORMATION SecurityInformation, _In_ PSECURITY_DESCRIPTOR pSecurityDescriptor)
 
NET_API_STATUS WINAPI NetDfsSetInfo (_In_ LPWSTR DfsEntryPath, _In_opt_ LPWSTR ServerName, _In_opt_ LPWSTR ShareName, _In_ DWORD Level, _In_ LPBYTE Buffer)
 
NET_API_STATUS WINAPI NetDfsSetSecurity (_In_ LPWSTR DfsEntryPath, _In_ SECURITY_INFORMATION SecurityInformation, _In_ PSECURITY_DESCRIPTOR pSecurityDescriptor)
 
NET_API_STATUS WINAPI NetDfsSetStdContainerSecurity (_In_ LPWSTR MachineName, _In_ SECURITY_INFORMATION SecurityInformation, _In_ PSECURITY_DESCRIPTOR pSecurityDescriptor)
 

Function Documentation

◆ NetDfsAdd()

NET_API_STATUS WINAPI NetDfsAdd ( _In_ LPWSTR  DfsEntryPath,
_In_ LPWSTR  ServerName,
_In_ LPWSTR  PathName,
_In_opt_ LPWSTR  Comment,
_In_ DWORD  Flags 
)

Definition at line 22 of file dfs.c.

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),
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)
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 }
#define ERROR_INVALID_PARAMETER
Definition: compat.h:91
#define RpcEndExcept
Definition: rpc.h:128
_Must_inspect_result_ _In_ ULONG Flags
Definition: wsk.h:170
#define UNICODE_NULL
#define debugstr_w
Definition: kernel32.h:32
#define RpcTryExcept
Definition: rpc.h:126
#define EXCEPTION_EXECUTE_HANDLER
Definition: excpt.h:85
smooth NULL
Definition: ftsmooth.c:416
DWORD NET_API_STATUS
Definition: ms-dtyp.idl:91
#define RpcExceptionCode()
Definition: rpc.h:132
#define TRACE(s)
Definition: solgame.cpp:4
Status
Definition: gdiplustypes.h:24
#define UNIMPLEMENTED
Definition: debug.h:114
#define RpcExcept(expr)
Definition: rpc.h:127
LONG WINAPI I_RpcMapWin32Status(RPC_STATUS status)
Definition: rpcrt4_main.c:741

◆ NetDfsAddFtRoot()

NET_API_STATUS WINAPI NetDfsAddFtRoot ( _In_ LPWSTR  ServerName,
_In_ LPWSTR  RootShare,
_In_ LPWSTR  FtDfsName,
_In_opt_ LPWSTR  Comment,
_In_ DWORD  Flags 
)

Definition at line 67 of file dfs.c.

73 {
75  return 0;
76 }
#define UNIMPLEMENTED
Definition: debug.h:114

◆ NetDfsAddStdRoot()

NET_API_STATUS WINAPI NetDfsAddStdRoot ( _In_ LPWSTR  ServerName,
_In_ LPWSTR  RootShare,
_In_opt_ LPWSTR  Comment,
_In_ DWORD  Flags 
)

Definition at line 81 of file dfs.c.

86 {
88  return 0;
89 }
#define UNIMPLEMENTED
Definition: debug.h:114

◆ NetDfsAddStdRootForced()

NET_API_STATUS WINAPI NetDfsAddStdRootForced ( _In_ LPWSTR  ServerName,
_In_ LPWSTR  RootShare,
_In_opt_ LPWSTR  Comment,
_In_ LPWSTR  Store 
)

Definition at line 94 of file dfs.c.

99 {
101  return 0;
102 }
#define UNIMPLEMENTED
Definition: debug.h:114

◆ NetDfsEnum()

NET_API_STATUS WINAPI NetDfsEnum ( _In_ LPWSTR  DfsName,
_In_ DWORD  Level,
_In_ DWORD  PrefMaxLen,
_Out_ LPBYTE Buffer,
_Out_ LPDWORD  EntriesRead,
_Inout_ LPDWORD  ResumeHandle 
)

Definition at line 107 of file dfs.c.

114 {
116  return 0;
117 }
#define UNIMPLEMENTED
Definition: debug.h:114

◆ NetDfsGetClientInfo()

NET_API_STATUS WINAPI NetDfsGetClientInfo ( _In_ LPWSTR  DfsEntryPath,
_In_opt_ LPWSTR  ServerName,
_In_opt_ LPWSTR  ShareName,
_In_ DWORD  Level,
_Out_ LPBYTE Buffer 
)

Definition at line 122 of file dfs.c.

128 {
130  return 0;
131 }
#define UNIMPLEMENTED
Definition: debug.h:114

◆ NetDfsGetDcAddress()

NET_API_STATUS WINAPI NetDfsGetDcAddress ( _In_ LPWSTR  ServerName,
_Out_ LPWSTR DcIpAddress,
_Out_ PBOOLEAN  IsRoot,
_Out_ PULONG  Timeout 
)

Definition at line 136 of file dfs.c.

141 {
143  return 0;
144 }
#define UNIMPLEMENTED
Definition: debug.h:114

◆ NetDfsGetFtContainerSecurity()

NET_API_STATUS WINAPI NetDfsGetFtContainerSecurity ( _In_ LPWSTR  DomainName,
_In_ SECURITY_INFORMATION  SecurityInformation,
_Out_ PSECURITY_DESCRIPTOR ppSecurityDescriptor,
_Out_ LPDWORD  lpcbSecurityDescriptor 
)

Definition at line 149 of file dfs.c.

154 {
156  return 0;
157 }
#define UNIMPLEMENTED
Definition: debug.h:114

◆ NetDfsGetInfo()

NET_API_STATUS WINAPI NetDfsGetInfo ( _In_ LPWSTR  DfsEntryPath,
_In_opt_ LPWSTR  ServerName,
_In_opt_ LPWSTR  ShareName,
_In_ DWORD  Level,
_Out_ LPBYTE Buffer 
)

Definition at line 162 of file dfs.c.

168 {
170  return 0;
171 }
#define UNIMPLEMENTED
Definition: debug.h:114

◆ NetDfsGetSecurity()

NET_API_STATUS WINAPI NetDfsGetSecurity ( _In_ LPWSTR  DfsEntryPath,
_In_ SECURITY_INFORMATION  SecurityInformation,
_Out_ PSECURITY_DESCRIPTOR ppSecurityDescriptor,
_Out_ LPDWORD  lpcbSecurityDescriptor 
)

Definition at line 176 of file dfs.c.

181 {
183  return 0;
184 }
#define UNIMPLEMENTED
Definition: debug.h:114

◆ NetDfsGetStdContainerSecurity()

NET_API_STATUS WINAPI NetDfsGetStdContainerSecurity ( _In_ LPWSTR  MachineName,
_In_ SECURITY_INFORMATION  SecurityInformation,
_Out_ PSECURITY_DESCRIPTOR ppSecurityDescriptor,
_Out_ LPDWORD  lpcbSecurityDescriptor 
)

Definition at line 189 of file dfs.c.

194 {
196  return 0;
197 }
#define UNIMPLEMENTED
Definition: debug.h:114

◆ NetDfsManagerInitialize()

NET_API_STATUS WINAPI NetDfsManagerInitialize ( _In_ LPWSTR  ServerName,
_Reserved_ DWORD  Flags 
)

Definition at line 205 of file dfs.c.

208 {
210  return 0;
211 }
#define UNIMPLEMENTED
Definition: debug.h:114

◆ NetDfsMove()

NET_API_STATUS WINAPI NetDfsMove ( _In_ LPWSTR  Path,
_In_ LPWSTR  NewPath,
_In_ ULONG  Flags 
)

Definition at line 219 of file dfs.c.

223 {
225  return 0;
226 }
#define UNIMPLEMENTED
Definition: debug.h:114

◆ NetDfsRemove()

NET_API_STATUS WINAPI NetDfsRemove ( _In_ LPWSTR  DfsEntryPath,
_In_opt_ LPWSTR  ServerName,
_In_opt_ LPWSTR  ShareName 
)

Definition at line 231 of file dfs.c.

235 {
237  return 0;
238 }
#define UNIMPLEMENTED
Definition: debug.h:114

◆ NetDfsRemoveFtRoot()

NET_API_STATUS WINAPI NetDfsRemoveFtRoot ( _In_ LPWSTR  ServerName,
_In_ LPWSTR  RootShare,
_In_ LPWSTR  FtDfsName,
_Reserved_ DWORD  Flags 
)

Definition at line 243 of file dfs.c.

248 {
250  return 0;
251 }
#define UNIMPLEMENTED
Definition: debug.h:114

◆ NetDfsRemoveFtRootForced()

NET_API_STATUS WINAPI NetDfsRemoveFtRootForced ( _In_ LPWSTR  DomainName,
_In_ LPWSTR  ServerName,
_In_ LPWSTR  RootShare,
_In_ LPWSTR  FtDfsName,
_Reserved_ DWORD  Flags 
)

Definition at line 256 of file dfs.c.

262 {
264  return 0;
265 }
#define UNIMPLEMENTED
Definition: debug.h:114

◆ NetDfsRemoveStdRoot()

NET_API_STATUS WINAPI NetDfsRemoveStdRoot ( _In_ LPWSTR  ServerName,
_In_ LPWSTR  RootShare,
_In_ DWORD  Flags 
)

Definition at line 270 of file dfs.c.

274 {
276  return 0;
277 }
#define UNIMPLEMENTED
Definition: debug.h:114

◆ NetDfsRename()

NET_API_STATUS WINAPI NetDfsRename ( _In_ LPWSTR  Path,
_In_ LPWSTR  NewPath 
)

Definition at line 282 of file dfs.c.

285 {
287  return 0;
288 }
#define UNIMPLEMENTED
Definition: debug.h:114

◆ NetDfsSetClientInfo()

NET_API_STATUS WINAPI NetDfsSetClientInfo ( _In_ LPWSTR  DfsEntryPath,
_In_opt_ LPWSTR  ServerName,
_In_opt_ LPWSTR  ShareName,
_In_ DWORD  Level,
_In_ LPBYTE  Buffer 
)

Definition at line 293 of file dfs.c.

299 {
301  return 0;
302 }
#define UNIMPLEMENTED
Definition: debug.h:114

◆ NetDfsSetFtContainerSecurity()

NET_API_STATUS WINAPI NetDfsSetFtContainerSecurity ( _In_ LPWSTR  DomainName,
_In_ SECURITY_INFORMATION  SecurityInformation,
_In_ PSECURITY_DESCRIPTOR  pSecurityDescriptor 
)

Definition at line 307 of file dfs.c.

311 {
313  return 0;
314 }
#define UNIMPLEMENTED
Definition: debug.h:114

◆ NetDfsSetInfo()

NET_API_STATUS WINAPI NetDfsSetInfo ( _In_ LPWSTR  DfsEntryPath,
_In_opt_ LPWSTR  ServerName,
_In_opt_ LPWSTR  ShareName,
_In_ DWORD  Level,
_In_ LPBYTE  Buffer 
)

Definition at line 319 of file dfs.c.

325 {
327  return 0;
328 }
#define UNIMPLEMENTED
Definition: debug.h:114

◆ NetDfsSetSecurity()

NET_API_STATUS WINAPI NetDfsSetSecurity ( _In_ LPWSTR  DfsEntryPath,
_In_ SECURITY_INFORMATION  SecurityInformation,
_In_ PSECURITY_DESCRIPTOR  pSecurityDescriptor 
)

Definition at line 333 of file dfs.c.

337 {
339  return 0;
340 }
#define UNIMPLEMENTED
Definition: debug.h:114

◆ NetDfsSetStdContainerSecurity()

NET_API_STATUS WINAPI NetDfsSetStdContainerSecurity ( _In_ LPWSTR  MachineName,
_In_ SECURITY_INFORMATION  SecurityInformation,
_In_ PSECURITY_DESCRIPTOR  pSecurityDescriptor 
)

Definition at line 345 of file dfs.c.

349 {
351  return 0;
352 }
#define UNIMPLEMENTED
Definition: debug.h:114

◆ WINE_DEFAULT_DEBUG_CHANNEL()

WINE_DEFAULT_DEBUG_CHANNEL ( netapi32  )