mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-01 09:50:52 +00:00
advapi32: Only show OpenTraceA/W FIXME once.
Signed-off-by: Austin English <austinenglish@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
3ab6174997
commit
d7cc4f2c75
1 changed files with 6 additions and 2 deletions
|
@ -859,7 +859,9 @@ ULONG WINAPI QueryTraceW( TRACEHANDLE handle, LPCWSTR sessionname, PEVENT_TRACE_
|
|||
*/
|
||||
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);
|
||||
return INVALID_PROCESSTRACE_HANDLE;
|
||||
}
|
||||
|
@ -869,7 +871,9 @@ TRACEHANDLE WINAPI OpenTraceA( PEVENT_TRACE_LOGFILEA 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);
|
||||
return INVALID_PROCESSTRACE_HANDLE;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue