implemet GdiEntry3 (2 of 16 are now implement) but some part is still untested
Modified: trunk/reactos/lib/gdi32/misc/gdientry.c
Modified: trunk/reactos/lib/gdi32/misc/stubs.c

Modified: trunk/reactos/lib/gdi32/misc/gdientry.c
--- trunk/reactos/lib/gdi32/misc/gdientry.c	2005-07-28 19:23:11 UTC (rev 16836)
+++ trunk/reactos/lib/gdi32/misc/gdientry.c	2005-07-28 19:28:25 UTC (rev 16837)
@@ -87,3 +87,27 @@
 
   return TRUE;
 }
+
+/*
+ * @implemented
+ *
+ * GDIEntry 3
+ */
+BOOL STDCALL DdDeleteDirectDrawObject( 
+LPDDRAWI_DIRECTDRAW_GBL pDirectDrawGlobal
+)
+{
+  /* if pDirectDrawGlobal->hDD == NULL and pDirectDrawGlobalInternal->hDD == NULL
+     return false */
+
+  if (!pDirectDrawGlobal->hDD)
+  {
+     if (!pDirectDrawGlobalInternal->hDD)
+     {
+       return FALSE;
+     }
+    return NtGdiDdDeleteDirectDrawObject((HANDLE)pDirectDrawGlobal->hDD); 
+  }
+
+  return NtGdiDdDeleteDirectDrawObject((HANDLE)pDirectDrawGlobal->hDD); 	
+}

Modified: trunk/reactos/lib/gdi32/misc/stubs.c
--- trunk/reactos/lib/gdi32/misc/stubs.c	2005-07-28 19:23:11 UTC (rev 16836)
+++ trunk/reactos/lib/gdi32/misc/stubs.c	2005-07-28 19:28:25 UTC (rev 16837)
@@ -3885,18 +3885,8 @@
 	return 0;
 }
 
-/*
- * @unimplemented
- */
-BOOL STDCALL DdDeleteDirectDrawObject( 
-LPDDRAWI_DIRECTDRAW_GBL pDirectDrawGlobal
-)
-{
-	UNIMPLEMENTED;
-	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
-	return 0;
-}
 
+
 /*
  * @unimplemented
  */