[PATCH v2 2/3] advapi32: Consolidate QueryTraceW call Into ControlTraceW

David Koolhoven david at koolhoven-home.net
Mon Apr 26 16:11:01 CDT 2021


Consolidates calls which currently can only give a single
return code.

Signed-off-by: David Koolhoven <david at koolhoven-home.net>
---
 dlls/advapi32/eventlog.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/dlls/advapi32/eventlog.c b/dlls/advapi32/eventlog.c
index c01955e22d5..f651aa33bae 100644
--- a/dlls/advapi32/eventlog.c
+++ b/dlls/advapi32/eventlog.c
@@ -678,8 +678,7 @@ ULONG WINAPI StopTraceA( TRACEHANDLE session, LPCSTR session_name, PEVENT_TRACE_
  */
 ULONG WINAPI QueryTraceW( TRACEHANDLE handle, LPCWSTR sessionname, PEVENT_TRACE_PROPERTIES properties )
 {
-    FIXME("%s %s %p: stub\n", wine_dbgstr_longlong(handle), debugstr_w(sessionname), properties);
-    return ERROR_CALL_NOT_IMPLEMENTED;
+    return ControlTraceW( hSession, SessionName, Properties, EVENT_TRACE_CONTROL_FLUSH );
 }
 
 /******************************************************************************
-- 
2.19.1




More information about the wine-devel mailing list