Sync trunk head (r41026)
[reactos.git] / rostests / dxtest / ddraw / ddrawtest.h
1 #ifndef _DDRAWTEST_H
2 #define _DDRAWTEST_H
3
4 #define WINVER 0x501
5
6 #include <stdio.h>
7 #include <windows.h>
8 #include <stdio.h>
9 #include <ddraw.h>
10 #include <ddrawi.h>
11 #include <d3dhal.h>
12 #include <ddrawgdi.h>
13
14 #define TEST(x) \
15 if (x)\
16 {\
17 (*passed)++;\
18 } else {\
19 (*failed)++;\
20 printf("Test failed in %s:%d (%s)\n", __FILE__, __LINE__, #x);\
21 };
22
23
24 /* The type definitions */
25 typedef BOOL (*TESTPROC)(INT*, INT*);
26
27 typedef struct tagTEST
28 {
29 CHAR* Test;
30 TESTPROC Proc;
31 } TEST, *PTEST;
32
33
34 extern TEST TestList[];
35
36 #endif /* _DDRAWTEST_H */
37
38 /* EOF */