mirror of
https://github.com/reactos/reactos.git
synced 2025-01-03 21:09:19 +00:00
[NETAPI32]
Add obsolete NetErrorLog and NetService functions. svn path=/trunk/; revision=74958
This commit is contained in:
parent
6d28124a20
commit
30ad304570
2 changed files with 109 additions and 7 deletions
|
@ -141,9 +141,9 @@
|
||||||
@ stub NetDfsSetStdContainerSecurity
|
@ stub NetDfsSetStdContainerSecurity
|
||||||
@ stub NetEnumerateComputerNames
|
@ stub NetEnumerateComputerNames
|
||||||
@ stdcall NetEnumerateTrustedDomains(wstr ptr)
|
@ stdcall NetEnumerateTrustedDomains(wstr ptr)
|
||||||
@ stub NetErrorLogClear
|
@ stdcall NetErrorLogClear(wstr wstr ptr)
|
||||||
@ stub NetErrorLogRead
|
@ stdcall NetErrorLogRead(wstr wstr ptr long ptr long long ptr long ptr ptr)
|
||||||
@ stub NetErrorLogWrite
|
@ stdcall NetErrorLogWrite(ptr long wstr ptr long ptr long ptr)
|
||||||
@ stdcall NetFileClose(wstr long)
|
@ stdcall NetFileClose(wstr long)
|
||||||
@ stdcall NetFileEnum(wstr wstr wstr long ptr long ptr ptr ptr)
|
@ stdcall NetFileEnum(wstr wstr wstr long ptr long ptr ptr ptr)
|
||||||
@ stdcall NetFileGetInfo(wstr long long ptr)
|
@ stdcall NetFileGetInfo(wstr long long ptr)
|
||||||
|
@ -216,10 +216,10 @@
|
||||||
@ stdcall NetServerTransportAddEx(wstr long ptr)
|
@ stdcall NetServerTransportAddEx(wstr long ptr)
|
||||||
@ stdcall NetServerTransportDel(wstr long ptr)
|
@ stdcall NetServerTransportDel(wstr long ptr)
|
||||||
@ stdcall NetServerTransportEnum(wstr long ptr long ptr ptr ptr)
|
@ stdcall NetServerTransportEnum(wstr long ptr long ptr ptr ptr)
|
||||||
@ stub NetServiceControl
|
@ stdcall NetServiceControl(wstr wstr long long ptr)
|
||||||
@ stub NetServiceEnum
|
@ stdcall NetServiceEnum(wstr long ptr long ptr ptr ptr)
|
||||||
@ stub NetServiceGetInfo
|
@ stdcall NetServiceGetInfo(wstr wstr long ptr)
|
||||||
@ stub NetServiceInstall
|
@ stdcall NetServiceInstall(wstr wstr long ptr ptr)
|
||||||
@ stdcall NetSessionDel(wstr wstr wstr)
|
@ stdcall NetSessionDel(wstr wstr wstr)
|
||||||
@ stdcall NetSessionEnum(wstr wstr wstr long ptr long ptr ptr ptr)
|
@ stdcall NetSessionEnum(wstr wstr wstr long ptr long ptr ptr ptr)
|
||||||
@ stdcall NetSessionGetInfo(wstr wstr wstr long ptr)
|
@ stdcall NetSessionGetInfo(wstr wstr wstr long ptr)
|
||||||
|
|
|
@ -12,6 +12,9 @@
|
||||||
#include <lmalert.h>
|
#include <lmalert.h>
|
||||||
#include <lmaudit.h>
|
#include <lmaudit.h>
|
||||||
#include <lmconfig.h>
|
#include <lmconfig.h>
|
||||||
|
#include <lmerrlog.h>
|
||||||
|
#include <lmmsg.h>
|
||||||
|
#include <lmsvc.h>
|
||||||
|
|
||||||
WINE_DEFAULT_DEBUG_CHANNEL(netapi32);
|
WINE_DEFAULT_DEBUG_CHANNEL(netapi32);
|
||||||
|
|
||||||
|
@ -121,6 +124,52 @@ NetConfigSet(
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
NET_API_STATUS
|
||||||
|
WINAPI
|
||||||
|
NetErrorLogClear(
|
||||||
|
_In_opt_ LPCWSTR UncServerName,
|
||||||
|
_In_opt_ LPCWSTR BackupFile,
|
||||||
|
_In_opt_ LPBYTE Reserved)
|
||||||
|
{
|
||||||
|
return ERROR_NOT_SUPPORTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
NET_API_STATUS
|
||||||
|
WINAPI
|
||||||
|
NetErrorLogRead(
|
||||||
|
_In_opt_ LPCWSTR UncServerName,
|
||||||
|
_In_opt_ LPWSTR Reserved1,
|
||||||
|
_In_ LPHLOG ErrorLogHandle,
|
||||||
|
_In_ DWORD Offset,
|
||||||
|
_In_opt_ LPDWORD Reserved2,
|
||||||
|
_In_ DWORD Reserved3,
|
||||||
|
_In_ DWORD OffsetFlag,
|
||||||
|
_Deref_out_ LPBYTE *BufPtr,
|
||||||
|
_In_ DWORD PrefMaxSize,
|
||||||
|
_Out_ LPDWORD BytesRead,
|
||||||
|
_Out_ LPDWORD TotalAvailable)
|
||||||
|
{
|
||||||
|
return ERROR_NOT_SUPPORTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
NET_API_STATUS
|
||||||
|
WINAPI
|
||||||
|
NetErrorLogWrite(
|
||||||
|
_In_opt_ LPBYTE Reserved1,
|
||||||
|
_In_ DWORD Code,
|
||||||
|
_In_ LPCWSTR Component,
|
||||||
|
_In_ LPBYTE Buffer,
|
||||||
|
_In_ DWORD NumBytes,
|
||||||
|
_In_ LPBYTE MsgBuf,
|
||||||
|
_In_ DWORD StrCount,
|
||||||
|
_In_opt_ LPBYTE Reserved2)
|
||||||
|
{
|
||||||
|
return ERROR_NOT_SUPPORTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
NET_API_STATUS
|
NET_API_STATUS
|
||||||
WINAPI
|
WINAPI
|
||||||
NetMessageBufferSend(
|
NetMessageBufferSend(
|
||||||
|
@ -180,4 +229,57 @@ NetMessageNameGetInfo(
|
||||||
return ERROR_NOT_SUPPORTED;
|
return ERROR_NOT_SUPPORTED;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
NET_API_STATUS
|
||||||
|
WINAPI
|
||||||
|
NetServiceControl(
|
||||||
|
__in_opt LPCWSTR servername,
|
||||||
|
__in LPCWSTR service,
|
||||||
|
__in DWORD opcode,
|
||||||
|
__in DWORD arg,
|
||||||
|
__deref_out LPBYTE *bufptr)
|
||||||
|
{
|
||||||
|
return ERROR_NOT_SUPPORTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
NET_API_STATUS
|
||||||
|
WINAPI
|
||||||
|
NetServiceEnum(
|
||||||
|
__in_opt LPCWSTR servername,
|
||||||
|
__in DWORD level,
|
||||||
|
__deref_out LPBYTE *bufptr,
|
||||||
|
__in DWORD prefmaxlen,
|
||||||
|
__out LPDWORD entriesread,
|
||||||
|
__out LPDWORD totalentries,
|
||||||
|
__inout_opt LPDWORD resume_handle)
|
||||||
|
{
|
||||||
|
return ERROR_NOT_SUPPORTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
NET_API_STATUS
|
||||||
|
WINAPI
|
||||||
|
NetServiceGetInfo(
|
||||||
|
__in_opt LPCWSTR servername,
|
||||||
|
__in LPCWSTR service,
|
||||||
|
__in DWORD level,
|
||||||
|
__deref_out LPBYTE *bufptr)
|
||||||
|
{
|
||||||
|
return ERROR_NOT_SUPPORTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
NET_API_STATUS
|
||||||
|
WINAPI
|
||||||
|
NetServiceInstall(
|
||||||
|
__in_opt LPCWSTR servername,
|
||||||
|
__in LPCWSTR service,
|
||||||
|
__in DWORD argc,
|
||||||
|
__in_ecount(argc) LPCWSTR argv[],
|
||||||
|
__deref_out LPBYTE *bufptr)
|
||||||
|
{
|
||||||
|
return ERROR_NOT_SUPPORTED;
|
||||||
|
}
|
||||||
|
|
||||||
/* EOF */
|
/* EOF */
|
||||||
|
|
Loading…
Reference in a new issue