Author: greatlrd
Date: Fri Aug 31 22:48:30 2007
New Revision: 28719
URL:
http://svn.reactos.org/svn/reactos?rev=28719&view=rev
Log:
fix correct implemtions of GetRegionData in gdi32.dll
Modified:
trunk/reactos/dll/win32/gdi32/gdi32.def
trunk/reactos/dll/win32/gdi32/misc/stubs.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 Fri Aug 31 22:48:30 2007
@@ -427,7 +427,7 @@
GetROP2@4=NtGdiGetROP2@4
GetRandomRgn@12=NtGdiGetRandomRgn@12
GetRasterizerCaps@8
-GetRegionData@12=NtGdiGetRegionData@12
+GetRegionData@12
GetRelAbs@8
GetRgnBox@8=NtGdiGetRgnBox@8
GetStockObject@4
Modified: trunk/reactos/dll/win32/gdi32/misc/stubs.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/gdi32/misc/stubs…
==============================================================================
--- trunk/reactos/dll/win32/gdi32/misc/stubs.c (original)
+++ trunk/reactos/dll/win32/gdi32/misc/stubs.c Fri Aug 31 22:48:30 2007
@@ -2775,3 +2775,23 @@
}
return NtGdiGetFontData(hdc, dwTable, dwOffset, lpvBuffer, cbData);
}
+
+
+/*
+ * @implemented
+ *
+ */
+DWORD
+STDCALL
+GetRegionData(HRGN hrgn,
+ DWORD nCount,
+ LPRGNDATA lpRgnData)
+{
+ if (!lpRgnData)
+ {
+ nCount = 0;
+ }
+
+ return NtGdiGetRegionData(hrgn,nCount,lpRgnData);
+}
+