branch update for HEAD-2003021201
[reactos.git] / lib / gdi32 / objects / region.c
1 #ifdef UNICODE
2 #undef UNICODE
3 #endif
4
5 #undef WIN32_LEAN_AND_MEAN
6 #include <windows.h>
7 #include <ddk/ntddk.h>
8 #include <win32k/kapi.h>
9
10
11
12 HRGN
13 STDCALL
14 CreatePolyPolygonRgn(
15         CONST POINT     *a0,
16         CONST INT       *a1,
17         int             a2,
18         int             a3
19         )
20 {
21         SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
22         return 0;
23 }
24
25
26
27 HBRUSH
28 STDCALL
29 CreatePatternBrush(
30         HBITMAP         a0
31         )
32 {
33         SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
34         return 0;
35 }
36
37
38
39 HRGN
40 STDCALL
41 CreateRectRgn(
42         int             a0,
43         int             a1,
44         int             a2,
45         int             a3
46         )
47 {
48         return W32kCreateRectRgn(a0,a1,a2,a3);
49 }
50
51
52
53 HRGN
54 STDCALL
55 CreateRectRgnIndirect(
56         CONST RECT      *a0
57         )
58 {
59         return W32kCreateRectRgnIndirect((RECT *)a0);
60 }
61
62
63
64 HRGN
65 STDCALL
66 CreateRoundRectRgn(
67         int             a0,
68         int             a1,
69         int             a2,
70         int             a3,
71         int             a4,
72         int             a5
73         )
74 {
75         SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
76         return 0;
77 }
78
79 BOOL
80 STDCALL
81 EqualRgn(
82         HRGN            a0,
83         HRGN            a1
84         )
85 {
86         return W32kEqualRgn(a0,a1);
87 }
88
89 int
90 STDCALL
91 OffsetRgn(
92         HRGN    a0,
93         int     a1,
94         int     a2
95         )
96 {
97         return W32kOffsetRgn(a0,a1,a2);
98 }
99
100 int
101 STDCALL
102 GetRgnBox(
103         HRGN    a0,
104         LPRECT  a1
105         )
106 {
107         return W32kGetRgnBox(a0,a1);
108 }
109
110 BOOL
111 STDCALL
112 SetRectRgn(
113         HRGN    a0,
114         int     a1,
115         int     a2,
116         int     a3,
117         int     a4
118         )
119 {
120         return W32kSetRectRgn(a0,a1,a2,a3,a4);
121 }
122
123 int
124 STDCALL
125 CombineRgn(
126         HRGN    a0,
127         HRGN    a1,
128         HRGN    a2,
129         int     a3
130         )
131 {
132         return W32kCombineRgn(a0,a1,a2,a3);
133 }
134
135 DWORD
136 STDCALL
137 GetRegionData(
138         HRGN            a0,
139         DWORD           a1,
140         LPRGNDATA       a2
141         )
142 {
143         return W32kGetRegionData(a0,a1,a2);
144 }
145
146 BOOL
147 STDCALL
148 PaintRgn(
149         HDC     a0,
150         HRGN    a1
151         )
152 {
153         return W32kPaintRgn( a0, a1 );
154 }
155
156