ReactOS
0.4.16-dev-329-g9223134
evntrace.c
Go to the documentation of this file.
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
advapi32.h
WINE_DEFAULT_DEBUG_CHANNEL
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
Definition:
precomp.h:23
UNIMPLEMENTED
#define UNIMPLEMENTED
Definition:
ntoskrnl.c:15
SetLastError
#define SetLastError(x)
Definition:
compat.h:752
ERROR_ACCESS_DENIED
#define ERROR_ACCESS_DENIED
Definition:
compat.h:97
OpenTraceA
TRACEHANDLE WINAPI OpenTraceA(IN PEVENT_TRACE_LOGFILEA Logfile)
Definition:
evntrace.c:17
ProcessTrace
ULONG WINAPI ProcessTrace(IN PTRACEHANDLE HandleArray, IN ULONG HandleCount, IN LPFILETIME StartTime, IN LPFILETIME EndTime)
Definition:
evntrace.c:35
OpenTraceW
TRACEHANDLE WINAPI OpenTraceW(IN PEVENT_TRACE_LOGFILEW Logfile)
Definition:
evntrace.c:26
evntrace.h
INVALID_PROCESSTRACE_HANDLE
#define INVALID_PROCESSTRACE_HANDLE
Definition:
evntrace.h:714
TRACEHANDLE
ULONG64 TRACEHANDLE
Definition:
evntrace.h:40
PTRACEHANDLE
ULONG64 * PTRACEHANDLE
Definition:
evntrace.h:40
StartTime
static LARGE_INTEGER StartTime
Definition:
sys_arch.c:13
_EVENT_TRACE_LOGFILEA
Definition:
evntrace.h:649
_EVENT_TRACE_LOGFILEW
Definition:
evntrace.h:626
_FILETIME
Definition:
mapidefs.h:60
IN
#define IN
Definition:
typedefs.h:39
ULONG
uint32_t ULONG
Definition:
typedefs.h:59
WINAPI
#define WINAPI
Definition:
msvc.h:6
ERROR_NOACCESS
#define ERROR_NOACCESS
Definition:
winerror.h:578
wmistr.h
dll
win32
advapi32
misc
evntrace.c
Generated on Sun Dec 8 2024 06:03:28 for ReactOS by
1.9.6