mirror of
https://github.com/reactos/reactos.git
synced 2024-11-09 16:20:37 +00:00
b84ac6c703
svn path=/trunk/; revision=42906
36 lines
536 B
C
36 lines
536 B
C
#ifndef _DDRAWTEST_H
|
|
#define _DDRAWTEST_H
|
|
|
|
#include <stdio.h>
|
|
#include <windows.h>
|
|
#include <stdio.h>
|
|
#include <ddraw.h>
|
|
#include <ddrawi.h>
|
|
#include <d3dhal.h>
|
|
#include <ddrawgdi.h>
|
|
|
|
#define TEST(x) \
|
|
if (x)\
|
|
{\
|
|
(*passed)++;\
|
|
} else {\
|
|
(*failed)++;\
|
|
printf("Test failed in %s:%d (%s)\n", __FILE__, __LINE__, #x);\
|
|
};
|
|
|
|
|
|
/* The type definitions */
|
|
typedef BOOL (*TESTPROC)(INT*, INT*);
|
|
|
|
typedef struct tagTEST
|
|
{
|
|
const CHAR* Test;
|
|
TESTPROC Proc;
|
|
} TEST, *PTEST;
|
|
|
|
|
|
extern TEST TestList[];
|
|
|
|
#endif /* _DDRAWTEST_H */
|
|
|
|
/* EOF */
|