Author: ekohl
Date: Thu Jun 15 00:21:07 2017
New Revision: 75042
URL:
http://svn.reactos.org/svn/reactos?rev=75042&view=rev
Log:
[NETAPI32]
Add obsolete NetRepl functions.
Modified:
trunk/reactos/dll/win32/netapi32/netapi32.spec
trunk/reactos/dll/win32/netapi32/obsolete.c
Modified: trunk/reactos/dll/win32/netapi32/netapi32.spec
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/netapi32/netapi3…
==============================================================================
--- trunk/reactos/dll/win32/netapi32/netapi32.spec [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/netapi32/netapi32.spec [iso-8859-1] Thu Jun 15 00:21:07 2017
@@ -186,21 +186,21 @@
@ stdcall NetRemoteTOD(wstr ptr)
@ stdcall NetRemoveAlternateComputerName(wstr wstr wstr wstr long)
@ stdcall NetRenameMachineInDomain(wstr wstr wstr wstr long)
-@ stub NetReplExportDirAdd
-@ stub NetReplExportDirDel
-@ stub NetReplExportDirEnum
-@ stub NetReplExportDirGetInfo
-@ stub NetReplExportDirLock
-@ stub NetReplExportDirSetInfo
-@ stub NetReplExportDirUnlock
-@ stub NetReplGetInfo
-@ stub NetReplImportDirAdd
-@ stub NetReplImportDirDel
-@ stub NetReplImportDirEnum
-@ stub NetReplImportDirGetInfo
-@ stub NetReplImportDirLock
-@ stub NetReplImportDirUnlock
-@ stub NetReplSetInfo
+@ stdcall NetReplExportDirAdd(wstr long ptr ptr)
+@ stdcall NetReplExportDirDel(wstr wstr)
+@ stdcall NetReplExportDirEnum(wstr long ptr long ptr ptr ptr)
+@ stdcall NetReplExportDirGetInfo(wstr wstr long ptr)
+@ stdcall NetReplExportDirLock(wstr wstr)
+@ stdcall NetReplExportDirSetInfo(wstr wstr long ptr ptr)
+@ stdcall NetReplExportDirUnlock(wstr wstr long)
+@ stdcall NetReplGetInfo(wstr long ptr)
+@ stdcall NetReplImportDirAdd(wstr long ptr ptr)
+@ stdcall NetReplImportDirDel(wstr wstr)
+@ stdcall NetReplImportDirEnum(wstr long ptr long ptr ptr ptr)
+@ stdcall NetReplImportDirGetInfo(wstr wstr long ptr)
+@ stdcall NetReplImportDirLock(wstr wstr)
+@ stdcall NetReplImportDirUnlock(wstr wstr long)
+@ stdcall NetReplSetInfo(wstr long ptr ptr)
@ stdcall NetScheduleJobAdd(wstr ptr ptr)
@ stdcall NetScheduleJobDel(wstr long long)
@ stdcall NetScheduleJobEnum(wstr ptr long ptr ptr ptr)
Modified: trunk/reactos/dll/win32/netapi32/obsolete.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/netapi32/obsolet…
==============================================================================
--- trunk/reactos/dll/win32/netapi32/obsolete.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/netapi32/obsolete.c [iso-8859-1] Thu Jun 15 00:21:07 2017
@@ -3,7 +3,7 @@
* PROJECT: NetAPI DLL
* FILE: dll/win32/netapi32/obsolete.c
* PURPOSE: Obsolete functions
- * PROGRAMMERS: Eric Kohl <eric.kohl(a)reactos.org>
+ * PROGRAMMERS: Eric Kohl (eric.kohl(a)reactos.org)
*/
/* INCLUDES ******************************************************************/
@@ -14,6 +14,7 @@
#include <lmconfig.h>
#include <lmerrlog.h>
#include <lmmsg.h>
+#include <lmrepl.h>
#include <lmsvc.h>
WINE_DEFAULT_DEBUG_CHANNEL(netapi32);
@@ -232,6 +233,182 @@
NET_API_STATUS
WINAPI
+NetReplExportDirAdd(
+ _In_opt_ LPCWSTR servername,
+ _In_ DWORD level,
+ _In_ const LPBYTE buf,
+ _Out_opt_ LPDWORD parm_err)
+{
+ return ERROR_NOT_SUPPORTED;
+}
+
+
+NET_API_STATUS
+WINAPI
+NetReplExportDirDel(
+ _In_opt_ LPCWSTR servername,
+ _In_ LPCWSTR dirname)
+{
+ return ERROR_NOT_SUPPORTED;
+}
+
+
+NET_API_STATUS
+WINAPI
+NetReplExportDirEnum(
+ _In_opt_ LPCWSTR servername,
+ _In_ DWORD level,
+ _Out_ LPBYTE *bufptr,
+ _In_ DWORD prefmaxlen,
+ _Out_ LPDWORD entriesread,
+ _Out_ LPDWORD totalentries,
+ _Inout_opt_ LPDWORD resumehandle)
+{
+ return ERROR_NOT_SUPPORTED;
+}
+
+
+NET_API_STATUS
+WINAPI
+NetReplExportDirGetInfo(
+ _In_opt_ LPCWSTR servername,
+ _In_ LPCWSTR dirname,
+ _In_ DWORD level,
+ _Out_ LPBYTE *bufptr)
+{
+ return ERROR_NOT_SUPPORTED;
+}
+
+
+NET_API_STATUS
+WINAPI
+NetReplExportDirLock(
+ _In_opt_ LPCWSTR servername,
+ _In_ LPCWSTR dirname)
+{
+ return ERROR_NOT_SUPPORTED;
+}
+
+
+NET_API_STATUS
+WINAPI
+NetReplExportDirSetInfo(
+ _In_opt_ LPCWSTR servername,
+ _In_ LPCWSTR dirname,
+ _In_ DWORD level,
+ _In_ const LPBYTE buf,
+ _Out_opt_ LPDWORD parm_err)
+{
+ return ERROR_NOT_SUPPORTED;
+}
+
+
+NET_API_STATUS
+WINAPI
+NetReplExportDirUnlock(
+ _In_opt_ LPCWSTR servername,
+ _In_ LPCWSTR dirname,
+ _In_ DWORD unlockforce)
+{
+ return ERROR_NOT_SUPPORTED;
+}
+
+
+NET_API_STATUS
+WINAPI
+NetReplGetInfo(
+ _In_opt_ LPCWSTR servername,
+ _In_ DWORD level,
+ _Out_ LPBYTE *bufptr)
+{
+ return ERROR_NOT_SUPPORTED;
+}
+
+
+NET_API_STATUS
+WINAPI
+NetReplImportDirAdd(
+ _In_opt_ LPCWSTR servername,
+ _In_ DWORD level,
+ _In_ const LPBYTE buf,
+ _Out_opt_ LPDWORD parm_err)
+{
+ return ERROR_NOT_SUPPORTED;
+}
+
+
+NET_API_STATUS
+WINAPI
+NetReplImportDirDel(
+ _In_opt_ LPCWSTR servername,
+ _In_ LPCWSTR dirname)
+{
+ return ERROR_NOT_SUPPORTED;
+}
+
+
+NET_API_STATUS
+WINAPI
+NetReplImportDirEnum(
+ _In_opt_ LPCWSTR servername,
+ _In_ DWORD level,
+ _Out_ LPBYTE *bufptr,
+ _In_ DWORD prefmaxlen,
+ _Out_ LPDWORD entriesread,
+ _Out_ LPDWORD totalentries,
+ _Inout_opt_ LPDWORD resumehandle)
+{
+ return ERROR_NOT_SUPPORTED;
+}
+
+
+NET_API_STATUS
+WINAPI
+NetReplImportDirGetInfo(
+ _In_opt_ LPCWSTR servername,
+ _In_ LPCWSTR dirname,
+ _In_ DWORD level,
+ _Out_ LPBYTE *bufptr)
+{
+ return ERROR_NOT_SUPPORTED;
+}
+
+
+NET_API_STATUS
+WINAPI
+NetReplImportDirLock(
+ _In_opt_ LPCWSTR servername,
+ _In_ LPCWSTR dirname)
+{
+ return ERROR_NOT_SUPPORTED;
+}
+
+
+NET_API_STATUS
+WINAPI
+NetReplImportDirUnlock(
+ _In_opt_ LPCWSTR servername,
+ _In_ LPCWSTR dirname,
+ _In_ DWORD unlockforce)
+{
+ return ERROR_NOT_SUPPORTED;
+}
+
+
+NET_API_STATUS
+WINAPI
+NetReplSetInfo(
+ _In_opt_ LPCWSTR servername,
+ _In_ DWORD level,
+ _In_ const LPBYTE buf,
+ _Out_opt_ LPDWORD parm_err)
+{
+ return ERROR_NOT_SUPPORTED;
+}
+
+
+NET_API_STATUS
+WINAPI
NetServiceControl(
__in_opt LPCWSTR servername,
__in LPCWSTR service,