Implement GdiEntry12 (8 of 16 are done and party tested)
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 21:55:51 UTC
(rev 16843)
+++ trunk/reactos/lib/gdi32/misc/gdientry.c 2005-07-28 22:08:29 UTC
(rev 16844)
@@ -191,3 +191,16 @@
return
NtGdiDdReenableDirectDrawObject((HANDLE)pDirectDrawGlobal->hDD,
pbNewMode);
}
+
+/*
+ * @implemented
+ *
+ * GDIEntry 12
+ */
+VOID STDCALL DdUnattachSurface(
+LPDDRAWI_DDRAWSURFACE_LCL pSurface,
+LPDDRAWI_DDRAWSURFACE_LCL pSurfaceAttached
+)
+{
+ NtGdiDdUnattachSurface((HANDLE) pSurface->hDDSurface, (HANDLE)
pSurfaceAttached->hDDSurface);
+}
_____
Modified: trunk/reactos/lib/gdi32/misc/stubs.c
--- trunk/reactos/lib/gdi32/misc/stubs.c 2005-07-28 21:55:51 UTC
(rev 16843)
+++ trunk/reactos/lib/gdi32/misc/stubs.c 2005-07-28 22:08:29 UTC
(rev 16844)
@@ -3937,18 +3937,8 @@
return 0;
}
-/*
- * @unimplemented
- */
-VOID STDCALL DdUnattachSurface(
-LPDDRAWI_DDRAWSURFACE_LCL pSurface,
-LPDDRAWI_DDRAWSURFACE_LCL pSurfaceAttached
-)
-{
- UNIMPLEMENTED;
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
-}
+
/*
* @unimplemented
*/
Show replies by date