Add a stub implementation of RegisterTraceGuids.
diff --git a/dlls/advapi32/advapi32.spec b/dlls/advapi32/advapi32.spec
index d4323d1..04c9bcf 100644
--- a/dlls/advapi32/advapi32.spec
+++ b/dlls/advapi32/advapi32.spec
@@ -271,6 +271,8 @@
@ stdcall RegisterEventSourceW(ptr ptr)
@ stdcall RegisterServiceCtrlHandlerA (ptr ptr)
@ stdcall RegisterServiceCtrlHandlerW (ptr ptr)
+@ stdcall RegisterTraceGuidsA(ptr ptr ptr long ptr str str ptr)
+@ stdcall RegisterTraceGuidsW(ptr ptr ptr long ptr wstr wstr ptr)
@ stdcall ReportEventA (long long long long ptr long long str ptr)
@ stdcall ReportEventW (long long long long ptr long long wstr ptr)
@ stdcall RevertToSelf()
diff --git a/dlls/advapi32/eventlog.c b/dlls/advapi32/eventlog.c
index d559d6b..be650c5 100644
--- a/dlls/advapi32/eventlog.c
+++ b/dlls/advapi32/eventlog.c
@@ -27,6 +27,8 @@
#include "winerror.h"
#include "winreg.h"
#include "winternl.h"
+#include "wmistr.h"
+#include "evntrace.h"
#include "wine/debug.h"
@@ -436,3 +438,25 @@
}
return TRUE;
}
+
+ULONG WINAPI RegisterTraceGuidsW( WMIDPREQUEST RequestAddress,
+ PVOID RequestContext, LPCGUID ControlGuid, ULONG GuidCount,
+ PTRACE_GUID_REGISTRATION TraceGuidReg, LPCWSTR MofImagePath,
+ LPCWSTR MofResourceName, PTRACEHANDLE RegistrationHandle )
+{
+ FIXME("%p %p %p %lu %p %s %s %p\n", RequestAddress, RequestContext,
+ ControlGuid, GuidCount, TraceGuidReg, debugstr_w(MofImagePath),
+ debugstr_w(MofResourceName), RegistrationHandle);
+ return ERROR_CALL_NOT_IMPLEMENTED;
+}
+
+ULONG WINAPI RegisterTraceGuidsA( WMIDPREQUEST RequestAddress,
+ PVOID RequestContext, LPCGUID ControlGuid, ULONG GuidCount,
+ PTRACE_GUID_REGISTRATION TraceGuidReg, LPCSTR MofImagePath,
+ LPCSTR MofResourceName, PTRACEHANDLE RegistrationHandle )
+{
+ FIXME("%p %p %p %lu %p %s %s %p\n", RequestAddress, RequestContext,
+ ControlGuid, GuidCount, TraceGuidReg, debugstr_a(MofImagePath),
+ debugstr_a(MofResourceName), RegistrationHandle);
+ return ERROR_CALL_NOT_IMPLEMENTED;
+}
diff --git a/include/evntrace.h b/include/evntrace.h
index e0e45d9..f2a96e0 100644
--- a/include/evntrace.h
+++ b/include/evntrace.h
@@ -46,11 +46,11 @@
union
{
USHORT FieldTypeFlags;
- struct
+ struct
{
UCHAR HeaderType;
UCHAR MarkerFlags;
- };
+ } DUMMYSTRUCTNAME;
} DUMMYUNIONNAME;
union
{