advapi32: Add a stub for EventEnabled.

This commit is contained in:
Detlef Riekenberg 2010-10-26 00:17:54 +02:00 committed by Alexandre Julliard
parent 6f0c968a7b
commit 5726ba6439
3 changed files with 29 additions and 0 deletions

View File

@ -217,6 +217,7 @@
# @ stub EqualDomainSid # @ stub EqualDomainSid
@ stdcall EqualPrefixSid(ptr ptr) @ stdcall EqualPrefixSid(ptr ptr)
@ stdcall EqualSid(ptr ptr) @ stdcall EqualSid(ptr ptr)
@ stdcall EventEnabled(int64 ptr)
@ stdcall EventRegister(ptr ptr ptr ptr) @ stdcall EventRegister(ptr ptr ptr ptr)
@ stdcall FileEncryptionStatusA(str ptr) @ stdcall FileEncryptionStatusA(str ptr)
@ stdcall FileEncryptionStatusW(wstr ptr) @ stdcall FileEncryptionStatusW(wstr ptr)

View File

@ -818,6 +818,16 @@ ULONG WINAPI EventRegister( LPCGUID provider, PENABLECALLBACK callback, PVOID co
return ERROR_CALL_NOT_IMPLEMENTED; return ERROR_CALL_NOT_IMPLEMENTED;
} }
/******************************************************************************
* EventEnabled [ADVAPI32.@]
*
*/
BOOLEAN WINAPI EventEnabled( REGHANDLE handle, PCEVENT_DESCRIPTOR descriptor )
{
FIXME("(%s, %p): stub\n", wine_dbgstr_longlong(handle), descriptor);
return FALSE;
}
/****************************************************************************** /******************************************************************************
* QueryTraceW [ADVAPI32.@] * QueryTraceW [ADVAPI32.@]
*/ */

View File

@ -23,8 +23,25 @@
extern "C" { extern "C" {
#endif #endif
#define EVENT_LEVEL_MIN 0x00
#define EVENT_LEVEL_MAX 0xff
typedef ULONGLONG REGHANDLE, *PREGHANDLE; typedef ULONGLONG REGHANDLE, *PREGHANDLE;
typedef struct _EVENT_DESCRIPTOR
{
USHORT Id;
UCHAR Version;
UCHAR Channel;
UCHAR Level;
UCHAR Opcode;
USHORT Task;
ULONGLONG Keyword;
} EVENT_DESCRIPTOR;
typedef EVENT_DESCRIPTOR *PEVENT_DESCRIPTOR;
typedef const EVENT_DESCRIPTOR *PCEVENT_DESCRIPTOR;
typedef struct _EVENT_FILTER_DESCRIPTOR typedef struct _EVENT_FILTER_DESCRIPTOR
{ {
ULONGLONG Ptr; ULONGLONG Ptr;
@ -35,6 +52,7 @@ 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);
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);