xref: /reactos/dll/win32/advapi32/misc/evntrace.c (revision ebaf247c)
1 /*
2  * PROJECT:     ReactOS system libraries
3  * LICENSE:     GPL-2.0+ (https://spdx.org/licenses/GPL-2.0+)
4  * PURPOSE:     advapi32.dll Event tracing stubs
5  * COPYRIGHT:   Copyright 2017 Mark Jansen (mark.jansen@reactos.org)
6  */
7 
8 #include <advapi32.h>
9 #include <wmistr.h>
10 #include <evntrace.h>
11 
12 WINE_DEFAULT_DEBUG_CHANNEL(advapi);
13 
14 
15 TRACEHANDLE
16 WINAPI
17 OpenTraceA(IN PEVENT_TRACE_LOGFILEA Logfile)
18 {
19     UNIMPLEMENTED;
20     SetLastError(ERROR_ACCESS_DENIED);
21     return INVALID_PROCESSTRACE_HANDLE;
22 }
23 
24 TRACEHANDLE
25 WINAPI
26 OpenTraceW(IN PEVENT_TRACE_LOGFILEW Logfile)
27 {
28     UNIMPLEMENTED;
29     SetLastError(ERROR_ACCESS_DENIED);
30     return INVALID_PROCESSTRACE_HANDLE;
31 }
32 
33 ULONG
34 WINAPI
35 ProcessTrace(IN PTRACEHANDLE HandleArray,
36              IN ULONG HandleCount,
37              IN LPFILETIME StartTime,
38              IN LPFILETIME EndTime)
39 {
40     UNIMPLEMENTED;
41     return ERROR_NOACCESS;
42 }
43 
44