advapi32: Add stubs for GetTraceEnableFlags and GetTraceEnableLevel.

This commit is contained in:
André Hentschel 2014-04-24 20:59:48 +02:00 committed by Alexandre Julliard
parent eb8406b810
commit 77b0e788b8
4 changed files with 32 additions and 4 deletions

View File

@ -351,8 +351,8 @@
@ stub GetSiteSidFromToken
# @ stub GetThreadWaitChain
@ stdcall GetTokenInformation(long long ptr long ptr)
@ stub GetTraceEnableFlags
@ stub GetTraceEnableLevel
@ stdcall GetTraceEnableFlags(int64)
@ stdcall GetTraceEnableLevel(int64)
@ stdcall -ret64 GetTraceLoggerHandle(ptr)
@ stdcall GetTrusteeFormA(ptr)
@ stdcall GetTrusteeFormW(ptr)

View File

@ -377,6 +377,24 @@ BOOL WINAPI GetOldestEventLogRecord( HANDLE hEventLog, PDWORD OldestRecord )
return TRUE;
}
/******************************************************************************
* GetTraceEnableFlags [ADVAPI32.@]
*/
ULONG WINAPI GetTraceEnableFlags( TRACEHANDLE handle )
{
FIXME("(%s) stub\n", wine_dbgstr_longlong(handle));
return 0;
}
/******************************************************************************
* GetTraceEnableLevel [ADVAPI32.@]
*/
UCHAR WINAPI GetTraceEnableLevel( TRACEHANDLE handle )
{
FIXME("(%s) stub\n", wine_dbgstr_longlong(handle));
return TRACE_LEVEL_VERBOSE;
}
/******************************************************************************
* GetTraceLoggerHandle [ADVAPI32.@]
*/

View File

@ -66,8 +66,8 @@
@ stdcall GetSidSubAuthority(ptr long) advapi32.GetSidSubAuthority
@ stdcall GetSidSubAuthorityCount(ptr) advapi32.GetSidSubAuthorityCount
@ stdcall GetTokenInformation(long long ptr long ptr) advapi32.GetTokenInformation
@ stub GetTraceEnableFlags
@ stub GetTraceEnableLevel
@ stdcall GetTraceEnableFlags(int64) advapi32.GetTraceEnableFlags
@ stdcall GetTraceEnableLevel(int64) advapi32.GetTraceEnableLevel
@ stdcall -ret64 GetTraceLoggerHandle(ptr) advapi32.GetTraceLoggerHandle
@ stdcall InitializeAcl(ptr long long) advapi32.InitializeAcl
@ stdcall InitializeSecurityDescriptor(ptr long) advapi32.InitializeSecurityDescriptor

View File

@ -30,6 +30,14 @@ extern "C" {
#define EVENT_TRACE_CONTROL_UPDATE 2
#define EVENT_TRACE_CONTROL_FLUSH 3
#define TRACE_LEVEL_NONE 0
#define TRACE_LEVEL_CRITICAL 1
#define TRACE_LEVEL_FATAL 1
#define TRACE_LEVEL_ERROR 2
#define TRACE_LEVEL_WARNING 3
#define TRACE_LEVEL_INFORMATION 4
#define TRACE_LEVEL_VERBOSE 5
typedef ULONG64 TRACEHANDLE, *PTRACEHANDLE;
struct _EVENT_TRACE_LOGFILEA;
@ -221,6 +229,8 @@ ULONG WINAPI EnableTrace(ULONG,ULONG,ULONG,LPCGUID,TRACEHANDLE);
ULONG WINAPI FlushTraceA(TRACEHANDLE,LPCSTR,PEVENT_TRACE_PROPERTIES);
ULONG WINAPI FlushTraceW(TRACEHANDLE,LPCWSTR,PEVENT_TRACE_PROPERTIES);
#define FlushTrace WINELIB_NAME_AW(FlushTrace)
ULONG WINAPI GetTraceEnableFlags(TRACEHANDLE);
UCHAR WINAPI GetTraceEnableLevel(TRACEHANDLE);
TRACEHANDLE WINAPI GetTraceLoggerHandle(PVOID);
ULONG WINAPI QueryAllTracesA(PEVENT_TRACE_PROPERTIES*,ULONG,PULONG);
ULONG WINAPI QueryAllTracesW(PEVENT_TRACE_PROPERTIES*,ULONG,PULONG);