[PATCH v2 1/3] sechost: Update return codes for ControlTraceA and W
David Koolhoven
david at koolhoven-home.net
Mon Apr 26 16:11:00 CDT 2021
This lets programs know tracing is not available.
Signed-off-by: David Koolhoven <david at koolhoven-home.net>
---
dlls/sechost/trace.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/sechost/trace.c b/dlls/sechost/trace.c
index 01733690ac8..8f8c316a353 100644
--- a/dlls/sechost/trace.c
+++ b/dlls/sechost/trace.c
@@ -37,7 +37,7 @@ ULONG WINAPI ControlTraceA( TRACEHANDLE handle, const char *session,
EVENT_TRACE_PROPERTIES *properties, ULONG control )
{
FIXME("(%s, %s, %p, %d) stub\n", wine_dbgstr_longlong(handle), debugstr_a(session), properties, control);
- return ERROR_SUCCESS;
+ return ERROR_WMI_INSTANCE_NOT_FOUND;
}
/******************************************************************************
@@ -47,7 +47,7 @@ ULONG WINAPI ControlTraceW( TRACEHANDLE handle, const WCHAR *session,
EVENT_TRACE_PROPERTIES *properties, ULONG control )
{
FIXME("(%s, %s, %p, %d) stub\n", wine_dbgstr_longlong(handle), debugstr_w(session), properties, control);
- return ERROR_SUCCESS;
+ return ERROR_WMI_INSTANCE_NOT_FOUND;
}
/******************************************************************************
--
2.19.1
More information about the wine-devel
mailing list