ADVAPI32: add a stub implementation of RegisterTraceGuids

Mike McCormack mike at codeweavers.com
Wed May 11 06:33:32 CDT 2005


ChangeLog:
<aric at codeweavers.com>
* add a stub implementation of RegisterTraceGuids
-------------- next part --------------
? dlls/advapi32/advapi32.spec.def
Index: dlls/advapi32/advapi32.spec
===================================================================
RCS file: /home/wine/wine/dlls/advapi32/advapi32.spec,v
retrieving revision 1.70
diff -u -p -r1.70 advapi32.spec
--- dlls/advapi32/advapi32.spec	7 Mar 2005 11:00:24 -0000	1.70
+++ dlls/advapi32/advapi32.spec	11 May 2005 11:32:35 -0000
@@ -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()
Index: dlls/advapi32/eventlog.c
===================================================================
RCS file: /home/wine/wine/dlls/advapi32/eventlog.c,v
retrieving revision 1.23
diff -u -p -r1.23 eventlog.c
--- dlls/advapi32/eventlog.c	23 Mar 2005 13:09:27 -0000	1.23
+++ dlls/advapi32/eventlog.c	11 May 2005 11:32:36 -0000
@@ -27,6 +27,8 @@
 #include "winerror.h"
 #include "winreg.h"
 #include "winternl.h"
+#include "wmistr.h"
+#include "evntrace.h"
 
 #include "wine/debug.h"
 
@@ -435,4 +437,26 @@ BOOL WINAPI ReportEventW( HANDLE hEventL
         }
     }
     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;
 }


More information about the wine-patches mailing list