mirror of
https://github.com/reactos/reactos.git
synced 2024-11-24 20:13:31 +08:00
[ADVAPI32] Stub OpenTrace and ProcessTrace so newer versions of ProcessExplorer start again.
CORE-10312
This commit is contained in:
parent
e3459ec36e
commit
d0f3fa51fb
@ -20,6 +20,7 @@ add_rpc_files(client
|
|||||||
list(APPEND SOURCE
|
list(APPEND SOURCE
|
||||||
misc/dllmain.c
|
misc/dllmain.c
|
||||||
misc/efs.c
|
misc/efs.c
|
||||||
|
misc/evntrace.c
|
||||||
misc/hwprofiles.c
|
misc/hwprofiles.c
|
||||||
misc/logon.c
|
misc/logon.c
|
||||||
misc/msi.c
|
misc/msi.c
|
||||||
|
@ -432,13 +432,13 @@
|
|||||||
432 stdcall OpenServiceA(long str long)
|
432 stdcall OpenServiceA(long str long)
|
||||||
433 stdcall OpenServiceW(long wstr long)
|
433 stdcall OpenServiceW(long wstr long)
|
||||||
434 stdcall OpenThreadToken(long long long ptr)
|
434 stdcall OpenThreadToken(long long long ptr)
|
||||||
435 stub OpenTraceA
|
435 stdcall -ret64 OpenTraceA(ptr)
|
||||||
436 stub OpenTraceW
|
436 stdcall -ret64 OpenTraceW(ptr)
|
||||||
437 stdcall PrivilegeCheck(ptr ptr ptr)
|
437 stdcall PrivilegeCheck(ptr ptr ptr)
|
||||||
438 stdcall PrivilegedServiceAuditAlarmA(str str long ptr long)
|
438 stdcall PrivilegedServiceAuditAlarmA(str str long ptr long)
|
||||||
439 stdcall PrivilegedServiceAuditAlarmW(wstr wstr long ptr long)
|
439 stdcall PrivilegedServiceAuditAlarmW(wstr wstr long ptr long)
|
||||||
440 stub ProcessIdleTasks
|
440 stub ProcessIdleTasks
|
||||||
441 stub ProcessTrace
|
441 stdcall ProcessTrace(ptr long ptr ptr)
|
||||||
442 stdcall QueryAllTracesA(ptr long ptr) ntdll.EtwQueryAllTracesA
|
442 stdcall QueryAllTracesA(ptr long ptr) ntdll.EtwQueryAllTracesA
|
||||||
443 stdcall QueryAllTracesW(ptr long ptr) ntdll.EtwQueryAllTracesW
|
443 stdcall QueryAllTracesW(ptr long ptr) ntdll.EtwQueryAllTracesW
|
||||||
444 stdcall QueryRecoveryAgentsOnEncryptedFile(wstr ptr)
|
444 stdcall QueryRecoveryAgentsOnEncryptedFile(wstr ptr)
|
||||||
|
42
dll/win32/advapi32/misc/evntrace.c
Normal file
42
dll/win32/advapi32/misc/evntrace.c
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
/*
|
||||||
|
* PROJECT: ReactOS system libraries
|
||||||
|
* LICENSE: GPL-2.0+ (https://spdx.org/licenses/GPL-2.0+)
|
||||||
|
* PURPOSE: advapi32.dll Event tracing stubs
|
||||||
|
* COPYRIGHT: Copyright 2017 Mark Jansen (mark.jansen@reactos.org)
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <wmistr.h>
|
||||||
|
#include <evntrace.h>
|
||||||
|
|
||||||
|
WINE_DEFAULT_DEBUG_CHANNEL(advapi);
|
||||||
|
|
||||||
|
|
||||||
|
TRACEHANDLE
|
||||||
|
WINAPI
|
||||||
|
OpenTraceA(IN PEVENT_TRACE_LOGFILEA Logfile)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
SetLastError(ERROR_ACCESS_DENIED);
|
||||||
|
return INVALID_PROCESSTRACE_HANDLE;
|
||||||
|
}
|
||||||
|
|
||||||
|
TRACEHANDLE
|
||||||
|
WINAPI
|
||||||
|
OpenTraceW(IN PEVENT_TRACE_LOGFILEW Logfile)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
SetLastError(ERROR_ACCESS_DENIED);
|
||||||
|
return INVALID_PROCESSTRACE_HANDLE;
|
||||||
|
}
|
||||||
|
|
||||||
|
ULONG
|
||||||
|
WINAPI
|
||||||
|
ProcessTrace(IN PTRACEHANDLE HandleArray,
|
||||||
|
IN ULONG HandleCount,
|
||||||
|
IN LPFILETIME StartTime,
|
||||||
|
IN LPFILETIME EndTime)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
return ERROR_NOACCESS;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user