mirror of
https://github.com/reactos/reactos.git
synced 2025-06-25 23:19:43 +00:00
35 lines
471 B
C
35 lines
471 B
C
![]() |
#ifndef _DDRAWTEST_H
|
||
|
#define _DDRAWTEST_H
|
||
|
|
||
|
#define WINVER 0x501
|
||
|
|
||
|
#include <stdio.h>
|
||
|
#include <windows.h>
|
||
|
#include <ddraw.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
|
||
|
{
|
||
|
CHAR* Test;
|
||
|
TESTPROC Proc;
|
||
|
} TEST, *PTEST;
|
||
|
|
||
|
|
||
|
extern TEST TestList[];
|
||
|
|
||
|
#endif /* _DDRAWTEST_H */
|
||
|
|
||
|
/* EOF */
|