advapi32: Add stub for TraceSetInformation.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45813
Signed-off-by: Louis Lenders <xerox.xerox2000x@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Louis Lenders 2018-09-13 21:57:19 +02:00 committed by Alexandre Julliard
parent a469d37e43
commit b80780ad0f
4 changed files with 36 additions and 2 deletions

View File

@ -818,7 +818,7 @@
@ varargs TraceMessage(int64 long ptr long)
@ stdcall TraceMessageVa(int64 long ptr long ptr)
# @ stub TraceQueryInformation
# @ stub TraceSetInformation
@ stdcall TraceSetInformation(int64 long ptr long)
# @ stub TreeResetNamedSecurityInfoA
@ stdcall TreeResetNamedSecurityInfoW(wstr long long ptr ptr ptr ptr long ptr long ptr)
# @ stub TreeSetNamedSecurityInfoA

View File

@ -931,3 +931,12 @@ ULONG WINAPI EnumerateTraceGuids(PTRACE_GUID_PROPERTIES *propertiesarray,
FIXME("%p %d %p: stub\n", propertiesarray, arraycount, guidcount);
return ERROR_INVALID_PARAMETER;
}
/******************************************************************************
* TraceSetInformation [ADVAPI32.@]
*/
ULONG WINAPI TraceSetInformation(TRACEHANDLE handle, TRACE_INFO_CLASS infoclass, VOID* info, ULONG len)
{
FIXME("%s %d %p %d: stub\n", wine_dbgstr_longlong(handle), infoclass, info, len);
return ERROR_CALL_NOT_IMPLEMENTED;
}

View File

@ -8,4 +8,4 @@
@ stdcall StartTraceW(ptr wstr ptr) advapi32.StartTraceW
@ stdcall StopTraceW(int64 wstr ptr) advapi32.StopTraceW
@ stub TraceQueryInformation
@ stub TraceSetInformation
@ stdcall TraceSetInformation(int64 long ptr long) advapi32.TraceSetInformation

View File

@ -259,6 +259,31 @@ typedef struct _ENABLE_TRACE_PARAMETERS
ULONG FilterDescCount;
} ENABLE_TRACE_PARAMETERS, *PENABLE_TRACE_PARAMETERS;
typedef enum _TRACE_QUERY_INFO_CLASS
{
TraceGuidQueryList,
TraceGuidQueryInfo,
TraceGuidQueryProcess,
TraceStackTracingInfo,
TraceSystemTraceEnableFlagsInfo,
TraceSampledProfileIntervalInfo,
TraceProfileSourceConfigInfo,
TraceProfileSourceListInfo,
TracePmcEventListInfo,
TracePmcCounterListInfo,
TraceSetDisallowList,
TraceVersionInfo,
TraceGroupQueryList,
TraceGroupQueryInfo,
TraceDisallowListQuery,
TraceCompressionInfo,
TracePeriodicCaptureStateListInfo,
TracePeriodicCaptureStateInfo,
TraceProviderBinaryTracking,
TraceMaxLoggersQuery,
MaxTraceSetInfoClass
} TRACE_QUERY_INFO_CLASS, TRACE_INFO_CLASS;
#define INVALID_PROCESSTRACE_HANDLE ((TRACEHANDLE)~(ULONG_PTR)0)
ULONG WINAPI CloseTrace(TRACEHANDLE);