mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-01 21:53:58 +00:00
advapi32: Add a stub implementation of EnableTraceEx2.
Signed-off-by: Hans Leidekker <hans@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
f94784ddba
commit
bacc68822a
|
@ -248,7 +248,7 @@
|
|||
@ stub ElfReportEventW
|
||||
@ stdcall EnableTrace(long long long ptr int64)
|
||||
@ stdcall EnableTraceEx(ptr ptr int64 long long int64 int64 long ptr)
|
||||
# @ stub EnableTraceEx2
|
||||
@ stdcall EnableTraceEx2(int64 ptr long long int64 int64 long ptr)
|
||||
@ stdcall EncryptFileA(str)
|
||||
@ stdcall EncryptFileW(wstr)
|
||||
# @ stub EncryptedFileKeyInfo
|
||||
|
|
|
@ -238,6 +238,20 @@ ULONG WINAPI EnableTraceEx( LPCGUID provider, LPCGUID source, TRACEHANDLE hSessi
|
|||
return ERROR_SUCCESS;
|
||||
}
|
||||
|
||||
/******************************************************************************
|
||||
* EnableTraceEx2 [ADVAPI32.@]
|
||||
*/
|
||||
ULONG WINAPI EnableTraceEx2( TRACEHANDLE handle, LPCGUID provider, ULONG control, UCHAR level,
|
||||
ULONGLONG match_any, ULONGLONG match_all, ULONG timeout,
|
||||
PENABLE_TRACE_PARAMETERS params )
|
||||
{
|
||||
FIXME("(%s, %s, %u, %c, %s, %s, %u, %p): stub\n", wine_dbgstr_longlong(handle),
|
||||
debugstr_guid(provider), control, level, wine_dbgstr_longlong(match_any),
|
||||
wine_dbgstr_longlong(match_all), timeout, params);
|
||||
|
||||
return ERROR_SUCCESS;
|
||||
}
|
||||
|
||||
/******************************************************************************
|
||||
* EnableTrace [ADVAPI32.@]
|
||||
*/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
@ stdcall ControlTraceW(int64 wstr ptr long) advapi32.ControlTraceW
|
||||
@ stub EnableTraceEx2
|
||||
@ stdcall EnableTraceEx2(int64 ptr long long int64 int64 long ptr) advapi32.EnableTraceEx2
|
||||
@ stub EnumerateTraceGuidsEx
|
||||
@ stub EventAccessControl
|
||||
@ stub EventAccessQuery
|
||||
|
|
|
@ -248,6 +248,18 @@ typedef struct _EVENT_TRACE_PROPERTIES
|
|||
ULONG LoggerNameOffset;
|
||||
} EVENT_TRACE_PROPERTIES, *PEVENT_TRACE_PROPERTIES;
|
||||
|
||||
typedef struct _EVENT_FILTER_DESCRIPTOR EVENT_FILTER_DESCRIPTOR, *PEVENT_FILTER_DESCRIPTOR;
|
||||
|
||||
typedef struct _ENABLE_TRACE_PARAMETERS
|
||||
{
|
||||
ULONG Version;
|
||||
ULONG EnableProperty;
|
||||
ULONG ControlFlags;
|
||||
GUID SourceId;
|
||||
PEVENT_FILTER_DESCRIPTOR EnableFilterDesc;
|
||||
ULONG FilterDescCount;
|
||||
} ENABLE_TRACE_PARAMETERS, *PENABLE_TRACE_PARAMETERS;
|
||||
|
||||
#define INVALID_PROCESSTRACE_HANDLE ((TRACEHANDLE)~(ULONG_PTR)0)
|
||||
|
||||
ULONG WINAPI CloseTrace(TRACEHANDLE);
|
||||
|
@ -255,6 +267,7 @@ ULONG WINAPI ControlTraceA(TRACEHANDLE,LPCSTR,PEVENT_TRACE_PROPERTIES,ULONG);
|
|||
ULONG WINAPI ControlTraceW(TRACEHANDLE,LPCWSTR,PEVENT_TRACE_PROPERTIES,ULONG);
|
||||
#define ControlTrace WINELIB_NAME_AW(ControlTrace)
|
||||
ULONG WINAPI EnableTrace(ULONG,ULONG,ULONG,LPCGUID,TRACEHANDLE);
|
||||
ULONG WINAPI EnableTraceEx2(TRACEHANDLE,LPCGUID,ULONG,UCHAR,ULONGLONG,ULONGLONG,ULONG,PENABLE_TRACE_PARAMETERS);
|
||||
ULONG WINAPI FlushTraceA(TRACEHANDLE,LPCSTR,PEVENT_TRACE_PROPERTIES);
|
||||
ULONG WINAPI FlushTraceW(TRACEHANDLE,LPCWSTR,PEVENT_TRACE_PROPERTIES);
|
||||
#define FlushTrace WINELIB_NAME_AW(FlushTrace)
|
||||
|
|
Loading…
Reference in a new issue