Windows 2000 does not always zerofill data if you are using heap_zero
fill. to be 100% sure everything are zero fill, we need zerofil the
whole object before instate
Modified: trunk/reactos/lib/ddraw/main.c
_____
Modified: trunk/reactos/lib/ddraw/main.c
--- trunk/reactos/lib/ddraw/main.c 2005-08-10 18:09:44 UTC (rev
17262)
+++ trunk/reactos/lib/ddraw/main.c 2005-08-10 18:10:45 UTC (rev
17263)
@@ -21,6 +21,8 @@
if (This == NULL)
return E_OUTOFMEMORY;
+ ZeroMemory(This,sizeof(IDirectDrawImpl));
+
This->lpVtbl = &DirectDraw_VTable;
This->ref = 1;
*pIface = (LPDIRECTDRAW)This;