Filling in two more member, and they should be using when u create a new dc with CreateDCA Modified: trunk/reactos/lib/ddraw/main/ddraw_main.c _____
Modified: trunk/reactos/lib/ddraw/main/ddraw_main.c --- trunk/reactos/lib/ddraw/main/ddraw_main.c 2005-11-05 22:13:59 UTC (rev 19022) +++ trunk/reactos/lib/ddraw/main/ddraw_main.c 2005-11-05 23:10:43 UTC (rev 19023) @@ -21,6 +21,14 @@
This->InitializeDraw = TRUE;
+ RtlZeroMemory(&This->DirectDrawGlobal, sizeof(DDRAWI_DIRECTDRAW_GBL)); + + + + /* cObsolete is undoc in msdn it being use in CreateDCA */ + RtlCopyMemory(&This->DirectDrawGlobal.cObsolete,&"DISPLAY",7); + RtlCopyMemory(&This->DirectDrawGlobal.cDriverName,&"DISPLAY",7); + /* Setup the lpExclusiveOwner struct in msdn this struct member is undoc I am using there name to figout which info it should be fild with My hardware drv does not support call to SetExusive so I can not