ReactOS
0.4.16-dev-297-gc569aee
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
debug.c
Go to the documentation of this file.
1
/*
2
* PROJECT: ReactOS VGA Display Driver
3
* LICENSE: Microsoft NT4 DDK Sample Code License
4
* FILE: win32ss/drivers/displays/vga_new/debug.c
5
* PURPOSE: Debug Support
6
* PROGRAMMERS: Copyright (c) 1992-1995 Microsoft Corporation
7
*/
8
9
#include "
driver.h
"
10
11
#if DBG
12
13
ULONG
DebugLevel
= 0xFFFFFFFF;
14
15
/*****************************************************************************
16
*
17
* Routine Description:
18
*
19
* This function is variable-argument, level-sensitive debug print
20
* routine.
21
* If the specified debug level for the print statement is lower or equal
22
* to the current debug level, the message will be printed.
23
*
24
* Arguments:
25
*
26
* DebugPrintLevel - Specifies at which debugging level the string should
27
* be printed
28
*
29
* DebugMessage - Variable argument ascii c string
30
*
31
* Return Value:
32
*
33
* None.
34
*
35
***************************************************************************/
36
37
VOID
38
DebugPrint
(
39
ULONG
DebugPrintLevel,
40
PCHAR
DebugMessage,
41
...
42
)
43
44
{
45
46
va_list
ap
;
47
48
va_start
(
ap
, DebugMessage);
49
50
if
(DebugPrintLevel <=
DebugLevel
)
51
{
52
EngDebugPrint
(
STANDARD_DEBUG_PREFIX
, DebugMessage,
ap
);
53
}
54
55
va_end
(
ap
);
56
57
}
58
59
#endif
va_list
char * va_list
Definition:
acmsvcex.h:78
va_end
#define va_end(ap)
Definition:
acmsvcex.h:90
va_start
#define va_start(ap, A)
Definition:
acmsvcex.h:91
DebugPrint
#define DebugPrint(x)
Definition:
classpnp.h:125
DebugLevel
ULONG DebugLevel
Definition:
fbtusb.c:26
void
Definition:
nsiface.idl:2307
ULONG
uint32_t ULONG
Definition:
typedefs.h:59
PCHAR
char * PCHAR
Definition:
typedefs.h:51
driver.h
STANDARD_DEBUG_PREFIX
#define STANDARD_DEBUG_PREFIX
Definition:
driver.h:77
EngDebugPrint
ENGAPI VOID APIENTRY EngDebugPrint(_In_z_ PCHAR StandardPrefix, _In_z_ PCHAR DebugMessage, _In_ va_list ap)
Definition:
debug.c:19
ap
void int int ULONGLONG int va_list * ap
Definition:
winesup.h:36
win32ss
drivers
displays
vga_new
debug.c
Generated on Tue Nov 26 2024 06:14:51 for ReactOS by
1.9.6