[NETAPI32]

Add obsolete NetAlert and NetMessage functions.

svn path=/trunk/; revision=74950
This commit is contained in:
Eric Kohl 2017-06-08 00:30:49 +00:00
parent 544223fa5a
commit eb6360d80f
3 changed files with 107 additions and 7 deletions

View file

@ -25,6 +25,7 @@ list(APPEND SOURCE
nbt.c
netapi32.c
netbios.c
obsolete.c
schedule.c
srvsvc.c
user.c

View file

@ -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

View file

@ -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@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 */