Author: ekohl
Date: Thu Jun 8 00:30:49 2017
New Revision: 74950
URL:
http://svn.reactos.org/svn/reactos?rev=74950&view=rev
Log:
[NETAPI32]
Add obsolete NetAlert and NetMessage functions.
Added:
trunk/reactos/dll/win32/netapi32/obsolete.c (with props)
Modified:
trunk/reactos/dll/win32/netapi32/CMakeLists.txt
trunk/reactos/dll/win32/netapi32/netapi32.spec
Modified: trunk/reactos/dll/win32/netapi32/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/netapi32/CMakeLi…
==============================================================================
--- trunk/reactos/dll/win32/netapi32/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/netapi32/CMakeLists.txt [iso-8859-1] Thu Jun 8 00:30:49 2017
@@ -25,6 +25,7 @@
nbt.c
netapi32.c
netbios.c
+ obsolete.c
schedule.c
srvsvc.c
user.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 8 00:30:49 2017
@@ -100,8 +100,8 @@
@ stub I_NetlogonComputeServerDigest
@ stub I_NetlogonGetTrustRid
@ stub NetAddAlternateComputerName
-@ stub NetAlertRaise
-@ stub NetAlertRaiseEx
+@ stdcall NetAlertRaise(wstr ptr long)
+@ stdcall NetAlertRaiseEx(wstr ptr long wstr)
@ stdcall NetApiBufferAllocate(long ptr)
@ stdcall NetApiBufferFree(ptr)
@ stdcall NetApiBufferReallocate(ptr long ptr)
@@ -175,11 +175,11 @@
@ stdcall NetLocalGroupSetMembers(wstr wstr long ptr long)
@ stub NetLogonGetTimeServiceParentDomain
@ stub NetLogonSetServiceBits
-@ stub NetMessageBufferSend
-@ stub NetMessageNameAdd
-@ stub NetMessageNameDel
-@ stub NetMessageNameEnum
-@ stub NetMessageNameGetInfo
+@ stdcall NetMessageBufferSend(wstr wstr wstr ptr long)
+@ stdcall NetMessageNameAdd(wstr wstr)
+@ stdcall NetMessageNameDel(wstr wstr)
+@ stdcall NetMessageNameEnum(wstr long ptr long ptr ptr ptr)
+@ stdcall NetMessageNameGetInfo(wstr wstr long ptr)
@ stdcall NetQueryDisplayInformation(wstr long long long long ptr ptr)
@ stub NetRegisterDomainNameChangeNotification
@ stub NetRemoteComputerSupports
Added: 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 (added)
+++ trunk/reactos/dll/win32/netapi32/obsolete.c [iso-8859-1] Thu Jun 8 00:30:49 2017
@@ -0,0 +1,99 @@
+/*
+ * COPYRIGHT: See COPYING in the top level directory
+ * PROJECT: NetAPI DLL
+ * FILE: dll/win32/netapi32/obsolete.c
+ * PURPOSE: Obsolete functions
+ * PROGRAMMERS: Eric Kohl <eric.kohl(a)reactos.org>
+ */
+
+/* INCLUDES ******************************************************************/
+
+#include "netapi32.h"
+
+WINE_DEFAULT_DEBUG_CHANNEL(netapi32);
+
+/* FUNCTIONS *****************************************************************/
+
+NET_API_STATUS
+WINAPI
+NetAlertRaise(
+ _In_ LPCWSTR AlertEventName,
+ _In_ LPVOID Buffer,
+ _In_ DWORD BufferSize)
+{
+ return ERROR_NOT_SUPPORTED;
+}
+
+
+NET_API_STATUS
+WINAPI
+NetAlertRaiseEx(
+ _In_ LPCWSTR AlertEventName,
+ _In_ LPVOID VariableInfo,
+ _In_ DWORD VariableInfoSize,
+ _In_ LPCWSTR ServiceName)
+{
+ return ERROR_NOT_SUPPORTED;
+}
+
+
+NET_API_STATUS
+WINAPI
+NetMessageBufferSend(
+ _In_ LPCWSTR servername,
+ _In_ LPCWSTR msgname,
+ _In_ LPCWSTR fromname,
+ _In_ LPBYTE buf,
+ _In_ DWORD buflen)
+{
+ return ERROR_NOT_SUPPORTED;
+}
+
+
+NET_API_STATUS
+WINAPI
+NetMessageNameAdd(
+ _In_ LPCWSTR servername,
+ _In_ LPCWSTR msgname)
+{
+ return ERROR_NOT_SUPPORTED;
+}
+
+
+NET_API_STATUS
+WINAPI
+NetMessageNameDel(
+ _In_ LPCWSTR servername,
+ _In_ LPCWSTR msgname)
+{
+ return ERROR_NOT_SUPPORTED;
+}
+
+
+NET_API_STATUS
+WINAPI
+NetMessageNameEnum(
+ _In_ LPCWSTR servername,
+ _In_ DWORD level,
+ _Out_ LPBYTE *bufptr,
+ _In_ DWORD prefmaxlen,
+ _Out_ LPDWORD entriesread,
+ _Out_ LPDWORD totalentries,
+ _Inout_ LPDWORD resume_handle)
+{
+ return ERROR_NOT_SUPPORTED;
+}
+
+
+NET_API_STATUS
+WINAPI
+NetMessageNameGetInfo(
+ _In_ LPCWSTR servername,
+ _In_ LPCWSTR msgname,
+ _In_ DWORD level,
+ _Out_ LPBYTE *bufptr)
+{
+ return ERROR_NOT_SUPPORTED;
+}
+
+/* EOF */
Propchange: trunk/reactos/dll/win32/netapi32/obsolete.c
------------------------------------------------------------------------------
svn:eol-style = native