Author: gadamopoulos
Date: Thu Nov 27 14:21:43 2014
New Revision: 65503
URL:
http://svn.reactos.org/svn/reactos?rev=65503&view=rev
Log:
[ADVAPI32]
- Stub ElfRegisterEventSourceW, ElfReportEventW and ElfDeregisterEventSource. These are
needed by windows sxs.dll, and sxs.dll is needed by windows basesrv.dll.
Modified:
trunk/reactos/dll/win32/advapi32/advapi32.spec
trunk/reactos/dll/win32/advapi32/service/eventlog.c
Modified: trunk/reactos/dll/win32/advapi32/advapi32.spec
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/advapi32/advapi3…
==============================================================================
--- trunk/reactos/dll/win32/advapi32/advapi32.spec [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/advapi32/advapi32.spec [iso-8859-1] Thu Nov 27 14:21:43 2014
@@ -186,7 +186,7 @@
@ stub ElfClearEventLogFileA
@ stub ElfClearEventLogFileW
@ stub ElfCloseEventLog
-@ stub ElfDeregisterEventSource
+@ stdcall ElfDeregisterEventSource(long)
@ stub ElfFlushEventLog
@ stub ElfNumberOfRecords
@ stub ElfOldestRecord
@@ -197,10 +197,10 @@
@ stub ElfReadEventLogA
@ stub ElfReadEventLogW
@ stub ElfRegisterEventSourceA
-@ stub ElfRegisterEventSourceW
+@ stdcall ElfRegisterEventSourceW(ptr ptr ptr)
@ stub ElfReportEventA
@ stub ElfReportEventAndSourceW
-@ stub ElfReportEventW
+@ stdcall ElfReportEventW(long long long long ptr long long ptr ptr ptr ptr ptr)
@ stdcall EnableTrace(long long long ptr double) ntdll.EtwEnableTrace
@ stdcall EncryptFileA(str)
@ stdcall EncryptFileW(wstr)
Modified: trunk/reactos/dll/win32/advapi32/service/eventlog.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/advapi32/service…
==============================================================================
--- trunk/reactos/dll/win32/advapi32/service/eventlog.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/advapi32/service/eventlog.c [iso-8859-1] Thu Nov 27 14:21:43
2014
@@ -1231,3 +1231,34 @@
return TRUE;
}
+BOOL WINAPI
+ElfReportEventW(DWORD param1,
+ DWORD param2,
+ DWORD param3,
+ DWORD param4,
+ DWORD param5,
+ DWORD param6,
+ DWORD param7,
+ DWORD param8,
+ DWORD param9,
+ DWORD param10,
+ DWORD param11,
+ DWORD param12
+)
+{
+return TRUE;
+}
+
+HANDLE WINAPI
+ElfRegisterEventSourceW(DWORD param1,
+ DWORD param2,
+ DWORD param3)
+{
+return (HANDLE)1;
+}
+
+BOOL WINAPI
+ElfDeregisterEventSource(IN HANDLE hEventLog)
+{
+return TRUE;
+}