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