3 /* All testcase are base how windows 2000 sp4 acting */
7 /* SDK/DDK/NDK Headers. */
12 #include <dll/directx/d3d8thk.h>
15 BOOL dumping_on
=FALSE
;
17 /* we using d3d8thk.dll it is doing the real syscall in windows 2000
18 * in ReactOS and Windows XP and higher d3d8thk.dll it linking to
19 * gdi32.dll instead doing syscall, gdi32.dll export DdEntry1-56
20 * and doing the syscall direcly. I did forget about it, This
21 * test program are now working on any Windows and ReactOS
22 * that got d3d8thk.dll
25 int main(int argc
, char **argv
)
27 HANDLE hDirectDrawLocal
;
31 if (stricmp(argv
[1],"-dump")==0)
37 hDirectDrawLocal
= test_NtGdiDdCreateDirectDrawObject();
39 test_NtGdiDdQueryDirectDrawObject(hDirectDrawLocal
);
41 test_NtGdiDdGetScanLine(hDirectDrawLocal
);
43 test_NtGdiDdWaitForVerticalBlank(hDirectDrawLocal
);
45 test_NtGdiDdCanCreateSurface(hDirectDrawLocal
);
47 test_NtGdiDdDeleteDirectDrawObject(hDirectDrawLocal
);