This lets programs know tracing is not available.
Signed-off-by: David Koolhoven david@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; }
/******************************************************************************