From 5faa3537c350aa3f132c6c3b3940ed35483b5bb3 Mon Sep 17 00:00:00 2001 From: Eugene Ingerman Date: Mon, 22 Jul 2002 17:42:52 +0000 Subject: [PATCH] Missing file. svn path=/trunk/; revision=3289 --- reactos/lib/gdi32/objects/region.c | 146 +++++++++++++++++++++++++++++ 1 file changed, 146 insertions(+) create mode 100644 reactos/lib/gdi32/objects/region.c diff --git a/reactos/lib/gdi32/objects/region.c b/reactos/lib/gdi32/objects/region.c new file mode 100644 index 00000000000..c926cc91e90 --- /dev/null +++ b/reactos/lib/gdi32/objects/region.c @@ -0,0 +1,146 @@ +#ifdef UNICODE +#undef UNICODE +#endif + +#undef WIN32_LEAN_AND_MEAN +#include +#include +#include + + + +HRGN +STDCALL +CreatePolyPolygonRgn( + CONST POINT *a0, + CONST INT *a1, + int a2, + int a3 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +HBRUSH +STDCALL +CreatePatternBrush( + HBITMAP a0 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + + +HRGN +STDCALL +CreateRectRgn( + int a0, + int a1, + int a2, + int a3 + ) +{ + return W32kCreateRectRgn(a0,a1,a2,a3); +} + + + +HRGN +STDCALL +CreateRectRgnIndirect( + CONST RECT *a0 + ) +{ + return W32kCreateRectRgnIndirect(a0); +} + + + +HRGN +STDCALL +CreateRoundRectRgn( + int a0, + int a1, + int a2, + int a3, + int a4, + int a5 + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + +BOOL +STDCALL +EqualRgn( + HRGN a0, + HRGN a1 + ) +{ + return W32kEqualRgn(a0,a1); +} + +int +STDCALL +OffsetRgn( + HRGN a0, + int a1, + int a2 + ) +{ + return W32kOffsetRgn(a0,a1,a2); +} + +int +STDCALL +GetRgnBox( + HRGN a0, + LPRECT a1 + ) +{ + return W32kGetRgnBox(a0,a1); +} + +BOOL +STDCALL +SetRectRgn( + HRGN a0, + int a1, + int a2, + int a3, + int a4 + ) +{ + return W32kSetRectRgn(a0,a1,a2,a3,a4); +} + +int +STDCALL +CombineRgn( + HRGN a0, + HRGN a1, + HRGN a2, + int a3 + ) +{ + return W32kCombineRgn(a0,a1,a2,a3); +} + +DWORD +STDCALL +GetRegionData( + HRGN a0, + DWORD a1, + LPRGNDATA a2 + ) +{ + return W32kGetRegionData(a0,a1,a2); +} + +