Commit d7cc4f2c authored by Austin English's avatar Austin English Committed by Alexandre Julliard

advapi32: Only show OpenTraceA/W FIXME once.

parent 3ab61749
...@@ -859,7 +859,9 @@ ULONG WINAPI QueryTraceW( TRACEHANDLE handle, LPCWSTR sessionname, PEVENT_TRACE_ ...@@ -859,7 +859,9 @@ ULONG WINAPI QueryTraceW( TRACEHANDLE handle, LPCWSTR sessionname, PEVENT_TRACE_
*/ */
TRACEHANDLE WINAPI OpenTraceA( PEVENT_TRACE_LOGFILEA logfile ) TRACEHANDLE WINAPI OpenTraceA( PEVENT_TRACE_LOGFILEA logfile )
{ {
FIXME("%p: stub\n", logfile); static int once;
if (!once++) FIXME("%p: stub\n", logfile);
SetLastError(ERROR_ACCESS_DENIED); SetLastError(ERROR_ACCESS_DENIED);
return INVALID_PROCESSTRACE_HANDLE; return INVALID_PROCESSTRACE_HANDLE;
} }
...@@ -869,7 +871,9 @@ TRACEHANDLE WINAPI OpenTraceA( PEVENT_TRACE_LOGFILEA logfile ) ...@@ -869,7 +871,9 @@ TRACEHANDLE WINAPI OpenTraceA( PEVENT_TRACE_LOGFILEA logfile )
*/ */
TRACEHANDLE WINAPI OpenTraceW( PEVENT_TRACE_LOGFILEW logfile ) TRACEHANDLE WINAPI OpenTraceW( PEVENT_TRACE_LOGFILEW logfile )
{ {
FIXME("%p: stub\n", logfile); static int once;
if (!once++) FIXME("%p: stub\n", logfile);
SetLastError(ERROR_ACCESS_DENIED); SetLastError(ERROR_ACCESS_DENIED);
return INVALID_PROCESSTRACE_HANDLE; return INVALID_PROCESSTRACE_HANDLE;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment