Add information letting us know creation deletion of services has worked.
[reactos.git] / reactos / subsys / win32k / include / intgdi.h
1 #ifndef _WIN32K_INTGDI_H
2 #define _WIN32K_INTGDI_H
3
4 /* Brush functions */
5
6 XLATEOBJ* FASTCALL
7 IntGdiCreateBrushXlate(PDC Dc, GDIBRUSHOBJ *BrushObj, BOOLEAN *Failed);
8
9 VOID FASTCALL
10 IntGdiInitBrushInstance(GDIBRUSHINST *BrushInst, PGDIBRUSHOBJ BrushObj, XLATEOBJ *XlateObj);
11
12
13 HBRUSH STDCALL
14 IntGdiCreateDIBBrush(
15 CONST BITMAPINFO *BitmapInfo,
16 UINT ColorSpec,
17 UINT BitmapInfoSize,
18 CONST VOID *PackedDIB);
19
20 HBRUSH STDCALL
21 IntGdiCreateHatchBrush(
22 INT Style,
23 COLORREF Color);
24
25 HBRUSH STDCALL
26 IntGdiCreatePatternBrush(
27 HBITMAP hBitmap);
28
29 HBRUSH STDCALL
30 IntGdiCreateSolidBrush(
31 COLORREF Color);
32
33 HBRUSH STDCALL
34 IntGdiCreateNullBrush(VOID);
35
36 BOOL FASTCALL
37 IntPatBlt(
38 PDC dc,
39 INT XLeft,
40 INT YLeft,
41 INT Width,
42 INT Height,
43 DWORD ROP,
44 PGDIBRUSHOBJ BrushObj);
45
46 /* Pen functions */
47
48 HPEN FASTCALL
49 IntGdiCreatePenIndirect(PLOGPEN lgpn);
50
51 /* Line functions */
52
53 BOOL FASTCALL
54 IntGdiLineTo(DC *dc,
55 int XEnd,
56 int YEnd);
57
58 BOOL FASTCALL
59 IntGdiMoveToEx(DC *dc,
60 int X,
61 int Y,
62 LPPOINT Point);
63
64 BOOL FASTCALL
65 IntGdiPolyBezier(DC *dc,
66 LPPOINT pt,
67 DWORD Count);
68
69 BOOL FASTCALL
70 IntGdiPolyline(DC *dc,
71 LPPOINT pt,
72 int Count);
73
74 BOOL FASTCALL
75 IntGdiPolyBezierTo(DC *dc,
76 LPPOINT pt,
77 DWORD Count);
78
79 BOOL FASTCALL
80 IntGdiPolyPolyline(DC *dc,
81 LPPOINT pt,
82 LPDWORD PolyPoints,
83 DWORD Count);
84
85 BOOL FASTCALL
86 IntGdiPolylineTo(DC *dc,
87 LPPOINT pt,
88 DWORD Count);
89
90 BOOL FASTCALL
91 IntGdiArc(DC *dc,
92 int LeftRect,
93 int TopRect,
94 int RightRect,
95 int BottomRect,
96 int XStartArc,
97 int YStartArc,
98 int XEndArc,
99 int YEndArc);
100
101 INT FASTCALL
102 IntGdiGetArcDirection(DC *dc);
103
104 /* Shape functions */
105
106 BOOL FASTCALL
107 IntGdiPolygon(PDC dc,
108 PPOINT UnsafePoints,
109 int Count);
110
111 BOOL FASTCALL
112 IntGdiPolyPolygon(DC *dc,
113 LPPOINT Points,
114 LPINT PolyCounts,
115 int Count);
116
117 /* Rgn functions */
118
119 int FASTCALL
120 IntGdiGetClipBox(HDC hDC,
121 LPRECT rc);
122
123 HRGN FASTCALL REGION_CropRgn(HRGN hDst, HRGN hSrc, const PRECT lpRect, PPOINT lpPt);
124 void FASTCALL REGION_UnionRectWithRegion(const RECT *rect, ROSRGNDATA *rgn);
125 INT FASTCALL UnsafeIntGetRgnBox(PROSRGNDATA Rgn, LPRECT pRect);
126 BOOL FASTCALL UnsafeIntRectInRegion(PROSRGNDATA Rgn, CONST LPRECT rc);
127
128 #define UnsafeIntCreateRectRgnIndirect(prc) \
129 NtGdiCreateRectRgn((prc)->left, (prc)->top, (prc)->right, (prc)->bottom)
130
131 #define UnsafeIntUnionRectWithRgn(rgndest, prc) \
132 REGION_UnionRectWithRegion((prc), (rgndest))
133
134 /* DC functions */
135
136 BOOL FASTCALL
137 IntGdiGetDCOrgEx(DC *dc, LPPOINT Point);
138
139 INT FASTCALL
140 IntGdiGetObject(HANDLE handle, INT count, LPVOID buffer);
141
142 HDC FASTCALL
143 IntGdiCreateDC(PUNICODE_STRING Driver,
144 PUNICODE_STRING Device,
145 PUNICODE_STRING Output,
146 CONST PDEVMODEW InitData,
147 BOOL CreateAsIC);
148
149 COLORREF FASTCALL
150 IntGetDCColor(HDC hDC, ULONG Object);
151
152 COLORREF FASTCALL
153 IntSetDCColor(HDC hDC, ULONG Object, COLORREF Color);
154
155 /* Coord functions */
156
157 BOOL FASTCALL
158 IntGdiCombineTransform(LPXFORM XFormResult,
159 LPXFORM xform1,
160 LPXFORM xform2);
161
162 /* RECT functions */
163
164 VOID FASTCALL
165 IntGdiSetRect(PRECT Rect, INT left, INT top, INT right, INT bottom);
166
167 VOID FASTCALL
168 IntGdiSetEmptyRect(PRECT Rect);
169
170 BOOL FASTCALL
171 IntGdiIsEmptyRect(const RECT* Rect);
172
173 VOID FASTCALL
174 IntGdiOffsetRect(LPRECT Rect, INT x, INT y);
175
176 BOOL FASTCALL
177 IntGdiUnionRect(PRECT Dest, const RECT* Src1, const RECT* Src2);
178
179 BOOL FASTCALL
180 IntGdiIntersectRect(PRECT Dest, const RECT* Src1, const RECT* Src2);
181
182 /* Stock objects */
183
184 BOOL FASTCALL
185 IntSetSysColors(UINT nColors, INT *Elements, COLORREF *Colors);
186
187 BOOL FASTCALL
188 IntGetSysColorBrushes(HBRUSH *Brushes, UINT nBrushes);
189
190 BOOL FASTCALL
191 IntGetSysColorPens(HPEN *Pens, UINT nPens);
192
193 BOOL FASTCALL
194 IntGetSysColors(COLORREF *Colors, UINT nColors);
195
196 /* Other Stuff */
197
198 INT FASTCALL
199 IntGdiGetDeviceCaps(PDC dc, INT Index);
200
201 INT
202 FASTCALL
203 IntGdiEscape(PDC dc,
204 INT Escape,
205 INT InSize,
206 LPCSTR InData,
207 LPVOID OutData);
208
209 BOOL
210 FASTCALL
211 IntEnumDisplaySettings(
212 IN PUNICODE_STRING pDeviceName OPTIONAL,
213 IN DWORD iModeNum,
214 IN OUT LPDEVMODEW pDevMode,
215 IN DWORD dwFlags);
216
217 LONG
218 FASTCALL
219 IntChangeDisplaySettings(
220 IN PUNICODE_STRING pDeviceName OPTIONAL,
221 IN LPDEVMODEW pDevMode,
222 IN DWORD dwflags,
223 IN PVOID lParam OPTIONAL);
224
225 #endif /* _WIN32K_INTGDI_H */
226