mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-05 20:29:37 +00:00
advapi32: Add stubs for GetTraceEnableFlags and GetTraceEnableLevel.
This commit is contained in:
parent
eb8406b810
commit
77b0e788b8
|
@ -351,8 +351,8 @@
|
||||||
@ stub GetSiteSidFromToken
|
@ stub GetSiteSidFromToken
|
||||||
# @ stub GetThreadWaitChain
|
# @ stub GetThreadWaitChain
|
||||||
@ stdcall GetTokenInformation(long long ptr long ptr)
|
@ stdcall GetTokenInformation(long long ptr long ptr)
|
||||||
@ stub GetTraceEnableFlags
|
@ stdcall GetTraceEnableFlags(int64)
|
||||||
@ stub GetTraceEnableLevel
|
@ stdcall GetTraceEnableLevel(int64)
|
||||||
@ stdcall -ret64 GetTraceLoggerHandle(ptr)
|
@ stdcall -ret64 GetTraceLoggerHandle(ptr)
|
||||||
@ stdcall GetTrusteeFormA(ptr)
|
@ stdcall GetTrusteeFormA(ptr)
|
||||||
@ stdcall GetTrusteeFormW(ptr)
|
@ stdcall GetTrusteeFormW(ptr)
|
||||||
|
|
|
@ -377,6 +377,24 @@ BOOL WINAPI GetOldestEventLogRecord( HANDLE hEventLog, PDWORD OldestRecord )
|
||||||
return TRUE;
|
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.@]
|
* GetTraceLoggerHandle [ADVAPI32.@]
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -66,8 +66,8 @@
|
||||||
@ stdcall GetSidSubAuthority(ptr long) advapi32.GetSidSubAuthority
|
@ stdcall GetSidSubAuthority(ptr long) advapi32.GetSidSubAuthority
|
||||||
@ stdcall GetSidSubAuthorityCount(ptr) advapi32.GetSidSubAuthorityCount
|
@ stdcall GetSidSubAuthorityCount(ptr) advapi32.GetSidSubAuthorityCount
|
||||||
@ stdcall GetTokenInformation(long long ptr long ptr) advapi32.GetTokenInformation
|
@ stdcall GetTokenInformation(long long ptr long ptr) advapi32.GetTokenInformation
|
||||||
@ stub GetTraceEnableFlags
|
@ stdcall GetTraceEnableFlags(int64) advapi32.GetTraceEnableFlags
|
||||||
@ stub GetTraceEnableLevel
|
@ stdcall GetTraceEnableLevel(int64) advapi32.GetTraceEnableLevel
|
||||||
@ stdcall -ret64 GetTraceLoggerHandle(ptr) advapi32.GetTraceLoggerHandle
|
@ stdcall -ret64 GetTraceLoggerHandle(ptr) advapi32.GetTraceLoggerHandle
|
||||||
@ stdcall InitializeAcl(ptr long long) advapi32.InitializeAcl
|
@ stdcall InitializeAcl(ptr long long) advapi32.InitializeAcl
|
||||||
@ stdcall InitializeSecurityDescriptor(ptr long) advapi32.InitializeSecurityDescriptor
|
@ stdcall InitializeSecurityDescriptor(ptr long) advapi32.InitializeSecurityDescriptor
|
||||||
|
|
|
@ -30,6 +30,14 @@ extern "C" {
|
||||||
#define EVENT_TRACE_CONTROL_UPDATE 2
|
#define EVENT_TRACE_CONTROL_UPDATE 2
|
||||||
#define EVENT_TRACE_CONTROL_FLUSH 3
|
#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;
|
typedef ULONG64 TRACEHANDLE, *PTRACEHANDLE;
|
||||||
|
|
||||||
struct _EVENT_TRACE_LOGFILEA;
|
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 FlushTraceA(TRACEHANDLE,LPCSTR,PEVENT_TRACE_PROPERTIES);
|
||||||
ULONG WINAPI FlushTraceW(TRACEHANDLE,LPCWSTR,PEVENT_TRACE_PROPERTIES);
|
ULONG WINAPI FlushTraceW(TRACEHANDLE,LPCWSTR,PEVENT_TRACE_PROPERTIES);
|
||||||
#define FlushTrace WINELIB_NAME_AW(FlushTrace)
|
#define FlushTrace WINELIB_NAME_AW(FlushTrace)
|
||||||
|
ULONG WINAPI GetTraceEnableFlags(TRACEHANDLE);
|
||||||
|
UCHAR WINAPI GetTraceEnableLevel(TRACEHANDLE);
|
||||||
TRACEHANDLE WINAPI GetTraceLoggerHandle(PVOID);
|
TRACEHANDLE WINAPI GetTraceLoggerHandle(PVOID);
|
||||||
ULONG WINAPI QueryAllTracesA(PEVENT_TRACE_PROPERTIES*,ULONG,PULONG);
|
ULONG WINAPI QueryAllTracesA(PEVENT_TRACE_PROPERTIES*,ULONG,PULONG);
|
||||||
ULONG WINAPI QueryAllTracesW(PEVENT_TRACE_PROPERTIES*,ULONG,PULONG);
|
ULONG WINAPI QueryAllTracesW(PEVENT_TRACE_PROPERTIES*,ULONG,PULONG);
|
||||||
|
|
Loading…
Reference in a new issue