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 @@
@ stdcall EventEnabled(int64 ptr)
# @ stub EventProviderEnabled
@ stdcall EventRegister(ptr ptr ptr ptr)
# @ stub EventUnregister
# @ stub EventWrite
@ stdcall EventUnregister(int64)
@ stdcall EventWrite(int64 ptr long ptr)
# @ stub EventWriteEndScenario
# @ stub EventWriteEx
# @ stub EventWriteStartScenario
......
......@@ -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.@]
*
*/
......@@ -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.@]
*/
ULONG WINAPI QueryTraceW( TRACEHANDLE handle, LPCWSTR sessionname, PEVENT_TRACE_PROPERTIES properties )
......
......@@ -28,6 +28,13 @@ extern "C" {
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
{
USHORT Id;
......@@ -55,6 +62,7 @@ typedef VOID (NTAPI *PENABLECALLBACK)(LPCGUID,ULONG,UCHAR,ULONGLONG,ULONGLONG,PE
BOOLEAN WINAPI EventEnabled(REGHANDLE, PCEVENT_DESCRIPTOR);
ULONG WINAPI EventRegister(LPCGUID,PENABLECALLBACK,PVOID,PREGHANDLE);
ULONG WINAPI EventUnregister(REGHANDLE);
ULONG WINAPI EventWrite(REGHANDLE,PCEVENT_DESCRIPTOR,ULONG,PEVENT_DATA_DESCRIPTOR);
#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