advapi32: Add a stub implementation of EventSetInformation.

This commit is contained in:
Martin Storsjo 2015-05-09 09:06:11 +03:00 committed by Alexandre Julliard
parent ff25b25a49
commit 518e102a7e
4 changed files with 21 additions and 1 deletions

View File

@ -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

View File

@ -938,6 +938,16 @@ ULONG WINAPI EventWrite( REGHANDLE handle, PCEVENT_DESCRIPTOR descriptor, ULONG
return ERROR_SUCCESS; return ERROR_SUCCESS;
} }
/******************************************************************************
* 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.@]
*/ */

View File

@ -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

View File

@ -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);