Author: tkreuzer
Date: Thu Dec 18 08:11:04 2014
New Revision: 65717
URL:
http://svn.reactos.org/svn/reactos?rev=65717&view=rev
Log:
[GDI32]
Implement GdiGetRgnAttr
Modified:
trunk/reactos/win32ss/gdi/gdi32/include/gdi32p.h
Modified: trunk/reactos/win32ss/gdi/gdi32/include/gdi32p.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/gdi/gdi32/include/…
==============================================================================
--- trunk/reactos/win32ss/gdi/gdi32/include/gdi32p.h [iso-8859-1] (original)
+++ trunk/reactos/win32ss/gdi/gdi32/include/gdi32p.h [iso-8859-1] Thu Dec 18 08:11:04
2014
@@ -398,6 +398,21 @@
return pdcattr;
}
+FORCEINLINE
+PRGN_ATTR
+GdiGetRgnAttr(HRGN hrgn)
+{
+ PRGN_ATTR prgnattr;
+
+ /* Get the region attribute */
+ if (!GdiGetHandleUserData(hrgn, GDILoObjType_LO_REGION_TYPE, (PVOID*)&prgnattr))
+ {
+ return NULL;
+ }
+
+ return prgnattr;
+}
+
#ifdef _M_IX86
FLOATL FASTCALL EFtoF(EFLOAT_S * efp);
#define FOtoF(pfo) EFtoF((EFLOAT_S*)pfo)