implement GdiEntry7 (some part is 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 21:00:24 UTC
(rev 16840)
+++ trunk/reactos/lib/gdi32/misc/gdientry.c 2005-07-28 21:08:55 UTC
(rev 16841)
@@ -144,3 +144,15 @@
return NtGdiDdResetVisrgn((HANDLE) pSurfaceLocal->hDDSurface, hWnd);
}
+/*
+ * @implemented
+ *
+ * GDIEntry 7
+ */
+HDC STDCALL DdGetDC(
+LPDDRAWI_DDRAWSURFACE_LCL pSurfaceLocal,
+LPPALETTEENTRY pColorTable
+)
+{
+ return NtGdiDdGetDC(pColorTable, (HANDLE)
pSurfaceLocal->hDDSurface);
+}
_____
Modified: trunk/reactos/lib/gdi32/misc/stubs.c
--- trunk/reactos/lib/gdi32/misc/stubs.c 2005-07-28 21:00:24 UTC
(rev 16840)
+++ trunk/reactos/lib/gdi32/misc/stubs.c 2005-07-28 21:08:55 UTC
(rev 16841)
@@ -3902,18 +3902,6 @@
-/*
- * @unimplemented
- */
-HDC STDCALL DdGetDC(
-LPDDRAWI_DDRAWSURFACE_LCL pSurfaceLocal,
-LPPALETTEENTRY pColorTable
-)
-{
- UNIMPLEMENTED;
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return 0;
-}
/*
* @unimplemented
Show replies by date