svn path=/trunk/; revision=33278
RTEST( pHalInfo->ddCaps.dwFXAlphaCaps == 0);\r
\r
\r
RTEST( pHalInfo->ddCaps.dwFXAlphaCaps == 0);\r
\r
\r
- /* if this fail we do not have a dx driver install acodring ms, some version of windows it\r
+ /* basic dx 2 is found if this flags not set\r
+ * if this fail we do not have a dx driver install acodring ms, some version of windows it\r
* is okay this fail and drv does then only support basic dx\r
* is okay this fail and drv does then only support basic dx\r
- RTEST( (pHalInfo->dwFlags & (DDHALINFO_GETDRIVERINFOSET | DDHALINFO_GETDRIVERINFO2)) != 0 );\r
+ if (pHalInfo->dwFlags != 0)\r
+ {\r
+ RTEST( (pHalInfo->dwFlags & (DDHALINFO_GETDRIVERINFOSET | DDHALINFO_GETDRIVERINFO2)) != 0 );\r
+ RTEST( ( (DWORD)pHalInfo->GetDriverInfo & 0x80000000) != 0 );\r
+ ASSERT( ((DWORD)pHalInfo->GetDriverInfo & 0x80000000) != 0 );\r
+ }\r
\r
/* point to kmode direcly to the graphic drv, the drv is kmode and it is kmode address we getting back*/\r
\r
/* point to kmode direcly to the graphic drv, the drv is kmode and it is kmode address we getting back*/\r
- RTEST( ( (DWORD)pHalInfo->GetDriverInfo & (~0x80000000)) != 0 );\r
- ASSERT( ((DWORD)pHalInfo->GetDriverInfo & (~0x80000000)) != 0 );\r
\r
/* the pHalInfo->ddCaps.ddsCaps.dwCaps & DDSCAPS_3DDEVICE will be ignore, only way detect it proper follow code,\r
* this will be fill in of all drv, it is not only for 3d stuff, this always fill by win32k.sys or dxg.sys depns \r
\r
/* the pHalInfo->ddCaps.ddsCaps.dwCaps & DDSCAPS_3DDEVICE will be ignore, only way detect it proper follow code,\r
* this will be fill in of all drv, it is not only for 3d stuff, this always fill by win32k.sys or dxg.sys depns \r