mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 08:55:19 +00:00
sorry did use some private headers that are not commited yet, here is win32kdxtest comping fix.
svn path=/trunk/; revision=26722
This commit is contained in:
parent
52e0d50e08
commit
afe388c584
4 changed files with 13 additions and 8 deletions
|
@ -6,6 +6,7 @@
|
|||
#include <winddi.h>
|
||||
#include <d3dnthal.h>
|
||||
#include <dll/directx/d3d8thk.h>
|
||||
#include <ddrawi.h>
|
||||
#include "test.h"
|
||||
|
||||
/*
|
||||
|
|
|
@ -26,3 +26,4 @@ test_NtGdiDdDeleteDirectDrawObject(HANDLE hDirectDrawLocal)
|
|||
|
||||
show_status(fails, "NtGdiDdDeleteDirectDrawObject\0");
|
||||
}
|
||||
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
#include <winddi.h>
|
||||
#include <d3dnthal.h>
|
||||
#include <dll/directx/d3d8thk.h>
|
||||
|
||||
#include <ddrawi.h>
|
||||
#include "test.h"
|
||||
|
||||
/*
|
||||
|
|
|
@ -16,18 +16,18 @@
|
|||
{ \
|
||||
printf("| "); \
|
||||
} \
|
||||
dwflag = dwflag - dwvalue; \
|
||||
dwflag = (ULONG)dwflag - (ULONG)dwvalue; \
|
||||
printf("%s ",text); \
|
||||
count++; \
|
||||
}
|
||||
|
||||
#define endcheckflag(dwflag,text) \
|
||||
if (count==0) \
|
||||
printf("0x%08lx\n",dwflag);\
|
||||
printf("0x%08lx\n", (ULONG) dwflag);\
|
||||
else \
|
||||
printf("\n");\
|
||||
if (flag != 0) \
|
||||
printf("undoc value in %s flags value %04lx\n",text,dwflag);
|
||||
printf("undoc value in %s flags value %08lx\n",text, (ULONG) dwflag);
|
||||
|
||||
|
||||
|
||||
|
@ -191,7 +191,7 @@ dump_halinfo(DD_HALINFO *pHalInfo, char *text)
|
|||
int t;
|
||||
UINT flag;
|
||||
INT count=0;
|
||||
LPD3DNTHAL_GLOBALDRIVERDATA lpD3DGlobalDriverData = pHalInfo->lpD3DGlobalDriverData;
|
||||
// LPD3DNTHAL_GLOBALDRIVERDATA lpD3DGlobalDriverData = pHalInfo->lpD3DGlobalDriverData;
|
||||
|
||||
printf("DD_HALINFO Version NT 2000/XP/2003 found \n");
|
||||
printf(" pHalInfo->dwSize : 0x%08lx\n",(long)pHalInfo->dwSize);
|
||||
|
@ -438,8 +438,9 @@ dump_halinfo(DD_HALINFO *pHalInfo, char *text)
|
|||
|
||||
flag = pHalInfo->dwFlags;
|
||||
count = 0;
|
||||
checkflag(flag,DDHALINFO_ISPRIMARYDISPLAY,"DDHALINFO_ISPRIMARYDISPLAY");
|
||||
checkflag(flag,DDHALINFO_MODEXILLEGAL,"DDHALINFO_MODEXILLEGAL");
|
||||
// FIXME missing DDHALINFO_ISPRIMARYDISPLAY and DDHALINFO_MODEXILLEGAL in currrent headers
|
||||
// checkflag(flag,DDHALINFO_ISPRIMARYDISPLAY,"DDHALINFO_ISPRIMARYDISPLAY");
|
||||
// checkflag(flag,DDHALINFO_MODEXILLEGAL,"DDHALINFO_MODEXILLEGAL");
|
||||
checkflag(flag,DDHALINFO_GETDRIVERINFOSET,"DDHALINFO_GETDRIVERINFOSET");
|
||||
checkflag(flag,DDHALINFO_GETDRIVERINFO2,"DDHALINFO_GETDRIVERINFO2");
|
||||
endcheckflag(flag,"pHalInfo->dwFlags");
|
||||
|
@ -456,7 +457,7 @@ dump_halinfo(DD_HALINFO *pHalInfo, char *text)
|
|||
}
|
||||
else
|
||||
{
|
||||
printf("none pHalInfo from the driver\n",pHalInfo->dwSize);
|
||||
printf("none pHalInfo from the driver 0x%08lx\n",pHalInfo->dwSize);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue