diff --git a/dlls/advapi32/advapi32.spec b/dlls/advapi32/advapi32.spec index 8e2911c06a5..3bd6382cd7c 100644 --- a/dlls/advapi32/advapi32.spec +++ b/dlls/advapi32/advapi32.spec @@ -783,7 +783,7 @@ # @ stub UninstallApplication @ stdcall UnlockServiceDatabase (ptr) # @ stub UnregisterIdleTask -@ stdcall UnregisterTraceGuids(int64) +@ stdcall UnregisterTraceGuids(int64) ntdll.EtwUnregisterTraceGuids @ stub UpdateTraceA @ stub UpdateTraceW # @ stub UsePinForEncryptedFilesA diff --git a/dlls/advapi32/eventlog.c b/dlls/advapi32/eventlog.c index c1dbb99276c..93d814c281f 100644 --- a/dlls/advapi32/eventlog.c +++ b/dlls/advapi32/eventlog.c @@ -814,20 +814,6 @@ ULONG WINAPI TraceEvent( TRACEHANDLE SessionHandle, PEVENT_TRACE_HEADER EventTra return ERROR_CALL_NOT_IMPLEMENTED; } -/****************************************************************************** - * UnregisterTraceGuids [ADVAPI32.@] - * - * See RegisterTraceGuids - * - * FIXME - * Stub. - */ -ULONG WINAPI UnregisterTraceGuids( TRACEHANDLE RegistrationHandle ) -{ - FIXME("%s: stub\n", wine_dbgstr_longlong(RegistrationHandle)); - return ERROR_CALL_NOT_IMPLEMENTED; -} - /****************************************************************************** * EventEnabled [ADVAPI32.@] * diff --git a/dlls/ntdll/misc.c b/dlls/ntdll/misc.c index ceb82f60a20..40a878539a6 100644 --- a/dlls/ntdll/misc.c +++ b/dlls/ntdll/misc.c @@ -445,3 +445,15 @@ ULONG WINAPI EtwRegisterTraceGuidsA( WMIDPREQUEST RequestAddress, debugstr_a(MofResourceName), RegistrationHandle); return ERROR_SUCCESS; } + +/****************************************************************************** + * EtwUnregisterTraceGuids (NTDLL.@) + */ +ULONG WINAPI EtwUnregisterTraceGuids( TRACEHANDLE RegistrationHandle ) +{ + if (!RegistrationHandle) + return ERROR_INVALID_PARAMETER; + + FIXME("%s: stub\n", wine_dbgstr_longlong(RegistrationHandle)); + return ERROR_SUCCESS; +} diff --git a/dlls/ntdll/ntdll.spec b/dlls/ntdll/ntdll.spec index fc6074cfb0c..28dc60c40a2 100644 --- a/dlls/ntdll/ntdll.spec +++ b/dlls/ntdll/ntdll.spec @@ -46,6 +46,7 @@ @ stdcall EtwEventUnregister(int64) @ stdcall EtwRegisterTraceGuidsA(ptr ptr ptr long ptr str str ptr) @ stdcall EtwRegisterTraceGuidsW(ptr ptr ptr long ptr wstr wstr ptr) +@ stdcall EtwUnregisterTraceGuids(int64) # @ stub KiFastSystemCall # @ stub KiFastSystemCallRet # @ stub KiIntSystemCall