ReactOS
0.4.16-dev-306-g647d351
Toggle main menu visibility
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
Functions
_
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
Variables
_
c
d
e
f
g
h
i
l
n
o
p
s
t
u
x
Typedefs
_
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
x
Enumerations
_
c
d
f
i
l
m
o
p
s
t
w
x
Enumerator
a
b
c
d
e
f
g
h
i
m
n
o
p
r
s
t
u
v
w
x
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
_
a
b
c
d
e
f
h
i
k
l
m
n
o
p
r
s
t
u
v
w
z
Enumerator
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Related Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
v
x
Files
File List
File Members
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Examples
dbgtrace.h
Go to the documentation of this file.
1
/*++
2
3
Copyright (c) Microsoft Corporation. All rights reserved.
4
5
Module Name:
6
7
DbgTrace.h
8
9
Abstract:
10
11
This file can be used to redirect WPP traces to
12
debugger.
13
14
15
16
17
18
19
20
Author:
21
22
23
24
Environment:
25
26
Both kernel and user mode
27
28
Revision History:
29
30
--*/
31
32
#if !defined(EVENT_TRACING)
33
34
35
36
37
38
39
40
#if !defined(TRACE_LEVEL_NONE)
41
#define TRACE_LEVEL_NONE 0
42
#define TRACE_LEVEL_CRITICAL 1
43
#define TRACE_LEVEL_FATAL 1
44
#define TRACE_LEVEL_ERROR 2
45
#define TRACE_LEVEL_WARNING 3
46
#define TRACE_LEVEL_INFORMATION 4
47
#define TRACE_LEVEL_VERBOSE 5
48
#define TRACE_LEVEL_RESERVED6 6
49
#define TRACE_LEVEL_RESERVED7 7
50
#define TRACE_LEVEL_RESERVED8 8
51
#define TRACE_LEVEL_RESERVED9 9
52
#endif
53
54
55
//
56
// Define Debug Flags
57
//
58
#define TRACINGDEVICE 0x00000001
59
#define TRACINGOBJECT 0x00000002
60
#define TRACINGAPIERROR 0x00000004
61
#define TRACINGHANDLE 0x00000008
62
#define TRACINGPOOL 0x00000010
63
#define TRACINGERROR 0x00000020
64
#define TRACINGUSEROBJECT 0x00000040
65
#define TRACINGREQUEST 0x00000080
66
#define TRACINGIO 0x00000100
67
#define TRACINGPNP 0x00000200
68
#define TRACINGDRIVER 0x00001000
69
#define TRACINGPNPPOWERSTATES 0x00002000
70
71
#define TRACINGDMA 0x00004000
// __REACTOS__
72
#define TRACINGIOTARGET 0x00008000
// __REACTOS__
73
74
extern
"C"
{
75
void
76
__cdecl
77
DoTraceLevelMessage
(
78
__in
PVOID
FxDriverGlobals,
79
__in
ULONG
DebugPrintLevel,
80
__in
ULONG
DebugPrintFlag,
81
__drv_formatString
(
FormatMessage
)
82
__in
PCSTR
DebugMessage,
83
...
84
);
85
}
86
87
//
88
// When linking the lib with UMDF framework we don't want these macros
89
// to be defined since UMDF WPP tracing uses these macros
90
91
92
93
//
94
#ifndef UMDF
95
#define WPP_INIT_TRACING(DriverObject, RegistryPath)
96
#define WPP_CLEANUP(DriverObject)
97
#endif
98
99
extern
"C"
{
100
extern
ULONG
DebugLevel
;
101
extern
ULONG
DebugFlag
;
102
}
103
104
#endif
__cdecl
#define __cdecl
Definition:
accygwin.h:79
__in
#define __in
Definition:
dbghelp.h:35
DoTraceLevelMessage
void __cdecl DoTraceLevelMessage(__in PVOID FxDriverGlobals, __in ULONG DebugPrintLevel, __in ULONG DebugPrintFlag, __drv_formatString(FormatMessage) __in PCSTR DebugMessage,...)
Definition:
dbgtrace.cpp:34
DebugLevel
ULONG DebugLevel
Definition:
fbtusb.c:26
DebugFlag
ULONG DebugFlag
Definition:
fxobject.cpp:44
__drv_formatString
#define __drv_formatString(kind)
Definition:
driverspecs.h:271
void
Definition:
nsiface.idl:2307
PCSTR
const char * PCSTR
Definition:
typedefs.h:52
ULONG
uint32_t ULONG
Definition:
typedefs.h:59
FormatMessage
#define FormatMessage
Definition:
winbase.h:3820
sdk
lib
drivers
wdf
shared
inc
private
common
dbgtrace.h
Generated on Mon Dec 2 2024 06:16:08 for ReactOS by
1.9.6