advapi32: Add stub for GetTraceLoggerHandle.

This commit is contained in:
André Hentschel 2014-04-22 23:36:12 +02:00 committed by Alexandre Julliard
parent 24c572874d
commit 7e01e08939
4 changed files with 13 additions and 2 deletions

View File

@ -353,7 +353,7 @@
@ stdcall GetTokenInformation(long long ptr long ptr)
@ stub GetTraceEnableFlags
@ stub GetTraceEnableLevel
@ stub GetTraceLoggerHandle
@ stdcall -ret64 GetTraceLoggerHandle(ptr)
@ stdcall GetTrusteeFormA(ptr)
@ stdcall GetTrusteeFormW(ptr)
@ stdcall GetTrusteeNameA(ptr)

View File

@ -377,6 +377,16 @@ BOOL WINAPI GetOldestEventLogRecord( HANDLE hEventLog, PDWORD OldestRecord )
return TRUE;
}
/******************************************************************************
* GetTraceLoggerHandle [ADVAPI32.@]
*/
TRACEHANDLE WINAPI GetTraceLoggerHandle( PVOID buf )
{
FIXME("(%p) stub\n", buf);
SetLastError(ERROR_ACCESS_DENIED);
return INVALID_PROCESSTRACE_HANDLE;
}
/******************************************************************************
* NotifyChangeEventLog [ADVAPI32.@]
*

View File

@ -68,7 +68,7 @@
@ stdcall GetTokenInformation(long long ptr long ptr) advapi32.GetTokenInformation
@ stub GetTraceEnableFlags
@ stub GetTraceEnableLevel
@ stub GetTraceLoggerHandle
@ stdcall -ret64 GetTraceLoggerHandle(ptr) advapi32.GetTraceLoggerHandle
@ stdcall InitializeAcl(ptr long long) advapi32.InitializeAcl
@ stdcall InitializeSecurityDescriptor(ptr long) advapi32.InitializeSecurityDescriptor
@ stdcall InitializeSid(ptr ptr long) advapi32.InitializeSid

View File

@ -221,6 +221,7 @@ 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)
TRACEHANDLE WINAPI GetTraceLoggerHandle(PVOID);
ULONG WINAPI QueryAllTracesA(PEVENT_TRACE_PROPERTIES*,ULONG,PULONG);
ULONG WINAPI QueryAllTracesW(PEVENT_TRACE_PROPERTIES*,ULONG,PULONG);
#define QueryAllTraces WINELIB_NAME_AW(QueryAllTraces)