Commit 900366fd authored by Michael Müller's avatar Michael Müller Committed by Alexandre Julliard

ntdll: Move EventRegister/Unregister from advapi32 to ntdll.

parent 4814aad7
......@@ -272,9 +272,9 @@
@ stdcall EventActivityIdControl(long ptr)
@ stdcall EventEnabled(int64 ptr)
@ stdcall EventProviderEnabled(int64 long int64)
@ stdcall EventRegister(ptr ptr ptr ptr)
@ stdcall EventRegister(ptr ptr ptr ptr) ntdll.EtwEventRegister
@ stdcall EventSetInformation(int64 long ptr long)
@ stdcall EventUnregister(int64)
@ stdcall EventUnregister(int64) ntdll.EtwEventUnregister
@ stdcall EventWrite(int64 ptr long ptr)
# @ stub EventWriteEndScenario
# @ stub EventWriteEx
......
......@@ -829,26 +829,6 @@ ULONG WINAPI UnregisterTraceGuids( TRACEHANDLE RegistrationHandle )
}
/******************************************************************************
* EventRegister [ADVAPI32.@]
*/
ULONG WINAPI EventRegister( LPCGUID provider, PENABLECALLBACK callback, PVOID context, PREGHANDLE handle )
{
FIXME("%s, %p, %p, %p\n", debugstr_guid(provider), callback, context, handle);
*handle = 0xdeadbeef;
return ERROR_SUCCESS;
}
/******************************************************************************
* EventUnregister [ADVAPI32.@]
*/
ULONG WINAPI EventUnregister( REGHANDLE handle )
{
FIXME("%s: stub\n", wine_dbgstr_longlong(handle));
return ERROR_SUCCESS;
}
/******************************************************************************
* EventEnabled [ADVAPI32.@]
*
*/
......
......@@ -34,6 +34,7 @@
#include "ntdll_misc.h"
#include "wmistr.h"
#include "evntrace.h"
#include "evntprov.h"
WINE_DEFAULT_DEBUG_CHANNEL(ntdll);
......@@ -359,6 +360,27 @@ HANDLE WINAPI WinSqmStartSession(GUID *sessionguid, DWORD sessionid, DWORD unkno
}
/******************************************************************************
* EtwEventRegister (NTDLL.@)
*/
ULONG WINAPI EtwEventRegister( LPCGUID provider, PENABLECALLBACK callback, PVOID context,
PREGHANDLE handle )
{
FIXME("(%s, %p, %p, %p) stub.\n", debugstr_guid(provider), callback, context, handle);
*handle = 0xdeadbeef;
return ERROR_SUCCESS;
}
/******************************************************************************
* EtwEventUnregister (NTDLL.@)
*/
ULONG WINAPI EtwEventUnregister( REGHANDLE handle )
{
FIXME("(%s) stub.\n", wine_dbgstr_longlong(handle));
return ERROR_SUCCESS;
}
/******************************************************************************
* EtwRegisterTraceGuidsW (NTDLL.@)
*
* Register an event trace provider and the event trace classes that it uses
......
......@@ -41,6 +41,8 @@
# @ stub DbgUiStopDebugging
@ stub DbgUiWaitStateChange
@ stdcall DbgUserBreakPoint()
@ stdcall EtwEventRegister(ptr ptr ptr ptr)
@ stdcall EtwEventUnregister(int64)
@ stdcall EtwRegisterTraceGuidsA(ptr ptr ptr long ptr str str ptr)
@ stdcall EtwRegisterTraceGuidsW(ptr ptr ptr long ptr wstr wstr ptr)
# @ stub KiFastSystemCall
......
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