ReactOS
0.4.16-dev-1059-gb1cf981
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
m
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
_
a
b
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
NtGdiDdDeleteDirectDrawObject.c
Go to the documentation of this file.
1
#include <stdio.h>
2
/* SDK/DDK/NDK Headers. */
3
#include <windows.h>
4
#include <
wingdi.h
>
5
#include <
winddi.h
>
6
#include <
d3dnthal.h
>
7
#include <
dll/directx/d3d8thk.h
>
8
#include "
test.h
"
9
10
/*
11
* Test see if we can delete a DirectDrawObject from win32k
12
*
13
*/
14
void
15
test_NtGdiDdDeleteDirectDrawObject
(
HANDLE
hDirectDrawLocal)
16
{
17
int
fails=0;
18
BOOL
retValue=
FALSE
;
19
printf
(
"Start testing of NtGdiDdDeleteDirectDrawObject\n"
);
20
21
retValue =
OsThunkDdDeleteDirectDrawObject
(hDirectDrawLocal);
22
testing_eq
(retValue,
FALSE
,fails,
"NtGdiDdDeleteDirectDrawObject(hDirectDrawLocal);\0"
);
23
24
retValue =
OsThunkDdDeleteDirectDrawObject
(
NULL
);
25
testing_eq
(retValue,
TRUE
,fails,
"NtGdiDdDeleteDirectDrawObject(NULL);\0"
);
26
27
show_status
(fails,
"NtGdiDdDeleteDirectDrawObject\0"
);
28
}
29
d3d8thk.h
OsThunkDdDeleteDirectDrawObject
BOOL WINAPI OsThunkDdDeleteDirectDrawObject(HANDLE hDirectDrawLocal)
d3dnthal.h
NULL
#define NULL
Definition:
types.h:112
TRUE
#define TRUE
Definition:
types.h:120
FALSE
#define FALSE
Definition:
types.h:117
test_NtGdiDdDeleteDirectDrawObject
void test_NtGdiDdDeleteDirectDrawObject(HANDLE hDirectDrawLocal)
Definition:
NtGdiDdDeleteDirectDrawObject.c:15
BOOL
unsigned int BOOL
Definition:
ntddk_ex.h:94
printf
#define printf
Definition:
freeldr.h:97
void
Definition:
nsiface.idl:2307
testing_eq
#define testing_eq(input, value, counter, text)
Definition:
test.h:24
show_status
#define show_status(counter, text)
Definition:
test.h:40
test.h
winddi.h
wingdi.h
modules
rostests
dxtest
win32kdxtest
NtGdiDdDeleteDirectDrawObject.c
Generated on Wed Apr 30 2025 06:10:02 for ReactOS by
1.9.6