xref: /reactos/sdk/lib/rtl/trace.c (revision 3435c3b5)
1 /*
2  * PROJECT:         ReactOS Run-Time Library
3  * LICENSE:         BSD - See COPYING.ARM in the top level directory
4  * PURPOSE:         Rtl Trace Routines
5  */
6 
7 /* INCLUDES *******************************************************************/
8 
9 #include <rtl.h>
10 #define NDEBUG
11 #include <debug.h>
12 
13 static RTL_UNLOAD_EVENT_TRACE RtlpUnloadEventTrace[RTL_UNLOAD_EVENT_TRACE_NUMBER];
14 
15 /* FUNCTIONS ******************************************************************/
16 
17 PRTL_UNLOAD_EVENT_TRACE
18 NTAPI
19 RtlGetUnloadEventTrace(VOID)
20 {
21     /* Just return a pointer to an array, according to MSDN */
22     return RtlpUnloadEventTrace;
23 }
24 
25 BOOLEAN
26 NTAPI
27 RtlTraceDatabaseAdd(IN PRTL_TRACE_DATABASE Database,
28                     IN ULONG Count,
29                     IN PVOID *Trace,
30                     OUT OPTIONAL PRTL_TRACE_BLOCK *TraceBlock)
31 {
32     UNIMPLEMENTED;
33     return FALSE;
34 }
35 
36 PRTL_TRACE_DATABASE
37 NTAPI
38 RtlTraceDatabaseCreate(IN ULONG Buckets,
39                        IN OPTIONAL SIZE_T MaximumSize,
40                        IN ULONG Flags,
41                        IN ULONG Tag,
42                        IN OPTIONAL RTL_TRACE_HASH_FUNCTION HashFunction)
43 {
44     UNIMPLEMENTED;
45     return NULL;
46 }
47 
48 BOOLEAN
49 NTAPI
50 RtlTraceDatabaseDestroy(IN PRTL_TRACE_DATABASE Database)
51 {
52     UNIMPLEMENTED;
53     return FALSE;
54 }
55 
56 BOOLEAN
57 NTAPI
58 RtlTraceDatabaseEnumerate(IN PRTL_TRACE_DATABASE Database,
59                           IN PRTL_TRACE_ENUMERATE TraceEnumerate,
60                           IN OUT PRTL_TRACE_BLOCK *TraceBlock)
61 {
62     UNIMPLEMENTED;
63     return FALSE;
64 }
65 
66 
67 BOOLEAN
68 NTAPI
69 RtlTraceDatabaseFind(IN PRTL_TRACE_DATABASE Database,
70                      IN ULONG Count,
71                      IN PVOID *Trace,
72                      OUT OPTIONAL PRTL_TRACE_BLOCK *TraceBlock)
73 {
74     UNIMPLEMENTED;
75     return FALSE;
76 }
77 
78 BOOLEAN
79 NTAPI
80 RtlTraceDatabaseLock(IN PRTL_TRACE_DATABASE Database)
81 {
82     UNIMPLEMENTED;
83     return FALSE;
84 }
85 
86 BOOLEAN
87 NTAPI
88 RtlTraceDatabaseUnlock(IN PRTL_TRACE_DATABASE Database)
89 {
90     UNIMPLEMENTED;
91     return FALSE;
92 }
93 
94 BOOLEAN
95 NTAPI
96 RtlTraceDatabaseValidate(IN PRTL_TRACE_DATABASE Database)
97 {
98     UNIMPLEMENTED;
99     return FALSE;
100 }
101