ReactOS  0.4.14-dev-1007-g90d795b
test.h
Go to the documentation of this file.
1 
2 
4 void test_NtGdiDdDeleteDirectDrawObject(HANDLE hDirectDrawLocal);
5 void test_NtGdiDdQueryDirectDrawObject(HANDLE hDirectDrawLocal);
6 void test_NtGdiDdGetScanLine(HANDLE hDirectDrawLocal);
7 void test_NtGdiDdWaitForVerticalBlank(HANDLE hDirectDrawLocal);
8 void test_NtGdiDdCanCreateSurface(HANDLE hDirectDrawLocal);
9 
10 
11 void dump_halinfo(DD_HALINFO *pHalInfo, char *text);
12 void dump_CallBackFlags(DWORD *pCallBackFlags, char *text);
13 void dump_D3dCallbacks(D3DNTHAL_CALLBACKS *puD3dCallbacks, char *text);
14 void dump_D3dDriverData(D3DNTHAL_GLOBALDRIVERDATA *puD3dDriverData, char *text);
15 void dump_D3dBufferCallbacks(DD_D3DBUFCALLBACKS *puD3dCallbacks, char *text);
16 void dump_D3dTextureFormats(DDSURFACEDESC *puD3dTextureFormats, int dwNum, char *text);
17 
18 
19 
20 
21 
22 
23 
24 #define testing_eq(input,value,counter,text) \
25  if (input == value) \
26  { \
27  counter++; \
28  printf("FAIL ret=%s, %d != %d )\n",text,(int)input,(int)value); \
29  }
30 
31 
32 #define testing_noteq(input,value,counter,text) \
33  if (input != value) \
34  { \
35  counter++; \
36  printf("FAIL ret=%s, %d == %d )\n",text,(int)input,(int)value); \
37  }
38 
39 
40 #define show_status(counter, text) \
41  if (counter == 0) \
42  { \
43  printf("End testing of %s Status : ok\n\n",text); \
44  } \
45  else \
46  { \
47  printf("End testing of %s Status : fail\n\n",text); \
48  }
49 
50 
51 #if !defined(__REACTOS__)
52 
53 #define win_syscall(inValue,outValue,syscallid) \
54  __asm { mov eax, syscallid }; \
55  __asm { lea edx, [inValue] }; \
56  __asm { int 0x2E }; \
57  __asm { mov outValue,eax};
58 
59 
60 
61 #endif
void dump_D3dCallbacks(D3DNTHAL_CALLBACKS *puD3dCallbacks, char *text)
Definition: dump.c:552
const WCHAR * text
Definition: package.c:1827
void dump_D3dTextureFormats(DDSURFACEDESC *puD3dTextureFormats, int dwNum, char *text)
Definition: dump.c:1164
void test_NtGdiDdQueryDirectDrawObject(HANDLE hDirectDrawLocal)
void dump_D3dDriverData(D3DNTHAL_GLOBALDRIVERDATA *puD3dDriverData, char *text)
Definition: dump.c:601
void test_NtGdiDdGetScanLine(HANDLE hDirectDrawLocal)
HANDLE test_NtGdiDdCreateDirectDrawObject(void)
unsigned long DWORD
Definition: ntddk_ex.h:95
_Out_ DD_HALINFO * pHalInfo
Definition: winddi.h:4226
void dump_CallBackFlags(DWORD *pCallBackFlags, char *text)
Definition: dump.c:41
void test_NtGdiDdDeleteDirectDrawObject(HANDLE hDirectDrawLocal)
void test_NtGdiDdWaitForVerticalBlank(HANDLE hDirectDrawLocal)
void dump_D3dBufferCallbacks(DD_D3DBUFCALLBACKS *puD3dCallbacks, char *text)
Definition: dump.c:1126
void dump_halinfo(DD_HALINFO *pHalInfo, char *text)
Definition: dump.c:92
void test_NtGdiDdCanCreateSurface(HANDLE hDirectDrawLocal)