[ros-diffs] [greatlrd] 19023: Filling in two more member, and they should be using when u create a new dc with CreateDCA

greatlrd at svn.reactos.com greatlrd at svn.reactos.com
Sun Nov 6 00:10:55 CET 2005


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 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20051106/4d760b18/attachment.html


More information about the Ros-diffs mailing list