[NETAPI32]

Add obsolete NetAudit and NetConfig functions.

svn path=/trunk/; revision=74957
This commit is contained in:
Eric Kohl 2017-06-08 08:41:28 +00:00
parent 658595fb98
commit 6d28124a20
2 changed files with 90 additions and 6 deletions

View file

@ -106,13 +106,13 @@
@ stdcall NetApiBufferFree(ptr)
@ stdcall NetApiBufferReallocate(ptr long ptr)
@ stdcall NetApiBufferSize(ptr ptr)
@ stub NetAuditClear
@ stub NetAuditRead
@ stub NetAuditWrite
@ stdcall NetAuditClear(wstr wstr wstr)
@ stdcall NetAuditRead(wstr wstr ptr long ptr long long ptr long ptr ptr)
@ stdcall NetAuditWrite(long ptr long wstr ptr)
@ stub NetBrowserStatisticsGet
@ stub NetConfigGet
@ stub NetConfigGetAll
@ stub NetConfigSet
@ stdcall NetConfigGet(wstr wstr wstr ptr)
@ stdcall NetConfigGetAll(wstr wstr ptr)
@ stdcall NetConfigSet(wstr wstr wstr long long ptr long)
@ stub NetConnectionEnum
@ stub NetDfsAdd
@ stub NetDfsAddFtRoot

View file

@ -9,6 +9,9 @@
/* INCLUDES ******************************************************************/
#include "netapi32.h"
#include <lmalert.h>
#include <lmaudit.h>
#include <lmconfig.h>
WINE_DEFAULT_DEBUG_CHANNEL(netapi32);
@ -37,6 +40,87 @@ NetAlertRaiseEx(
}
NET_API_STATUS
WINAPI
NetAuditClear(
_In_opt_ LPCWSTR server,
_In_opt_ LPCWSTR backupfile,
_In_opt_ LPCWSTR service)
{
return ERROR_NOT_SUPPORTED;
}
NET_API_STATUS
WINAPI
NetAuditRead(
_In_opt_ LPCWSTR server,
_In_opt_ LPCWSTR service,
_In_ LPHLOG auditloghandle,
_In_ DWORD offset,
_In_opt_ LPDWORD reserved1,
_In_ DWORD reserved2,
_In_ DWORD offsetflag,
_Out_ LPBYTE *bufptr,
_In_ DWORD prefmaxlen,
_Out_ LPDWORD bytesread,
_Out_ LPDWORD totalavailable)
{
return ERROR_NOT_SUPPORTED;
}
NET_API_STATUS
WINAPI
NetAuditWrite(
_In_ DWORD type,
_In_ LPBYTE buf,
_In_ DWORD numbytes,
_In_opt_ LPCWSTR service,
_In_opt_ LPBYTE reserved)
{
return ERROR_NOT_SUPPORTED;
}
NET_API_STATUS
WINAPI
NetConfigGet(
_In_opt_ LPCWSTR server,
_In_ LPCWSTR component,
_In_ LPCWSTR parameter,
_Out_ LPBYTE *bufptr)
{
return ERROR_NOT_SUPPORTED;
}
NET_API_STATUS
WINAPI
NetConfigGetAll(
_In_opt_ LPCWSTR server,
_In_ LPCWSTR component,
_Out_ LPBYTE *bufptr)
{
return ERROR_NOT_SUPPORTED;
}
NET_API_STATUS
WINAPI
NetConfigSet(
_In_opt_ LPCWSTR server,
_In_opt_ LPCWSTR reserved1,
_In_ LPCWSTR component,
_In_ DWORD level,
_In_ DWORD reserved2,
_In_ LPBYTE buf,
_In_ DWORD reserved3)
{
return ERROR_NOT_SUPPORTED;
}
NET_API_STATUS
WINAPI
NetMessageBufferSend(