mirror of
https://github.com/reactos/wine.git
synced 2025-02-16 10:59:45 +00:00
ntdll: Move EventRegister/Unregister from advapi32 to ntdll.
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
4814aad7fe
commit
900366fd07
@ -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
|
||||
|
@ -828,26 +828,6 @@ ULONG WINAPI UnregisterTraceGuids( TRACEHANDLE RegistrationHandle )
|
||||
return ERROR_CALL_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
||||
/******************************************************************************
|
||||
* 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);
|
||||
|
||||
@ -358,6 +359,27 @@ HANDLE WINAPI WinSqmStartSession(GUID *sessionguid, DWORD sessionid, DWORD unkno
|
||||
return INVALID_HANDLE_VALUE;
|
||||
}
|
||||
|
||||
/******************************************************************************
|
||||
* 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.@)
|
||||
*
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user