mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user