Commit 518e102a authored by Martin Storsjo's avatar Martin Storsjo Committed by Alexandre Julliard

advapi32: Add a stub implementation of EventSetInformation.

parent ff25b25a
...@@ -273,6 +273,7 @@ ...@@ -273,6 +273,7 @@
@ stdcall EventEnabled(int64 ptr) @ stdcall EventEnabled(int64 ptr)
@ stdcall EventProviderEnabled(int64 long int64) @ stdcall EventProviderEnabled(int64 long int64)
@ stdcall EventRegister(ptr ptr ptr ptr) @ stdcall EventRegister(ptr ptr ptr ptr)
@ stdcall EventSetInformation(int64 long ptr long)
@ stdcall EventUnregister(int64) @ stdcall EventUnregister(int64)
@ stdcall EventWrite(int64 ptr long ptr) @ stdcall EventWrite(int64 ptr long ptr)
# @ stub EventWriteEndScenario # @ stub EventWriteEndScenario
......
...@@ -939,6 +939,16 @@ ULONG WINAPI EventWrite( REGHANDLE handle, PCEVENT_DESCRIPTOR descriptor, ULONG ...@@ -939,6 +939,16 @@ ULONG WINAPI EventWrite( REGHANDLE handle, PCEVENT_DESCRIPTOR descriptor, ULONG
} }
/****************************************************************************** /******************************************************************************
* EventSetInformation [ADVAPI32.@]
*/
ULONG WINAPI EventSetInformation( REGHANDLE handle, EVENT_INFO_CLASS class, PVOID info,
ULONG length )
{
FIXME("%u, %p, %u\n", class, info, length);
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 )
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
@ stdcall EventEnabled(int64 ptr) advapi32.EventEnabled @ stdcall EventEnabled(int64 ptr) advapi32.EventEnabled
@ stdcall EventProviderEnabled(int64 long int64) advapi32.EventProviderEnabled @ stdcall EventProviderEnabled(int64 long int64) advapi32.EventProviderEnabled
@ stdcall EventRegister(ptr ptr ptr ptr) advapi32.EventRegister @ stdcall EventRegister(ptr ptr ptr ptr) advapi32.EventRegister
@ stub EventSetInformation @ stdcall EventSetInformation(int64 long ptr long) advapi32.EventSetInformation
@ stdcall EventUnregister(int64) advapi32.EventUnregister @ stdcall EventUnregister(int64) advapi32.EventUnregister
@ stdcall EventWrite(int64 ptr long ptr) advapi32.EventWrite @ stdcall EventWrite(int64 ptr long ptr) advapi32.EventWrite
@ stub EventWriteEx @ stub EventWriteEx
......
...@@ -59,9 +59,18 @@ typedef struct _EVENT_FILTER_DESCRIPTOR ...@@ -59,9 +59,18 @@ typedef struct _EVENT_FILTER_DESCRIPTOR
typedef VOID (NTAPI *PENABLECALLBACK)(LPCGUID,ULONG,UCHAR,ULONGLONG,ULONGLONG,PEVENT_FILTER_DESCRIPTOR,PVOID); typedef VOID (NTAPI *PENABLECALLBACK)(LPCGUID,ULONG,UCHAR,ULONGLONG,ULONGLONG,PEVENT_FILTER_DESCRIPTOR,PVOID);
typedef enum _EVENT_INFO_CLASS
{
EventProviderBinaryTrackInfo = 0,
EventProviderSetTraits,
EventProviderUseDescriptorType,
MaxEventInfo
} EVENT_INFO_CLASS;
BOOLEAN WINAPI EventEnabled(REGHANDLE, PCEVENT_DESCRIPTOR); BOOLEAN WINAPI EventEnabled(REGHANDLE, PCEVENT_DESCRIPTOR);
BOOLEAN WINAPI EventProviderEnabled(REGHANDLE, UCHAR, ULONGLONG); BOOLEAN WINAPI EventProviderEnabled(REGHANDLE, UCHAR, ULONGLONG);
ULONG WINAPI EventRegister(LPCGUID,PENABLECALLBACK,PVOID,PREGHANDLE); ULONG WINAPI EventRegister(LPCGUID,PENABLECALLBACK,PVOID,PREGHANDLE);
ULONG WINAPI EventSetInformation(REGHANDLE, EVENT_INFO_CLASS, PVOID, ULONG);
ULONG WINAPI EventUnregister(REGHANDLE); ULONG WINAPI EventUnregister(REGHANDLE);
ULONG WINAPI EventWrite(REGHANDLE,PCEVENT_DESCRIPTOR,ULONG,PEVENT_DATA_DESCRIPTOR); ULONG WINAPI EventWrite(REGHANDLE,PCEVENT_DESCRIPTOR,ULONG,PEVENT_DATA_DESCRIPTOR);
......
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