Commit 593bd1a5 authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

advapi32: Add stub implementations of EventUnregister and EventWrite.

parent cb436f71
...@@ -273,8 +273,8 @@ ...@@ -273,8 +273,8 @@
@ stdcall EventEnabled(int64 ptr) @ stdcall EventEnabled(int64 ptr)
# @ stub EventProviderEnabled # @ stub EventProviderEnabled
@ stdcall EventRegister(ptr ptr ptr ptr) @ stdcall EventRegister(ptr ptr ptr ptr)
# @ stub EventUnregister @ stdcall EventUnregister(int64)
# @ stub EventWrite @ stdcall EventWrite(int64 ptr long ptr)
# @ stub EventWriteEndScenario # @ stub EventWriteEndScenario
# @ stub EventWriteEx # @ stub EventWriteEx
# @ stub EventWriteStartScenario # @ stub EventWriteStartScenario
......
...@@ -840,6 +840,15 @@ ULONG WINAPI EventRegister( LPCGUID provider, PENABLECALLBACK callback, PVOID co ...@@ -840,6 +840,15 @@ ULONG WINAPI EventRegister( LPCGUID provider, PENABLECALLBACK callback, PVOID co
} }
/****************************************************************************** /******************************************************************************
* EventUnregister [ADVAPI32.@]
*/
ULONG WINAPI EventUnregister( REGHANDLE handle )
{
FIXME("%s: stub\n", wine_dbgstr_longlong(handle));
return ERROR_SUCCESS;
}
/******************************************************************************
* EventEnabled [ADVAPI32.@] * EventEnabled [ADVAPI32.@]
* *
*/ */
...@@ -850,6 +859,16 @@ BOOLEAN WINAPI EventEnabled( REGHANDLE handle, PCEVENT_DESCRIPTOR descriptor ) ...@@ -850,6 +859,16 @@ BOOLEAN WINAPI EventEnabled( REGHANDLE handle, PCEVENT_DESCRIPTOR descriptor )
} }
/****************************************************************************** /******************************************************************************
* EventWrite [ADVAPI32.@]
*/
ULONG WINAPI EventWrite( REGHANDLE handle, PCEVENT_DESCRIPTOR descriptor, ULONG count,
PEVENT_DATA_DESCRIPTOR data )
{
FIXME("%s, %p, %u, %p: stub\n", wine_dbgstr_longlong(handle), descriptor, count, data);
return ERROR_SUCCESS;
}
/******************************************************************************
* QueryTraceW [ADVAPI32.@] * QueryTraceW [ADVAPI32.@]
*/ */
ULONG WINAPI QueryTraceW( TRACEHANDLE handle, LPCWSTR sessionname, PEVENT_TRACE_PROPERTIES properties ) ULONG WINAPI QueryTraceW( TRACEHANDLE handle, LPCWSTR sessionname, PEVENT_TRACE_PROPERTIES properties )
......
...@@ -28,6 +28,13 @@ extern "C" { ...@@ -28,6 +28,13 @@ extern "C" {
typedef ULONGLONG REGHANDLE, *PREGHANDLE; typedef ULONGLONG REGHANDLE, *PREGHANDLE;
typedef struct _EVENT_DATA_DESCRIPTOR
{
ULONGLONG Ptr;
ULONG Size;
ULONG Reserved;
} EVENT_DATA_DESCRIPTOR, *PEVENT_DATA_DESCRIPTOR;
typedef struct _EVENT_DESCRIPTOR typedef struct _EVENT_DESCRIPTOR
{ {
USHORT Id; USHORT Id;
...@@ -55,6 +62,7 @@ typedef VOID (NTAPI *PENABLECALLBACK)(LPCGUID,ULONG,UCHAR,ULONGLONG,ULONGLONG,PE ...@@ -55,6 +62,7 @@ typedef VOID (NTAPI *PENABLECALLBACK)(LPCGUID,ULONG,UCHAR,ULONGLONG,ULONGLONG,PE
BOOLEAN WINAPI EventEnabled(REGHANDLE, PCEVENT_DESCRIPTOR); BOOLEAN WINAPI EventEnabled(REGHANDLE, PCEVENT_DESCRIPTOR);
ULONG WINAPI EventRegister(LPCGUID,PENABLECALLBACK,PVOID,PREGHANDLE); ULONG WINAPI EventRegister(LPCGUID,PENABLECALLBACK,PVOID,PREGHANDLE);
ULONG WINAPI EventUnregister(REGHANDLE); ULONG WINAPI EventUnregister(REGHANDLE);
ULONG WINAPI EventWrite(REGHANDLE,PCEVENT_DESCRIPTOR,ULONG,PEVENT_DATA_DESCRIPTOR);
#ifdef __cplusplus #ifdef __cplusplus
} }
......
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