Getting the pain in the ass api DxDdCreateDirectDrawObject inside ms dxg.sys working it is now returning info now

it needs a negtive value set in struct edd_directdraw_global member llAssertModeTimeout. 

svn path=/trunk/; revision=33169
This commit is contained in:
Magnus Olsen
2008-04-27 17:00:06 +00:00
parent 3f20c9565c
commit d69543779c
2 changed files with 4 additions and 1 deletions
@@ -11,7 +11,7 @@ typedef struct _EDD_DIRECTDRAW_LOCAL
//
// GDI Object Header
//
DD_BASEOBJECT pobj;
/* 0x00 */ DD_BASEOBJECT pobj; // verify it match windows xp
/* 0x10 */ struct _EDD_DIRECTDRAW_GLOBAL * peDirectDrawGlobal; // verify it match windows xp
/* 0x14 */ struct _EDD_SURFACE * peSurface_DdList;
/* 0x18 */ ULONG unk_018;
@@ -253,6 +253,9 @@ intEnableReactXDriver(PEDD_DIRECTDRAW_GLOBAL pEddgbl, PDC pDC)
/* setup missing data in ddHalInfo */
//pEddgbl->ddHalInfo.GetDriverInfo = (PVOID)pDev->DriverFunctions.GetDirectDrawInfo;
/* FIXME : hack ? it will let us DxDdQueryDirectDrawObject if the llAssertModeTimeout contain negtive value -1*/
pEddgbl->llAssertModeTimeout.QuadPart = -1;
/* FIXME : remove this when we are done with debuging of dxg */
dump_edd_directdraw_global(pEddgbl);
dump_halinfo(&pEddgbl->ddHalInfo);