diff --git a/reactos/dll/win32/netapi32/netapi32.spec b/reactos/dll/win32/netapi32/netapi32.spec index f1595cff3aa..ade459f3ca6 100644 --- a/reactos/dll/win32/netapi32/netapi32.spec +++ b/reactos/dll/win32/netapi32/netapi32.spec @@ -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 diff --git a/reactos/dll/win32/netapi32/obsolete.c b/reactos/dll/win32/netapi32/obsolete.c index 760f8ab0ad9..9aae837075a 100644 --- a/reactos/dll/win32/netapi32/obsolete.c +++ b/reactos/dll/win32/netapi32/obsolete.c @@ -9,6 +9,9 @@ /* INCLUDES ******************************************************************/ #include "netapi32.h" +#include +#include +#include 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(