Author: tkreuzer
Date: Thu Jul 26 20:27:47 2007
New Revision: 27857
URL:
http://svn.reactos.org/svn/reactos?rev=27857&view=rev
Log:
implement CreateEllipticRgnIndirect, calling NtGdiCreateEllipticRgn, instead of
redirecting to NtGdiCreateEllipticRgnIndirect
Modified:
trunk/reactos/dll/win32/gdi32/gdi32.def
trunk/reactos/dll/win32/gdi32/objects/region.c
Modified: trunk/reactos/dll/win32/gdi32/gdi32.def
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/gdi32/gdi32.def?…
==============================================================================
--- trunk/reactos/dll/win32/gdi32/gdi32.def (original)
+++ trunk/reactos/dll/win32/gdi32/gdi32.def Thu Jul 26 20:27:47 2007
@@ -62,7 +62,7 @@
CreateDIBitmap@24=NtGdiCreateDIBitmap@24
CreateDiscardableBitmap@12
CreateEllipticRgn@16=NtGdiCreateEllipticRgn@16
-CreateEllipticRgnIndirect@4=NtGdiCreateEllipticRgnIndirect@4
+CreateEllipticRgnIndirect@4
CreateEnhMetaFileA@16
CreateEnhMetaFileW@16
CreateFontA@56
Modified: trunk/reactos/dll/win32/gdi32/objects/region.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/gdi32/objects/re…
==============================================================================
--- trunk/reactos/dll/win32/gdi32/objects/region.c (original)
+++ trunk/reactos/dll/win32/gdi32/objects/region.c Thu Jul 26 20:27:47 2007
@@ -44,4 +44,15 @@
GdiPolyPolyRgn );
}
-
+HRGN
+WINAPI
+CreateEllipticRgnIndirect(
+ const RECT *prc
+)
+{
+ if (prc)
+ {
+ return NtGdiCreateEllipticRgn(prc->left, prc->top, prc->right,
prc->bottom);
+ }
+ return NULL;
+}