The MinGW.org Windows System Libraries
Revisión | 2d5b0afe52103153fb7de68479bfd1c77cc88349 (tree) |
---|---|
Tiempo | 2017-06-04 04:09:27 |
Autor | Keith Marshall <keithmarshall@user...> |
Commiter | Keith Marshall |
Tidy, and make <wingdi.h> header effectively self-contained.
@@ -1,3 +1,36 @@ | ||
1 | +2017-06-03 Keith Marshall <keithmarshall@users.sourceforge.net> | |
2 | + | |
3 | + Tidy, and make <wingdi.h> header effectively self-contained. | |
4 | + | |
5 | + * include/wingdi.h: Tidy layout; assert copyright. | |
6 | + (windef.h): Include it; this achieves self-containment. | |
7 | + [_BEGIN_C_DECLS, _END_C_DECLS]: Use them. | |
8 | + [UNICODE vs. !UNICODE]: Discriminate generic symbol names, using... | |
9 | + (__AW_ALIAS__): ...this, when defining each of... | |
10 | + (DEVMODE, PDEVMODE, LPDEVMODE, DOCINFO, LPDOCINFO, LOGCOLORSPACE) | |
11 | + (LOGFONT, PLOGFONT, LPLOGFONT, EXTLOGFONT, PEXTLOGFONT, LPEXTLOGFONT) | |
12 | + (LPLOGCOLORSPACE, TEXTMETRIC, PTEXTMETRIC, LPTEXTMETRIC, GCP_RESULTS) | |
13 | + (PPOLYTEXT, LPPOLYTEXT, NEWTEXTMETRIC, PNEWTEXTMETRIC, LPNEWTEXTMETRIC) | |
14 | + (LPENUMLOGFONTEX, ENUMLOGFONTEXDV, PENUMLOGFONTEXDV, LPENUMLOGFONTEXDV) | |
15 | + (OUTLINETEXTMETRIC, POUTLINETEXTMETRIC, LPOUTLINETEXTMETRIC, POLYTEXT) | |
16 | + (LPGCP_RESULTS, DISPLAY_DEVICE, PDISPLAY_DEVICE, LPDISPLAY_DEVICE) | |
17 | + (NEWTEXTMETRICEX, ENUMLOGFONT, LPENUMLOGFONT, ENUMLOGFONTEX): ...these. | |
18 | + (__AW_SUFFIXED__): Similarly, use this when declaring each of... | |
19 | + (FONTENUMPROC, ICMENUMPROC, AddFontResource, AddFontResourceEx, | |
20 | + (CopyEnhMetaFile, CopyMetaFile, CreateColorSpace, CreateEnhMetaFile) | |
21 | + (CreateDC, CreateFont, CreateFontIndirect, CreateIC, CreateMetaFile) | |
22 | + (CreateScalableFontResource, DeviceCapabilities, EnumFontFamilies) | |
23 | + (EnumFontFamiliesEx, EnumFonts, EnumICMProfiles, ExtTextOut) | |
24 | + (GetCharABCWidths, GetCharABCWidthsFloat, GetCharacterPlacement) | |
25 | + (GetCharWidth32, GetCharWidth, GetCharWidthFloat, GetEnhMetaFile) | |
26 | + (GetEnhMetaFileDescription, GetGlyphOutline, GetICMProfile) | |
27 | + (GetKerningPairs, GetLogColorSpace, GetMetaFile, GetObject) | |
28 | + (GetOutlineTextMetrics, GetTextExtentExPoint, GetTextExtentPoint) | |
29 | + (GetTextExtentPoint32, GetTextFace, GetTextMetrics, PolyTextOut, | |
30 | + (RemoveFontResource, RemoveFontResourceEx, ResetDC, SetICMProfile) | |
31 | + (StartDoc, TextOut, UpdateICMRegKey, wglUseFontBitmaps) | |
32 | + (wglUseFontOutlines, GetGlyphIndices): ...these. | |
33 | + | |
1 | 34 | 2017-05-31 Keith Marshall <keithmarshall@users.sourceforge.net> |
2 | 35 | |
3 | 36 | Declare CONDITION_VARIABLE API, per feature request [#2314] |
@@ -1,3235 +1,3644 @@ | ||
1 | +/* | |
2 | + * wingdi.h | |
3 | + * | |
4 | + * Declarations supporting the Windows Graphical Device Interface API. | |
5 | + * | |
6 | + * $Id$ | |
7 | + * | |
8 | + * Written by Anders Norlander <anorland@hem2.passagen.se> | |
9 | + * Copyright (C) 1998-2009, 2011, 2012, 2016, 2017, MinGW.org Project | |
10 | + * | |
11 | + * | |
12 | + * Permission is hereby granted, free of charge, to any person obtaining a | |
13 | + * copy of this software and associated documentation files (the "Software"), | |
14 | + * to deal in the Software without restriction, including without limitation | |
15 | + * the rights to use, copy, modify, merge, publish, distribute, sublicense, | |
16 | + * and/or sell copies of the Software, and to permit persons to whom the | |
17 | + * Software is furnished to do so, subject to the following conditions: | |
18 | + * | |
19 | + * The above copyright notice and this permission notice (including the next | |
20 | + * paragraph) shall be included in all copies or substantial portions of the | |
21 | + * Software. | |
22 | + * | |
23 | + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | |
24 | + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |
25 | + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | |
26 | + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | |
27 | + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING | |
28 | + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | |
29 | + * DEALINGS IN THE SOFTWARE. | |
30 | + * | |
31 | + */ | |
1 | 32 | #ifndef _WINGDI_H |
33 | +#pragma GCC system_header | |
2 | 34 | #define _WINGDI_H |
3 | 35 | #define _WINGDI_ |
4 | -#if __GNUC__ >= 3 | |
5 | -#pragma GCC system_header | |
6 | -#endif | |
7 | 36 | |
8 | -#ifdef __cplusplus | |
9 | -extern "C" { | |
10 | -#endif | |
37 | +/* For effective self-containment, <wingdi.h> is dependent on the core set | |
38 | + * of Windows' custom type definitions... | |
39 | + */ | |
40 | +#include <windef.h> | |
41 | + | |
42 | +_BEGIN_C_DECLS | |
11 | 43 | |
12 | 44 | #ifndef WINGDIAPI |
13 | -#ifdef __W32API_USE_DLLIMPORT__ | |
14 | -#define WINGDIAPI DECLSPEC_IMPORT | |
15 | -#else | |
16 | -#define WINGDIAPI | |
17 | -#endif | |
45 | +# ifdef __W32API_USE_DLLIMPORT__ | |
46 | +# define WINGDIAPI DECLSPEC_IMPORT | |
47 | +# else | |
48 | +# define WINGDIAPI | |
49 | +# endif | |
18 | 50 | #endif |
19 | 51 | |
20 | -#define BI_RGB 0 | |
21 | -#define BI_RLE8 1 | |
22 | -#define BI_RLE4 2 | |
23 | -#define BI_BITFIELDS 3 | |
24 | -#define BI_JPEG 4 | |
25 | -#define BI_PNG 5 | |
26 | -#define LF_FACESIZE 32 | |
27 | -#define LF_FULLFACESIZE 64 | |
28 | -#define CA_NEGATIVE 1 | |
29 | -#define CA_LOG_FILTER 2 | |
30 | -#define ILLUMINANT_DEVICE_DEFAULT 0 | |
31 | -#define ILLUMINANT_A 1 | |
32 | -#define ILLUMINANT_B 2 | |
33 | -#define ILLUMINANT_C 3 | |
34 | -#define ILLUMINANT_D50 4 | |
35 | -#define ILLUMINANT_D55 5 | |
36 | -#define ILLUMINANT_D65 6 | |
37 | -#define ILLUMINANT_D75 7 | |
38 | -#define ILLUMINANT_F2 8 | |
39 | -#define ILLUMINANT_MAX_INDEX ILLUMINANT_F2 | |
40 | -#define ILLUMINANT_TUNGSTEN ILLUMINANT_A | |
41 | -#define ILLUMINANT_DAYLIGHT ILLUMINANT_C | |
42 | -#define ILLUMINANT_FLUORESCENT ILLUMINANT_F2 | |
43 | -#define ILLUMINANT_NTSC ILLUMINANT_C | |
44 | -#define RGB_GAMMA_MIN 2500 | |
45 | -#define RGB_GAMMA_MAX 65000 | |
46 | -#define REFERENCE_WHITE_MIN 6000 | |
47 | -#define REFERENCE_WHITE_MAX 10000 | |
48 | -#define REFERENCE_BLACK_MIN 0 | |
49 | -#define REFERENCE_BLACK_MAX 4000 | |
50 | -#define COLOR_ADJ_MIN (-100) | |
51 | -#define COLOR_ADJ_MAX 100 | |
52 | -#define CCHDEVICENAME 32 | |
53 | -#define CCHFORMNAME 32 | |
54 | -#define DI_COMPAT 4 | |
55 | -#define DI_DEFAULTSIZE 8 | |
56 | -#define DI_IMAGE 2 | |
57 | -#define DI_MASK 1 | |
58 | -#define DI_NORMAL 3 | |
59 | -#define DI_APPBANDING 1 | |
60 | -#define EMR_HEADER 1 | |
61 | -#define EMR_POLYBEZIER 2 | |
62 | -#define EMR_POLYGON 3 | |
63 | -#define EMR_POLYLINE 4 | |
64 | -#define EMR_POLYBEZIERTO 5 | |
65 | -#define EMR_POLYLINETO 6 | |
66 | -#define EMR_POLYPOLYLINE 7 | |
67 | -#define EMR_POLYPOLYGON 8 | |
68 | -#define EMR_SETWINDOWEXTEX 9 | |
69 | -#define EMR_SETWINDOWORGEX 10 | |
70 | -#define EMR_SETVIEWPORTEXTEX 11 | |
71 | -#define EMR_SETVIEWPORTORGEX 12 | |
72 | -#define EMR_SETBRUSHORGEX 13 | |
73 | -#define EMR_EOF 14 | |
74 | -#define EMR_SETPIXELV 15 | |
75 | -#define EMR_SETMAPPERFLAGS 16 | |
76 | -#define EMR_SETMAPMODE 17 | |
77 | -#define EMR_SETBKMODE 18 | |
78 | -#define EMR_SETPOLYFILLMODE 19 | |
79 | -#define EMR_SETROP2 20 | |
80 | -#define EMR_SETSTRETCHBLTMODE 21 | |
81 | -#define EMR_SETTEXTALIGN 22 | |
82 | -#define EMR_SETCOLORADJUSTMENT 23 | |
83 | -#define EMR_SETTEXTCOLOR 24 | |
84 | -#define EMR_SETBKCOLOR 25 | |
85 | -#define EMR_OFFSETCLIPRGN 26 | |
86 | -#define EMR_MOVETOEX 27 | |
87 | -#define EMR_SETMETARGN 28 | |
88 | -#define EMR_EXCLUDECLIPRECT 29 | |
89 | -#define EMR_INTERSECTCLIPRECT 30 | |
90 | -#define EMR_SCALEVIEWPORTEXTEX 31 | |
91 | -#define EMR_SCALEWINDOWEXTEX 32 | |
92 | -#define EMR_SAVEDC 33 | |
93 | -#define EMR_RESTOREDC 34 | |
94 | -#define EMR_SETWORLDTRANSFORM 35 | |
95 | -#define EMR_MODIFYWORLDTRANSFORM 36 | |
96 | -#define EMR_SELECTOBJECT 37 | |
97 | -#define EMR_CREATEPEN 38 | |
98 | -#define EMR_CREATEBRUSHINDIRECT 39 | |
99 | -#define EMR_DELETEOBJECT 40 | |
100 | -#define EMR_ANGLEARC 41 | |
101 | -#define EMR_ELLIPSE 42 | |
102 | -#define EMR_RECTANGLE 43 | |
103 | -#define EMR_ROUNDRECT 44 | |
104 | -#define EMR_ARC 45 | |
105 | -#define EMR_CHORD 46 | |
106 | -#define EMR_PIE 47 | |
107 | -#define EMR_SELECTPALETTE 48 | |
108 | -#define EMR_CREATEPALETTE 49 | |
109 | -#define EMR_SETPALETTEENTRIES 50 | |
110 | -#define EMR_RESIZEPALETTE 51 | |
111 | -#define EMR_REALIZEPALETTE 52 | |
112 | -#define EMR_EXTFLOODFILL 53 | |
113 | -#define EMR_LINETO 54 | |
114 | -#define EMR_ARCTO 55 | |
115 | -#define EMR_POLYDRAW 56 | |
116 | -#define EMR_SETARCDIRECTION 57 | |
117 | -#define EMR_SETMITERLIMIT 58 | |
118 | -#define EMR_BEGINPATH 59 | |
119 | -#define EMR_ENDPATH 60 | |
120 | -#define EMR_CLOSEFIGURE 61 | |
121 | -#define EMR_FILLPATH 62 | |
122 | -#define EMR_STROKEANDFILLPATH 63 | |
123 | -#define EMR_STROKEPATH 64 | |
124 | -#define EMR_FLATTENPATH 65 | |
125 | -#define EMR_WIDENPATH 66 | |
126 | -#define EMR_SELECTCLIPPATH 67 | |
127 | -#define EMR_ABORTPATH 68 | |
128 | -#define EMR_GDICOMMENT 70 | |
129 | -#define EMR_FILLRGN 71 | |
130 | -#define EMR_FRAMERGN 72 | |
131 | -#define EMR_INVERTRGN 73 | |
132 | -#define EMR_PAINTRGN 74 | |
133 | -#define EMR_EXTSELECTCLIPRGN 75 | |
134 | -#define EMR_BITBLT 76 | |
135 | -#define EMR_STRETCHBLT 77 | |
136 | -#define EMR_MASKBLT 78 | |
137 | -#define EMR_PLGBLT 79 | |
138 | -#define EMR_SETDIBITSTODEVICE 80 | |
139 | -#define EMR_STRETCHDIBITS 81 | |
140 | -#define EMR_EXTCREATEFONTINDIRECTW 82 | |
141 | -#define EMR_EXTTEXTOUTA 83 | |
142 | -#define EMR_EXTTEXTOUTW 84 | |
143 | -#define EMR_POLYBEZIER16 85 | |
144 | -#define EMR_POLYGON16 86 | |
145 | -#define EMR_POLYLINE16 87 | |
146 | -#define EMR_POLYBEZIERTO16 88 | |
147 | -#define EMR_POLYLINETO16 89 | |
148 | -#define EMR_POLYPOLYLINE16 90 | |
149 | -#define EMR_POLYPOLYGON16 91 | |
150 | -#define EMR_POLYDRAW16 92 | |
151 | -#define EMR_CREATEMONOBRUSH 93 | |
152 | -#define EMR_CREATEDIBPATTERNBRUSHPT 94 | |
153 | -#define EMR_EXTCREATEPEN 95 | |
154 | -#define EMR_POLYTEXTOUTA 96 | |
155 | -#define EMR_POLYTEXTOUTW 97 | |
156 | -#define EMR_SETICMMODE 98 | |
157 | -#define EMR_CREATECOLORSPACE 99 | |
158 | -#define EMR_SETCOLORSPACE 100 | |
159 | -#define EMR_DELETECOLORSPACE 101 | |
160 | -#define EMR_GLSRECORD 102 | |
161 | -#define EMR_GLSBOUNDEDRECORD 103 | |
162 | -#define EMR_PIXELFORMAT 104 | |
163 | -#define ENHMETA_SIGNATURE 1179469088 | |
164 | -#define EPS_SIGNATURE 0x46535045 | |
165 | -#if (_WIN32_WINNT >= 0x0500) | |
166 | -#define FR_PRIVATE 0x10 | |
167 | -#define FR_NOT_ENUM 0x20 | |
168 | -#endif | |
169 | -#define META_SETBKCOLOR 0x201 | |
170 | -#define META_SETBKMODE 0x102 | |
171 | -#define META_SETMAPMODE 0x103 | |
172 | -#define META_SETROP2 0x104 | |
173 | -#define META_SETRELABS 0x105 | |
174 | -#define META_SETPOLYFILLMODE 0x106 | |
175 | -#define META_SETSTRETCHBLTMODE 0x107 | |
176 | -#define META_SETTEXTCHAREXTRA 0x108 | |
177 | -#define META_SETTEXTCOLOR 0x209 | |
178 | -#define META_SETTEXTJUSTIFICATION 0x20A | |
179 | -#define META_SETWINDOWORG 0x20B | |
180 | -#define META_SETWINDOWEXT 0x20C | |
181 | -#define META_SETVIEWPORTORG 0x20D | |
182 | -#define META_SETVIEWPORTEXT 0x20E | |
183 | -#define META_OFFSETWINDOWORG 0x20F | |
184 | -#define META_SCALEWINDOWEXT 0x410 | |
185 | -#define META_OFFSETVIEWPORTORG 0x211 | |
186 | -#define META_SCALEVIEWPORTEXT 0x412 | |
187 | -#define META_LINETO 0x213 | |
188 | -#define META_MOVETO 0x214 | |
189 | -#define META_EXCLUDECLIPRECT 0x415 | |
190 | -#define META_INTERSECTCLIPRECT 0x416 | |
191 | -#define META_ARC 0x817 | |
192 | -#define META_ELLIPSE 0x418 | |
193 | -#define META_FLOODFILL 0x419 | |
194 | -#define META_PIE 0x81A | |
195 | -#define META_RECTANGLE 0x41B | |
196 | -#define META_ROUNDRECT 0x61C | |
197 | -#define META_PATBLT 0x61D | |
198 | -#define META_SAVEDC 0x1E | |
199 | -#define META_SETPIXEL 0x41F | |
200 | -#define META_OFFSETCLIPRGN 0x220 | |
201 | -#define META_TEXTOUT 0x521 | |
202 | -#define META_BITBLT 0x922 | |
203 | -#define META_STRETCHBLT 0xB23 | |
204 | -#define META_POLYGON 0x324 | |
205 | -#define META_POLYLINE 0x325 | |
206 | -#define META_ESCAPE 0x626 | |
207 | -#define META_RESTOREDC 0x127 | |
208 | -#define META_FILLREGION 0x228 | |
209 | -#define META_FRAMEREGION 0x429 | |
210 | -#define META_INVERTREGION 0x12A | |
211 | -#define META_PAINTREGION 0x12B | |
212 | -#define META_SELECTCLIPREGION 0x12C | |
213 | -#define META_SELECTOBJECT 0x12D | |
214 | -#define META_SETTEXTALIGN 0x12E | |
215 | -#define META_CHORD 0x830 | |
216 | -#define META_SETMAPPERFLAGS 0x231 | |
217 | -#define META_EXTTEXTOUT 0xa32 | |
218 | -#define META_SETDIBTODEV 0xd33 | |
219 | -#define META_SELECTPALETTE 0x234 | |
220 | -#define META_REALIZEPALETTE 0x35 | |
221 | -#define META_ANIMATEPALETTE 0x436 | |
222 | -#define META_SETPALENTRIES 0x37 | |
223 | -#define META_POLYPOLYGON 0x538 | |
224 | -#define META_RESIZEPALETTE 0x139 | |
225 | -#define META_DIBBITBLT 0x940 | |
226 | -#define META_DIBSTRETCHBLT 0xb41 | |
227 | -#define META_DIBCREATEPATTERNBRUSH 0x142 | |
228 | -#define META_STRETCHDIB 0xf43 | |
229 | -#define META_EXTFLOODFILL 0x548 | |
230 | -#define META_DELETEOBJECT 0x1f0 | |
231 | -#define META_CREATEPALETTE 0xf7 | |
232 | -#define META_CREATEPATTERNBRUSH 0x1F9 | |
233 | -#define META_CREATEPENINDIRECT 0x2FA | |
234 | -#define META_CREATEFONTINDIRECT 0x2FB | |
235 | -#define META_CREATEBRUSHINDIRECT 0x2FC | |
236 | -#define META_CREATEREGION 0x6FF | |
237 | -#define PT_MOVETO 6 | |
238 | -#define PT_LINETO 2 | |
239 | -#define PT_BEZIERTO 4 | |
240 | -#define PT_CLOSEFIGURE 1 | |
241 | -#define ELF_VENDOR_SIZE 4 | |
242 | -#define ELF_VERSION 0 | |
243 | -#define ELF_CULTURE_LATIN 0 | |
244 | -#define PFD_TYPE_RGBA 0 | |
245 | -#define PFD_TYPE_COLORINDEX 1 | |
246 | -#define PFD_MAIN_PLANE 0 | |
247 | -#define PFD_OVERLAY_PLANE 1 | |
248 | -#define PFD_UNDERLAY_PLANE (-1) | |
249 | -#define PFD_DOUBLEBUFFER 1 | |
250 | -#define PFD_STEREO 2 | |
251 | -#define PFD_DRAW_TO_WINDOW 4 | |
252 | -#define PFD_DRAW_TO_BITMAP 8 | |
253 | -#define PFD_SUPPORT_GDI 16 | |
254 | -#define PFD_SUPPORT_OPENGL 32 | |
255 | -#define PFD_GENERIC_FORMAT 64 | |
256 | -#define PFD_NEED_PALETTE 128 | |
257 | -#define PFD_NEED_SYSTEM_PALETTE 0x00000100 | |
258 | -#define PFD_SWAP_EXCHANGE 0x00000200 | |
259 | -#define PFD_SWAP_COPY 0x00000400 | |
260 | -#define PFD_SWAP_LAYER_BUFFERS 0x00000800 | |
261 | -#define PFD_GENERIC_ACCELERATED 0x00001000 | |
262 | -#define PFD_DEPTH_DONTCARE 0x20000000 | |
263 | -#define PFD_DOUBLEBUFFER_DONTCARE 0x40000000 | |
264 | -#define PFD_STEREO_DONTCARE 0x80000000 | |
265 | -#define SP_ERROR (-1) | |
266 | -#define SP_OUTOFDISK (-4) | |
267 | -#define SP_OUTOFMEMORY (-5) | |
268 | -#define SP_USERABORT (-3) | |
269 | -#define SP_APPABORT (-2) | |
270 | -#define BLACKNESS 0x00000042 | |
271 | -#define NOTSRCERASE 0x001100A6 | |
272 | -#define NOTSRCCOPY 0x00330008 | |
273 | -#define SRCERASE 0x00440328 | |
274 | -#define DSTINVERT 0x00550009 | |
275 | -#define PATINVERT 0x005A0049 | |
276 | -#define SRCINVERT 0x00660046 | |
277 | -#define SRCAND 0x008800C6 | |
278 | -#define MERGEPAINT 0x00BB0226 | |
279 | -#define MERGECOPY 0x00C000CA | |
280 | -#define SRCCOPY 0x00CC0020 | |
281 | -#define SRCPAINT 0x00EE0086 | |
282 | -#define PATCOPY 0x00F00021 | |
283 | -#define PATPAINT 0x00FB0A09 | |
284 | -#define WHITENESS 0x00FF0062 | |
285 | -#define CAPTUREBLT 0x40000000 | |
286 | -#define NOMIRRORBITMAP 0x80000000 | |
287 | -#define R2_BLACK 1 | |
288 | -#define R2_COPYPEN 13 | |
289 | -#define R2_MASKNOTPEN 3 | |
290 | -#define R2_MASKPEN 9 | |
291 | -#define R2_MASKPENNOT 5 | |
292 | -#define R2_MERGENOTPEN 12 | |
293 | -#define R2_MERGEPEN 15 | |
294 | -#define R2_MERGEPENNOT 14 | |
295 | -#define R2_NOP 11 | |
296 | -#define R2_NOT 6 | |
297 | -#define R2_NOTCOPYPEN 4 | |
298 | -#define R2_NOTMASKPEN 8 | |
299 | -#define R2_NOTMERGEPEN 2 | |
300 | -#define R2_NOTXORPEN 10 | |
301 | -#define R2_WHITE 16 | |
302 | -#define R2_XORPEN 7 | |
303 | -#define CM_OUT_OF_GAMUT 255 | |
304 | -#define CM_IN_GAMUT 0 | |
305 | -#define RGN_AND 1 | |
306 | -#define RGN_COPY 5 | |
307 | -#define RGN_DIFF 4 | |
308 | -#define RGN_OR 2 | |
309 | -#define RGN_XOR 3 | |
310 | -#define NULLREGION 1 | |
311 | -#define SIMPLEREGION 2 | |
312 | -#define COMPLEXREGION 3 | |
313 | -#define ERROR 0 | |
314 | -#define CBM_INIT 4 | |
315 | -#define DIB_PAL_COLORS 1 | |
316 | -#define DIB_RGB_COLORS 0 | |
317 | -#define FW_DONTCARE 0 | |
318 | -#define FW_THIN 100 | |
319 | -#define FW_EXTRALIGHT 200 | |
320 | -#define FW_ULTRALIGHT FW_EXTRALIGHT | |
321 | -#define FW_LIGHT 300 | |
322 | -#define FW_NORMAL 400 | |
323 | -#define FW_REGULAR 400 | |
324 | -#define FW_MEDIUM 500 | |
325 | -#define FW_SEMIBOLD 600 | |
326 | -#define FW_DEMIBOLD FW_SEMIBOLD | |
327 | -#define FW_BOLD 700 | |
328 | -#define FW_EXTRABOLD 800 | |
329 | -#define FW_ULTRABOLD FW_EXTRABOLD | |
330 | -#define FW_HEAVY 900 | |
331 | -#define FW_BLACK FW_HEAVY | |
332 | -#define ANSI_CHARSET 0 | |
333 | -#define DEFAULT_CHARSET 1 | |
334 | -#define SYMBOL_CHARSET 2 | |
335 | -#define SHIFTJIS_CHARSET 128 | |
336 | -#define HANGEUL_CHARSET 129 | |
337 | -#define HANGUL_CHARSET 129 | |
338 | -#define GB2312_CHARSET 134 | |
339 | -#define CHINESEBIG5_CHARSET 136 | |
340 | -#define GREEK_CHARSET 161 | |
341 | -#define TURKISH_CHARSET 162 | |
342 | -#define HEBREW_CHARSET 177 | |
343 | -#define ARABIC_CHARSET 178 | |
344 | -#define BALTIC_CHARSET 186 | |
345 | -#define RUSSIAN_CHARSET 204 | |
346 | -#define THAI_CHARSET 222 | |
347 | -#define EASTEUROPE_CHARSET 238 | |
348 | -#define OEM_CHARSET 255 | |
349 | -#define JOHAB_CHARSET 130 | |
350 | -#define VIETNAMESE_CHARSET 163 | |
351 | -#define MAC_CHARSET 77 | |
352 | -#define OUT_DEFAULT_PRECIS 0 | |
353 | -#define OUT_STRING_PRECIS 1 | |
354 | -#define OUT_CHARACTER_PRECIS 2 | |
355 | -#define OUT_STROKE_PRECIS 3 | |
356 | -#define OUT_TT_PRECIS 4 | |
357 | -#define OUT_DEVICE_PRECIS 5 | |
358 | -#define OUT_RASTER_PRECIS 6 | |
359 | -#define OUT_TT_ONLY_PRECIS 7 | |
360 | -#define OUT_OUTLINE_PRECIS 8 | |
52 | +#ifdef UNICODE | |
53 | +typedef WCHAR BCHAR; | |
54 | +#else /* ! UNICODE */ | |
55 | +typedef BYTE BCHAR; | |
56 | +#endif /* ! UNICODE */ | |
57 | + | |
58 | +#define BI_RGB 0 | |
59 | +#define BI_RLE8 1 | |
60 | +#define BI_RLE4 2 | |
61 | +#define BI_BITFIELDS 3 | |
62 | +#define BI_JPEG 4 | |
63 | +#define BI_PNG 5 | |
64 | +#define LF_FACESIZE 32 | |
65 | +#define LF_FULLFACESIZE 64 | |
66 | +#define CA_NEGATIVE 1 | |
67 | +#define CA_LOG_FILTER 2 | |
68 | +#define ILLUMINANT_DEVICE_DEFAULT 0 | |
69 | +#define ILLUMINANT_A 1 | |
70 | +#define ILLUMINANT_B 2 | |
71 | +#define ILLUMINANT_C 3 | |
72 | +#define ILLUMINANT_D50 4 | |
73 | +#define ILLUMINANT_D55 5 | |
74 | +#define ILLUMINANT_D65 6 | |
75 | +#define ILLUMINANT_D75 7 | |
76 | +#define ILLUMINANT_F2 8 | |
77 | +#define ILLUMINANT_MAX_INDEX ILLUMINANT_F2 | |
78 | +#define ILLUMINANT_TUNGSTEN ILLUMINANT_A | |
79 | +#define ILLUMINANT_DAYLIGHT ILLUMINANT_C | |
80 | +#define ILLUMINANT_FLUORESCENT ILLUMINANT_F2 | |
81 | +#define ILLUMINANT_NTSC ILLUMINANT_C | |
82 | +#define RGB_GAMMA_MIN 2500 | |
83 | +#define RGB_GAMMA_MAX 65000 | |
84 | +#define REFERENCE_WHITE_MIN 6000 | |
85 | +#define REFERENCE_WHITE_MAX 10000 | |
86 | +#define REFERENCE_BLACK_MIN 0 | |
87 | +#define REFERENCE_BLACK_MAX 4000 | |
88 | +#define COLOR_ADJ_MIN (-100) | |
89 | +#define COLOR_ADJ_MAX 100 | |
90 | +#define CCHDEVICENAME 32 | |
91 | +#define CCHFORMNAME 32 | |
92 | +#define DI_COMPAT 4 | |
93 | +#define DI_DEFAULTSIZE 8 | |
94 | +#define DI_IMAGE 2 | |
95 | +#define DI_MASK 1 | |
96 | +#define DI_NORMAL 3 | |
97 | +#define DI_APPBANDING 1 | |
98 | +#define EMR_HEADER 1 | |
99 | +#define EMR_POLYBEZIER 2 | |
100 | +#define EMR_POLYGON 3 | |
101 | +#define EMR_POLYLINE 4 | |
102 | +#define EMR_POLYBEZIERTO 5 | |
103 | +#define EMR_POLYLINETO 6 | |
104 | +#define EMR_POLYPOLYLINE 7 | |
105 | +#define EMR_POLYPOLYGON 8 | |
106 | +#define EMR_SETWINDOWEXTEX 9 | |
107 | +#define EMR_SETWINDOWORGEX 10 | |
108 | +#define EMR_SETVIEWPORTEXTEX 11 | |
109 | +#define EMR_SETVIEWPORTORGEX 12 | |
110 | +#define EMR_SETBRUSHORGEX 13 | |
111 | +#define EMR_EOF 14 | |
112 | +#define EMR_SETPIXELV 15 | |
113 | +#define EMR_SETMAPPERFLAGS 16 | |
114 | +#define EMR_SETMAPMODE 17 | |
115 | +#define EMR_SETBKMODE 18 | |
116 | +#define EMR_SETPOLYFILLMODE 19 | |
117 | +#define EMR_SETROP2 20 | |
118 | +#define EMR_SETSTRETCHBLTMODE 21 | |
119 | +#define EMR_SETTEXTALIGN 22 | |
120 | +#define EMR_SETCOLORADJUSTMENT 23 | |
121 | +#define EMR_SETTEXTCOLOR 24 | |
122 | +#define EMR_SETBKCOLOR 25 | |
123 | +#define EMR_OFFSETCLIPRGN 26 | |
124 | +#define EMR_MOVETOEX 27 | |
125 | +#define EMR_SETMETARGN 28 | |
126 | +#define EMR_EXCLUDECLIPRECT 29 | |
127 | +#define EMR_INTERSECTCLIPRECT 30 | |
128 | +#define EMR_SCALEVIEWPORTEXTEX 31 | |
129 | +#define EMR_SCALEWINDOWEXTEX 32 | |
130 | +#define EMR_SAVEDC 33 | |
131 | +#define EMR_RESTOREDC 34 | |
132 | +#define EMR_SETWORLDTRANSFORM 35 | |
133 | +#define EMR_MODIFYWORLDTRANSFORM 36 | |
134 | +#define EMR_SELECTOBJECT 37 | |
135 | +#define EMR_CREATEPEN 38 | |
136 | +#define EMR_CREATEBRUSHINDIRECT 39 | |
137 | +#define EMR_DELETEOBJECT 40 | |
138 | +#define EMR_ANGLEARC 41 | |
139 | +#define EMR_ELLIPSE 42 | |
140 | +#define EMR_RECTANGLE 43 | |
141 | +#define EMR_ROUNDRECT 44 | |
142 | +#define EMR_ARC 45 | |
143 | +#define EMR_CHORD 46 | |
144 | +#define EMR_PIE 47 | |
145 | +#define EMR_SELECTPALETTE 48 | |
146 | +#define EMR_CREATEPALETTE 49 | |
147 | +#define EMR_SETPALETTEENTRIES 50 | |
148 | +#define EMR_RESIZEPALETTE 51 | |
149 | +#define EMR_REALIZEPALETTE 52 | |
150 | +#define EMR_EXTFLOODFILL 53 | |
151 | +#define EMR_LINETO 54 | |
152 | +#define EMR_ARCTO 55 | |
153 | +#define EMR_POLYDRAW 56 | |
154 | +#define EMR_SETARCDIRECTION 57 | |
155 | +#define EMR_SETMITERLIMIT 58 | |
156 | +#define EMR_BEGINPATH 59 | |
157 | +#define EMR_ENDPATH 60 | |
158 | +#define EMR_CLOSEFIGURE 61 | |
159 | +#define EMR_FILLPATH 62 | |
160 | +#define EMR_STROKEANDFILLPATH 63 | |
161 | +#define EMR_STROKEPATH 64 | |
162 | +#define EMR_FLATTENPATH 65 | |
163 | +#define EMR_WIDENPATH 66 | |
164 | +#define EMR_SELECTCLIPPATH 67 | |
165 | +#define EMR_ABORTPATH 68 | |
166 | +#define EMR_GDICOMMENT 70 | |
167 | +#define EMR_FILLRGN 71 | |
168 | +#define EMR_FRAMERGN 72 | |
169 | +#define EMR_INVERTRGN 73 | |
170 | +#define EMR_PAINTRGN 74 | |
171 | +#define EMR_EXTSELECTCLIPRGN 75 | |
172 | +#define EMR_BITBLT 76 | |
173 | +#define EMR_STRETCHBLT 77 | |
174 | +#define EMR_MASKBLT 78 | |
175 | +#define EMR_PLGBLT 79 | |
176 | +#define EMR_SETDIBITSTODEVICE 80 | |
177 | +#define EMR_STRETCHDIBITS 81 | |
178 | +#define EMR_EXTCREATEFONTINDIRECTW 82 | |
179 | +#define EMR_EXTTEXTOUTA 83 | |
180 | +#define EMR_EXTTEXTOUTW 84 | |
181 | +#define EMR_POLYBEZIER16 85 | |
182 | +#define EMR_POLYGON16 86 | |
183 | +#define EMR_POLYLINE16 87 | |
184 | +#define EMR_POLYBEZIERTO16 88 | |
185 | +#define EMR_POLYLINETO16 89 | |
186 | +#define EMR_POLYPOLYLINE16 90 | |
187 | +#define EMR_POLYPOLYGON16 91 | |
188 | +#define EMR_POLYDRAW16 92 | |
189 | +#define EMR_CREATEMONOBRUSH 93 | |
190 | +#define EMR_CREATEDIBPATTERNBRUSHPT 94 | |
191 | +#define EMR_EXTCREATEPEN 95 | |
192 | +#define EMR_POLYTEXTOUTA 96 | |
193 | +#define EMR_POLYTEXTOUTW 97 | |
194 | +#define EMR_SETICMMODE 98 | |
195 | +#define EMR_CREATECOLORSPACE 99 | |
196 | +#define EMR_SETCOLORSPACE 100 | |
197 | +#define EMR_DELETECOLORSPACE 101 | |
198 | +#define EMR_GLSRECORD 102 | |
199 | +#define EMR_GLSBOUNDEDRECORD 103 | |
200 | +#define EMR_PIXELFORMAT 104 | |
201 | +#define ENHMETA_SIGNATURE 1179469088 | |
202 | +#define EPS_SIGNATURE 0x46535045 | |
203 | + | |
204 | +#if _WIN32_WINNT >= _WIN32_WINNT_WIN2K | |
205 | +#define FR_PRIVATE 0x10 | |
206 | +#define FR_NOT_ENUM 0x20 | |
207 | +#endif /* WINNT >= Win2K */ | |
208 | + | |
209 | +#define META_SETBKCOLOR 0x201 | |
210 | +#define META_SETBKMODE 0x102 | |
211 | +#define META_SETMAPMODE 0x103 | |
212 | +#define META_SETROP2 0x104 | |
213 | +#define META_SETRELABS 0x105 | |
214 | +#define META_SETPOLYFILLMODE 0x106 | |
215 | +#define META_SETSTRETCHBLTMODE 0x107 | |
216 | +#define META_SETTEXTCHAREXTRA 0x108 | |
217 | +#define META_SETTEXTCOLOR 0x209 | |
218 | +#define META_SETTEXTJUSTIFICATION 0x20A | |
219 | +#define META_SETWINDOWORG 0x20B | |
220 | +#define META_SETWINDOWEXT 0x20C | |
221 | +#define META_SETVIEWPORTORG 0x20D | |
222 | +#define META_SETVIEWPORTEXT 0x20E | |
223 | +#define META_OFFSETWINDOWORG 0x20F | |
224 | +#define META_SCALEWINDOWEXT 0x410 | |
225 | +#define META_OFFSETVIEWPORTORG 0x211 | |
226 | +#define META_SCALEVIEWPORTEXT 0x412 | |
227 | +#define META_LINETO 0x213 | |
228 | +#define META_MOVETO 0x214 | |
229 | +#define META_EXCLUDECLIPRECT 0x415 | |
230 | +#define META_INTERSECTCLIPRECT 0x416 | |
231 | +#define META_ARC 0x817 | |
232 | +#define META_ELLIPSE 0x418 | |
233 | +#define META_FLOODFILL 0x419 | |
234 | +#define META_PIE 0x81A | |
235 | +#define META_RECTANGLE 0x41B | |
236 | +#define META_ROUNDRECT 0x61C | |
237 | +#define META_PATBLT 0x61D | |
238 | +#define META_SAVEDC 0x1E | |
239 | +#define META_SETPIXEL 0x41F | |
240 | +#define META_OFFSETCLIPRGN 0x220 | |
241 | +#define META_TEXTOUT 0x521 | |
242 | +#define META_BITBLT 0x922 | |
243 | +#define META_STRETCHBLT 0xB23 | |
244 | +#define META_POLYGON 0x324 | |
245 | +#define META_POLYLINE 0x325 | |
246 | +#define META_ESCAPE 0x626 | |
247 | +#define META_RESTOREDC 0x127 | |
248 | +#define META_FILLREGION 0x228 | |
249 | +#define META_FRAMEREGION 0x429 | |
250 | +#define META_INVERTREGION 0x12A | |
251 | +#define META_PAINTREGION 0x12B | |
252 | +#define META_SELECTCLIPREGION 0x12C | |
253 | +#define META_SELECTOBJECT 0x12D | |
254 | +#define META_SETTEXTALIGN 0x12E | |
255 | +#define META_CHORD 0x830 | |
256 | +#define META_SETMAPPERFLAGS 0x231 | |
257 | +#define META_EXTTEXTOUT 0xA32 | |
258 | +#define META_SETDIBTODEV 0xD33 | |
259 | +#define META_SELECTPALETTE 0x234 | |
260 | +#define META_REALIZEPALETTE 0x35 | |
261 | +#define META_ANIMATEPALETTE 0x436 | |
262 | +#define META_SETPALENTRIES 0x37 | |
263 | +#define META_POLYPOLYGON 0x538 | |
264 | +#define META_RESIZEPALETTE 0x139 | |
265 | +#define META_DIBBITBLT 0x940 | |
266 | +#define META_DIBSTRETCHBLT 0xB41 | |
267 | +#define META_DIBCREATEPATTERNBRUSH 0x142 | |
268 | +#define META_STRETCHDIB 0xF43 | |
269 | +#define META_EXTFLOODFILL 0x548 | |
270 | +#define META_DELETEOBJECT 0x1F0 | |
271 | +#define META_CREATEPALETTE 0xF7 | |
272 | +#define META_CREATEPATTERNBRUSH 0x1F9 | |
273 | +#define META_CREATEPENINDIRECT 0x2FA | |
274 | +#define META_CREATEFONTINDIRECT 0x2FB | |
275 | +#define META_CREATEBRUSHINDIRECT 0x2FC | |
276 | +#define META_CREATEREGION 0x6FF | |
277 | +#define PT_MOVETO 6 | |
278 | +#define PT_LINETO 2 | |
279 | +#define PT_BEZIERTO 4 | |
280 | +#define PT_CLOSEFIGURE 1 | |
281 | +#define ELF_VENDOR_SIZE 4 | |
282 | +#define ELF_VERSION 0 | |
283 | +#define ELF_CULTURE_LATIN 0 | |
284 | +#define PFD_TYPE_RGBA 0 | |
285 | +#define PFD_TYPE_COLORINDEX 1 | |
286 | +#define PFD_MAIN_PLANE 0 | |
287 | +#define PFD_OVERLAY_PLANE 1 | |
288 | +#define PFD_UNDERLAY_PLANE (-1) | |
289 | +#define PFD_DOUBLEBUFFER 1 | |
290 | +#define PFD_STEREO 2 | |
291 | +#define PFD_DRAW_TO_WINDOW 4 | |
292 | +#define PFD_DRAW_TO_BITMAP 8 | |
293 | +#define PFD_SUPPORT_GDI 16 | |
294 | +#define PFD_SUPPORT_OPENGL 32 | |
295 | +#define PFD_GENERIC_FORMAT 64 | |
296 | +#define PFD_NEED_PALETTE 128 | |
297 | +#define PFD_NEED_SYSTEM_PALETTE 0x00000100 | |
298 | +#define PFD_SWAP_EXCHANGE 0x00000200 | |
299 | +#define PFD_SWAP_COPY 0x00000400 | |
300 | +#define PFD_SWAP_LAYER_BUFFERS 0x00000800 | |
301 | +#define PFD_GENERIC_ACCELERATED 0x00001000 | |
302 | +#define PFD_DEPTH_DONTCARE 0x20000000 | |
303 | +#define PFD_DOUBLEBUFFER_DONTCARE 0x40000000 | |
304 | +#define PFD_STEREO_DONTCARE 0x80000000 | |
305 | +#define SP_ERROR (-1) | |
306 | +#define SP_OUTOFDISK (-4) | |
307 | +#define SP_OUTOFMEMORY (-5) | |
308 | +#define SP_USERABORT (-3) | |
309 | +#define SP_APPABORT (-2) | |
310 | +#define BLACKNESS 0x00000042 | |
311 | +#define NOTSRCERASE 0x001100A6 | |
312 | +#define NOTSRCCOPY 0x00330008 | |
313 | +#define SRCERASE 0x00440328 | |
314 | +#define DSTINVERT 0x00550009 | |
315 | +#define PATINVERT 0x005A0049 | |
316 | +#define SRCINVERT 0x00660046 | |
317 | +#define SRCAND 0x008800C6 | |
318 | +#define MERGEPAINT 0x00BB0226 | |
319 | +#define MERGECOPY 0x00C000CA | |
320 | +#define SRCCOPY 0x00CC0020 | |
321 | +#define SRCPAINT 0x00EE0086 | |
322 | +#define PATCOPY 0x00F00021 | |
323 | +#define PATPAINT 0x00FB0A09 | |
324 | +#define WHITENESS 0x00FF0062 | |
325 | +#define CAPTUREBLT 0x40000000 | |
326 | +#define NOMIRRORBITMAP 0x80000000 | |
327 | +#define R2_BLACK 1 | |
328 | +#define R2_COPYPEN 13 | |
329 | +#define R2_MASKNOTPEN 3 | |
330 | +#define R2_MASKPEN 9 | |
331 | +#define R2_MASKPENNOT 5 | |
332 | +#define R2_MERGENOTPEN 12 | |
333 | +#define R2_MERGEPEN 15 | |
334 | +#define R2_MERGEPENNOT 14 | |
335 | +#define R2_NOP 11 | |
336 | +#define R2_NOT 6 | |
337 | +#define R2_NOTCOPYPEN 4 | |
338 | +#define R2_NOTMASKPEN 8 | |
339 | +#define R2_NOTMERGEPEN 2 | |
340 | +#define R2_NOTXORPEN 10 | |
341 | +#define R2_WHITE 16 | |
342 | +#define R2_XORPEN 7 | |
343 | +#define CM_OUT_OF_GAMUT 255 | |
344 | +#define CM_IN_GAMUT 0 | |
345 | +#define RGN_AND 1 | |
346 | +#define RGN_COPY 5 | |
347 | +#define RGN_DIFF 4 | |
348 | +#define RGN_OR 2 | |
349 | +#define RGN_XOR 3 | |
350 | +#define NULLREGION 1 | |
351 | +#define SIMPLEREGION 2 | |
352 | +#define COMPLEXREGION 3 | |
353 | +#define ERROR 0 | |
354 | +#define CBM_INIT 4 | |
355 | +#define DIB_PAL_COLORS 1 | |
356 | +#define DIB_RGB_COLORS 0 | |
357 | +#define FW_DONTCARE 0 | |
358 | +#define FW_THIN 100 | |
359 | +#define FW_EXTRALIGHT 200 | |
360 | +#define FW_ULTRALIGHT FW_EXTRALIGHT | |
361 | +#define FW_LIGHT 300 | |
362 | +#define FW_NORMAL 400 | |
363 | +#define FW_REGULAR 400 | |
364 | +#define FW_MEDIUM 500 | |
365 | +#define FW_SEMIBOLD 600 | |
366 | +#define FW_DEMIBOLD FW_SEMIBOLD | |
367 | +#define FW_BOLD 700 | |
368 | +#define FW_EXTRABOLD 800 | |
369 | +#define FW_ULTRABOLD FW_EXTRABOLD | |
370 | +#define FW_HEAVY 900 | |
371 | +#define FW_BLACK FW_HEAVY | |
372 | +#define ANSI_CHARSET 0 | |
373 | +#define DEFAULT_CHARSET 1 | |
374 | +#define SYMBOL_CHARSET 2 | |
375 | +#define SHIFTJIS_CHARSET 128 | |
376 | +#define HANGEUL_CHARSET 129 | |
377 | +#define HANGUL_CHARSET 129 | |
378 | +#define GB2312_CHARSET 134 | |
379 | +#define CHINESEBIG5_CHARSET 136 | |
380 | +#define GREEK_CHARSET 161 | |
381 | +#define TURKISH_CHARSET 162 | |
382 | +#define HEBREW_CHARSET 177 | |
383 | +#define ARABIC_CHARSET 178 | |
384 | +#define BALTIC_CHARSET 186 | |
385 | +#define RUSSIAN_CHARSET 204 | |
386 | +#define THAI_CHARSET 222 | |
387 | +#define EASTEUROPE_CHARSET 238 | |
388 | +#define OEM_CHARSET 255 | |
389 | +#define JOHAB_CHARSET 130 | |
390 | +#define VIETNAMESE_CHARSET 163 | |
391 | +#define MAC_CHARSET 77 | |
392 | +#define OUT_DEFAULT_PRECIS 0 | |
393 | +#define OUT_STRING_PRECIS 1 | |
394 | +#define OUT_CHARACTER_PRECIS 2 | |
395 | +#define OUT_STROKE_PRECIS 3 | |
396 | +#define OUT_TT_PRECIS 4 | |
397 | +#define OUT_DEVICE_PRECIS 5 | |
398 | +#define OUT_RASTER_PRECIS 6 | |
399 | +#define OUT_TT_ONLY_PRECIS 7 | |
400 | +#define OUT_OUTLINE_PRECIS 8 | |
361 | 401 | /* http://www.pinvoke.net/default.aspx/Structures/LOGFONT.html */ |
362 | -#define OUT_PS_ONLY_PRECIS 10 | |
363 | -#define CLIP_DEFAULT_PRECIS 0 | |
364 | -#define CLIP_CHARACTER_PRECIS 1 | |
365 | -#define CLIP_STROKE_PRECIS 2 | |
366 | -#define CLIP_MASK 15 | |
367 | -#define CLIP_LH_ANGLES 16 | |
368 | -#define CLIP_TT_ALWAYS 32 | |
369 | -#define CLIP_EMBEDDED 128 | |
370 | -#define DEFAULT_QUALITY 0 | |
371 | -#define DRAFT_QUALITY 1 | |
372 | -#define PROOF_QUALITY 2 | |
373 | -#define NONANTIALIASED_QUALITY 3 | |
374 | -#define ANTIALIASED_QUALITY 4 | |
375 | -#if _WIN32_WINNT >= 0x0500 | |
376 | -#define CLEARTYPE_QUALITY 5 | |
377 | -#endif | |
378 | -#define DEFAULT_PITCH 0 | |
379 | -#define FIXED_PITCH 1 | |
380 | -#define VARIABLE_PITCH 2 | |
381 | -#define MONO_FONT 8 | |
382 | -#define FF_DECORATIVE 80 | |
383 | -#define FF_DONTCARE 0 | |
384 | -#define FF_MODERN 48 | |
385 | -#define FF_ROMAN 16 | |
386 | -#define FF_SCRIPT 64 | |
387 | -#define FF_SWISS 32 | |
388 | -#define PANOSE_COUNT 10 | |
389 | -#define PAN_FAMILYTYPE_INDEX 0 | |
390 | -#define PAN_SERIFSTYLE_INDEX 1 | |
391 | -#define PAN_WEIGHT_INDEX 2 | |
392 | -#define PAN_PROPORTION_INDEX 3 | |
393 | -#define PAN_CONTRAST_INDEX 4 | |
394 | -#define PAN_STROKEVARIATION_INDEX 5 | |
395 | -#define PAN_ARMSTYLE_INDEX 6 | |
396 | -#define PAN_LETTERFORM_INDEX 7 | |
397 | -#define PAN_MIDLINE_INDEX 8 | |
398 | -#define PAN_XHEIGHT_INDEX 9 | |
399 | -#define PAN_CULTURE_LATIN 0 | |
400 | -#define PAN_ANY 0 | |
401 | -#define PAN_NO_FIT 1 | |
402 | -#define PAN_FAMILY_TEXT_DISPLAY 2 | |
403 | -#define PAN_FAMILY_SCRIPT 3 | |
404 | -#define PAN_FAMILY_DECORATIVE 4 | |
405 | -#define PAN_FAMILY_PICTORIAL 5 | |
406 | -#define PAN_SERIF_COVE 2 | |
407 | -#define PAN_SERIF_OBTUSE_COVE 3 | |
408 | -#define PAN_SERIF_SQUARE_COVE 4 | |
409 | -#define PAN_SERIF_OBTUSE_SQUARE_COVE 5 | |
410 | -#define PAN_SERIF_SQUARE 6 | |
411 | -#define PAN_SERIF_THIN 7 | |
412 | -#define PAN_SERIF_BONE 8 | |
413 | -#define PAN_SERIF_EXAGGERATED 9 | |
414 | -#define PAN_SERIF_TRIANGLE 10 | |
415 | -#define PAN_SERIF_NORMAL_SANS 11 | |
416 | -#define PAN_SERIF_OBTUSE_SANS 12 | |
417 | -#define PAN_SERIF_PERP_SANS 13 | |
418 | -#define PAN_SERIF_FLARED 14 | |
419 | -#define PAN_SERIF_ROUNDED 15 | |
420 | -#define PAN_WEIGHT_VERY_LIGHT 2 | |
421 | -#define PAN_WEIGHT_LIGHT 3 | |
422 | -#define PAN_WEIGHT_THIN 4 | |
423 | -#define PAN_WEIGHT_BOOK 5 | |
424 | -#define PAN_WEIGHT_MEDIUM 6 | |
425 | -#define PAN_WEIGHT_DEMI 7 | |
426 | -#define PAN_WEIGHT_BOLD 8 | |
427 | -#define PAN_WEIGHT_HEAVY 9 | |
428 | -#define PAN_WEIGHT_BLACK 10 | |
429 | -#define PAN_WEIGHT_NORD 11 | |
430 | -#define PAN_PROP_OLD_STYLE 2 | |
431 | -#define PAN_PROP_MODERN 3 | |
432 | -#define PAN_PROP_EVEN_WIDTH 4 | |
433 | -#define PAN_PROP_EXPANDED 5 | |
434 | -#define PAN_PROP_CONDENSED 6 | |
435 | -#define PAN_PROP_VERY_EXPANDED 7 | |
436 | -#define PAN_PROP_VERY_CONDENSED 8 | |
437 | -#define PAN_PROP_MONOSPACED 9 | |
438 | -#define PAN_CONTRAST_NONE 2 | |
439 | -#define PAN_CONTRAST_VERY_LOW 3 | |
440 | -#define PAN_CONTRAST_LOW 4 | |
441 | -#define PAN_CONTRAST_MEDIUM_LOW 5 | |
442 | -#define PAN_CONTRAST_MEDIUM 6 | |
443 | -#define PAN_CONTRAST_MEDIUM_HIGH 7 | |
444 | -#define PAN_CONTRAST_HIGH 8 | |
445 | -#define PAN_CONTRAST_VERY_HIGH 9 | |
446 | -#define PAN_STROKE_GRADUAL_DIAG 2 | |
447 | -#define PAN_STROKE_GRADUAL_TRAN 3 | |
448 | -#define PAN_STROKE_GRADUAL_VERT 4 | |
449 | -#define PAN_STROKE_GRADUAL_HORZ 5 | |
450 | -#define PAN_STROKE_RAPID_VERT 6 | |
451 | -#define PAN_STROKE_RAPID_HORZ 7 | |
452 | -#define PAN_STROKE_INSTANT_VERT 8 | |
453 | -#define PAN_STRAIGHT_ARMS_HORZ 2 | |
454 | -#define PAN_STRAIGHT_ARMS_WEDGE 3 | |
455 | -#define PAN_STRAIGHT_ARMS_VERT 4 | |
456 | -#define PAN_STRAIGHT_ARMS_SINGLE_SERIF 5 | |
457 | -#define PAN_STRAIGHT_ARMS_DOUBLE_SERIF 6 | |
458 | -#define PAN_BENT_ARMS_HORZ 7 | |
459 | -#define PAN_BENT_ARMS_WEDGE 8 | |
460 | -#define PAN_BENT_ARMS_VERT 9 | |
461 | -#define PAN_BENT_ARMS_SINGLE_SERIF 10 | |
462 | -#define PAN_BENT_ARMS_DOUBLE_SERIF 11 | |
463 | -#define PAN_LETT_NORMAL_CONTACT 2 | |
464 | -#define PAN_LETT_NORMAL_WEIGHTED 3 | |
465 | -#define PAN_LETT_NORMAL_BOXED 4 | |
466 | -#define PAN_LETT_NORMAL_FLATTENED 5 | |
467 | -#define PAN_LETT_NORMAL_ROUNDED 6 | |
468 | -#define PAN_LETT_NORMAL_OFF_CENTER 7 | |
469 | -#define PAN_LETT_NORMAL_SQUARE 8 | |
470 | -#define PAN_LETT_OBLIQUE_CONTACT 9 | |
471 | -#define PAN_LETT_OBLIQUE_WEIGHTED 10 | |
472 | -#define PAN_LETT_OBLIQUE_BOXED 11 | |
473 | -#define PAN_LETT_OBLIQUE_FLATTENED 12 | |
474 | -#define PAN_LETT_OBLIQUE_ROUNDED 13 | |
475 | -#define PAN_LETT_OBLIQUE_OFF_CENTER 14 | |
476 | -#define PAN_LETT_OBLIQUE_SQUARE 15 | |
477 | -#define PAN_MIDLINE_STANDARD_TRIMMED 2 | |
478 | -#define PAN_MIDLINE_STANDARD_POINTED 3 | |
479 | -#define PAN_MIDLINE_STANDARD_SERIFED 4 | |
480 | -#define PAN_MIDLINE_HIGH_TRIMMED 5 | |
481 | -#define PAN_MIDLINE_HIGH_POINTED 6 | |
482 | -#define PAN_MIDLINE_HIGH_SERIFED 7 | |
483 | -#define PAN_MIDLINE_CONSTANT_TRIMMED 8 | |
484 | -#define PAN_MIDLINE_CONSTANT_POINTED 9 | |
485 | -#define PAN_MIDLINE_CONSTANT_SERIFED 10 | |
486 | -#define PAN_MIDLINE_LOW_TRIMMED 11 | |
487 | -#define PAN_MIDLINE_LOW_POINTED 12 | |
488 | -#define PAN_MIDLINE_LOW_SERIFED 13 | |
489 | -#define PAN_XHEIGHT_CONSTANT_SMALL 2 | |
490 | -#define PAN_XHEIGHT_CONSTANT_STD 3 | |
491 | -#define PAN_XHEIGHT_CONSTANT_LARGE 4 | |
492 | -#define PAN_XHEIGHT_DUCKING_SMALL 5 | |
493 | -#define PAN_XHEIGHT_DUCKING_STD 6 | |
494 | -#define PAN_XHEIGHT_DUCKING_LARGE 7 | |
495 | -#define FS_LATIN1 1 | |
496 | -#define FS_LATIN2 2 | |
497 | -#define FS_CYRILLIC 4 | |
498 | -#define FS_GREEK 8 | |
499 | -#define FS_TURKISH 16 | |
500 | -#define FS_HEBREW 32 | |
501 | -#define FS_ARABIC 64 | |
502 | -#define FS_BALTIC 128 | |
503 | -#define FS_THAI 0x10000 | |
504 | -#define FS_JISJAPAN 0x20000 | |
505 | -#define FS_CHINESESIMP 0x40000 | |
506 | -#define FS_WANSUNG 0x80000 | |
507 | -#define FS_CHINESETRAD 0x100000 | |
508 | -#define FS_JOHAB 0x200000 | |
509 | -#define FS_SYMBOL 0x80000000 | |
510 | -#define HS_BDIAGONAL 3 | |
511 | -#define HS_CROSS 4 | |
512 | -#define HS_DIAGCROSS 5 | |
513 | -#define HS_FDIAGONAL 2 | |
514 | -#define HS_HORIZONTAL 0 | |
515 | -#define HS_VERTICAL 1 | |
516 | -#define PS_GEOMETRIC 65536 | |
517 | -#define PS_COSMETIC 0 | |
518 | -#define PS_ALTERNATE 8 | |
519 | -#define PS_SOLID 0 | |
520 | -#define PS_DASH 1 | |
521 | -#define PS_DOT 2 | |
522 | -#define PS_DASHDOT 3 | |
523 | -#define PS_DASHDOTDOT 4 | |
524 | -#define PS_NULL 5 | |
525 | -#define PS_USERSTYLE 7 | |
526 | -#define PS_INSIDEFRAME 6 | |
527 | -#define PS_ENDCAP_ROUND 0 | |
528 | -#define PS_ENDCAP_SQUARE 256 | |
529 | -#define PS_ENDCAP_FLAT 512 | |
530 | -#define PS_JOIN_BEVEL 4096 | |
531 | -#define PS_JOIN_MITER 8192 | |
532 | -#define PS_JOIN_ROUND 0 | |
533 | -#define PS_STYLE_MASK 15 | |
534 | -#define PS_ENDCAP_MASK 3840 | |
535 | -#define PS_TYPE_MASK 983040 | |
536 | -#define ALTERNATE 1 | |
537 | -#define WINDING 2 | |
538 | -#define DC_BINNAMES 12 | |
539 | -#define DC_BINS 6 | |
540 | -#define DC_COPIES 18 | |
541 | -#define DC_DRIVER 11 | |
542 | -#define DC_DATATYPE_PRODUCED 21 | |
543 | -#define DC_DUPLEX 7 | |
544 | -#define DC_EMF_COMPLIANT 20 | |
545 | -#define DC_ENUMRESOLUTIONS 13 | |
546 | -#define DC_EXTRA 9 | |
547 | -#define DC_FIELDS 1 | |
548 | -#define DC_FILEDEPENDENCIES 14 | |
549 | -#define DC_MAXEXTENT 5 | |
550 | -#define DC_MINEXTENT 4 | |
551 | -#define DC_ORIENTATION 17 | |
552 | -#define DC_PAPERNAMES 16 | |
553 | -#define DC_PAPERS 2 | |
554 | -#define DC_PAPERSIZE 3 | |
555 | -#define DC_SIZE 8 | |
556 | -#define DC_TRUETYPE 15 | |
557 | -#define DCTT_BITMAP 1 | |
558 | -#define DCTT_DOWNLOAD 2 | |
559 | -#define DCTT_SUBDEV 4 | |
560 | -#define DCTT_DOWNLOAD_OUTLINE 8 | |
561 | -#define DC_VERSION 10 | |
562 | -#define DC_BINADJUST 19 | |
563 | -#define DC_EMF_COMPLIANT 20 | |
564 | -#define DC_DATATYPE_PRODUCED 21 | |
565 | -#define DC_MANUFACTURER 23 | |
566 | -#define DC_MODEL 24 | |
567 | -#if (WINVER >= 0x0500) | |
568 | -#define DC_PERSONALITY 25 | |
569 | -#define DC_PRINTRATE 26 | |
570 | -#define DC_PRINTRATEUNIT 27 | |
571 | -#define DC_PRINTERMEM 28 | |
572 | -#define DC_MEDIAREADY 29 | |
573 | -#define DC_STAPLE 30 | |
574 | -#define DC_PRINTRATEPPM 31 | |
575 | -#define DC_COLORDEVICE 32 | |
576 | -#define DC_NUP 33 | |
577 | -#endif | |
578 | -#if (WINVER >= 0x0501) | |
579 | -#define DC_MEDIATYPENAMES 34 | |
580 | -#define DC_MEDIATYPES 35 | |
581 | -#endif | |
582 | -#define DCBA_FACEUPNONE 0 | |
583 | -#define DCBA_FACEUPCENTER 1 | |
584 | -#define DCBA_FACEUPLEFT 2 | |
585 | -#define DCBA_FACEUPRIGHT 3 | |
586 | -#define DCBA_FACEDOWNNONE 256 | |
587 | -#define DCBA_FACEDOWNCENTER 257 | |
588 | -#define DCBA_FACEDOWNLEFT 258 | |
589 | -#define DCBA_FACEDOWNRIGHT 259 | |
590 | -#define FLOODFILLBORDER 0 | |
591 | -#define FLOODFILLSURFACE 1 | |
592 | -#define ETO_CLIPPED 0x0004 | |
593 | -#define ETO_GLYPH_INDEX 0x0010 | |
594 | -#define ETO_OPAQUE 0x0002 | |
595 | -#define ETO_NUMERICSLATIN 0x0800 | |
596 | -#define ETO_NUMERICSLOCAL 0x0400 | |
597 | -#define ETO_RTLREADING 0x0080 | |
598 | -#if (_WIN32_WINNT >= 0x0400) | |
599 | -#define ETO_IGNORELANGUAGE 0x1000 | |
600 | -#endif | |
601 | -#if (_WIN32_WINNT >= 0x0500) | |
602 | -#define ETO_PDY 0x2000 | |
603 | -#endif | |
604 | -#define GDICOMMENT_WINDOWS_METAFILE (-2147483647) | |
605 | -#define GDICOMMENT_BEGINGROUP 2 | |
606 | -#define GDICOMMENT_ENDGROUP 3 | |
607 | -#define GDICOMMENT_MULTIFORMATS 1073741828 | |
608 | -#define GDICOMMENT_IDENTIFIER 1128875079 | |
609 | -#define AD_COUNTERCLOCKWISE 1 | |
610 | -#define AD_CLOCKWISE 2 | |
611 | -#define RDH_RECTANGLES 1 | |
612 | -#define GCPCLASS_LATIN 1 | |
613 | -#define GCPCLASS_HEBREW 2 | |
614 | -#define GCPCLASS_ARABIC 2 | |
615 | -#define GCPCLASS_NEUTRAL 3 | |
616 | -#define GCPCLASS_LOCALNUMBER 4 | |
617 | -#define GCPCLASS_LATINNUMBER 5 | |
618 | -#define GCPCLASS_LATINNUMERICTERMINATOR 6 | |
619 | -#define GCPCLASS_LATINNUMERICSEPARATOR 7 | |
620 | -#define GCPCLASS_NUMERICSEPARATOR 8 | |
621 | -#define GCPCLASS_PREBOUNDLTR 128 | |
622 | -#define GCPCLASS_PREBOUNDRTL 64 | |
623 | -#define GCPCLASS_POSTBOUNDLTR 32 | |
624 | -#define GCPCLASS_POSTBOUNDRTL 16 | |
625 | -#define GCPGLYPH_LINKBEFORE 0x8000 | |
626 | -#define GCPGLYPH_LINKAFTER 0x4000 | |
627 | -#define DCB_DISABLE 8 | |
628 | -#define DCB_ENABLE 4 | |
629 | -#define DCB_RESET 1 | |
630 | -#define DCB_SET 3 | |
631 | -#define DCB_ACCUMULATE 2 | |
632 | -#define DCB_DIRTY 2 | |
633 | -#define OBJ_BRUSH 2 | |
634 | -#define OBJ_PEN 1 | |
635 | -#define OBJ_PAL 5 | |
636 | -#define OBJ_FONT 6 | |
637 | -#define OBJ_BITMAP 7 | |
638 | -#define OBJ_EXTPEN 11 | |
639 | -#define OBJ_REGION 8 | |
640 | -#define OBJ_DC 3 | |
641 | -#define OBJ_MEMDC 10 | |
642 | -#define OBJ_METAFILE 9 | |
643 | -#define OBJ_METADC 4 | |
644 | -#define OBJ_ENHMETAFILE 13 | |
645 | -#define OBJ_ENHMETADC 12 | |
646 | -#define DRIVERVERSION 0 | |
647 | -#define TECHNOLOGY 2 | |
648 | -#define DT_PLOTTER 0 | |
649 | -#define DT_RASDISPLAY 1 | |
650 | -#define DT_RASPRINTER 2 | |
651 | -#define DT_RASCAMERA 3 | |
652 | -#define DT_CHARSTREAM 4 | |
653 | -#define DT_METAFILE 5 | |
654 | -#define DT_DISPFILE 6 | |
655 | -#define HORZSIZE 4 | |
656 | -#define VERTSIZE 6 | |
657 | -#define HORZRES 8 | |
658 | -#define VERTRES 10 | |
659 | -#define LOGPIXELSX 88 | |
660 | -#define LOGPIXELSY 90 | |
661 | -#define BITSPIXEL 12 | |
662 | -#define PLANES 14 | |
663 | -#define NUMBRUSHES 16 | |
664 | -#define NUMPENS 18 | |
665 | -#define NUMFONTS 22 | |
666 | -#define NUMCOLORS 24 | |
667 | -#define NUMMARKERS 20 | |
668 | -#define ASPECTX 40 | |
669 | -#define ASPECTY 42 | |
670 | -#define ASPECTXY 44 | |
671 | -#define PDEVICESIZE 26 | |
672 | -#define CLIPCAPS 36 | |
673 | -#define SIZEPALETTE 104 | |
674 | -#define NUMRESERVED 106 | |
675 | -#define COLORRES 108 | |
676 | -#define PHYSICALWIDTH 110 | |
677 | -#define PHYSICALHEIGHT 111 | |
678 | -#define PHYSICALOFFSETX 112 | |
679 | -#define PHYSICALOFFSETY 113 | |
680 | -#define SCALINGFACTORX 114 | |
681 | -#define SCALINGFACTORY 115 | |
682 | -#define VREFRESH 116 | |
683 | -#define DESKTOPHORZRES 118 | |
684 | -#define DESKTOPVERTRES 117 | |
685 | -#define BLTALIGNMENT 119 | |
686 | -#if(WINVER >= 0x0500) | |
687 | -#define SHADEBLENDCAPS 120 | |
688 | -#define SB_NONE 0x00 | |
689 | -#define SB_CONST_ALPHA 0x01 | |
690 | -#define SB_PIXEL_ALPHA 0x02 | |
691 | -#define SB_PREMULT_ALPHA 0x04 | |
692 | -#define SB_GRAD_RECT 0x10 | |
693 | -#define SB_GRAD_TRI 0x20 | |
694 | -#define COLORMGMTCAPS 121 | |
695 | -#define CM_NONE 0x00 | |
696 | -#define CM_DEVICE_ICM 0x01 | |
697 | -#define CM_GAMMA_RAMP 0x02 | |
698 | -#define CM_CMYK_COLOR 0x04 | |
699 | -#endif | |
700 | -#define RASTERCAPS 38 | |
701 | -#define RC_BANDING 2 | |
702 | -#define RC_BITBLT 1 | |
703 | -#define RC_BITMAP64 8 | |
704 | -#define RC_DI_BITMAP 128 | |
705 | -#define RC_DIBTODEV 512 | |
706 | -#define RC_FLOODFILL 4096 | |
707 | -#define RC_GDI20_OUTPUT 16 | |
708 | -#define RC_PALETTE 256 | |
709 | -#define RC_SCALING 4 | |
710 | -#define RC_STRETCHBLT 2048 | |
711 | -#define RC_STRETCHDIB 8192 | |
712 | -#define RC_DEVBITS 0x8000 | |
713 | -#define RC_OP_DX_OUTPUT 0x4000 | |
714 | -#define CURVECAPS 28 | |
715 | -#define CC_NONE 0 | |
716 | -#define CC_CIRCLES 1 | |
717 | -#define CC_PIE 2 | |
718 | -#define CC_CHORD 4 | |
719 | -#define CC_ELLIPSES 8 | |
720 | -#define CC_WIDE 16 | |
721 | -#define CC_STYLED 32 | |
722 | -#define CC_WIDESTYLED 64 | |
723 | -#define CC_INTERIORS 128 | |
724 | -#define CC_ROUNDRECT 256 | |
725 | -#define LINECAPS 30 | |
726 | -#define LC_NONE 0 | |
727 | -#define LC_POLYLINE 2 | |
728 | -#define LC_MARKER 4 | |
729 | -#define LC_POLYMARKER 8 | |
730 | -#define LC_WIDE 16 | |
731 | -#define LC_STYLED 32 | |
732 | -#define LC_WIDESTYLED 64 | |
733 | -#define LC_INTERIORS 128 | |
734 | -#define POLYGONALCAPS 32 | |
735 | -#define RC_BANDING 2 | |
736 | -#define RC_BIGFONT 1024 | |
737 | -#define RC_BITBLT 1 | |
738 | -#define RC_BITMAP64 8 | |
739 | -#define RC_DEVBITS 0x8000 | |
740 | -#define RC_DI_BITMAP 128 | |
741 | -#define RC_GDI20_OUTPUT 16 | |
742 | -#define RC_GDI20_STATE 32 | |
743 | -#define RC_NONE 0 | |
744 | -#define RC_OP_DX_OUTPUT 0x4000 | |
745 | -#define RC_PALETTE 256 | |
746 | -#define RC_SAVEBITMAP 64 | |
747 | -#define RC_SCALING 4 | |
748 | -#define PC_NONE 0 | |
749 | -#define PC_POLYGON 1 | |
750 | -#define PC_POLYPOLYGON 256 | |
751 | -#define PC_PATHS 512 | |
752 | -#define PC_RECTANGLE 2 | |
753 | -#define PC_WINDPOLYGON 4 | |
754 | -#define PC_SCANLINE 8 | |
755 | -#define PC_TRAPEZOID 4 | |
756 | -#define PC_WIDE 16 | |
757 | -#define PC_STYLED 32 | |
758 | -#define PC_WIDESTYLED 64 | |
759 | -#define PC_INTERIORS 128 | |
760 | -#define PC_PATHS 512 | |
761 | -#define TEXTCAPS 34 | |
762 | -#define TC_OP_CHARACTER 1 | |
763 | -#define TC_OP_STROKE 2 | |
764 | -#define TC_CP_STROKE 4 | |
765 | -#define TC_CR_90 8 | |
766 | -#define TC_CR_ANY 16 | |
767 | -#define TC_SF_X_YINDEP 32 | |
768 | -#define TC_SA_DOUBLE 64 | |
769 | -#define TC_SA_INTEGER 128 | |
770 | -#define TC_SA_CONTIN 256 | |
771 | -#define TC_EA_DOUBLE 512 | |
772 | -#define TC_IA_ABLE 1024 | |
773 | -#define TC_UA_ABLE 2048 | |
774 | -#define TC_SO_ABLE 4096 | |
775 | -#define TC_RA_ABLE 8192 | |
776 | -#define TC_VA_ABLE 16384 | |
777 | -#define TC_RESERVED 32768 | |
778 | -#define TC_SCROLLBLT 65536 | |
779 | -#define GCP_DBCS 1 | |
780 | -#define GCP_ERROR 0x8000 | |
781 | -#define GCP_CLASSIN 0x80000 | |
782 | -#define GCP_DIACRITIC 256 | |
783 | -#define GCP_DISPLAYZWG 0x400000 | |
784 | -#define GCP_GLYPHSHAPE 16 | |
785 | -#define GCP_JUSTIFY 0x10000 | |
786 | -#define GCP_JUSTIFYIN 0x200000 | |
787 | -#define GCP_KASHIDA 1024 | |
788 | -#define GCP_LIGATE 32 | |
789 | -#define GCP_MAXEXTENT 0x100000 | |
790 | -#define GCP_NEUTRALOVERRIDE 0x2000000 | |
791 | -#define GCP_NUMERICOVERRIDE 0x1000000 | |
792 | -#define GCP_NUMERICSLATIN 0x4000000 | |
793 | -#define GCP_NUMERICSLOCAL 0x8000000 | |
794 | -#define GCP_REORDER 2 | |
795 | -#define GCP_SYMSWAPOFF 0x800000 | |
796 | -#define GCP_USEKERNING 8 | |
797 | -#define FLI_GLYPHS 0x40000 | |
798 | -#define FLI_MASK 0x103b | |
799 | -#define GGO_METRICS 0 | |
800 | -#define GGO_BITMAP 1 | |
801 | -#define GGO_NATIVE 2 | |
802 | -#define GGO_BEZIER 3 | |
803 | -#define GGO_GRAY2_BITMAP 4 | |
804 | -#define GGO_GRAY4_BITMAP 5 | |
805 | -#define GGO_GRAY8_BITMAP 6 | |
806 | -#define GGO_GLYPH_INDEX 128 | |
807 | -#if (WINVER >= 0x0500) | |
808 | -#define GGO_UNHINTED 256 | |
809 | -#endif | |
810 | -#define GM_COMPATIBLE 1 | |
811 | -#define GM_ADVANCED 2 | |
812 | -#define MM_ANISOTROPIC 8 | |
813 | -#define MM_HIENGLISH 5 | |
814 | -#define MM_HIMETRIC 3 | |
815 | -#define MM_ISOTROPIC 7 | |
816 | -#define MM_LOENGLISH 4 | |
817 | -#define MM_LOMETRIC 2 | |
818 | -#define MM_TEXT 1 | |
819 | -#define MM_TWIPS 6 | |
820 | -#define MM_MAX_FIXEDSCALE MM_TWIPS | |
821 | -#define ABSOLUTE 1 | |
822 | -#define RELATIVE 2 | |
823 | -#define PC_EXPLICIT 2 | |
824 | -#define PC_NOCOLLAPSE 4 | |
825 | -#define PC_RESERVED 1 | |
826 | -#define CLR_NONE 0xffffffff | |
827 | -#define CLR_INVALID CLR_NONE | |
828 | -#define CLR_DEFAULT 0xff000000 | |
829 | -#define PT_MOVETO 6 | |
830 | -#define PT_LINETO 2 | |
831 | -#define PT_BEZIERTO 4 | |
832 | -#define PT_CLOSEFIGURE 1 | |
833 | -#define TT_AVAILABLE 1 | |
834 | -#define TT_ENABLED 2 | |
835 | -#define BLACK_BRUSH 4 | |
836 | -#define DKGRAY_BRUSH 3 | |
837 | -#define GRAY_BRUSH 2 | |
838 | -#define HOLLOW_BRUSH 5 | |
839 | -#define LTGRAY_BRUSH 1 | |
840 | -#define NULL_BRUSH 5 | |
841 | -#define WHITE_BRUSH 0 | |
842 | -#define BLACK_PEN 7 | |
843 | -#define NULL_PEN 8 | |
844 | -#define WHITE_PEN 6 | |
845 | -#define ANSI_FIXED_FONT 11 | |
846 | -#define ANSI_VAR_FONT 12 | |
847 | -#define DEVICE_DEFAULT_FONT 14 | |
848 | -#define DEFAULT_GUI_FONT 17 | |
849 | -#define OEM_FIXED_FONT 10 | |
850 | -#define SYSTEM_FONT 13 | |
851 | -#define SYSTEM_FIXED_FONT 16 | |
852 | -#define DEFAULT_PALETTE 15 | |
853 | -#if (_WIN32_WINNT >= 0x0500) | |
854 | -#define DC_BRUSH 18 | |
855 | -#define DC_PEN 19 | |
856 | -#endif | |
857 | -#define SYSPAL_ERROR 0 | |
858 | -#define SYSPAL_STATIC 1 | |
859 | -#define SYSPAL_NOSTATIC 2 | |
860 | -#define SYSPAL_NOSTATIC256 3 | |
861 | -#define TA_BASELINE 24 | |
862 | -#define TA_BOTTOM 8 | |
863 | -#define TA_TOP 0 | |
864 | -#define TA_CENTER 6 | |
865 | -#define TA_LEFT 0 | |
866 | -#define TA_RIGHT 2 | |
867 | -#define TA_RTLREADING 256 | |
868 | -#define TA_NOUPDATECP 0 | |
869 | -#define TA_UPDATECP 1 | |
870 | -#define TA_MASK (TA_BASELINE+TA_CENTER+TA_UPDATECP+TA_RTLREADING) | |
871 | -#define VTA_BASELINE 24 | |
872 | -#define VTA_CENTER 6 | |
873 | -#define VTA_LEFT TA_BOTTOM | |
874 | -#define VTA_RIGHT TA_TOP | |
875 | -#define VTA_BOTTOM TA_RIGHT | |
876 | -#define VTA_TOP TA_LEFT | |
877 | -#define MWT_IDENTITY 1 | |
878 | -#define MWT_LEFTMULTIPLY 2 | |
879 | -#define MWT_RIGHTMULTIPLY 3 | |
880 | -#define OPAQUE 2 | |
881 | -#define TRANSPARENT 1 | |
882 | -#define BLACKONWHITE 1 | |
883 | -#define WHITEONBLACK 2 | |
884 | -#define COLORONCOLOR 3 | |
885 | -#define HALFTONE 4 | |
886 | -#define MAXSTRETCHBLTMODE 4 | |
887 | -#define STRETCH_ANDSCANS 1 | |
888 | -#define STRETCH_DELETESCANS 3 | |
889 | -#define STRETCH_HALFTONE 4 | |
890 | -#define STRETCH_ORSCANS 2 | |
891 | -#define TCI_SRCCHARSET 1 | |
892 | -#define TCI_SRCCODEPAGE 2 | |
893 | -#define TCI_SRCFONTSIG 3 | |
894 | -#define ICM_ON 2 | |
895 | -#define ICM_OFF 1 | |
896 | -#define ICM_QUERY 3 | |
897 | -#define NEWFRAME 1 | |
898 | -#define ABORTDOC 2 | |
899 | -#define NEXTBAND 3 | |
900 | -#define SETCOLORTABLE 4 | |
901 | -#define GETCOLORTABLE 5 | |
902 | -#define FLUSHOUTPUT 6 | |
903 | -#define DRAFTMODE 7 | |
904 | -#define QUERYESCSUPPORT 8 | |
905 | -#define SETABORTPROC 9 | |
906 | -#define STARTDOC 10 | |
907 | -#define ENDDOC 11 | |
908 | -#define GETPHYSPAGESIZE 12 | |
909 | -#define GETPRINTINGOFFSET 13 | |
910 | -#define GETSCALINGFACTOR 14 | |
911 | -#define MFCOMMENT 15 | |
912 | -#define GETPENWIDTH 16 | |
913 | -#define SETCOPYCOUNT 17 | |
914 | -#define SELECTPAPERSOURCE 18 | |
915 | -#define DEVICEDATA 19 | |
916 | -#define PASSTHROUGH 19 | |
917 | -#define GETTECHNOLGY 20 | |
918 | -#define GETTECHNOLOGY 20 | |
919 | -#define SETLINECAP 21 | |
920 | -#define SETLINEJOIN 22 | |
921 | -#define SETMITERLIMIT 23 | |
922 | -#define BANDINFO 24 | |
923 | -#define DRAWPATTERNRECT 25 | |
924 | -#define GETVECTORPENSIZE 26 | |
925 | -#define GETVECTORBRUSHSIZE 27 | |
926 | -#define ENABLEDUPLEX 28 | |
927 | -#define GETSETPAPERBINS 29 | |
928 | -#define GETSETPRINTORIENT 30 | |
929 | -#define ENUMPAPERBINS 31 | |
930 | -#define SETDIBSCALING 32 | |
931 | -#define EPSPRINTING 33 | |
932 | -#define ENUMPAPERMETRICS 34 | |
933 | -#define GETSETPAPERMETRICS 35 | |
934 | -#define POSTSCRIPT_DATA 37 | |
935 | -#define POSTSCRIPT_IGNORE 38 | |
936 | -#define MOUSETRAILS 39 | |
937 | -#define GETDEVICEUNITS 42 | |
938 | -#define GETEXTENDEDTEXTMETRICS 256 | |
939 | -#define GETEXTENTTABLE 257 | |
940 | -#define GETPAIRKERNTABLE 258 | |
941 | -#define GETTRACKKERNTABLE 259 | |
942 | -#define EXTTEXTOUT 512 | |
943 | -#define GETFACENAME 513 | |
944 | -#define DOWNLOADFACE 514 | |
945 | -#define ENABLERELATIVEWIDTHS 768 | |
946 | -#define ENABLEPAIRKERNING 769 | |
947 | -#define SETKERNTRACK 770 | |
948 | -#define SETALLJUSTVALUES 771 | |
949 | -#define SETCHARSET 772 | |
950 | -#define STRETCHBLT 2048 | |
951 | -#define GETSETSCREENPARAMS 3072 | |
952 | -#define QUERYDIBSUPPORT 3073 | |
953 | -#define BEGIN_PATH 4096 | |
954 | -#define CLIP_TO_PATH 4097 | |
955 | -#define END_PATH 4098 | |
956 | -#define EXT_DEVICE_CAPS 4099 | |
957 | -#define RESTORE_CTM 4100 | |
958 | -#define SAVE_CTM 4101 | |
959 | -#define SET_ARC_DIRECTION 4102 | |
960 | -#define SET_BACKGROUND_COLOR 4103 | |
961 | -#define SET_POLY_MODE 4104 | |
962 | -#define SET_SCREEN_ANGLE 4105 | |
963 | -#define SET_SPREAD 4106 | |
964 | -#define TRANSFORM_CTM 4107 | |
965 | -#define SET_CLIP_BOX 4108 | |
966 | -#define SET_BOUNDS 4109 | |
967 | -#define SET_MIRROR_MODE 4110 | |
968 | -#define OPENCHANNEL 4110 | |
969 | -#define DOWNLOADHEADER 4111 | |
970 | -#define CLOSECHANNEL 4112 | |
971 | -#define POSTSCRIPT_PASSTHROUGH 4115 | |
972 | -#define ENCAPSULATED_POSTSCRIPT 4116 | |
973 | -#define QDI_SETDIBITS 1 | |
974 | -#define QDI_GETDIBITS 2 | |
975 | -#define QDI_DIBTOSCREEN 4 | |
976 | -#define QDI_STRETCHDIB 8 | |
977 | -#define SP_NOTREPORTED 0x4000 | |
978 | -#define PR_JOBSTATUS 0 | |
979 | -#define ASPECT_FILTERING 1 | |
980 | -#define BS_SOLID 0 | |
981 | -#define BS_NULL 1 | |
982 | -#define BS_HOLLOW 1 | |
983 | -#define BS_HATCHED 2 | |
984 | -#define BS_PATTERN 3 | |
985 | -#define BS_INDEXED 4 | |
986 | -#define BS_DIBPATTERN 5 | |
987 | -#define BS_DIBPATTERNPT 6 | |
988 | -#define BS_PATTERN8X8 7 | |
989 | -#define BS_DIBPATTERN8X8 8 | |
990 | -#define LCS_CALIBRATED_RGB 0 | |
991 | -#define LCS_DEVICE_RGB 1 | |
992 | -#define LCS_DEVICE_CMYK 2 | |
993 | -#define LCS_GM_BUSINESS 1 | |
994 | -#define LCS_GM_GRAPHICS 2 | |
995 | -#define LCS_GM_IMAGES 4 | |
996 | -#define RASTER_FONTTYPE 1 | |
997 | -#define DEVICE_FONTTYPE 2 | |
998 | -#define TRUETYPE_FONTTYPE 4 | |
999 | -#define DMORIENT_PORTRAIT 1 | |
1000 | -#define DMORIENT_LANDSCAPE 2 | |
1001 | -#define DMPAPER_FIRST 1 | |
1002 | -#define DMPAPER_LETTER 1 | |
1003 | -#define DMPAPER_LETTERSMALL 2 | |
1004 | -#define DMPAPER_TABLOID 3 | |
1005 | -#define DMPAPER_LEDGER 4 | |
1006 | -#define DMPAPER_LEGAL 5 | |
1007 | -#define DMPAPER_STATEMENT 6 | |
1008 | -#define DMPAPER_EXECUTIVE 7 | |
1009 | -#define DMPAPER_A3 8 | |
1010 | -#define DMPAPER_A4 9 | |
1011 | -#define DMPAPER_A4SMALL 10 | |
1012 | -#define DMPAPER_A5 11 | |
1013 | -#define DMPAPER_B4 12 | |
1014 | -#define DMPAPER_B5 13 | |
1015 | -#define DMPAPER_FOLIO 14 | |
1016 | -#define DMPAPER_QUARTO 15 | |
1017 | -#define DMPAPER_10X14 16 | |
1018 | -#define DMPAPER_11X17 17 | |
1019 | -#define DMPAPER_NOTE 18 | |
1020 | -#define DMPAPER_ENV_9 19 | |
1021 | -#define DMPAPER_ENV_10 20 | |
1022 | -#define DMPAPER_ENV_11 21 | |
1023 | -#define DMPAPER_ENV_12 22 | |
1024 | -#define DMPAPER_ENV_14 23 | |
1025 | -#define DMPAPER_CSHEET 24 | |
1026 | -#define DMPAPER_DSHEET 25 | |
1027 | -#define DMPAPER_ESHEET 26 | |
1028 | -#define DMPAPER_ENV_DL 27 | |
1029 | -#define DMPAPER_ENV_C5 28 | |
1030 | -#define DMPAPER_ENV_C3 29 | |
1031 | -#define DMPAPER_ENV_C4 30 | |
1032 | -#define DMPAPER_ENV_C6 31 | |
1033 | -#define DMPAPER_ENV_C65 32 | |
1034 | -#define DMPAPER_ENV_B4 33 | |
1035 | -#define DMPAPER_ENV_B5 34 | |
1036 | -#define DMPAPER_ENV_B6 35 | |
1037 | -#define DMPAPER_ENV_ITALY 36 | |
1038 | -#define DMPAPER_ENV_MONARCH 37 | |
1039 | -#define DMPAPER_ENV_PERSONAL 38 | |
1040 | -#define DMPAPER_FANFOLD_US 39 | |
1041 | -#define DMPAPER_FANFOLD_STD_GERMAN 40 | |
1042 | -#define DMPAPER_FANFOLD_LGL_GERMAN 41 | |
1043 | -#define DMPAPER_ISO_B4 42 | |
1044 | -#define DMPAPER_JAPANESE_POSTCARD 43 | |
1045 | -#define DMPAPER_9X11 44 | |
1046 | -#define DMPAPER_10X11 45 | |
1047 | -#define DMPAPER_15X11 46 | |
1048 | -#define DMPAPER_ENV_INVITE 47 | |
1049 | -#define DMPAPER_RESERVED_48 48 | |
1050 | -#define DMPAPER_RESERVED_49 49 | |
1051 | -#define DMPAPER_LETTER_EXTRA 50 | |
1052 | -#define DMPAPER_LEGAL_EXTRA 51 | |
1053 | -#define DMPAPER_TABLOID_EXTRA 52 | |
1054 | -#define DMPAPER_A4_EXTRA 53 | |
1055 | -#define DMPAPER_LETTER_TRANSVERSE 54 | |
1056 | -#define DMPAPER_A4_TRANSVERSE 55 | |
1057 | -#define DMPAPER_LETTER_EXTRA_TRANSVERSE 56 | |
1058 | -#define DMPAPER_A_PLUS 57 | |
1059 | -#define DMPAPER_B_PLUS 58 | |
1060 | -#define DMPAPER_LETTER_PLUS 59 | |
1061 | -#define DMPAPER_A4_PLUS 60 | |
1062 | -#define DMPAPER_A5_TRANSVERSE 61 | |
1063 | -#define DMPAPER_B5_TRANSVERSE 62 | |
1064 | -#define DMPAPER_A3_EXTRA 63 | |
1065 | -#define DMPAPER_A5_EXTRA 64 | |
1066 | -#define DMPAPER_B5_EXTRA 65 | |
1067 | -#define DMPAPER_A2 66 | |
1068 | -#define DMPAPER_A3_TRANSVERSE 67 | |
1069 | -#define DMPAPER_A3_EXTRA_TRANSVERSE 68 | |
1070 | -#if (WINVER >= 0x0500) | |
1071 | -#define DMPAPER_DBL_JAPANESE_POSTCARD 69 | |
1072 | -#define DMPAPER_A6 70 | |
1073 | -#define DMPAPER_JENV_KAKU2 71 | |
1074 | -#define DMPAPER_JENV_KAKU3 72 | |
1075 | -#define DMPAPER_JENV_CHOU3 73 | |
1076 | -#define DMPAPER_JENV_CHOU4 74 | |
1077 | -#define DMPAPER_LETTER_ROTATED 75 | |
1078 | -#define DMPAPER_A3_ROTATED 76 | |
1079 | -#define DMPAPER_A4_ROTATED 77 | |
1080 | -#define DMPAPER_A5_ROTATED 78 | |
1081 | -#define DMPAPER_B4_JIS_ROTATED 79 | |
1082 | -#define DMPAPER_B5_JIS_ROTATED 80 | |
1083 | -#define DMPAPER_JAPANESE_POSTCARD_ROTATED 81 | |
1084 | -#define DMPAPER_DBL_JAPANESE_POSTCARD_ROTATED 82 | |
1085 | -#define DMPAPER_A6_ROTATED 83 | |
1086 | -#define DMPAPER_JENV_KAKU2_ROTATED 84 | |
1087 | -#define DMPAPER_JENV_KAKU3_ROTATED 85 | |
1088 | -#define DMPAPER_JENV_CHOU3_ROTATED 86 | |
1089 | -#define DMPAPER_JENV_CHOU4_ROTATED 87 | |
1090 | -#define DMPAPER_B6_JIS 88 | |
1091 | -#define DMPAPER_B6_JIS_ROTATED 89 | |
1092 | -#define DMPAPER_12X11 90 | |
1093 | -#define DMPAPER_JENV_YOU4 91 | |
1094 | -#define DMPAPER_JENV_YOU4_ROTATED 92 | |
1095 | -#define DMPAPER_P16K 93 | |
1096 | -#define DMPAPER_P32K 94 | |
1097 | -#define DMPAPER_P32KBIG 95 | |
1098 | -#define DMPAPER_PENV_1 96 | |
1099 | -#define DMPAPER_PENV_2 97 | |
1100 | -#define DMPAPER_PENV_3 98 | |
1101 | -#define DMPAPER_PENV_4 99 | |
1102 | -#define DMPAPER_PENV_5 100 | |
1103 | -#define DMPAPER_PENV_6 101 | |
1104 | -#define DMPAPER_PENV_7 102 | |
1105 | -#define DMPAPER_PENV_8 103 | |
1106 | -#define DMPAPER_PENV_9 104 | |
1107 | -#define DMPAPER_PENV_10 105 | |
1108 | -#define DMPAPER_P16K_ROTATED 106 | |
1109 | -#define DMPAPER_P32K_ROTATED 107 | |
1110 | -#define DMPAPER_P32KBIG_ROTATED 108 | |
1111 | -#define DMPAPER_PENV_1_ROTATED 109 | |
1112 | -#define DMPAPER_PENV_2_ROTATED 110 | |
1113 | -#define DMPAPER_PENV_3_ROTATED 111 | |
1114 | -#define DMPAPER_PENV_4_ROTATED 112 | |
1115 | -#define DMPAPER_PENV_5_ROTATED 113 | |
1116 | -#define DMPAPER_PENV_6_ROTATED 114 | |
1117 | -#define DMPAPER_PENV_7_ROTATED 115 | |
1118 | -#define DMPAPER_PENV_8_ROTATED 116 | |
1119 | -#define DMPAPER_PENV_9_ROTATED 117 | |
1120 | -#define DMPAPER_PENV_10_ROTATED 118 | |
1121 | -#define DMPAPER_LAST 118 | |
1122 | -#else | |
1123 | -#define DMPAPER_LAST 68 | |
1124 | -#endif | |
1125 | -#define DMPAPER_USER 256 | |
1126 | -#define DMBIN_FIRST 1 | |
1127 | -#define DMBIN_UPPER 1 | |
1128 | -#define DMBIN_ONLYONE 1 | |
1129 | -#define DMBIN_LOWER 2 | |
1130 | -#define DMBIN_MIDDLE 3 | |
1131 | -#define DMBIN_MANUAL 4 | |
1132 | -#define DMBIN_ENVELOPE 5 | |
1133 | -#define DMBIN_ENVMANUAL 6 | |
1134 | -#define DMBIN_AUTO 7 | |
1135 | -#define DMBIN_TRACTOR 8 | |
1136 | -#define DMBIN_SMALLFMT 9 | |
1137 | -#define DMBIN_LARGEFMT 10 | |
1138 | -#define DMBIN_LARGECAPACITY 11 | |
1139 | -#define DMBIN_CASSETTE 14 | |
1140 | -#define DMBIN_FORMSOURCE 15 | |
1141 | -#define DMBIN_LAST 15 | |
1142 | -#define DMBIN_USER 256 | |
1143 | -#define DMRES_DRAFT (-1) | |
1144 | -#define DMRES_LOW (-2) | |
1145 | -#define DMRES_MEDIUM (-3) | |
1146 | -#define DMRES_HIGH (-4) | |
1147 | -#define DMCOLOR_MONOCHROME 1 | |
1148 | -#define DMCOLOR_COLOR 2 | |
1149 | -#define DMDUP_SIMPLEX 1 | |
1150 | -#define DMDUP_VERTICAL 2 | |
1151 | -#define DMDUP_HORIZONTAL 3 | |
1152 | -#define DMTT_BITMAP 1 | |
1153 | -#define DMTT_DOWNLOAD 2 | |
1154 | -#define DMTT_SUBDEV 3 | |
1155 | -#define DMTT_DOWNLOAD_OUTLINE 4 | |
1156 | -#define DMCOLLATE_FALSE 0 | |
1157 | -#define DMCOLLATE_TRUE 1 | |
1158 | -#define DM_SPECVERSION 800 | |
1159 | -#define DM_GRAYSCALE 1 | |
1160 | -#define DM_INTERLACED 2 | |
1161 | -#define DM_UPDATE 1 | |
1162 | -#define DM_COPY 2 | |
1163 | -#define DM_PROMPT 4 | |
1164 | -#define DM_MODIFY 8 | |
1165 | -#define DM_IN_BUFFER DM_MODIFY | |
1166 | -#define DM_IN_PROMPT DM_PROMPT | |
1167 | -#define DM_OUT_BUFFER DM_COPY | |
1168 | -#define DM_OUT_DEFAULT DM_UPDATE | |
1169 | -#define DM_ORIENTATION 0x00000001 | |
1170 | -#define DM_PAPERSIZE 0x00000002 | |
1171 | -#define DM_PAPERLENGTH 0x00000004 | |
1172 | -#define DM_PAPERWIDTH 0x00000008 | |
1173 | -#define DM_SCALE 0x00000010 | |
1174 | -#define DM_POSITION 0x00000020 | |
1175 | -#define DM_COPIES 0x00000100 | |
1176 | -#define DM_DEFAULTSOURCE 0x00000200 | |
1177 | -#define DM_PRINTQUALITY 0x00000400 | |
1178 | -#define DM_COLOR 0x00000800 | |
1179 | -#define DM_DUPLEX 0x00001000 | |
1180 | -#define DM_YRESOLUTION 0x00002000 | |
1181 | -#define DM_TTOPTION 0x00004000 | |
1182 | -#define DM_COLLATE 0x00008000 | |
1183 | -#define DM_FORMNAME 0x00010000 | |
1184 | -#define DM_LOGPIXELS 0x00020000 | |
1185 | -#define DM_BITSPERPEL 0x00040000 | |
1186 | -#define DM_PELSWIDTH 0x00080000 | |
1187 | -#define DM_PELSHEIGHT 0x00100000 | |
1188 | -#define DM_DISPLAYFLAGS 0x00200000 | |
1189 | -#define DM_DISPLAYFREQUENCY 0x00400000 | |
1190 | -#define DM_ICMMETHOD 0x00800000 | |
1191 | -#define DM_ICMINTENT 0x01000000 | |
1192 | -#define DM_MEDIATYPE 0x02000000 | |
1193 | -#define DM_DITHERTYPE 0x04000000 | |
1194 | -#if(WINVER >= 0x0500) | |
1195 | -#define DM_PANNINGWIDTH 0x08000000 | |
1196 | -#define DM_PANNINGHEIGHT 0x10000000 | |
1197 | -#endif | |
1198 | -#if(WINVER >= 0x0501) | |
1199 | -#define DM_DISPLAYFIXEDOUTPUT 0x20000000 | |
1200 | -#define DM_DISPLAYORIENTATION 0x00000080 | |
1201 | -#define DMDO_DEFAULT 0x00000000 | |
1202 | -#define DMDO_90 0x00000001 | |
1203 | -#define DMDO_180 0x00000002 | |
1204 | -#define DMDO_270 0x00000003 | |
1205 | -#define DMDFO_DEFAULT 0x00000000 | |
1206 | -#define DMDFO_STRETCH 0x00000001 | |
1207 | -#define DMDFO_CENTER 0x00000002 | |
1208 | -#endif | |
1209 | -#define DMICMMETHOD_NONE 1 | |
1210 | -#define DMICMMETHOD_SYSTEM 2 | |
1211 | -#define DMICMMETHOD_DRIVER 3 | |
1212 | -#define DMICMMETHOD_DEVICE 4 | |
1213 | -#define DMICMMETHOD_USER 256 | |
1214 | -#define DMICM_SATURATE 1 | |
1215 | -#define DMICM_CONTRAST 2 | |
1216 | -#define DMICM_COLORMETRIC 3 | |
1217 | -#define DMICM_USER 256 | |
1218 | -#define DMMEDIA_STANDARD 1 | |
1219 | -#define DMMEDIA_TRANSPARENCY 2 | |
1220 | -#define DMMEDIA_GLOSSY 3 | |
1221 | -#define DMMEDIA_USER 256 | |
1222 | -#define DMDITHER_NONE 1 | |
1223 | -#define DMDITHER_COARSE 2 | |
1224 | -#define DMDITHER_FINE 3 | |
1225 | -#define DMDITHER_LINEART 4 | |
1226 | -#define DMDITHER_ERRORDIFFUSION 5 | |
1227 | -#define DMDITHER_RESERVED6 6 | |
1228 | -#define DMDITHER_RESERVED7 7 | |
1229 | -#define DMDITHER_RESERVED8 8 | |
1230 | -#define DMDITHER_RESERVED9 9 | |
1231 | -#define DMDITHER_GRAYSCALE 10 | |
1232 | -#define DMDITHER_USER 256 | |
1233 | -#define GDI_ERROR 0xFFFFFFFF | |
1234 | -#define HGDI_ERROR ((HANDLE)GDI_ERROR) | |
1235 | -#define TMPF_FIXED_PITCH 1 | |
1236 | -#define TMPF_VECTOR 2 | |
1237 | -#define TMPF_TRUETYPE 4 | |
1238 | -#define TMPF_DEVICE 8 | |
1239 | -#define NTM_ITALIC 1 | |
1240 | -#define NTM_BOLD 32 | |
1241 | -#define NTM_REGULAR 64 | |
1242 | -#define TT_POLYGON_TYPE 24 | |
1243 | -#define TT_PRIM_LINE 1 | |
1244 | -#define TT_PRIM_QSPLINE 2 | |
1245 | -#define TT_PRIM_CSPLINE 3 | |
1246 | -#define FONTMAPPER_MAX 10 | |
1247 | -#define ENHMETA_STOCK_OBJECT 0x80000000 | |
1248 | -#define WGL_FONT_LINES 0 | |
1249 | -#define WGL_FONT_POLYGONS 1 | |
1250 | -#define LPD_DOUBLEBUFFER 1 | |
1251 | -#define LPD_STEREO 2 | |
1252 | -#define LPD_SUPPORT_GDI 16 | |
1253 | -#define LPD_SUPPORT_OPENGL 32 | |
1254 | -#define LPD_SHARE_DEPTH 64 | |
1255 | -#define LPD_SHARE_STENCIL 128 | |
1256 | -#define LPD_SHARE_ACCUM 256 | |
1257 | -#define LPD_SWAP_EXCHANGE 512 | |
1258 | -#define LPD_SWAP_COPY 1024 | |
1259 | -#define LPD_TRANSPARENT 4096 | |
1260 | -#define LPD_TYPE_RGBA 0 | |
1261 | -#define LPD_TYPE_COLORINDEX 1 | |
1262 | -#define WGL_SWAP_MAIN_PLANE 1 | |
1263 | -#define WGL_SWAP_OVERLAY1 2 | |
1264 | -#define WGL_SWAP_OVERLAY2 4 | |
1265 | -#define WGL_SWAP_OVERLAY3 8 | |
1266 | -#define WGL_SWAP_OVERLAY4 16 | |
1267 | -#define WGL_SWAP_OVERLAY5 32 | |
1268 | -#define WGL_SWAP_OVERLAY6 64 | |
1269 | -#define WGL_SWAP_OVERLAY7 128 | |
1270 | -#define WGL_SWAP_OVERLAY8 256 | |
1271 | -#define WGL_SWAP_OVERLAY9 512 | |
1272 | -#define WGL_SWAP_OVERLAY10 1024 | |
1273 | -#define WGL_SWAP_OVERLAY11 2048 | |
1274 | -#define WGL_SWAP_OVERLAY12 4096 | |
1275 | -#define WGL_SWAP_OVERLAY13 8192 | |
1276 | -#define WGL_SWAP_OVERLAY14 16384 | |
1277 | -#define WGL_SWAP_OVERLAY15 32768 | |
1278 | -#define WGL_SWAP_UNDERLAY1 65536 | |
1279 | -#define WGL_SWAP_UNDERLAY2 0x20000 | |
1280 | -#define WGL_SWAP_UNDERLAY3 0x40000 | |
1281 | -#define WGL_SWAP_UNDERLAY4 0x80000 | |
1282 | -#define WGL_SWAP_UNDERLAY5 0x100000 | |
1283 | -#define WGL_SWAP_UNDERLAY6 0x200000 | |
1284 | -#define WGL_SWAP_UNDERLAY7 0x400000 | |
1285 | -#define WGL_SWAP_UNDERLAY8 0x800000 | |
1286 | -#define WGL_SWAP_UNDERLAY9 0x1000000 | |
1287 | -#define WGL_SWAP_UNDERLAY10 0x2000000 | |
1288 | -#define WGL_SWAP_UNDERLAY11 0x4000000 | |
1289 | -#define WGL_SWAP_UNDERLAY12 0x8000000 | |
1290 | -#define WGL_SWAP_UNDERLAY13 0x10000000 | |
1291 | -#define WGL_SWAP_UNDERLAY14 0x20000000 | |
1292 | -#define WGL_SWAP_UNDERLAY15 0x40000000 | |
1293 | -#define AC_SRC_OVER 0x00 | |
1294 | -#define AC_SRC_ALPHA 0x01 | |
1295 | -#define AC_SRC_NO_PREMULT_ALPHA 0x01 | |
1296 | -#define AC_SRC_NO_ALPHA 0x02 | |
1297 | -#define AC_DST_NO_PREMULT_ALPHA 0x10 | |
1298 | -#define AC_DST_NO_ALPHA 0x20 | |
1299 | -#define LAYOUT_RTL 1 | |
1300 | -#define LAYOUT_BITMAPORIENTATIONPRESERVED 8 | |
1301 | -#if (WINVER >= 0x0400) | |
1302 | -#define CS_ENABLE 0x00000001 | |
1303 | -#define CS_DISABLE 0x00000002 | |
1304 | -#define CS_DELETE_TRANSFORM 0x00000003 | |
1305 | -#endif | |
1306 | -#if (WINVER >= 0x0500) | |
1307 | -#define GRADIENT_FILL_RECT_H 0x00 | |
1308 | -#define GRADIENT_FILL_RECT_V 0x01 | |
1309 | -#define GRADIENT_FILL_TRIANGLE 0x02 | |
1310 | -#define GRADIENT_FILL_OP_FLAG 0xff | |
1311 | -#define COLORMATCHTOTARGET_EMBEDED 0x00000001 | |
1312 | -#define CREATECOLORSPACE_EMBEDED 0x00000001 | |
1313 | -#define SETICMPROFILE_EMBEDED 0x00000001 | |
1314 | -#endif | |
402 | +#define OUT_PS_ONLY_PRECIS 10 | |
403 | +#define CLIP_DEFAULT_PRECIS 0 | |
404 | +#define CLIP_CHARACTER_PRECIS 1 | |
405 | +#define CLIP_STROKE_PRECIS 2 | |
406 | +#define CLIP_MASK 15 | |
407 | +#define CLIP_LH_ANGLES 16 | |
408 | +#define CLIP_TT_ALWAYS 32 | |
409 | +#define CLIP_EMBEDDED 128 | |
410 | +#define DEFAULT_QUALITY 0 | |
411 | +#define DRAFT_QUALITY 1 | |
412 | +#define PROOF_QUALITY 2 | |
413 | +#define NONANTIALIASED_QUALITY 3 | |
414 | +#define ANTIALIASED_QUALITY 4 | |
1315 | 415 | |
1316 | -#define DISPLAY_DEVICE_ATTACHED_TO_DESKTOP 0x00000001 | |
1317 | -#define DISPLAY_DEVICE_MULTI_DRIVER 0x00000002 | |
1318 | -#define DISPLAY_DEVICE_PRIMARY_DEVICE 0x00000004 | |
1319 | -#define DISPLAY_DEVICE_MIRRORING_DRIVER 0x00000008 | |
1320 | -#define DISPLAY_DEVICE_VGA_COMPATIBLE 0x00000010 | |
1321 | -#define DISPLAY_DEVICE_REMOVABLE 0x00000020 | |
1322 | -#define DISPLAY_DEVICE_MODESPRUNED 0x08000000 | |
1323 | - | |
1324 | -#if (_WIN32_WINNT >= 0x0500) | |
1325 | -#define NTM_NONNEGATIVE_AC 0x00010000 | |
1326 | -#define NTM_PS_OPENTYPE 0x00020000 | |
1327 | -#define NTM_TT_OPENTYPE 0x00040000 | |
1328 | -#define NTM_MULTIPLEMASTER 0x00080000 | |
1329 | -#define NTM_TYPE1 0x00100000 | |
1330 | -#define NTM_DSIG 0x00200000 | |
1331 | -#endif | |
416 | +#if _WIN32_WINNT >= _WIN32_WINNT_WIN2K | |
417 | +#define CLEARTYPE_QUALITY 5 | |
418 | +#endif /* WINNT >= Win2K */ | |
1332 | 419 | |
1333 | -#if (_WIN32_WINNT >= 0x0500) | |
1334 | -#define GGI_MARK_NONEXISTING_GLYPHS 1 | |
1335 | -#endif | |
420 | +#define DEFAULT_PITCH 0 | |
421 | +#define FIXED_PITCH 1 | |
422 | +#define VARIABLE_PITCH 2 | |
423 | +#define MONO_FONT 8 | |
424 | +#define FF_DECORATIVE 80 | |
425 | +#define FF_DONTCARE 0 | |
426 | +#define FF_MODERN 48 | |
427 | +#define FF_ROMAN 16 | |
428 | +#define FF_SCRIPT 64 | |
429 | +#define FF_SWISS 32 | |
430 | +#define PANOSE_COUNT 10 | |
431 | +#define PAN_FAMILYTYPE_INDEX 0 | |
432 | +#define PAN_SERIFSTYLE_INDEX 1 | |
433 | +#define PAN_WEIGHT_INDEX 2 | |
434 | +#define PAN_PROPORTION_INDEX 3 | |
435 | +#define PAN_CONTRAST_INDEX 4 | |
436 | +#define PAN_STROKEVARIATION_INDEX 5 | |
437 | +#define PAN_ARMSTYLE_INDEX 6 | |
438 | +#define PAN_LETTERFORM_INDEX 7 | |
439 | +#define PAN_MIDLINE_INDEX 8 | |
440 | +#define PAN_XHEIGHT_INDEX 9 | |
441 | +#define PAN_CULTURE_LATIN 0 | |
442 | +#define PAN_ANY 0 | |
443 | +#define PAN_NO_FIT 1 | |
444 | +#define PAN_FAMILY_TEXT_DISPLAY 2 | |
445 | +#define PAN_FAMILY_SCRIPT 3 | |
446 | +#define PAN_FAMILY_DECORATIVE 4 | |
447 | +#define PAN_FAMILY_PICTORIAL 5 | |
448 | +#define PAN_SERIF_COVE 2 | |
449 | +#define PAN_SERIF_OBTUSE_COVE 3 | |
450 | +#define PAN_SERIF_SQUARE_COVE 4 | |
451 | +#define PAN_SERIF_OBTUSE_SQUARE_COVE 5 | |
452 | +#define PAN_SERIF_SQUARE 6 | |
453 | +#define PAN_SERIF_THIN 7 | |
454 | +#define PAN_SERIF_BONE 8 | |
455 | +#define PAN_SERIF_EXAGGERATED 9 | |
456 | +#define PAN_SERIF_TRIANGLE 10 | |
457 | +#define PAN_SERIF_NORMAL_SANS 11 | |
458 | +#define PAN_SERIF_OBTUSE_SANS 12 | |
459 | +#define PAN_SERIF_PERP_SANS 13 | |
460 | +#define PAN_SERIF_FLARED 14 | |
461 | +#define PAN_SERIF_ROUNDED 15 | |
462 | +#define PAN_WEIGHT_VERY_LIGHT 2 | |
463 | +#define PAN_WEIGHT_LIGHT 3 | |
464 | +#define PAN_WEIGHT_THIN 4 | |
465 | +#define PAN_WEIGHT_BOOK 5 | |
466 | +#define PAN_WEIGHT_MEDIUM 6 | |
467 | +#define PAN_WEIGHT_DEMI 7 | |
468 | +#define PAN_WEIGHT_BOLD 8 | |
469 | +#define PAN_WEIGHT_HEAVY 9 | |
470 | +#define PAN_WEIGHT_BLACK 10 | |
471 | +#define PAN_WEIGHT_NORD 11 | |
472 | +#define PAN_PROP_OLD_STYLE 2 | |
473 | +#define PAN_PROP_MODERN 3 | |
474 | +#define PAN_PROP_EVEN_WIDTH 4 | |
475 | +#define PAN_PROP_EXPANDED 5 | |
476 | +#define PAN_PROP_CONDENSED 6 | |
477 | +#define PAN_PROP_VERY_EXPANDED 7 | |
478 | +#define PAN_PROP_VERY_CONDENSED 8 | |
479 | +#define PAN_PROP_MONOSPACED 9 | |
480 | +#define PAN_CONTRAST_NONE 2 | |
481 | +#define PAN_CONTRAST_VERY_LOW 3 | |
482 | +#define PAN_CONTRAST_LOW 4 | |
483 | +#define PAN_CONTRAST_MEDIUM_LOW 5 | |
484 | +#define PAN_CONTRAST_MEDIUM 6 | |
485 | +#define PAN_CONTRAST_MEDIUM_HIGH 7 | |
486 | +#define PAN_CONTRAST_HIGH 8 | |
487 | +#define PAN_CONTRAST_VERY_HIGH 9 | |
488 | +#define PAN_STROKE_GRADUAL_DIAG 2 | |
489 | +#define PAN_STROKE_GRADUAL_TRAN 3 | |
490 | +#define PAN_STROKE_GRADUAL_VERT 4 | |
491 | +#define PAN_STROKE_GRADUAL_HORZ 5 | |
492 | +#define PAN_STROKE_RAPID_VERT 6 | |
493 | +#define PAN_STROKE_RAPID_HORZ 7 | |
494 | +#define PAN_STROKE_INSTANT_VERT 8 | |
495 | +#define PAN_STRAIGHT_ARMS_HORZ 2 | |
496 | +#define PAN_STRAIGHT_ARMS_WEDGE 3 | |
497 | +#define PAN_STRAIGHT_ARMS_VERT 4 | |
498 | +#define PAN_STRAIGHT_ARMS_SINGLE_SERIF 5 | |
499 | +#define PAN_STRAIGHT_ARMS_DOUBLE_SERIF 6 | |
500 | +#define PAN_BENT_ARMS_HORZ 7 | |
501 | +#define PAN_BENT_ARMS_WEDGE 8 | |
502 | +#define PAN_BENT_ARMS_VERT 9 | |
503 | +#define PAN_BENT_ARMS_SINGLE_SERIF 10 | |
504 | +#define PAN_BENT_ARMS_DOUBLE_SERIF 11 | |
505 | +#define PAN_LETT_NORMAL_CONTACT 2 | |
506 | +#define PAN_LETT_NORMAL_WEIGHTED 3 | |
507 | +#define PAN_LETT_NORMAL_BOXED 4 | |
508 | +#define PAN_LETT_NORMAL_FLATTENED 5 | |
509 | +#define PAN_LETT_NORMAL_ROUNDED 6 | |
510 | +#define PAN_LETT_NORMAL_OFF_CENTER 7 | |
511 | +#define PAN_LETT_NORMAL_SQUARE 8 | |
512 | +#define PAN_LETT_OBLIQUE_CONTACT 9 | |
513 | +#define PAN_LETT_OBLIQUE_WEIGHTED 10 | |
514 | +#define PAN_LETT_OBLIQUE_BOXED 11 | |
515 | +#define PAN_LETT_OBLIQUE_FLATTENED 12 | |
516 | +#define PAN_LETT_OBLIQUE_ROUNDED 13 | |
517 | +#define PAN_LETT_OBLIQUE_OFF_CENTER 14 | |
518 | +#define PAN_LETT_OBLIQUE_SQUARE 15 | |
519 | +#define PAN_MIDLINE_STANDARD_TRIMMED 2 | |
520 | +#define PAN_MIDLINE_STANDARD_POINTED 3 | |
521 | +#define PAN_MIDLINE_STANDARD_SERIFED 4 | |
522 | +#define PAN_MIDLINE_HIGH_TRIMMED 5 | |
523 | +#define PAN_MIDLINE_HIGH_POINTED 6 | |
524 | +#define PAN_MIDLINE_HIGH_SERIFED 7 | |
525 | +#define PAN_MIDLINE_CONSTANT_TRIMMED 8 | |
526 | +#define PAN_MIDLINE_CONSTANT_POINTED 9 | |
527 | +#define PAN_MIDLINE_CONSTANT_SERIFED 10 | |
528 | +#define PAN_MIDLINE_LOW_TRIMMED 11 | |
529 | +#define PAN_MIDLINE_LOW_POINTED 12 | |
530 | +#define PAN_MIDLINE_LOW_SERIFED 13 | |
531 | +#define PAN_XHEIGHT_CONSTANT_SMALL 2 | |
532 | +#define PAN_XHEIGHT_CONSTANT_STD 3 | |
533 | +#define PAN_XHEIGHT_CONSTANT_LARGE 4 | |
534 | +#define PAN_XHEIGHT_DUCKING_SMALL 5 | |
535 | +#define PAN_XHEIGHT_DUCKING_STD 6 | |
536 | +#define PAN_XHEIGHT_DUCKING_LARGE 7 | |
537 | +#define FS_LATIN1 1 | |
538 | +#define FS_LATIN2 2 | |
539 | +#define FS_CYRILLIC 4 | |
540 | +#define FS_GREEK 8 | |
541 | +#define FS_TURKISH 16 | |
542 | +#define FS_HEBREW 32 | |
543 | +#define FS_ARABIC 64 | |
544 | +#define FS_BALTIC 128 | |
545 | +#define FS_THAI 0x10000 | |
546 | +#define FS_JISJAPAN 0x20000 | |
547 | +#define FS_CHINESESIMP 0x40000 | |
548 | +#define FS_WANSUNG 0x80000 | |
549 | +#define FS_CHINESETRAD 0x100000 | |
550 | +#define FS_JOHAB 0x200000 | |
551 | +#define FS_SYMBOL 0x80000000 | |
552 | +#define HS_BDIAGONAL 3 | |
553 | +#define HS_CROSS 4 | |
554 | +#define HS_DIAGCROSS 5 | |
555 | +#define HS_FDIAGONAL 2 | |
556 | +#define HS_HORIZONTAL 0 | |
557 | +#define HS_VERTICAL 1 | |
558 | +#define PS_GEOMETRIC 65536 | |
559 | +#define PS_COSMETIC 0 | |
560 | +#define PS_ALTERNATE 8 | |
561 | +#define PS_SOLID 0 | |
562 | +#define PS_DASH 1 | |
563 | +#define PS_DOT 2 | |
564 | +#define PS_DASHDOT 3 | |
565 | +#define PS_DASHDOTDOT 4 | |
566 | +#define PS_NULL 5 | |
567 | +#define PS_USERSTYLE 7 | |
568 | +#define PS_INSIDEFRAME 6 | |
569 | +#define PS_ENDCAP_ROUND 0 | |
570 | +#define PS_ENDCAP_SQUARE 256 | |
571 | +#define PS_ENDCAP_FLAT 512 | |
572 | +#define PS_JOIN_BEVEL 4096 | |
573 | +#define PS_JOIN_MITER 8192 | |
574 | +#define PS_JOIN_ROUND 0 | |
575 | +#define PS_STYLE_MASK 15 | |
576 | +#define PS_ENDCAP_MASK 3840 | |
577 | +#define PS_TYPE_MASK 983040 | |
578 | +#define ALTERNATE 1 | |
579 | +#define WINDING 2 | |
580 | +#define DC_BINNAMES 12 | |
581 | +#define DC_BINS 6 | |
582 | +#define DC_COPIES 18 | |
583 | +#define DC_DRIVER 11 | |
584 | +#define DC_DATATYPE_PRODUCED 21 | |
585 | +#define DC_DUPLEX 7 | |
586 | +#define DC_EMF_COMPLIANT 20 | |
587 | +#define DC_ENUMRESOLUTIONS 13 | |
588 | +#define DC_EXTRA 9 | |
589 | +#define DC_FIELDS 1 | |
590 | +#define DC_FILEDEPENDENCIES 14 | |
591 | +#define DC_MAXEXTENT 5 | |
592 | +#define DC_MINEXTENT 4 | |
593 | +#define DC_ORIENTATION 17 | |
594 | +#define DC_PAPERNAMES 16 | |
595 | +#define DC_PAPERS 2 | |
596 | +#define DC_PAPERSIZE 3 | |
597 | +#define DC_SIZE 8 | |
598 | +#define DC_TRUETYPE 15 | |
599 | +#define DCTT_BITMAP 1 | |
600 | +#define DCTT_DOWNLOAD 2 | |
601 | +#define DCTT_SUBDEV 4 | |
602 | +#define DCTT_DOWNLOAD_OUTLINE 8 | |
603 | +#define DC_VERSION 10 | |
604 | +#define DC_BINADJUST 19 | |
605 | +#define DC_EMF_COMPLIANT 20 | |
606 | +#define DC_DATATYPE_PRODUCED 21 | |
607 | +#define DC_MANUFACTURER 23 | |
608 | +#define DC_MODEL 24 | |
609 | + | |
610 | +#if WINVER >= _WIN32_WINNT_WIN2K | |
611 | +#define DC_PERSONALITY 25 | |
612 | +#define DC_PRINTRATE 26 | |
613 | +#define DC_PRINTRATEUNIT 27 | |
614 | +#define DC_PRINTERMEM 28 | |
615 | +#define DC_MEDIAREADY 29 | |
616 | +#define DC_STAPLE 30 | |
617 | +#define DC_PRINTRATEPPM 31 | |
618 | +#define DC_COLORDEVICE 32 | |
619 | +#define DC_NUP 33 | |
620 | + | |
621 | +#if WINVER >= _WIN32_WINNT_WINXP | |
622 | +#define DC_MEDIATYPENAMES 34 | |
623 | +#define DC_MEDIATYPES 35 | |
624 | + | |
625 | +#endif /* WINVER >= WinXP */ | |
626 | +#endif /* WINVER >= Win2K */ | |
627 | + | |
628 | +#define DCBA_FACEUPNONE 0 | |
629 | +#define DCBA_FACEUPCENTER 1 | |
630 | +#define DCBA_FACEUPLEFT 2 | |
631 | +#define DCBA_FACEUPRIGHT 3 | |
632 | +#define DCBA_FACEDOWNNONE 256 | |
633 | +#define DCBA_FACEDOWNCENTER 257 | |
634 | +#define DCBA_FACEDOWNLEFT 258 | |
635 | +#define DCBA_FACEDOWNRIGHT 259 | |
636 | +#define FLOODFILLBORDER 0 | |
637 | +#define FLOODFILLSURFACE 1 | |
638 | +#define ETO_CLIPPED 0x0004 | |
639 | +#define ETO_GLYPH_INDEX 0x0010 | |
640 | +#define ETO_OPAQUE 0x0002 | |
641 | +#define ETO_NUMERICSLATIN 0x0800 | |
642 | +#define ETO_NUMERICSLOCAL 0x0400 | |
643 | +#define ETO_RTLREADING 0x0080 | |
644 | + | |
645 | +#if _WIN32_WINNT >= _WIN32_WINNT_NT4 | |
646 | +#define ETO_IGNORELANGUAGE 0x1000 | |
647 | + | |
648 | +#if _WIN32_WINNT >= _WIN32_WINNT_WIN2K | |
649 | +#define ETO_PDY 0x2000 | |
650 | + | |
651 | +#endif /* WINNT >= Win2K */ | |
652 | +#endif /* WINNT >= WinNT4 */ | |
653 | + | |
654 | +#define GDICOMMENT_WINDOWS_METAFILE (-2147483647) | |
655 | +#define GDICOMMENT_BEGINGROUP 2 | |
656 | +#define GDICOMMENT_ENDGROUP 3 | |
657 | +#define GDICOMMENT_MULTIFORMATS 1073741828 | |
658 | +#define GDICOMMENT_IDENTIFIER 1128875079 | |
659 | +#define AD_COUNTERCLOCKWISE 1 | |
660 | +#define AD_CLOCKWISE 2 | |
661 | +#define RDH_RECTANGLES 1 | |
662 | +#define GCPCLASS_LATIN 1 | |
663 | +#define GCPCLASS_HEBREW 2 | |
664 | +#define GCPCLASS_ARABIC 2 | |
665 | +#define GCPCLASS_NEUTRAL 3 | |
666 | +#define GCPCLASS_LOCALNUMBER 4 | |
667 | +#define GCPCLASS_LATINNUMBER 5 | |
668 | +#define GCPCLASS_LATINNUMERICTERMINATOR 6 | |
669 | +#define GCPCLASS_LATINNUMERICSEPARATOR 7 | |
670 | +#define GCPCLASS_NUMERICSEPARATOR 8 | |
671 | +#define GCPCLASS_PREBOUNDLTR 128 | |
672 | +#define GCPCLASS_PREBOUNDRTL 64 | |
673 | +#define GCPCLASS_POSTBOUNDLTR 32 | |
674 | +#define GCPCLASS_POSTBOUNDRTL 16 | |
675 | +#define GCPGLYPH_LINKBEFORE 0x8000 | |
676 | +#define GCPGLYPH_LINKAFTER 0x4000 | |
677 | +#define DCB_DISABLE 8 | |
678 | +#define DCB_ENABLE 4 | |
679 | +#define DCB_RESET 1 | |
680 | +#define DCB_SET 3 | |
681 | +#define DCB_ACCUMULATE 2 | |
682 | +#define DCB_DIRTY 2 | |
683 | +#define OBJ_BRUSH 2 | |
684 | +#define OBJ_PEN 1 | |
685 | +#define OBJ_PAL 5 | |
686 | +#define OBJ_FONT 6 | |
687 | +#define OBJ_BITMAP 7 | |
688 | +#define OBJ_EXTPEN 11 | |
689 | +#define OBJ_REGION 8 | |
690 | +#define OBJ_DC 3 | |
691 | +#define OBJ_MEMDC 10 | |
692 | +#define OBJ_METAFILE 9 | |
693 | +#define OBJ_METADC 4 | |
694 | +#define OBJ_ENHMETAFILE 13 | |
695 | +#define OBJ_ENHMETADC 12 | |
696 | +#define DRIVERVERSION 0 | |
697 | +#define TECHNOLOGY 2 | |
698 | +#define DT_PLOTTER 0 | |
699 | +#define DT_RASDISPLAY 1 | |
700 | +#define DT_RASPRINTER 2 | |
701 | +#define DT_RASCAMERA 3 | |
702 | +#define DT_CHARSTREAM 4 | |
703 | +#define DT_METAFILE 5 | |
704 | +#define DT_DISPFILE 6 | |
705 | +#define HORZSIZE 4 | |
706 | +#define VERTSIZE 6 | |
707 | +#define HORZRES 8 | |
708 | +#define VERTRES 10 | |
709 | +#define LOGPIXELSX 88 | |
710 | +#define LOGPIXELSY 90 | |
711 | +#define BITSPIXEL 12 | |
712 | +#define PLANES 14 | |
713 | +#define NUMBRUSHES 16 | |
714 | +#define NUMPENS 18 | |
715 | +#define NUMFONTS 22 | |
716 | +#define NUMCOLORS 24 | |
717 | +#define NUMMARKERS 20 | |
718 | +#define ASPECTX 40 | |
719 | +#define ASPECTY 42 | |
720 | +#define ASPECTXY 44 | |
721 | +#define PDEVICESIZE 26 | |
722 | +#define CLIPCAPS 36 | |
723 | +#define SIZEPALETTE 104 | |
724 | +#define NUMRESERVED 106 | |
725 | +#define COLORRES 108 | |
726 | +#define PHYSICALWIDTH 110 | |
727 | +#define PHYSICALHEIGHT 111 | |
728 | +#define PHYSICALOFFSETX 112 | |
729 | +#define PHYSICALOFFSETY 113 | |
730 | +#define SCALINGFACTORX 114 | |
731 | +#define SCALINGFACTORY 115 | |
732 | +#define VREFRESH 116 | |
733 | +#define DESKTOPHORZRES 118 | |
734 | +#define DESKTOPVERTRES 117 | |
735 | +#define BLTALIGNMENT 119 | |
736 | + | |
737 | +#if WINVER >= _WIN32_WINNT_WIN2K | |
738 | +#define SHADEBLENDCAPS 120 | |
739 | +#define SB_NONE 0x00 | |
740 | +#define SB_CONST_ALPHA 0x01 | |
741 | +#define SB_PIXEL_ALPHA 0x02 | |
742 | +#define SB_PREMULT_ALPHA 0x04 | |
743 | +#define SB_GRAD_RECT 0x10 | |
744 | +#define SB_GRAD_TRI 0x20 | |
745 | +#define COLORMGMTCAPS 121 | |
746 | +#define CM_NONE 0x00 | |
747 | +#define CM_DEVICE_ICM 0x01 | |
748 | +#define CM_GAMMA_RAMP 0x02 | |
749 | +#define CM_CMYK_COLOR 0x04 | |
750 | +#endif /* WINVER >= Win2K */ | |
751 | + | |
752 | +#define RASTERCAPS 38 | |
753 | +#define RC_BANDING 2 | |
754 | +#define RC_BITBLT 1 | |
755 | +#define RC_BITMAP64 8 | |
756 | +#define RC_DI_BITMAP 128 | |
757 | +#define RC_DIBTODEV 512 | |
758 | +#define RC_FLOODFILL 4096 | |
759 | +#define RC_GDI20_OUTPUT 16 | |
760 | +#define RC_PALETTE 256 | |
761 | +#define RC_SCALING 4 | |
762 | +#define RC_STRETCHBLT 2048 | |
763 | +#define RC_STRETCHDIB 8192 | |
764 | +#define RC_DEVBITS 0x8000 | |
765 | +#define RC_OP_DX_OUTPUT 0x4000 | |
766 | +#define CURVECAPS 28 | |
767 | +#define CC_NONE 0 | |
768 | +#define CC_CIRCLES 1 | |
769 | +#define CC_PIE 2 | |
770 | +#define CC_CHORD 4 | |
771 | +#define CC_ELLIPSES 8 | |
772 | +#define CC_WIDE 16 | |
773 | +#define CC_STYLED 32 | |
774 | +#define CC_WIDESTYLED 64 | |
775 | +#define CC_INTERIORS 128 | |
776 | +#define CC_ROUNDRECT 256 | |
777 | +#define LINECAPS 30 | |
778 | +#define LC_NONE 0 | |
779 | +#define LC_POLYLINE 2 | |
780 | +#define LC_MARKER 4 | |
781 | +#define LC_POLYMARKER 8 | |
782 | +#define LC_WIDE 16 | |
783 | +#define LC_STYLED 32 | |
784 | +#define LC_WIDESTYLED 64 | |
785 | +#define LC_INTERIORS 128 | |
786 | +#define POLYGONALCAPS 32 | |
787 | +#define RC_BANDING 2 | |
788 | +#define RC_BIGFONT 1024 | |
789 | +#define RC_BITBLT 1 | |
790 | +#define RC_BITMAP64 8 | |
791 | +#define RC_DEVBITS 0x8000 | |
792 | +#define RC_DI_BITMAP 128 | |
793 | +#define RC_GDI20_OUTPUT 16 | |
794 | +#define RC_GDI20_STATE 32 | |
795 | +#define RC_NONE 0 | |
796 | +#define RC_OP_DX_OUTPUT 0x4000 | |
797 | +#define RC_PALETTE 256 | |
798 | +#define RC_SAVEBITMAP 64 | |
799 | +#define RC_SCALING 4 | |
800 | +#define PC_NONE 0 | |
801 | +#define PC_POLYGON 1 | |
802 | +#define PC_POLYPOLYGON 256 | |
803 | +#define PC_PATHS 512 | |
804 | +#define PC_RECTANGLE 2 | |
805 | +#define PC_WINDPOLYGON 4 | |
806 | +#define PC_SCANLINE 8 | |
807 | +#define PC_TRAPEZOID 4 | |
808 | +#define PC_WIDE 16 | |
809 | +#define PC_STYLED 32 | |
810 | +#define PC_WIDESTYLED 64 | |
811 | +#define PC_INTERIORS 128 | |
812 | +#define PC_PATHS 512 | |
813 | +#define TEXTCAPS 34 | |
814 | +#define TC_OP_CHARACTER 1 | |
815 | +#define TC_OP_STROKE 2 | |
816 | +#define TC_CP_STROKE 4 | |
817 | +#define TC_CR_90 8 | |
818 | +#define TC_CR_ANY 16 | |
819 | +#define TC_SF_X_YINDEP 32 | |
820 | +#define TC_SA_DOUBLE 64 | |
821 | +#define TC_SA_INTEGER 128 | |
822 | +#define TC_SA_CONTIN 256 | |
823 | +#define TC_EA_DOUBLE 512 | |
824 | +#define TC_IA_ABLE 1024 | |
825 | +#define TC_UA_ABLE 2048 | |
826 | +#define TC_SO_ABLE 4096 | |
827 | +#define TC_RA_ABLE 8192 | |
828 | +#define TC_VA_ABLE 16384 | |
829 | +#define TC_RESERVED 32768 | |
830 | +#define TC_SCROLLBLT 65536 | |
831 | +#define GCP_DBCS 1 | |
832 | +#define GCP_ERROR 0x8000 | |
833 | +#define GCP_CLASSIN 0x80000 | |
834 | +#define GCP_DIACRITIC 256 | |
835 | +#define GCP_DISPLAYZWG 0x400000 | |
836 | +#define GCP_GLYPHSHAPE 16 | |
837 | +#define GCP_JUSTIFY 0x10000 | |
838 | +#define GCP_JUSTIFYIN 0x200000 | |
839 | +#define GCP_KASHIDA 1024 | |
840 | +#define GCP_LIGATE 32 | |
841 | +#define GCP_MAXEXTENT 0x100000 | |
842 | +#define GCP_NEUTRALOVERRIDE 0x2000000 | |
843 | +#define GCP_NUMERICOVERRIDE 0x1000000 | |
844 | +#define GCP_NUMERICSLATIN 0x4000000 | |
845 | +#define GCP_NUMERICSLOCAL 0x8000000 | |
846 | +#define GCP_REORDER 2 | |
847 | +#define GCP_SYMSWAPOFF 0x800000 | |
848 | +#define GCP_USEKERNING 8 | |
849 | +#define FLI_GLYPHS 0x40000 | |
850 | +#define FLI_MASK 0x103B | |
851 | +#define GGO_METRICS 0 | |
852 | +#define GGO_BITMAP 1 | |
853 | +#define GGO_NATIVE 2 | |
854 | +#define GGO_BEZIER 3 | |
855 | +#define GGO_GRAY2_BITMAP 4 | |
856 | +#define GGO_GRAY4_BITMAP 5 | |
857 | +#define GGO_GRAY8_BITMAP 6 | |
858 | +#define GGO_GLYPH_INDEX 128 | |
859 | + | |
860 | +#if WINVER >= _WIN32_WINNT_WIN2K | |
861 | +#define GGO_UNHINTED 256 | |
862 | +#endif /* WINVER >= Win2K */ | |
863 | + | |
864 | +#define GM_COMPATIBLE 1 | |
865 | +#define GM_ADVANCED 2 | |
866 | +#define MM_ANISOTROPIC 8 | |
867 | +#define MM_HIENGLISH 5 | |
868 | +#define MM_HIMETRIC 3 | |
869 | +#define MM_ISOTROPIC 7 | |
870 | +#define MM_LOENGLISH 4 | |
871 | +#define MM_LOMETRIC 2 | |
872 | +#define MM_TEXT 1 | |
873 | +#define MM_TWIPS 6 | |
874 | +#define MM_MAX_FIXEDSCALE MM_TWIPS | |
875 | +#define ABSOLUTE 1 | |
876 | +#define RELATIVE 2 | |
877 | +#define PC_EXPLICIT 2 | |
878 | +#define PC_NOCOLLAPSE 4 | |
879 | +#define PC_RESERVED 1 | |
880 | +#define CLR_NONE 0xFFFFFFFF | |
881 | +#define CLR_INVALID CLR_NONE | |
882 | +#define CLR_DEFAULT 0xFF000000 | |
883 | +#define PT_MOVETO 6 | |
884 | +#define PT_LINETO 2 | |
885 | +#define PT_BEZIERTO 4 | |
886 | +#define PT_CLOSEFIGURE 1 | |
887 | +#define TT_AVAILABLE 1 | |
888 | +#define TT_ENABLED 2 | |
889 | +#define BLACK_BRUSH 4 | |
890 | +#define DKGRAY_BRUSH 3 | |
891 | +#define GRAY_BRUSH 2 | |
892 | +#define HOLLOW_BRUSH 5 | |
893 | +#define LTGRAY_BRUSH 1 | |
894 | +#define NULL_BRUSH 5 | |
895 | +#define WHITE_BRUSH 0 | |
896 | +#define BLACK_PEN 7 | |
897 | +#define NULL_PEN 8 | |
898 | +#define WHITE_PEN 6 | |
899 | +#define ANSI_FIXED_FONT 11 | |
900 | +#define ANSI_VAR_FONT 12 | |
901 | +#define DEVICE_DEFAULT_FONT 14 | |
902 | +#define DEFAULT_GUI_FONT 17 | |
903 | +#define OEM_FIXED_FONT 10 | |
904 | +#define SYSTEM_FONT 13 | |
905 | +#define SYSTEM_FIXED_FONT 16 | |
906 | +#define DEFAULT_PALETTE 15 | |
907 | + | |
908 | +#if _WIN32_WINNT >= _WIN32_WINNT_WIN2K | |
909 | +#define DC_BRUSH 18 | |
910 | +#define DC_PEN 19 | |
911 | +#endif /* WINNT >= Win2K */ | |
912 | + | |
913 | +#define SYSPAL_ERROR 0 | |
914 | +#define SYSPAL_STATIC 1 | |
915 | +#define SYSPAL_NOSTATIC 2 | |
916 | +#define SYSPAL_NOSTATIC256 3 | |
917 | +#define TA_BASELINE 24 | |
918 | +#define TA_BOTTOM 8 | |
919 | +#define TA_TOP 0 | |
920 | +#define TA_CENTER 6 | |
921 | +#define TA_LEFT 0 | |
922 | +#define TA_RIGHT 2 | |
923 | +#define TA_RTLREADING 256 | |
924 | +#define TA_NOUPDATECP 0 | |
925 | +#define TA_UPDATECP 1 | |
926 | + | |
927 | +#define TA_MASK (TA_BASELINE+TA_CENTER+TA_UPDATECP+TA_RTLREADING) | |
928 | + | |
929 | +#define VTA_BASELINE 24 | |
930 | +#define VTA_CENTER 6 | |
931 | +#define VTA_LEFT TA_BOTTOM | |
932 | +#define VTA_RIGHT TA_TOP | |
933 | +#define VTA_BOTTOM TA_RIGHT | |
934 | +#define VTA_TOP TA_LEFT | |
935 | +#define MWT_IDENTITY 1 | |
936 | +#define MWT_LEFTMULTIPLY 2 | |
937 | +#define MWT_RIGHTMULTIPLY 3 | |
938 | +#define OPAQUE 2 | |
939 | +#define TRANSPARENT 1 | |
940 | +#define BLACKONWHITE 1 | |
941 | +#define WHITEONBLACK 2 | |
942 | +#define COLORONCOLOR 3 | |
943 | +#define HALFTONE 4 | |
944 | +#define MAXSTRETCHBLTMODE 4 | |
945 | +#define STRETCH_ANDSCANS 1 | |
946 | +#define STRETCH_DELETESCANS 3 | |
947 | +#define STRETCH_HALFTONE 4 | |
948 | +#define STRETCH_ORSCANS 2 | |
949 | +#define TCI_SRCCHARSET 1 | |
950 | +#define TCI_SRCCODEPAGE 2 | |
951 | +#define TCI_SRCFONTSIG 3 | |
952 | +#define ICM_ON 2 | |
953 | +#define ICM_OFF 1 | |
954 | +#define ICM_QUERY 3 | |
955 | +#define NEWFRAME 1 | |
956 | +#define ABORTDOC 2 | |
957 | +#define NEXTBAND 3 | |
958 | +#define SETCOLORTABLE 4 | |
959 | +#define GETCOLORTABLE 5 | |
960 | +#define FLUSHOUTPUT 6 | |
961 | +#define DRAFTMODE 7 | |
962 | +#define QUERYESCSUPPORT 8 | |
963 | +#define SETABORTPROC 9 | |
964 | +#define STARTDOC 10 | |
965 | +#define ENDDOC 11 | |
966 | +#define GETPHYSPAGESIZE 12 | |
967 | +#define GETPRINTINGOFFSET 13 | |
968 | +#define GETSCALINGFACTOR 14 | |
969 | +#define MFCOMMENT 15 | |
970 | +#define GETPENWIDTH 16 | |
971 | +#define SETCOPYCOUNT 17 | |
972 | +#define SELECTPAPERSOURCE 18 | |
973 | +#define DEVICEDATA 19 | |
974 | +#define PASSTHROUGH 19 | |
975 | +#define GETTECHNOLGY 20 | |
976 | +#define GETTECHNOLOGY 20 | |
977 | +#define SETLINECAP 21 | |
978 | +#define SETLINEJOIN 22 | |
979 | +#define SETMITERLIMIT 23 | |
980 | +#define BANDINFO 24 | |
981 | +#define DRAWPATTERNRECT 25 | |
982 | +#define GETVECTORPENSIZE 26 | |
983 | +#define GETVECTORBRUSHSIZE 27 | |
984 | +#define ENABLEDUPLEX 28 | |
985 | +#define GETSETPAPERBINS 29 | |
986 | +#define GETSETPRINTORIENT 30 | |
987 | +#define ENUMPAPERBINS 31 | |
988 | +#define SETDIBSCALING 32 | |
989 | +#define EPSPRINTING 33 | |
990 | +#define ENUMPAPERMETRICS 34 | |
991 | +#define GETSETPAPERMETRICS 35 | |
992 | +#define POSTSCRIPT_DATA 37 | |
993 | +#define POSTSCRIPT_IGNORE 38 | |
994 | +#define MOUSETRAILS 39 | |
995 | +#define GETDEVICEUNITS 42 | |
996 | +#define GETEXTENDEDTEXTMETRICS 256 | |
997 | +#define GETEXTENTTABLE 257 | |
998 | +#define GETPAIRKERNTABLE 258 | |
999 | +#define GETTRACKKERNTABLE 259 | |
1000 | +#define EXTTEXTOUT 512 | |
1001 | +#define GETFACENAME 513 | |
1002 | +#define DOWNLOADFACE 514 | |
1003 | +#define ENABLERELATIVEWIDTHS 768 | |
1004 | +#define ENABLEPAIRKERNING 769 | |
1005 | +#define SETKERNTRACK 770 | |
1006 | +#define SETALLJUSTVALUES 771 | |
1007 | +#define SETCHARSET 772 | |
1008 | +#define STRETCHBLT 2048 | |
1009 | +#define GETSETSCREENPARAMS 3072 | |
1010 | +#define QUERYDIBSUPPORT 3073 | |
1011 | +#define BEGIN_PATH 4096 | |
1012 | +#define CLIP_TO_PATH 4097 | |
1013 | +#define END_PATH 4098 | |
1014 | +#define EXT_DEVICE_CAPS 4099 | |
1015 | +#define RESTORE_CTM 4100 | |
1016 | +#define SAVE_CTM 4101 | |
1017 | +#define SET_ARC_DIRECTION 4102 | |
1018 | +#define SET_BACKGROUND_COLOR 4103 | |
1019 | +#define SET_POLY_MODE 4104 | |
1020 | +#define SET_SCREEN_ANGLE 4105 | |
1021 | +#define SET_SPREAD 4106 | |
1022 | +#define TRANSFORM_CTM 4107 | |
1023 | +#define SET_CLIP_BOX 4108 | |
1024 | +#define SET_BOUNDS 4109 | |
1025 | +#define SET_MIRROR_MODE 4110 | |
1026 | +#define OPENCHANNEL 4110 | |
1027 | +#define DOWNLOADHEADER 4111 | |
1028 | +#define CLOSECHANNEL 4112 | |
1029 | +#define POSTSCRIPT_PASSTHROUGH 4115 | |
1030 | +#define ENCAPSULATED_POSTSCRIPT 4116 | |
1031 | +#define QDI_SETDIBITS 1 | |
1032 | +#define QDI_GETDIBITS 2 | |
1033 | +#define QDI_DIBTOSCREEN 4 | |
1034 | +#define QDI_STRETCHDIB 8 | |
1035 | +#define SP_NOTREPORTED 0x4000 | |
1036 | +#define PR_JOBSTATUS 0 | |
1037 | +#define ASPECT_FILTERING 1 | |
1038 | +#define BS_SOLID 0 | |
1039 | +#define BS_NULL 1 | |
1040 | +#define BS_HOLLOW 1 | |
1041 | +#define BS_HATCHED 2 | |
1042 | +#define BS_PATTERN 3 | |
1043 | +#define BS_INDEXED 4 | |
1044 | +#define BS_DIBPATTERN 5 | |
1045 | +#define BS_DIBPATTERNPT 6 | |
1046 | +#define BS_PATTERN8X8 7 | |
1047 | +#define BS_DIBPATTERN8X8 8 | |
1048 | +#define LCS_CALIBRATED_RGB 0 | |
1049 | +#define LCS_DEVICE_RGB 1 | |
1050 | +#define LCS_DEVICE_CMYK 2 | |
1051 | +#define LCS_GM_BUSINESS 1 | |
1052 | +#define LCS_GM_GRAPHICS 2 | |
1053 | +#define LCS_GM_IMAGES 4 | |
1054 | +#define RASTER_FONTTYPE 1 | |
1055 | +#define DEVICE_FONTTYPE 2 | |
1056 | +#define TRUETYPE_FONTTYPE 4 | |
1057 | +#define DMORIENT_PORTRAIT 1 | |
1058 | +#define DMORIENT_LANDSCAPE 2 | |
1059 | +#define DMPAPER_FIRST 1 | |
1060 | +#define DMPAPER_LETTER 1 | |
1061 | +#define DMPAPER_LETTERSMALL 2 | |
1062 | +#define DMPAPER_TABLOID 3 | |
1063 | +#define DMPAPER_LEDGER 4 | |
1064 | +#define DMPAPER_LEGAL 5 | |
1065 | +#define DMPAPER_STATEMENT 6 | |
1066 | +#define DMPAPER_EXECUTIVE 7 | |
1067 | +#define DMPAPER_A3 8 | |
1068 | +#define DMPAPER_A4 9 | |
1069 | +#define DMPAPER_A4SMALL 10 | |
1070 | +#define DMPAPER_A5 11 | |
1071 | +#define DMPAPER_B4 12 | |
1072 | +#define DMPAPER_B5 13 | |
1073 | +#define DMPAPER_FOLIO 14 | |
1074 | +#define DMPAPER_QUARTO 15 | |
1075 | +#define DMPAPER_10X14 16 | |
1076 | +#define DMPAPER_11X17 17 | |
1077 | +#define DMPAPER_NOTE 18 | |
1078 | +#define DMPAPER_ENV_9 19 | |
1079 | +#define DMPAPER_ENV_10 20 | |
1080 | +#define DMPAPER_ENV_11 21 | |
1081 | +#define DMPAPER_ENV_12 22 | |
1082 | +#define DMPAPER_ENV_14 23 | |
1083 | +#define DMPAPER_CSHEET 24 | |
1084 | +#define DMPAPER_DSHEET 25 | |
1085 | +#define DMPAPER_ESHEET 26 | |
1086 | +#define DMPAPER_ENV_DL 27 | |
1087 | +#define DMPAPER_ENV_C5 28 | |
1088 | +#define DMPAPER_ENV_C3 29 | |
1089 | +#define DMPAPER_ENV_C4 30 | |
1090 | +#define DMPAPER_ENV_C6 31 | |
1091 | +#define DMPAPER_ENV_C65 32 | |
1092 | +#define DMPAPER_ENV_B4 33 | |
1093 | +#define DMPAPER_ENV_B5 34 | |
1094 | +#define DMPAPER_ENV_B6 35 | |
1095 | +#define DMPAPER_ENV_ITALY 36 | |
1096 | +#define DMPAPER_ENV_MONARCH 37 | |
1097 | +#define DMPAPER_ENV_PERSONAL 38 | |
1098 | +#define DMPAPER_FANFOLD_US 39 | |
1099 | +#define DMPAPER_FANFOLD_STD_GERMAN 40 | |
1100 | +#define DMPAPER_FANFOLD_LGL_GERMAN 41 | |
1101 | +#define DMPAPER_ISO_B4 42 | |
1102 | +#define DMPAPER_JAPANESE_POSTCARD 43 | |
1103 | +#define DMPAPER_9X11 44 | |
1104 | +#define DMPAPER_10X11 45 | |
1105 | +#define DMPAPER_15X11 46 | |
1106 | +#define DMPAPER_ENV_INVITE 47 | |
1107 | +#define DMPAPER_RESERVED_48 48 | |
1108 | +#define DMPAPER_RESERVED_49 49 | |
1109 | +#define DMPAPER_LETTER_EXTRA 50 | |
1110 | +#define DMPAPER_LEGAL_EXTRA 51 | |
1111 | +#define DMPAPER_TABLOID_EXTRA 52 | |
1112 | +#define DMPAPER_A4_EXTRA 53 | |
1113 | +#define DMPAPER_LETTER_TRANSVERSE 54 | |
1114 | +#define DMPAPER_A4_TRANSVERSE 55 | |
1115 | +#define DMPAPER_LETTER_EXTRA_TRANSVERSE 56 | |
1116 | +#define DMPAPER_A_PLUS 57 | |
1117 | +#define DMPAPER_B_PLUS 58 | |
1118 | +#define DMPAPER_LETTER_PLUS 59 | |
1119 | +#define DMPAPER_A4_PLUS 60 | |
1120 | +#define DMPAPER_A5_TRANSVERSE 61 | |
1121 | +#define DMPAPER_B5_TRANSVERSE 62 | |
1122 | +#define DMPAPER_A3_EXTRA 63 | |
1123 | +#define DMPAPER_A5_EXTRA 64 | |
1124 | +#define DMPAPER_B5_EXTRA 65 | |
1125 | +#define DMPAPER_A2 66 | |
1126 | +#define DMPAPER_A3_TRANSVERSE 67 | |
1127 | +#define DMPAPER_A3_EXTRA_TRANSVERSE 68 | |
1128 | + | |
1129 | +#if WINVER >= _WIN32_WINNT_WIN2K | |
1130 | +#define DMPAPER_DBL_JAPANESE_POSTCARD 69 | |
1131 | +#define DMPAPER_A6 70 | |
1132 | +#define DMPAPER_JENV_KAKU2 71 | |
1133 | +#define DMPAPER_JENV_KAKU3 72 | |
1134 | +#define DMPAPER_JENV_CHOU3 73 | |
1135 | +#define DMPAPER_JENV_CHOU4 74 | |
1136 | +#define DMPAPER_LETTER_ROTATED 75 | |
1137 | +#define DMPAPER_A3_ROTATED 76 | |
1138 | +#define DMPAPER_A4_ROTATED 77 | |
1139 | +#define DMPAPER_A5_ROTATED 78 | |
1140 | +#define DMPAPER_B4_JIS_ROTATED 79 | |
1141 | +#define DMPAPER_B5_JIS_ROTATED 80 | |
1142 | +#define DMPAPER_JAPANESE_POSTCARD_ROTATED 81 | |
1143 | +#define DMPAPER_DBL_JAPANESE_POSTCARD_ROTATED 82 | |
1144 | +#define DMPAPER_A6_ROTATED 83 | |
1145 | +#define DMPAPER_JENV_KAKU2_ROTATED 84 | |
1146 | +#define DMPAPER_JENV_KAKU3_ROTATED 85 | |
1147 | +#define DMPAPER_JENV_CHOU3_ROTATED 86 | |
1148 | +#define DMPAPER_JENV_CHOU4_ROTATED 87 | |
1149 | +#define DMPAPER_B6_JIS 88 | |
1150 | +#define DMPAPER_B6_JIS_ROTATED 89 | |
1151 | +#define DMPAPER_12X11 90 | |
1152 | +#define DMPAPER_JENV_YOU4 91 | |
1153 | +#define DMPAPER_JENV_YOU4_ROTATED 92 | |
1154 | +#define DMPAPER_P16K 93 | |
1155 | +#define DMPAPER_P32K 94 | |
1156 | +#define DMPAPER_P32KBIG 95 | |
1157 | +#define DMPAPER_PENV_1 96 | |
1158 | +#define DMPAPER_PENV_2 97 | |
1159 | +#define DMPAPER_PENV_3 98 | |
1160 | +#define DMPAPER_PENV_4 99 | |
1161 | +#define DMPAPER_PENV_5 100 | |
1162 | +#define DMPAPER_PENV_6 101 | |
1163 | +#define DMPAPER_PENV_7 102 | |
1164 | +#define DMPAPER_PENV_8 103 | |
1165 | +#define DMPAPER_PENV_9 104 | |
1166 | +#define DMPAPER_PENV_10 105 | |
1167 | +#define DMPAPER_P16K_ROTATED 106 | |
1168 | +#define DMPAPER_P32K_ROTATED 107 | |
1169 | +#define DMPAPER_P32KBIG_ROTATED 108 | |
1170 | +#define DMPAPER_PENV_1_ROTATED 109 | |
1171 | +#define DMPAPER_PENV_2_ROTATED 110 | |
1172 | +#define DMPAPER_PENV_3_ROTATED 111 | |
1173 | +#define DMPAPER_PENV_4_ROTATED 112 | |
1174 | +#define DMPAPER_PENV_5_ROTATED 113 | |
1175 | +#define DMPAPER_PENV_6_ROTATED 114 | |
1176 | +#define DMPAPER_PENV_7_ROTATED 115 | |
1177 | +#define DMPAPER_PENV_8_ROTATED 116 | |
1178 | +#define DMPAPER_PENV_9_ROTATED 117 | |
1179 | +#define DMPAPER_PENV_10_ROTATED 118 | |
1180 | +#define DMPAPER_LAST 118 | |
1181 | + | |
1182 | +#else /* WINVER < Win2K */ | |
1183 | +#define DMPAPER_LAST 68 | |
1184 | + | |
1185 | +#endif /* WINVER < Win2K */ | |
1186 | + | |
1187 | +#define DMPAPER_USER 256 | |
1188 | +#define DMBIN_FIRST 1 | |
1189 | +#define DMBIN_UPPER 1 | |
1190 | +#define DMBIN_ONLYONE 1 | |
1191 | +#define DMBIN_LOWER 2 | |
1192 | +#define DMBIN_MIDDLE 3 | |
1193 | +#define DMBIN_MANUAL 4 | |
1194 | +#define DMBIN_ENVELOPE 5 | |
1195 | +#define DMBIN_ENVMANUAL 6 | |
1196 | +#define DMBIN_AUTO 7 | |
1197 | +#define DMBIN_TRACTOR 8 | |
1198 | +#define DMBIN_SMALLFMT 9 | |
1199 | +#define DMBIN_LARGEFMT 10 | |
1200 | +#define DMBIN_LARGECAPACITY 11 | |
1201 | +#define DMBIN_CASSETTE 14 | |
1202 | +#define DMBIN_FORMSOURCE 15 | |
1203 | +#define DMBIN_LAST 15 | |
1204 | +#define DMBIN_USER 256 | |
1205 | +#define DMRES_DRAFT (-1) | |
1206 | +#define DMRES_LOW (-2) | |
1207 | +#define DMRES_MEDIUM (-3) | |
1208 | +#define DMRES_HIGH (-4) | |
1209 | +#define DMCOLOR_MONOCHROME 1 | |
1210 | +#define DMCOLOR_COLOR 2 | |
1211 | +#define DMDUP_SIMPLEX 1 | |
1212 | +#define DMDUP_VERTICAL 2 | |
1213 | +#define DMDUP_HORIZONTAL 3 | |
1214 | +#define DMTT_BITMAP 1 | |
1215 | +#define DMTT_DOWNLOAD 2 | |
1216 | +#define DMTT_SUBDEV 3 | |
1217 | +#define DMTT_DOWNLOAD_OUTLINE 4 | |
1218 | +#define DMCOLLATE_FALSE 0 | |
1219 | +#define DMCOLLATE_TRUE 1 | |
1220 | +#define DM_SPECVERSION 800 | |
1221 | +#define DM_GRAYSCALE 1 | |
1222 | +#define DM_INTERLACED 2 | |
1223 | +#define DM_UPDATE 1 | |
1224 | +#define DM_COPY 2 | |
1225 | +#define DM_PROMPT 4 | |
1226 | +#define DM_MODIFY 8 | |
1227 | +#define DM_IN_BUFFER DM_MODIFY | |
1228 | +#define DM_IN_PROMPT DM_PROMPT | |
1229 | +#define DM_OUT_BUFFER DM_COPY | |
1230 | +#define DM_OUT_DEFAULT DM_UPDATE | |
1231 | +#define DM_ORIENTATION 0x00000001 | |
1232 | +#define DM_PAPERSIZE 0x00000002 | |
1233 | +#define DM_PAPERLENGTH 0x00000004 | |
1234 | +#define DM_PAPERWIDTH 0x00000008 | |
1235 | +#define DM_SCALE 0x00000010 | |
1236 | +#define DM_POSITION 0x00000020 | |
1237 | +#define DM_COPIES 0x00000100 | |
1238 | +#define DM_DEFAULTSOURCE 0x00000200 | |
1239 | +#define DM_PRINTQUALITY 0x00000400 | |
1240 | +#define DM_COLOR 0x00000800 | |
1241 | +#define DM_DUPLEX 0x00001000 | |
1242 | +#define DM_YRESOLUTION 0x00002000 | |
1243 | +#define DM_TTOPTION 0x00004000 | |
1244 | +#define DM_COLLATE 0x00008000 | |
1245 | +#define DM_FORMNAME 0x00010000 | |
1246 | +#define DM_LOGPIXELS 0x00020000 | |
1247 | +#define DM_BITSPERPEL 0x00040000 | |
1248 | +#define DM_PELSWIDTH 0x00080000 | |
1249 | +#define DM_PELSHEIGHT 0x00100000 | |
1250 | +#define DM_DISPLAYFLAGS 0x00200000 | |
1251 | +#define DM_DISPLAYFREQUENCY 0x00400000 | |
1252 | +#define DM_ICMMETHOD 0x00800000 | |
1253 | +#define DM_ICMINTENT 0x01000000 | |
1254 | +#define DM_MEDIATYPE 0x02000000 | |
1255 | +#define DM_DITHERTYPE 0x04000000 | |
1256 | + | |
1257 | +#if WINVER >= _WIN32_WINNT_WIN2K | |
1258 | +#define DM_PANNINGWIDTH 0x08000000 | |
1259 | +#define DM_PANNINGHEIGHT 0x10000000 | |
1260 | + | |
1261 | +#if WINVER >= _WIN32_WINNT_WINXP | |
1262 | +#define DM_DISPLAYFIXEDOUTPUT 0x20000000 | |
1263 | +#define DM_DISPLAYORIENTATION 0x00000080 | |
1264 | +#define DMDO_DEFAULT 0x00000000 | |
1265 | +#define DMDO_90 0x00000001 | |
1266 | +#define DMDO_180 0x00000002 | |
1267 | +#define DMDO_270 0x00000003 | |
1268 | +#define DMDFO_DEFAULT 0x00000000 | |
1269 | +#define DMDFO_STRETCH 0x00000001 | |
1270 | +#define DMDFO_CENTER 0x00000002 | |
1271 | + | |
1272 | +#endif /* WINVER >= WinXP */ | |
1273 | +#endif /* WINVER >= Win2K */ | |
1274 | + | |
1275 | +#define DMICMMETHOD_NONE 1 | |
1276 | +#define DMICMMETHOD_SYSTEM 2 | |
1277 | +#define DMICMMETHOD_DRIVER 3 | |
1278 | +#define DMICMMETHOD_DEVICE 4 | |
1279 | +#define DMICMMETHOD_USER 256 | |
1280 | +#define DMICM_SATURATE 1 | |
1281 | +#define DMICM_CONTRAST 2 | |
1282 | +#define DMICM_COLORMETRIC 3 | |
1283 | +#define DMICM_USER 256 | |
1284 | +#define DMMEDIA_STANDARD 1 | |
1285 | +#define DMMEDIA_TRANSPARENCY 2 | |
1286 | +#define DMMEDIA_GLOSSY 3 | |
1287 | +#define DMMEDIA_USER 256 | |
1288 | +#define DMDITHER_NONE 1 | |
1289 | +#define DMDITHER_COARSE 2 | |
1290 | +#define DMDITHER_FINE 3 | |
1291 | +#define DMDITHER_LINEART 4 | |
1292 | +#define DMDITHER_ERRORDIFFUSION 5 | |
1293 | +#define DMDITHER_RESERVED6 6 | |
1294 | +#define DMDITHER_RESERVED7 7 | |
1295 | +#define DMDITHER_RESERVED8 8 | |
1296 | +#define DMDITHER_RESERVED9 9 | |
1297 | +#define DMDITHER_GRAYSCALE 10 | |
1298 | +#define DMDITHER_USER 256 | |
1299 | +#define GDI_ERROR 0xFFFFFFFF | |
1300 | +#define HGDI_ERROR ((HANDLE)(GDI_ERROR)) | |
1301 | +#define TMPF_FIXED_PITCH 1 | |
1302 | +#define TMPF_VECTOR 2 | |
1303 | +#define TMPF_TRUETYPE 4 | |
1304 | +#define TMPF_DEVICE 8 | |
1305 | +#define NTM_ITALIC 1 | |
1306 | +#define NTM_BOLD 32 | |
1307 | +#define NTM_REGULAR 64 | |
1308 | +#define TT_POLYGON_TYPE 24 | |
1309 | +#define TT_PRIM_LINE 1 | |
1310 | +#define TT_PRIM_QSPLINE 2 | |
1311 | +#define TT_PRIM_CSPLINE 3 | |
1312 | +#define FONTMAPPER_MAX 10 | |
1313 | +#define ENHMETA_STOCK_OBJECT 0x80000000 | |
1314 | +#define WGL_FONT_LINES 0 | |
1315 | +#define WGL_FONT_POLYGONS 1 | |
1316 | +#define LPD_DOUBLEBUFFER 1 | |
1317 | +#define LPD_STEREO 2 | |
1318 | +#define LPD_SUPPORT_GDI 16 | |
1319 | +#define LPD_SUPPORT_OPENGL 32 | |
1320 | +#define LPD_SHARE_DEPTH 64 | |
1321 | +#define LPD_SHARE_STENCIL 128 | |
1322 | +#define LPD_SHARE_ACCUM 256 | |
1323 | +#define LPD_SWAP_EXCHANGE 512 | |
1324 | +#define LPD_SWAP_COPY 1024 | |
1325 | +#define LPD_TRANSPARENT 4096 | |
1326 | +#define LPD_TYPE_RGBA 0 | |
1327 | +#define LPD_TYPE_COLORINDEX 1 | |
1328 | +#define WGL_SWAP_MAIN_PLANE 1 | |
1329 | +#define WGL_SWAP_OVERLAY1 2 | |
1330 | +#define WGL_SWAP_OVERLAY2 4 | |
1331 | +#define WGL_SWAP_OVERLAY3 8 | |
1332 | +#define WGL_SWAP_OVERLAY4 16 | |
1333 | +#define WGL_SWAP_OVERLAY5 32 | |
1334 | +#define WGL_SWAP_OVERLAY6 64 | |
1335 | +#define WGL_SWAP_OVERLAY7 128 | |
1336 | +#define WGL_SWAP_OVERLAY8 256 | |
1337 | +#define WGL_SWAP_OVERLAY9 512 | |
1338 | +#define WGL_SWAP_OVERLAY10 1024 | |
1339 | +#define WGL_SWAP_OVERLAY11 2048 | |
1340 | +#define WGL_SWAP_OVERLAY12 4096 | |
1341 | +#define WGL_SWAP_OVERLAY13 8192 | |
1342 | +#define WGL_SWAP_OVERLAY14 16384 | |
1343 | +#define WGL_SWAP_OVERLAY15 32768 | |
1344 | +#define WGL_SWAP_UNDERLAY1 65536 | |
1345 | +#define WGL_SWAP_UNDERLAY2 0x20000 | |
1346 | +#define WGL_SWAP_UNDERLAY3 0x40000 | |
1347 | +#define WGL_SWAP_UNDERLAY4 0x80000 | |
1348 | +#define WGL_SWAP_UNDERLAY5 0x100000 | |
1349 | +#define WGL_SWAP_UNDERLAY6 0x200000 | |
1350 | +#define WGL_SWAP_UNDERLAY7 0x400000 | |
1351 | +#define WGL_SWAP_UNDERLAY8 0x800000 | |
1352 | +#define WGL_SWAP_UNDERLAY9 0x1000000 | |
1353 | +#define WGL_SWAP_UNDERLAY10 0x2000000 | |
1354 | +#define WGL_SWAP_UNDERLAY11 0x4000000 | |
1355 | +#define WGL_SWAP_UNDERLAY12 0x8000000 | |
1356 | +#define WGL_SWAP_UNDERLAY13 0x10000000 | |
1357 | +#define WGL_SWAP_UNDERLAY14 0x20000000 | |
1358 | +#define WGL_SWAP_UNDERLAY15 0x40000000 | |
1359 | +#define AC_SRC_OVER 0x00 | |
1360 | +#define AC_SRC_ALPHA 0x01 | |
1361 | +#define AC_SRC_NO_PREMULT_ALPHA 0x01 | |
1362 | +#define AC_SRC_NO_ALPHA 0x02 | |
1363 | +#define AC_DST_NO_PREMULT_ALPHA 0x10 | |
1364 | +#define AC_DST_NO_ALPHA 0x20 | |
1365 | +#define LAYOUT_RTL 1 | |
1366 | +#define LAYOUT_BITMAPORIENTATIONPRESERVED 8 | |
1367 | + | |
1368 | +# if WINVER >= _WIN32_WINNT_NT4 /* also _WIN32_WINDOWS_95 */ | |
1369 | +#define CS_ENABLE 0x00000001 | |
1370 | +#define CS_DISABLE 0x00000002 | |
1371 | +#define CS_DELETE_TRANSFORM 0x00000003 | |
1372 | + | |
1373 | +#if WINVER >= _WIN32_WINNT_WIN2K | |
1374 | +#define GRADIENT_FILL_RECT_H 0x00 | |
1375 | +#define GRADIENT_FILL_RECT_V 0x01 | |
1376 | +#define GRADIENT_FILL_TRIANGLE 0x02 | |
1377 | +#define GRADIENT_FILL_OP_FLAG 0xFF | |
1378 | +#define COLORMATCHTOTARGET_EMBEDED 0x00000001 | |
1379 | +#define CREATECOLORSPACE_EMBEDED 0x00000001 | |
1380 | +#define SETICMPROFILE_EMBEDED 0x00000001 | |
1381 | + | |
1382 | +#endif /* WINVER >= Win2K */ | |
1383 | +#endif /* WINVER >= Win95/WinNT4 */ | |
1384 | + | |
1385 | +#define DISPLAY_DEVICE_ATTACHED_TO_DESKTOP 0x00000001 | |
1386 | +#define DISPLAY_DEVICE_MULTI_DRIVER 0x00000002 | |
1387 | +#define DISPLAY_DEVICE_PRIMARY_DEVICE 0x00000004 | |
1388 | +#define DISPLAY_DEVICE_MIRRORING_DRIVER 0x00000008 | |
1389 | +#define DISPLAY_DEVICE_VGA_COMPATIBLE 0x00000010 | |
1390 | +#define DISPLAY_DEVICE_REMOVABLE 0x00000020 | |
1391 | +#define DISPLAY_DEVICE_MODESPRUNED 0x08000000 | |
1392 | + | |
1393 | +#if _WIN32_WINNT >= _WIN32_WINNT_WIN2K | |
1394 | +#define NTM_NONNEGATIVE_AC 0x00010000 | |
1395 | +#define NTM_PS_OPENTYPE 0x00020000 | |
1396 | +#define NTM_TT_OPENTYPE 0x00040000 | |
1397 | +#define NTM_MULTIPLEMASTER 0x00080000 | |
1398 | +#define NTM_TYPE1 0x00100000 | |
1399 | +#define NTM_DSIG 0x00200000 | |
1400 | + | |
1401 | +#define GGI_MARK_NONEXISTING_GLYPHS 1 | |
1402 | +#endif /* WINNT >= Win2K */ | |
1336 | 1403 | |
1337 | 1404 | #ifndef RC_INVOKED |
1338 | -typedef struct _ABC { | |
1339 | - int abcA; | |
1340 | - UINT abcB; | |
1341 | - int abcC; | |
1342 | -} ABC,*LPABC; | |
1343 | -typedef struct _ABCFLOAT { | |
1344 | - FLOAT abcfA; | |
1345 | - FLOAT abcfB; | |
1346 | - FLOAT abcfC; | |
1347 | -} ABCFLOAT,*LPABCFLOAT; | |
1348 | -typedef struct tagBITMAP { | |
1349 | - LONG bmType; | |
1350 | - LONG bmWidth; | |
1351 | - LONG bmHeight; | |
1352 | - LONG bmWidthBytes; | |
1353 | - WORD bmPlanes; | |
1354 | - WORD bmBitsPixel; | |
1355 | - LPVOID bmBits; | |
1356 | -} BITMAP,*PBITMAP,*LPBITMAP; | |
1357 | -typedef struct tagBITMAPCOREHEADER { | |
1358 | - DWORD bcSize; | |
1359 | - WORD bcWidth; | |
1360 | - WORD bcHeight; | |
1361 | - WORD bcPlanes; | |
1362 | - WORD bcBitCount; | |
1363 | -} BITMAPCOREHEADER,*LPBITMAPCOREHEADER,*PBITMAPCOREHEADER; | |
1364 | -#pragma pack(push,1) | |
1365 | -typedef struct tagRGBTRIPLE { | |
1366 | - BYTE rgbtBlue; | |
1367 | - BYTE rgbtGreen; | |
1368 | - BYTE rgbtRed; | |
1369 | -} RGBTRIPLE,*LPRGBTRIPLE; | |
1370 | -#pragma pack(pop) | |
1371 | -#pragma pack(push,2) | |
1372 | -typedef struct tagBITMAPFILEHEADER { | |
1373 | - WORD bfType; | |
1374 | - DWORD bfSize; | |
1375 | - WORD bfReserved1; | |
1376 | - WORD bfReserved2; | |
1377 | - DWORD bfOffBits; | |
1378 | -} BITMAPFILEHEADER,*LPBITMAPFILEHEADER,*PBITMAPFILEHEADER; | |
1379 | -#pragma pack(pop) | |
1380 | -typedef struct _BITMAPCOREINFO { | |
1381 | - BITMAPCOREHEADER bmciHeader; | |
1382 | - RGBTRIPLE bmciColors[1]; | |
1383 | -} BITMAPCOREINFO,*LPBITMAPCOREINFO,*PBITMAPCOREINFO; | |
1384 | -typedef struct tagBITMAPINFOHEADER{ | |
1385 | - DWORD biSize; | |
1386 | - LONG biWidth; | |
1387 | - LONG biHeight; | |
1388 | - WORD biPlanes; | |
1389 | - WORD biBitCount; | |
1390 | - DWORD biCompression; | |
1391 | - DWORD biSizeImage; | |
1392 | - LONG biXPelsPerMeter; | |
1393 | - LONG biYPelsPerMeter; | |
1394 | - DWORD biClrUsed; | |
1395 | - DWORD biClrImportant; | |
1396 | -} BITMAPINFOHEADER,*LPBITMAPINFOHEADER,*PBITMAPINFOHEADER; | |
1397 | -typedef struct tagRGBQUAD { | |
1398 | - BYTE rgbBlue; | |
1399 | - BYTE rgbGreen; | |
1400 | - BYTE rgbRed; | |
1401 | - BYTE rgbReserved; | |
1402 | -} RGBQUAD,*LPRGBQUAD; | |
1403 | -typedef struct tagBITMAPINFO { | |
1404 | - BITMAPINFOHEADER bmiHeader; | |
1405 | - RGBQUAD bmiColors[1]; | |
1406 | -} BITMAPINFO,*LPBITMAPINFO,*PBITMAPINFO; | |
1407 | -typedef long FXPT16DOT16,*LPFXPT16DOT16; | |
1408 | -typedef long FXPT2DOT30,*LPFXPT2DOT30; | |
1409 | -typedef struct tagCIEXYZ { | |
1410 | - FXPT2DOT30 ciexyzX; | |
1411 | - FXPT2DOT30 ciexyzY; | |
1412 | - FXPT2DOT30 ciexyzZ; | |
1413 | -} CIEXYZ,*LPCIEXYZ; | |
1414 | -typedef struct tagCIEXYZTRIPLE { | |
1415 | - CIEXYZ ciexyzRed; | |
1416 | - CIEXYZ ciexyzGreen; | |
1417 | - CIEXYZ ciexyzBlue; | |
1418 | -} CIEXYZTRIPLE,*LPCIEXYZTRIPLE; | |
1419 | -typedef struct { | |
1420 | - DWORD bV4Size; | |
1421 | - LONG bV4Width; | |
1422 | - LONG bV4Height; | |
1423 | - WORD bV4Planes; | |
1424 | - WORD bV4BitCount; | |
1425 | - DWORD bV4V4Compression; | |
1426 | - DWORD bV4SizeImage; | |
1427 | - LONG bV4XPelsPerMeter; | |
1428 | - LONG bV4YPelsPerMeter; | |
1429 | - DWORD bV4ClrUsed; | |
1430 | - DWORD bV4ClrImportant; | |
1431 | - DWORD bV4RedMask; | |
1432 | - DWORD bV4GreenMask; | |
1433 | - DWORD bV4BlueMask; | |
1434 | - DWORD bV4AlphaMask; | |
1435 | - DWORD bV4CSType; | |
1436 | - CIEXYZTRIPLE bV4Endpoints; | |
1437 | - DWORD bV4GammaRed; | |
1438 | - DWORD bV4GammaGreen; | |
1439 | - DWORD bV4GammaBlue; | |
1440 | -} BITMAPV4HEADER,*LPBITMAPV4HEADER,*PBITMAPV4HEADER; | |
1441 | -typedef struct { | |
1442 | - DWORD bV5Size; | |
1443 | - LONG bV5Width; | |
1444 | - LONG bV5Height; | |
1445 | - WORD bV5Planes; | |
1446 | - WORD bV5BitCount; | |
1447 | - DWORD bV5Compression; | |
1448 | - DWORD bV5SizeImage; | |
1449 | - LONG bV5XPelsPerMeter; | |
1450 | - LONG bV5YPelsPerMeter; | |
1451 | - DWORD bV5ClrUsed; | |
1452 | - DWORD bV5ClrImportant; | |
1453 | - DWORD bV5RedMask; | |
1454 | - DWORD bV5GreenMask; | |
1455 | - DWORD bV5BlueMask; | |
1456 | - DWORD bV5AlphaMask; | |
1457 | - DWORD bV5CSType; | |
1458 | - CIEXYZTRIPLE bV5Endpoints; | |
1459 | - DWORD bV5GammaRed; | |
1460 | - DWORD bV5GammaGreen; | |
1461 | - DWORD bV5GammaBlue; | |
1462 | - DWORD bV5Intent; | |
1463 | - DWORD bV5ProfileData; | |
1464 | - DWORD bV5ProfileSize; | |
1465 | - DWORD bV5Reserved; | |
1466 | -} BITMAPV5HEADER,*LPBITMAPV5HEADER,*PBITMAPV5HEADER; | |
1467 | -typedef struct tagFONTSIGNATURE { | |
1468 | - DWORD fsUsb[4]; | |
1469 | - DWORD fsCsb[2]; | |
1470 | -} FONTSIGNATURE,*LPFONTSIGNATURE; | |
1471 | -typedef struct { | |
1472 | - UINT ciCharset; | |
1473 | - UINT ciACP; | |
1474 | - FONTSIGNATURE fs; | |
1475 | -} CHARSETINFO,*LPCHARSETINFO; | |
1476 | -typedef struct tagCOLORADJUSTMENT { | |
1477 | - WORD caSize; | |
1478 | - WORD caFlags; | |
1479 | - WORD caIlluminantIndex; | |
1480 | - WORD caRedGamma; | |
1481 | - WORD caGreenGamma; | |
1482 | - WORD caBlueGamma; | |
1483 | - WORD caReferenceBlack; | |
1484 | - WORD caReferenceWhite; | |
1485 | - SHORT caContrast; | |
1486 | - SHORT caBrightness; | |
1487 | - SHORT caColorfulness; | |
1488 | - SHORT caRedGreenTint; | |
1489 | -} COLORADJUSTMENT,*LPCOLORADJUSTMENT; | |
1490 | -typedef struct _devicemodeA { | |
1491 | - BYTE dmDeviceName[CCHDEVICENAME]; | |
1492 | - WORD dmSpecVersion; | |
1493 | - WORD dmDriverVersion; | |
1494 | - WORD dmSize; | |
1495 | - WORD dmDriverExtra; | |
1496 | - DWORD dmFields; | |
1497 | - _ANONYMOUS_UNION union { | |
1498 | - _ANONYMOUS_STRUCT struct { | |
1499 | - short dmOrientation; | |
1500 | - short dmPaperSize; | |
1501 | - short dmPaperLength; | |
1502 | - short dmPaperWidth; | |
1503 | - short dmScale; | |
1504 | - short dmCopies; | |
1505 | - short dmDefaultSource; | |
1506 | - short dmPrintQuality; | |
1507 | - } DUMMYSTRUCTNAME; | |
1508 | - _ANONYMOUS_STRUCT struct { | |
1509 | - POINTL dmPosition; | |
1510 | - DWORD dmDisplayOrientation; | |
1511 | - DWORD dmDisplayFixedOutput; | |
1512 | - } DUMMYSTRUCTNAME2; | |
1513 | - } DUMMYUNIONNAME; | |
1514 | - | |
1515 | - short dmColor; | |
1516 | - short dmDuplex; | |
1517 | - short dmYResolution; | |
1518 | - short dmTTOption; | |
1519 | - short dmCollate; | |
1520 | - BYTE dmFormName[CCHFORMNAME]; | |
1521 | - WORD dmLogPixels; | |
1522 | - DWORD dmBitsPerPel; | |
1523 | - DWORD dmPelsWidth; | |
1524 | - DWORD dmPelsHeight; | |
1525 | - _ANONYMOUS_UNION union { | |
1526 | - DWORD dmDisplayFlags; | |
1527 | - DWORD dmNup; | |
1528 | - } DUMMYUNIONNAME2; | |
1529 | - DWORD dmDisplayFrequency; | |
1530 | -#if(WINVER >= 0x0400) | |
1531 | - DWORD dmICMMethod; | |
1532 | - DWORD dmICMIntent; | |
1533 | - DWORD dmMediaType; | |
1534 | - DWORD dmDitherType; | |
1535 | - DWORD dmReserved1; | |
1536 | - DWORD dmReserved2; | |
1537 | -#if (WINVER >= 0x0500) || (_WIN32_WINNT >= 0x0400) | |
1538 | - DWORD dmPanningWidth; | |
1539 | - DWORD dmPanningHeight; | |
1540 | -#endif | |
1541 | -#endif /* WINVER >= 0x0400 */ | |
1542 | -} DEVMODEA,*LPDEVMODEA,*PDEVMODEA; | |
1543 | -typedef struct _devicemodeW { | |
1544 | - WCHAR dmDeviceName[CCHDEVICENAME]; | |
1545 | - WORD dmSpecVersion; | |
1546 | - WORD dmDriverVersion; | |
1547 | - WORD dmSize; | |
1548 | - WORD dmDriverExtra; | |
1549 | - DWORD dmFields; | |
1550 | - _ANONYMOUS_UNION union { | |
1551 | - _ANONYMOUS_STRUCT struct { | |
1552 | - short dmOrientation; | |
1553 | - short dmPaperSize; | |
1554 | - short dmPaperLength; | |
1555 | - short dmPaperWidth; | |
1556 | - short dmScale; | |
1557 | - short dmCopies; | |
1558 | - short dmDefaultSource; | |
1559 | - short dmPrintQuality; | |
1560 | - } DUMMYSTRUCTNAME; | |
1561 | - _ANONYMOUS_STRUCT struct { | |
1562 | - POINTL dmPosition; | |
1563 | - DWORD dmDisplayOrientation; | |
1564 | - DWORD dmDisplayFixedOutput; | |
1565 | - } DUMMYSTRUCTNAME2; | |
1566 | - } DUMMYUNIONNAME; | |
1567 | - | |
1568 | - short dmColor; | |
1569 | - short dmDuplex; | |
1570 | - short dmYResolution; | |
1571 | - short dmTTOption; | |
1572 | - short dmCollate; | |
1573 | - WCHAR dmFormName[CCHFORMNAME]; | |
1574 | - WORD dmLogPixels; | |
1575 | - DWORD dmBitsPerPel; | |
1576 | - DWORD dmPelsWidth; | |
1577 | - DWORD dmPelsHeight; | |
1578 | - _ANONYMOUS_UNION union { | |
1579 | - DWORD dmDisplayFlags; | |
1580 | - DWORD dmNup; | |
1581 | - } DUMMYUNIONNAME2; | |
1582 | - DWORD dmDisplayFrequency; | |
1583 | -#if(WINVER >= 0x0400) | |
1584 | - DWORD dmICMMethod; | |
1585 | - DWORD dmICMIntent; | |
1586 | - DWORD dmMediaType; | |
1587 | - DWORD dmDitherType; | |
1588 | - DWORD dmReserved1; | |
1589 | - DWORD dmReserved2; | |
1590 | -#if (WINVER >= 0x0500) || (_WIN32_WINNT >= 0x0400) | |
1591 | - DWORD dmPanningWidth; | |
1592 | - DWORD dmPanningHeight; | |
1593 | -#endif | |
1594 | -#endif /* WINVER >= 0x0400 */ | |
1595 | -} DEVMODEW,*LPDEVMODEW,*PDEVMODEW; | |
1596 | -typedef struct tagDIBSECTION { | |
1597 | - BITMAP dsBm; | |
1598 | - BITMAPINFOHEADER dsBmih; | |
1599 | - DWORD dsBitfields[3]; | |
1600 | - HANDLE dshSection; | |
1601 | - DWORD dsOffset; | |
1405 | +typedef struct _ABC | |
1406 | +{ int abcA; | |
1407 | + UINT abcB; | |
1408 | + int abcC; | |
1409 | +} ABC, *LPABC; | |
1410 | + | |
1411 | +typedef struct _ABCFLOAT | |
1412 | +{ FLOAT abcfA; | |
1413 | + FLOAT abcfB; | |
1414 | + FLOAT abcfC; | |
1415 | +} ABCFLOAT, *LPABCFLOAT; | |
1416 | + | |
1417 | +typedef struct tagBITMAP | |
1418 | +{ LONG bmType; | |
1419 | + LONG bmWidth; | |
1420 | + LONG bmHeight; | |
1421 | + LONG bmWidthBytes; | |
1422 | + WORD bmPlanes; | |
1423 | + WORD bmBitsPixel; | |
1424 | + LPVOID bmBits; | |
1425 | +} BITMAP, *PBITMAP, *LPBITMAP; | |
1426 | + | |
1427 | +typedef struct tagBITMAPCOREHEADER | |
1428 | +{ DWORD bcSize; | |
1429 | + WORD bcWidth; | |
1430 | + WORD bcHeight; | |
1431 | + WORD bcPlanes; | |
1432 | + WORD bcBitCount; | |
1433 | +} BITMAPCOREHEADER, *LPBITMAPCOREHEADER, *PBITMAPCOREHEADER; | |
1434 | + | |
1435 | +# pragma pack (push, 1) | |
1436 | + | |
1437 | +typedef struct tagRGBTRIPLE | |
1438 | +{ BYTE rgbtBlue; | |
1439 | + BYTE rgbtGreen; | |
1440 | + BYTE rgbtRed; | |
1441 | +} RGBTRIPLE, *LPRGBTRIPLE; | |
1442 | + | |
1443 | +# pragma pack (2) | |
1444 | + | |
1445 | +typedef struct tagBITMAPFILEHEADER | |
1446 | +{ WORD bfType; | |
1447 | + DWORD bfSize; | |
1448 | + WORD bfReserved1; | |
1449 | + WORD bfReserved2; | |
1450 | + DWORD bfOffBits; | |
1451 | +} BITMAPFILEHEADER, *LPBITMAPFILEHEADER, *PBITMAPFILEHEADER; | |
1452 | + | |
1453 | +# pragma pack (pop) | |
1454 | + | |
1455 | +typedef struct _BITMAPCOREINFO | |
1456 | +{ BITMAPCOREHEADER bmciHeader; | |
1457 | + RGBTRIPLE bmciColors[1]; | |
1458 | +} BITMAPCOREINFO, *LPBITMAPCOREINFO, *PBITMAPCOREINFO; | |
1459 | + | |
1460 | +typedef struct tagBITMAPINFOHEADE | |
1461 | +{ DWORD biSize; | |
1462 | + LONG biWidth; | |
1463 | + LONG biHeight; | |
1464 | + WORD biPlanes; | |
1465 | + WORD biBitCount; | |
1466 | + DWORD biCompression; | |
1467 | + DWORD biSizeImage; | |
1468 | + LONG biXPelsPerMeter; | |
1469 | + LONG biYPelsPerMeter; | |
1470 | + DWORD biClrUsed; | |
1471 | + DWORD biClrImportant; | |
1472 | +} BITMAPINFOHEADER, *LPBITMAPINFOHEADER, *PBITMAPINFOHEADER; | |
1473 | + | |
1474 | +typedef struct tagRGBQUAD | |
1475 | +{ BYTE rgbBlue; | |
1476 | + BYTE rgbGreen; | |
1477 | + BYTE rgbRed; | |
1478 | + BYTE rgbReserved; | |
1479 | +} RGBQUAD, *LPRGBQUAD; | |
1480 | + | |
1481 | +typedef struct tagBITMAPINFO | |
1482 | +{ BITMAPINFOHEADER bmiHeader; | |
1483 | + RGBQUAD bmiColors[1]; | |
1484 | +} BITMAPINFO, *LPBITMAPINFO, *PBITMAPINFO; | |
1485 | +typedef long FXPT16DOT16, *LPFXPT16DOT16; | |
1486 | +typedef long FXPT2DOT30, *LPFXPT2DOT30; | |
1487 | + | |
1488 | +typedef struct tagCIEXYZ | |
1489 | +{ FXPT2DOT30 ciexyzX; | |
1490 | + FXPT2DOT30 ciexyzY; | |
1491 | + FXPT2DOT30 ciexyzZ; | |
1492 | +} CIEXYZ, *LPCIEXYZ; | |
1493 | + | |
1494 | +typedef struct tagCIEXYZTRIPLE | |
1495 | +{ CIEXYZ ciexyzRed; | |
1496 | + CIEXYZ ciexyzGreen; | |
1497 | + CIEXYZ ciexyzBlue; | |
1498 | +} CIEXYZTRIPLE, *LPCIEXYZTRIPLE; | |
1499 | + | |
1500 | +typedef struct | |
1501 | +{ DWORD bV4Size; | |
1502 | + LONG bV4Width; | |
1503 | + LONG bV4Height; | |
1504 | + WORD bV4Planes; | |
1505 | + WORD bV4BitCount; | |
1506 | + DWORD bV4V4Compression; | |
1507 | + DWORD bV4SizeImage; | |
1508 | + LONG bV4XPelsPerMeter; | |
1509 | + LONG bV4YPelsPerMeter; | |
1510 | + DWORD bV4ClrUsed; | |
1511 | + DWORD bV4ClrImportant; | |
1512 | + DWORD bV4RedMask; | |
1513 | + DWORD bV4GreenMask; | |
1514 | + DWORD bV4BlueMask; | |
1515 | + DWORD bV4AlphaMask; | |
1516 | + DWORD bV4CSType; | |
1517 | + CIEXYZTRIPLE bV4Endpoints; | |
1518 | + DWORD bV4GammaRed; | |
1519 | + DWORD bV4GammaGreen; | |
1520 | + DWORD bV4GammaBlue; | |
1521 | +} BITMAPV4HEADER, *LPBITMAPV4HEADER, *PBITMAPV4HEADER; | |
1522 | + | |
1523 | +typedef struct | |
1524 | +{ DWORD bV5Size; | |
1525 | + LONG bV5Width; | |
1526 | + LONG bV5Height; | |
1527 | + WORD bV5Planes; | |
1528 | + WORD bV5BitCount; | |
1529 | + DWORD bV5Compression; | |
1530 | + DWORD bV5SizeImage; | |
1531 | + LONG bV5XPelsPerMeter; | |
1532 | + LONG bV5YPelsPerMeter; | |
1533 | + DWORD bV5ClrUsed; | |
1534 | + DWORD bV5ClrImportant; | |
1535 | + DWORD bV5RedMask; | |
1536 | + DWORD bV5GreenMask; | |
1537 | + DWORD bV5BlueMask; | |
1538 | + DWORD bV5AlphaMask; | |
1539 | + DWORD bV5CSType; | |
1540 | + CIEXYZTRIPLE bV5Endpoints; | |
1541 | + DWORD bV5GammaRed; | |
1542 | + DWORD bV5GammaGreen; | |
1543 | + DWORD bV5GammaBlue; | |
1544 | + DWORD bV5Intent; | |
1545 | + DWORD bV5ProfileData; | |
1546 | + DWORD bV5ProfileSize; | |
1547 | + DWORD bV5Reserved; | |
1548 | +} BITMAPV5HEADER, *LPBITMAPV5HEADER, *PBITMAPV5HEADER; | |
1549 | + | |
1550 | +typedef struct tagFONTSIGNATURE | |
1551 | +{ DWORD fsUsb[4]; | |
1552 | + DWORD fsCsb[2]; | |
1553 | +} FONTSIGNATURE, *LPFONTSIGNATURE; | |
1554 | + | |
1555 | +typedef struct | |
1556 | +{ UINT ciCharset; | |
1557 | + UINT ciACP; | |
1558 | + FONTSIGNATURE fs; | |
1559 | +} CHARSETINFO, *LPCHARSETINFO; | |
1560 | + | |
1561 | +typedef struct tagCOLORADJUSTMENT | |
1562 | +{ WORD caSize; | |
1563 | + WORD caFlags; | |
1564 | + WORD caIlluminantIndex; | |
1565 | + WORD caRedGamma; | |
1566 | + WORD caGreenGamma; | |
1567 | + WORD caBlueGamma; | |
1568 | + WORD caReferenceBlack; | |
1569 | + WORD caReferenceWhite; | |
1570 | + SHORT caContrast; | |
1571 | + SHORT caBrightness; | |
1572 | + SHORT caColorfulness; | |
1573 | + SHORT caRedGreenTint; | |
1574 | +} COLORADJUSTMENT, *LPCOLORADJUSTMENT; | |
1575 | + | |
1576 | +typedef struct _devicemodeA | |
1577 | +{ BYTE dmDeviceName[CCHDEVICENAME]; | |
1578 | + WORD dmSpecVersion; | |
1579 | + WORD dmDriverVersion; | |
1580 | + WORD dmSize; | |
1581 | + WORD dmDriverExtra; | |
1582 | + DWORD dmFields; | |
1583 | + _ANONYMOUS_UNION union | |
1584 | + { _ANONYMOUS_STRUCT struct | |
1585 | + { short dmOrientation; | |
1586 | + short dmPaperSize; | |
1587 | + short dmPaperLength; | |
1588 | + short dmPaperWidth; | |
1589 | + short dmScale; | |
1590 | + short dmCopies; | |
1591 | + short dmDefaultSource; | |
1592 | + short dmPrintQuality; | |
1593 | + } DUMMYSTRUCTNAME; | |
1594 | + _ANONYMOUS_STRUCT struct | |
1595 | + { POINTL dmPosition; | |
1596 | + DWORD dmDisplayOrientation; | |
1597 | + DWORD dmDisplayFixedOutput; | |
1598 | + } DUMMYSTRUCTNAME2; | |
1599 | + } DUMMYUNIONNAME; | |
1600 | + | |
1601 | + short dmColor; | |
1602 | + short dmDuplex; | |
1603 | + short dmYResolution; | |
1604 | + short dmTTOption; | |
1605 | + short dmCollate; | |
1606 | + BYTE dmFormName[CCHFORMNAME]; | |
1607 | + WORD dmLogPixels; | |
1608 | + DWORD dmBitsPerPel; | |
1609 | + DWORD dmPelsWidth; | |
1610 | + DWORD dmPelsHeight; | |
1611 | + _ANONYMOUS_UNION union | |
1612 | + { DWORD dmDisplayFlags; | |
1613 | + DWORD dmNup; | |
1614 | + } DUMMYUNIONNAME2; | |
1615 | + | |
1616 | + DWORD dmDisplayFrequency; | |
1617 | + | |
1618 | +# if WINVER >= _WIN32_WINNT_NT4 /* also _WIN32_WINDOWS_95 */ | |
1619 | + | |
1620 | + DWORD dmICMMethod; | |
1621 | + DWORD dmICMIntent; | |
1622 | + DWORD dmMediaType; | |
1623 | + DWORD dmDitherType; | |
1624 | + DWORD dmReserved1; | |
1625 | + DWORD dmReserved2; | |
1626 | + | |
1627 | +# if WINVER >= _WIN32_WINNT_WIN2K || _WIN32_WINNT >= _WIN32_WINNT_NT4 | |
1628 | + | |
1629 | + DWORD dmPanningWidth; | |
1630 | + DWORD dmPanningHeight; | |
1631 | + | |
1632 | +# endif /* _WIN32_WINNT >= WinNT4 */ | |
1633 | +# endif /* WINVER >= WinNT4/Win95 */ | |
1634 | + | |
1635 | +} DEVMODEA, *LPDEVMODEA, *PDEVMODEA; | |
1636 | + | |
1637 | +typedef struct _devicemodeW | |
1638 | +{ WCHAR dmDeviceName[CCHDEVICENAME]; | |
1639 | + WORD dmSpecVersion; | |
1640 | + WORD dmDriverVersion; | |
1641 | + WORD dmSize; | |
1642 | + WORD dmDriverExtra; | |
1643 | + DWORD dmFields; | |
1644 | + _ANONYMOUS_UNION union | |
1645 | + { _ANONYMOUS_STRUCT struct | |
1646 | + { short dmOrientation; | |
1647 | + short dmPaperSize; | |
1648 | + short dmPaperLength; | |
1649 | + short dmPaperWidth; | |
1650 | + short dmScale; | |
1651 | + short dmCopies; | |
1652 | + short dmDefaultSource; | |
1653 | + short dmPrintQuality; | |
1654 | + } DUMMYSTRUCTNAME; | |
1655 | + _ANONYMOUS_STRUCT struct | |
1656 | + { POINTL dmPosition; | |
1657 | + DWORD dmDisplayOrientation; | |
1658 | + DWORD dmDisplayFixedOutput; | |
1659 | + } DUMMYSTRUCTNAME2; | |
1660 | + } DUMMYUNIONNAME; | |
1661 | + | |
1662 | + short dmColor; | |
1663 | + short dmDuplex; | |
1664 | + short dmYResolution; | |
1665 | + short dmTTOption; | |
1666 | + short dmCollate; | |
1667 | + WCHAR dmFormName[CCHFORMNAME]; | |
1668 | + WORD dmLogPixels; | |
1669 | + DWORD dmBitsPerPel; | |
1670 | + DWORD dmPelsWidth; | |
1671 | + DWORD dmPelsHeight; | |
1672 | + _ANONYMOUS_UNION union | |
1673 | + { DWORD dmDisplayFlags; | |
1674 | + DWORD dmNup; | |
1675 | + } DUMMYUNIONNAME2; | |
1676 | + | |
1677 | + DWORD dmDisplayFrequency; | |
1678 | + | |
1679 | +# if WINVER >= _WIN32_WINNT_NT4 /* also _WIN32_WINDOWS_95 */ | |
1680 | + | |
1681 | + DWORD dmICMMethod; | |
1682 | + DWORD dmICMIntent; | |
1683 | + DWORD dmMediaType; | |
1684 | + DWORD dmDitherType; | |
1685 | + DWORD dmReserved1; | |
1686 | + DWORD dmReserved2; | |
1687 | + | |
1688 | +# if WINVER >= _WIN32_WINNT_WIN2K || _WIN32_WINNT >= _WIN32_WINNT_NT4 | |
1689 | + | |
1690 | + DWORD dmPanningWidth; | |
1691 | + DWORD dmPanningHeight; | |
1692 | + | |
1693 | +# endif /* _WIN32_WINNT >= WinNT4 */ | |
1694 | +# endif /* WINVER >= WinNT4/Win95 */ | |
1695 | + | |
1696 | +} DEVMODEW, *LPDEVMODEW, *PDEVMODEW; | |
1697 | + | |
1698 | +typedef __AW_ALIAS__(DEVMODE), *PDEVMODE, *LPDEVMODE; | |
1699 | + | |
1700 | +typedef struct tagDIBSECTION | |
1701 | +{ BITMAP dsBm; | |
1702 | + BITMAPINFOHEADER dsBmih; | |
1703 | + DWORD dsBitfields[3]; | |
1704 | + HANDLE dshSection; | |
1705 | + DWORD dsOffset; | |
1602 | 1706 | } DIBSECTION; |
1603 | -typedef struct _DOCINFOA { | |
1604 | - int cbSize; | |
1605 | - LPCSTR lpszDocName; | |
1606 | - LPCSTR lpszOutput; | |
1607 | - LPCSTR lpszDatatype; | |
1608 | - DWORD fwType; | |
1609 | -} DOCINFOA,*LPDOCINFOA; | |
1610 | -typedef struct _DOCINFOW { | |
1611 | - int cbSize; | |
1612 | - LPCWSTR lpszDocName; | |
1613 | - LPCWSTR lpszOutput; | |
1614 | - LPCWSTR lpszDatatype; | |
1615 | - DWORD fwType; | |
1616 | -} DOCINFOW,*LPDOCINFOW; | |
1617 | -typedef struct tagEMR { | |
1618 | - DWORD iType; | |
1619 | - DWORD nSize; | |
1620 | -} EMR,*PEMR; | |
1621 | -typedef struct tagEMRANGLEARC { | |
1622 | - EMR emr; | |
1623 | - POINTL ptlCenter; | |
1624 | - DWORD nRadius; | |
1625 | - FLOAT eStartAngle; | |
1626 | - FLOAT eSweepAngle; | |
1627 | -} EMRANGLEARC,*PEMRANGLEARC; | |
1628 | -typedef struct tagEMRARC { | |
1629 | - EMR emr; | |
1630 | - RECTL rclBox; | |
1631 | - POINTL ptlStart; | |
1632 | - POINTL ptlEnd; | |
1633 | -} EMRARC,*PEMRARC,EMRARCTO,*PEMRARCTO,EMRCHORD,*PEMRCHORD,EMRPIE,*PEMRPIE; | |
1634 | -typedef struct _XFORM { | |
1635 | - FLOAT eM11; | |
1636 | - FLOAT eM12; | |
1637 | - FLOAT eM21; | |
1638 | - FLOAT eM22; | |
1639 | - FLOAT eDx; | |
1640 | - FLOAT eDy; | |
1641 | -} XFORM,*PXFORM,*LPXFORM; | |
1642 | -typedef struct tagEMRBITBLT { | |
1643 | - EMR emr; | |
1644 | - RECTL rclBounds; | |
1645 | - LONG xDest; | |
1646 | - LONG yDest; | |
1647 | - LONG cxDest; | |
1648 | - LONG cyDest; | |
1649 | - DWORD dwRop; | |
1650 | - LONG xSrc; | |
1651 | - LONG ySrc; | |
1652 | - XFORM xformSrc; | |
1653 | - COLORREF crBkColorSrc; | |
1654 | - DWORD iUsageSrc; | |
1655 | - DWORD offBmiSrc; | |
1656 | - DWORD offBitsSrc; | |
1657 | - DWORD cbBitsSrc; | |
1658 | -} EMRBITBLT,*PEMRBITBLT; | |
1659 | -typedef struct tagLOGBRUSH { | |
1660 | - UINT lbStyle; | |
1661 | - COLORREF lbColor; | |
1662 | - LONG lbHatch; | |
1663 | -} LOGBRUSH,*PLOGBRUSH,*LPLOGBRUSH; | |
1664 | -typedef LOGBRUSH PATTERN,*PPATTERN,*LPPATTERN; | |
1665 | -typedef struct tagEMRCREATEBRUSHINDIRECT { | |
1666 | - EMR emr; | |
1667 | - DWORD ihBrush; | |
1668 | - LOGBRUSH lb; | |
1669 | -} EMRCREATEBRUSHINDIRECT,*PEMRCREATEBRUSHINDIRECT; | |
1707 | + | |
1708 | +typedef struct _DOCINFOA | |
1709 | +{ int cbSize; | |
1710 | + LPCSTR lpszDocName; | |
1711 | + LPCSTR lpszOutput; | |
1712 | + LPCSTR lpszDatatype; | |
1713 | + DWORD fwType; | |
1714 | +} DOCINFOA, *LPDOCINFOA; | |
1715 | + | |
1716 | +typedef struct _DOCINFOW | |
1717 | +{ int cbSize; | |
1718 | + LPCWSTR lpszDocName; | |
1719 | + LPCWSTR lpszOutput; | |
1720 | + LPCWSTR lpszDatatype; | |
1721 | + DWORD fwType; | |
1722 | +} DOCINFOW, *LPDOCINFOW; | |
1723 | + | |
1724 | +typedef __AW_ALIAS__(DOCINFO), *LPDOCINFO; | |
1725 | + | |
1726 | +typedef struct tagEMR | |
1727 | +{ DWORD iType; | |
1728 | + DWORD nSize; | |
1729 | +} EMR, *PEMR; | |
1730 | + | |
1731 | +typedef struct tagEMRANGLEARC | |
1732 | +{ EMR emr; | |
1733 | + POINTL ptlCenter; | |
1734 | + DWORD nRadius; | |
1735 | + FLOAT eStartAngle; | |
1736 | + FLOAT eSweepAngle; | |
1737 | +} EMRANGLEARC, *PEMRANGLEARC; | |
1738 | + | |
1739 | +typedef struct tagEMRARC | |
1740 | +{ EMR emr; | |
1741 | + RECTL rclBox; | |
1742 | + POINTL ptlStart; | |
1743 | + POINTL ptlEnd; | |
1744 | +} EMRARC, *PEMRARC, EMRARCTO, *PEMRARCTO; | |
1745 | + | |
1746 | +typedef struct tagEMRARC EMRCHORD, *PEMRCHORD, EMRPIE, *PEMRPIE; | |
1747 | + | |
1748 | +typedef struct _XFORM | |
1749 | +{ FLOAT eM11; | |
1750 | + FLOAT eM12; | |
1751 | + FLOAT eM21; | |
1752 | + FLOAT eM22; | |
1753 | + FLOAT eDx; | |
1754 | + FLOAT eDy; | |
1755 | +} XFORM, *PXFORM, *LPXFORM; | |
1756 | + | |
1757 | +typedef struct tagEMRBITBLT | |
1758 | +{ EMR emr; | |
1759 | + RECTL rclBounds; | |
1760 | + LONG xDest; | |
1761 | + LONG yDest; | |
1762 | + LONG cxDest; | |
1763 | + LONG cyDest; | |
1764 | + DWORD dwRop; | |
1765 | + LONG xSrc; | |
1766 | + LONG ySrc; | |
1767 | + XFORM xformSrc; | |
1768 | + COLORREF crBkColorSrc; | |
1769 | + DWORD iUsageSrc; | |
1770 | + DWORD offBmiSrc; | |
1771 | + DWORD offBitsSrc; | |
1772 | + DWORD cbBitsSrc; | |
1773 | +} EMRBITBLT, *PEMRBITBLT; | |
1774 | + | |
1775 | +typedef struct tagLOGBRUSH | |
1776 | +{ UINT lbStyle; | |
1777 | + COLORREF lbColor; | |
1778 | + LONG lbHatch; | |
1779 | +} LOGBRUSH, *PLOGBRUSH, *LPLOGBRUSH; | |
1780 | +typedef LOGBRUSH PATTERN, *PPATTERN, *LPPATTERN; | |
1781 | + | |
1782 | +typedef struct tagEMRCREATEBRUSHINDIRECT | |
1783 | +{ EMR emr; | |
1784 | + DWORD ihBrush; | |
1785 | + LOGBRUSH lb; | |
1786 | +} EMRCREATEBRUSHINDIRECT, *PEMRCREATEBRUSHINDIRECT; | |
1670 | 1787 | typedef LONG LCSCSTYPE; |
1671 | 1788 | typedef LONG LCSGAMUTMATCH; |
1672 | -typedef struct tagLOGCOLORSPACEA { | |
1673 | - DWORD lcsSignature; | |
1674 | - DWORD lcsVersion; | |
1675 | - DWORD lcsSize; | |
1676 | - LCSCSTYPE lcsCSType; | |
1677 | - LCSGAMUTMATCH lcsIntent; | |
1678 | - CIEXYZTRIPLE lcsEndpoints; | |
1679 | - DWORD lcsGammaRed; | |
1680 | - DWORD lcsGammaGreen; | |
1681 | - DWORD lcsGammaBlue; | |
1682 | - CHAR lcsFilename[MAX_PATH]; | |
1683 | -} LOGCOLORSPACEA,*LPLOGCOLORSPACEA; | |
1684 | -typedef struct tagLOGCOLORSPACEW { | |
1685 | - DWORD lcsSignature; | |
1686 | - DWORD lcsVersion; | |
1687 | - DWORD lcsSize; | |
1688 | - LCSCSTYPE lcsCSType; | |
1689 | - LCSGAMUTMATCH lcsIntent; | |
1690 | - CIEXYZTRIPLE lcsEndpoints; | |
1691 | - DWORD lcsGammaRed; | |
1692 | - DWORD lcsGammaGreen; | |
1693 | - DWORD lcsGammaBlue; | |
1694 | - WCHAR lcsFilename[MAX_PATH]; | |
1695 | -} LOGCOLORSPACEW,*LPLOGCOLORSPACEW; | |
1696 | -typedef struct tagEMRCREATECOLORSPACE { | |
1697 | - EMR emr; | |
1698 | - DWORD ihCS; | |
1699 | - LOGCOLORSPACEW lcs; | |
1700 | -} EMRCREATECOLORSPACE,*PEMRCREATECOLORSPACE; | |
1701 | -typedef struct tagEMRCREATEDIBPATTERNBRUSHPT { | |
1702 | - EMR emr; | |
1703 | - DWORD ihBrush; | |
1704 | - DWORD iUsage; | |
1705 | - DWORD offBmi; | |
1706 | - DWORD cbBmi; | |
1707 | - DWORD offBits; | |
1708 | - DWORD cbBits; | |
1709 | -} EMRCREATEDIBPATTERNBRUSHPT,*PEMRCREATEDIBPATTERNBRUSHPT; | |
1710 | -typedef struct tagEMRCREATEMONOBRUSH { | |
1711 | - EMR emr; | |
1712 | - DWORD ihBrush; | |
1713 | - DWORD iUsage; | |
1714 | - DWORD offBmi; | |
1715 | - DWORD cbBmi; | |
1716 | - DWORD offBits; | |
1717 | - DWORD cbBits; | |
1718 | -} EMRCREATEMONOBRUSH,*PEMRCREATEMONOBRUSH; | |
1719 | -typedef struct tagPALETTEENTRY { | |
1720 | - BYTE peRed; | |
1721 | - BYTE peGreen; | |
1722 | - BYTE peBlue; | |
1723 | - BYTE peFlags; | |
1724 | -} PALETTEENTRY,*LPPALETTEENTRY,*PPALETTEENTRY; | |
1725 | -typedef struct tagLOGPALETTE { | |
1726 | - WORD palVersion; | |
1727 | - WORD palNumEntries; | |
1728 | - PALETTEENTRY palPalEntry[1]; | |
1729 | -} LOGPALETTE,*NPLOGPALETTE,*PLOGPALETTE,*LPLOGPALETTE; | |
1730 | -typedef struct tagEMRCREATEPALETTE { | |
1731 | - EMR emr; | |
1732 | - DWORD ihPal; | |
1733 | - LOGPALETTE lgpl; | |
1734 | -} EMRCREATEPALETTE,*PEMRCREATEPALETTE; | |
1735 | -typedef struct tagLOGPEN { | |
1736 | - UINT lopnStyle; | |
1737 | - POINT lopnWidth; | |
1738 | - COLORREF lopnColor; | |
1739 | -} LOGPEN,*PLOGPEN,*LPLOGPEN; | |
1740 | -typedef struct tagEMRCREATEPEN { | |
1741 | - EMR emr; | |
1742 | - DWORD ihPen; | |
1743 | - LOGPEN lopn; | |
1744 | -} EMRCREATEPEN,*PEMRCREATEPEN; | |
1745 | -typedef struct tagEMRELLIPSE { | |
1746 | - EMR emr; | |
1747 | - RECTL rclBox; | |
1748 | -} EMRELLIPSE,*PEMRELLIPSE,EMRRECTANGLE,*PEMRRECTANGLE; | |
1749 | -typedef struct tagEMREOF { | |
1750 | - EMR emr; | |
1751 | - DWORD nPalEntries; | |
1752 | - DWORD offPalEntries; | |
1753 | - DWORD nSizeLast; | |
1754 | -} EMREOF,*PEMREOF; | |
1755 | -typedef struct tagEMREXCLUDECLIPRECT { | |
1756 | - EMR emr; | |
1757 | - RECTL rclClip; | |
1758 | -} EMREXCLUDECLIPRECT,*PEMREXCLUDECLIPRECT,EMRINTERSECTCLIPRECT,*PEMRINTERSECTCLIPRECT; | |
1759 | -typedef struct tagPANOSE { | |
1760 | - BYTE bFamilyType; | |
1761 | - BYTE bSerifStyle; | |
1762 | - BYTE bWeight; | |
1763 | - BYTE bProportion; | |
1764 | - BYTE bContrast; | |
1765 | - BYTE bStrokeVariation; | |
1766 | - BYTE bArmStyle; | |
1767 | - BYTE bLetterform; | |
1768 | - BYTE bMidline; | |
1769 | - BYTE bXHeight; | |
1789 | + | |
1790 | +typedef struct tagLOGCOLORSPACEA | |
1791 | +{ DWORD lcsSignature; | |
1792 | + DWORD lcsVersion; | |
1793 | + DWORD lcsSize; | |
1794 | + LCSCSTYPE lcsCSType; | |
1795 | + LCSGAMUTMATCH lcsIntent; | |
1796 | + CIEXYZTRIPLE lcsEndpoints; | |
1797 | + DWORD lcsGammaRed; | |
1798 | + DWORD lcsGammaGreen; | |
1799 | + DWORD lcsGammaBlue; | |
1800 | + CHAR lcsFilename[MAX_PATH]; | |
1801 | +} LOGCOLORSPACEA, *LPLOGCOLORSPACEA; | |
1802 | + | |
1803 | +typedef struct tagLOGCOLORSPACEW | |
1804 | +{ DWORD lcsSignature; | |
1805 | + DWORD lcsVersion; | |
1806 | + DWORD lcsSize; | |
1807 | + LCSCSTYPE lcsCSType; | |
1808 | + LCSGAMUTMATCH lcsIntent; | |
1809 | + CIEXYZTRIPLE lcsEndpoints; | |
1810 | + DWORD lcsGammaRed; | |
1811 | + DWORD lcsGammaGreen; | |
1812 | + DWORD lcsGammaBlue; | |
1813 | + WCHAR lcsFilename[MAX_PATH]; | |
1814 | +} LOGCOLORSPACEW, *LPLOGCOLORSPACEW; | |
1815 | + | |
1816 | +typedef __AW_ALIAS__(LOGCOLORSPACE), *LPLOGCOLORSPACE; | |
1817 | + | |
1818 | +typedef struct tagEMRCREATECOLORSPACE | |
1819 | +{ EMR emr; | |
1820 | + DWORD ihCS; | |
1821 | + LOGCOLORSPACEW lcs; | |
1822 | +} EMRCREATECOLORSPACE, *PEMRCREATECOLORSPACE; | |
1823 | + | |
1824 | +typedef struct tagEMRCREATEDIBPATTERNBRUSHPT | |
1825 | +{ EMR emr; | |
1826 | + DWORD ihBrush; | |
1827 | + DWORD iUsage; | |
1828 | + DWORD offBmi; | |
1829 | + DWORD cbBmi; | |
1830 | + DWORD offBits; | |
1831 | + DWORD cbBits; | |
1832 | +} EMRCREATEDIBPATTERNBRUSHPT, *PEMRCREATEDIBPATTERNBRUSHPT; | |
1833 | + | |
1834 | +typedef struct tagEMRCREATEMONOBRUSH | |
1835 | +{ EMR emr; | |
1836 | + DWORD ihBrush; | |
1837 | + DWORD iUsage; | |
1838 | + DWORD offBmi; | |
1839 | + DWORD cbBmi; | |
1840 | + DWORD offBits; | |
1841 | + DWORD cbBits; | |
1842 | +} EMRCREATEMONOBRUSH, *PEMRCREATEMONOBRUSH; | |
1843 | + | |
1844 | +typedef struct tagPALETTEENTRY | |
1845 | +{ BYTE peRed; | |
1846 | + BYTE peGreen; | |
1847 | + BYTE peBlue; | |
1848 | + BYTE peFlags; | |
1849 | +} PALETTEENTRY, *LPPALETTEENTRY, *PPALETTEENTRY; | |
1850 | + | |
1851 | +typedef struct tagLOGPALETTE | |
1852 | +{ WORD palVersion; | |
1853 | + WORD palNumEntries; | |
1854 | + PALETTEENTRY palPalEntry[1]; | |
1855 | +} LOGPALETTE, *NPLOGPALETTE, *PLOGPALETTE, *LPLOGPALETTE; | |
1856 | + | |
1857 | +typedef struct tagEMRCREATEPALETTE | |
1858 | +{ EMR emr; | |
1859 | + DWORD ihPal; | |
1860 | + LOGPALETTE lgpl; | |
1861 | +} EMRCREATEPALETTE, *PEMRCREATEPALETTE; | |
1862 | + | |
1863 | +typedef struct tagLOGPEN | |
1864 | +{ UINT lopnStyle; | |
1865 | + POINT lopnWidth; | |
1866 | + COLORREF lopnColor; | |
1867 | +} LOGPEN, *PLOGPEN, *LPLOGPEN; | |
1868 | + | |
1869 | +typedef struct tagEMRCREATEPEN | |
1870 | +{ EMR emr; | |
1871 | + DWORD ihPen; | |
1872 | + LOGPEN lopn; | |
1873 | +} EMRCREATEPEN, *PEMRCREATEPEN; | |
1874 | + | |
1875 | +typedef struct tagEMRELLIPSE | |
1876 | +{ EMR emr; | |
1877 | + RECTL rclBox; | |
1878 | +} EMRELLIPSE, *PEMRELLIPSE, EMRRECTANGLE, *PEMRRECTANGLE; | |
1879 | + | |
1880 | +typedef struct tagEMREOF | |
1881 | +{ EMR emr; | |
1882 | + DWORD nPalEntries; | |
1883 | + DWORD offPalEntries; | |
1884 | + DWORD nSizeLast; | |
1885 | +} EMREOF, *PEMREOF; | |
1886 | + | |
1887 | +typedef struct tagEMREXCLUDECLIPRECT | |
1888 | +{ EMR emr; | |
1889 | + RECTL rclClip; | |
1890 | +} EMREXCLUDECLIPRECT, *PEMREXCLUDECLIPRECT; | |
1891 | + | |
1892 | +typedef struct tagEMREXCLUDECLIPRECT EMRINTERSECTCLIPRECT; | |
1893 | +typedef struct tagEMREXCLUDECLIPRECT *PEMRINTERSECTCLIPRECT; | |
1894 | + | |
1895 | +typedef struct tagPANOSE | |
1896 | +{ BYTE bFamilyType; | |
1897 | + BYTE bSerifStyle; | |
1898 | + BYTE bWeight; | |
1899 | + BYTE bProportion; | |
1900 | + BYTE bContrast; | |
1901 | + BYTE bStrokeVariation; | |
1902 | + BYTE bArmStyle; | |
1903 | + BYTE bLetterform; | |
1904 | + BYTE bMidline; | |
1905 | + BYTE bXHeight; | |
1770 | 1906 | } PANOSE; |
1771 | -typedef struct tagLOGFONTA { | |
1772 | - LONG lfHeight; | |
1773 | - LONG lfWidth; | |
1774 | - LONG lfEscapement; | |
1775 | - LONG lfOrientation; | |
1776 | - LONG lfWeight; | |
1777 | - BYTE lfItalic; | |
1778 | - BYTE lfUnderline; | |
1779 | - BYTE lfStrikeOut; | |
1780 | - BYTE lfCharSet; | |
1781 | - BYTE lfOutPrecision; | |
1782 | - BYTE lfClipPrecision; | |
1783 | - BYTE lfQuality; | |
1784 | - BYTE lfPitchAndFamily; | |
1785 | - CHAR lfFaceName[LF_FACESIZE]; | |
1786 | -} LOGFONTA,*PLOGFONTA,*LPLOGFONTA; | |
1787 | -typedef struct tagLOGFONTW { | |
1788 | - LONG lfHeight; | |
1789 | - LONG lfWidth; | |
1790 | - LONG lfEscapement; | |
1791 | - LONG lfOrientation; | |
1792 | - LONG lfWeight; | |
1793 | - BYTE lfItalic; | |
1794 | - BYTE lfUnderline; | |
1795 | - BYTE lfStrikeOut; | |
1796 | - BYTE lfCharSet; | |
1797 | - BYTE lfOutPrecision; | |
1798 | - BYTE lfClipPrecision; | |
1799 | - BYTE lfQuality; | |
1800 | - BYTE lfPitchAndFamily; | |
1801 | - WCHAR lfFaceName[LF_FACESIZE]; | |
1802 | -} LOGFONTW,*PLOGFONTW,*LPLOGFONTW; | |
1803 | -typedef struct tagEXTLOGFONTA { | |
1804 | - LOGFONTA elfLogFont; | |
1805 | - BYTE elfFullName[LF_FULLFACESIZE]; | |
1806 | - BYTE elfStyle[LF_FACESIZE]; | |
1807 | - DWORD elfVersion; | |
1808 | - DWORD elfStyleSize; | |
1809 | - DWORD elfMatch; | |
1810 | - DWORD elfReserved; | |
1811 | - BYTE elfVendorId[ELF_VENDOR_SIZE]; | |
1812 | - DWORD elfCulture; | |
1813 | - PANOSE elfPanose; | |
1814 | -} EXTLOGFONTA,*PEXTLOGFONTA,*LPEXTLOGFONTA; | |
1815 | -typedef struct tagEXTLOGFONTW { | |
1816 | - LOGFONTW elfLogFont; | |
1817 | - WCHAR elfFullName[LF_FULLFACESIZE]; | |
1818 | - WCHAR elfStyle[LF_FACESIZE]; | |
1819 | - DWORD elfVersion; | |
1820 | - DWORD elfStyleSize; | |
1821 | - DWORD elfMatch; | |
1822 | - DWORD elfReserved; | |
1823 | - BYTE elfVendorId[ELF_VENDOR_SIZE]; | |
1824 | - DWORD elfCulture; | |
1825 | - PANOSE elfPanose; | |
1826 | -} EXTLOGFONTW,*PEXTLOGFONTW,*LPEXTLOGFONTW; | |
1827 | -typedef struct tagEMREXTCREATEFONTINDIRECTW { | |
1828 | - EMR emr; | |
1829 | - DWORD ihFont; | |
1830 | - EXTLOGFONTW elfw; | |
1831 | -} EMREXTCREATEFONTINDIRECTW,*PEMREXTCREATEFONTINDIRECTW; | |
1832 | -typedef struct tagEXTLOGPEN { | |
1833 | - UINT elpPenStyle; | |
1834 | - UINT elpWidth; | |
1835 | - UINT elpBrushStyle; | |
1836 | - COLORREF elpColor; | |
1837 | - LONG elpHatch; | |
1838 | - DWORD elpNumEntries; | |
1839 | - DWORD elpStyleEntry[1]; | |
1840 | -} EXTLOGPEN,*PEXTLOGPEN,*LPEXTLOGPEN; | |
1841 | -typedef struct tagEMREXTCREATEPEN { | |
1842 | - EMR emr; | |
1843 | - DWORD ihPen; | |
1844 | - DWORD offBmi; | |
1845 | - DWORD cbBmi; | |
1846 | - DWORD offBits; | |
1847 | - DWORD cbBits; | |
1848 | - EXTLOGPEN elp; | |
1849 | -} EMREXTCREATEPEN,*PEMREXTCREATEPEN; | |
1850 | -typedef struct tagEMREXTFLOODFILL { | |
1851 | - EMR emr; | |
1852 | - POINTL ptlStart; | |
1853 | - COLORREF crColor; | |
1854 | - DWORD iMode; | |
1855 | -} EMREXTFLOODFILL,*PEMREXTFLOODFILL; | |
1856 | -typedef struct tagEMREXTSELECTCLIPRGN { | |
1857 | - EMR emr; | |
1858 | - DWORD cbRgnData; | |
1859 | - DWORD iMode; | |
1860 | - BYTE RgnData[1]; | |
1861 | -} EMREXTSELECTCLIPRGN,*PEMREXTSELECTCLIPRGN; | |
1862 | -typedef struct tagEMRTEXT { | |
1863 | - POINTL ptlReference; | |
1864 | - DWORD nChars; | |
1865 | - DWORD offString; | |
1866 | - DWORD fOptions; | |
1867 | - RECTL rcl; | |
1868 | - DWORD offDx; | |
1869 | -} EMRTEXT,*PEMRTEXT; | |
1870 | -typedef struct tagEMREXTTEXTOUTA { | |
1871 | - EMR emr; | |
1872 | - RECTL rclBounds; | |
1873 | - DWORD iGraphicsMode; | |
1874 | - FLOAT exScale; | |
1875 | - FLOAT eyScale; | |
1876 | - EMRTEXT emrtext; | |
1877 | -} EMREXTTEXTOUTA,*PEMREXTTEXTOUTA,EMREXTTEXTOUTW,*PEMREXTTEXTOUTW; | |
1878 | -typedef struct tagEMRFILLPATH { | |
1879 | - EMR emr; | |
1880 | - RECTL rclBounds; | |
1881 | -} EMRFILLPATH,*PEMRFILLPATH,EMRSTROKEANDFILLPATH,*PEMRSTROKEANDFILLPATH,EMRSTROKEPATH,*PEMRSTROKEPATH; | |
1882 | -typedef struct tagEMRFILLRGN { | |
1883 | - EMR emr; | |
1884 | - RECTL rclBounds; | |
1885 | - DWORD cbRgnData; | |
1886 | - DWORD ihBrush; | |
1887 | - BYTE RgnData[1]; | |
1888 | -} EMRFILLRGN,*PEMRFILLRGN; | |
1889 | -typedef struct tagEMRFORMAT { | |
1890 | - DWORD dSignature; | |
1891 | - DWORD nVersion; | |
1892 | - DWORD cbData; | |
1893 | - DWORD offData; | |
1907 | + | |
1908 | +typedef struct tagLOGFONTA | |
1909 | +{ LONG lfHeight; | |
1910 | + LONG lfWidth; | |
1911 | + LONG lfEscapement; | |
1912 | + LONG lfOrientation; | |
1913 | + LONG lfWeight; | |
1914 | + BYTE lfItalic; | |
1915 | + BYTE lfUnderline; | |
1916 | + BYTE lfStrikeOut; | |
1917 | + BYTE lfCharSet; | |
1918 | + BYTE lfOutPrecision; | |
1919 | + BYTE lfClipPrecision; | |
1920 | + BYTE lfQuality; | |
1921 | + BYTE lfPitchAndFamily; | |
1922 | + CHAR lfFaceName[LF_FACESIZE]; | |
1923 | +} LOGFONTA, *PLOGFONTA, *LPLOGFONTA; | |
1924 | + | |
1925 | +typedef struct tagLOGFONTW | |
1926 | +{ LONG lfHeight; | |
1927 | + LONG lfWidth; | |
1928 | + LONG lfEscapement; | |
1929 | + LONG lfOrientation; | |
1930 | + LONG lfWeight; | |
1931 | + BYTE lfItalic; | |
1932 | + BYTE lfUnderline; | |
1933 | + BYTE lfStrikeOut; | |
1934 | + BYTE lfCharSet; | |
1935 | + BYTE lfOutPrecision; | |
1936 | + BYTE lfClipPrecision; | |
1937 | + BYTE lfQuality; | |
1938 | + BYTE lfPitchAndFamily; | |
1939 | + WCHAR lfFaceName[LF_FACESIZE]; | |
1940 | +} LOGFONTW, *PLOGFONTW, *LPLOGFONTW; | |
1941 | + | |
1942 | +typedef __AW_ALIAS__(LOGFONT), *PLOGFONT, *LPLOGFONT; | |
1943 | + | |
1944 | +typedef struct tagEXTLOGFONTA | |
1945 | +{ LOGFONTA elfLogFont; | |
1946 | + BYTE elfFullName[LF_FULLFACESIZE]; | |
1947 | + BYTE elfStyle[LF_FACESIZE]; | |
1948 | + DWORD elfVersion; | |
1949 | + DWORD elfStyleSize; | |
1950 | + DWORD elfMatch; | |
1951 | + DWORD elfReserved; | |
1952 | + BYTE elfVendorId[ELF_VENDOR_SIZE]; | |
1953 | + DWORD elfCulture; | |
1954 | + PANOSE elfPanose; | |
1955 | +} EXTLOGFONTA, *PEXTLOGFONTA, *LPEXTLOGFONTA; | |
1956 | + | |
1957 | +typedef struct tagEXTLOGFONTW | |
1958 | +{ LOGFONTW elfLogFont; | |
1959 | + WCHAR elfFullName[LF_FULLFACESIZE]; | |
1960 | + WCHAR elfStyle[LF_FACESIZE]; | |
1961 | + DWORD elfVersion; | |
1962 | + DWORD elfStyleSize; | |
1963 | + DWORD elfMatch; | |
1964 | + DWORD elfReserved; | |
1965 | + BYTE elfVendorId[ELF_VENDOR_SIZE]; | |
1966 | + DWORD elfCulture; | |
1967 | + PANOSE elfPanose; | |
1968 | +} EXTLOGFONTW, *PEXTLOGFONTW, *LPEXTLOGFONTW; | |
1969 | + | |
1970 | +typedef __AW_ALIAS__(EXTLOGFONT), *PEXTLOGFONT, *LPEXTLOGFONT; | |
1971 | + | |
1972 | +typedef struct tagEMREXTCREATEFONTINDIRECTW | |
1973 | +{ EMR emr; | |
1974 | + DWORD ihFont; | |
1975 | + EXTLOGFONTW elfw; | |
1976 | +} EMREXTCREATEFONTINDIRECTW, *PEMREXTCREATEFONTINDIRECTW; | |
1977 | + | |
1978 | +typedef struct tagEXTLOGPEN | |
1979 | +{ UINT elpPenStyle; | |
1980 | + UINT elpWidth; | |
1981 | + UINT elpBrushStyle; | |
1982 | + COLORREF elpColor; | |
1983 | + LONG elpHatch; | |
1984 | + DWORD elpNumEntries; | |
1985 | + DWORD elpStyleEntry[1]; | |
1986 | +} EXTLOGPEN, *PEXTLOGPEN, *LPEXTLOGPEN; | |
1987 | + | |
1988 | +typedef struct tagEMREXTCREATEPEN | |
1989 | +{ EMR emr; | |
1990 | + DWORD ihPen; | |
1991 | + DWORD offBmi; | |
1992 | + DWORD cbBmi; | |
1993 | + DWORD offBits; | |
1994 | + DWORD cbBits; | |
1995 | + EXTLOGPEN elp; | |
1996 | +} EMREXTCREATEPEN, *PEMREXTCREATEPEN; | |
1997 | + | |
1998 | +typedef struct tagEMREXTFLOODFILL | |
1999 | +{ EMR emr; | |
2000 | + POINTL ptlStart; | |
2001 | + COLORREF crColor; | |
2002 | + DWORD iMode; | |
2003 | +} EMREXTFLOODFILL, *PEMREXTFLOODFILL; | |
2004 | + | |
2005 | +typedef struct tagEMREXTSELECTCLIPRGN | |
2006 | +{ EMR emr; | |
2007 | + DWORD cbRgnData; | |
2008 | + DWORD iMode; | |
2009 | + BYTE RgnData[1]; | |
2010 | +} EMREXTSELECTCLIPRGN, *PEMREXTSELECTCLIPRGN; | |
2011 | + | |
2012 | +typedef struct tagEMRTEXT | |
2013 | +{ POINTL ptlReference; | |
2014 | + DWORD nChars; | |
2015 | + DWORD offString; | |
2016 | + DWORD fOptions; | |
2017 | + RECTL rcl; | |
2018 | + DWORD offDx; | |
2019 | +} EMRTEXT, *PEMRTEXT; | |
2020 | + | |
2021 | +typedef struct tagEMREXTTEXTOUTA | |
2022 | +{ EMR emr; | |
2023 | + RECTL rclBounds; | |
2024 | + DWORD iGraphicsMode; | |
2025 | + FLOAT exScale; | |
2026 | + FLOAT eyScale; | |
2027 | + EMRTEXT emrtext; | |
2028 | +} EMREXTTEXTOUTA, *PEMREXTTEXTOUTA, EMREXTTEXTOUTW, *PEMREXTTEXTOUTW; | |
2029 | + | |
2030 | +typedef struct tagEMRFILLPATH | |
2031 | +{ EMR emr; | |
2032 | + RECTL rclBounds; | |
2033 | +} EMRFILLPATH, *PEMRFILLPATH, EMRSTROKEANDFILLPATH, *PEMRSTROKEANDFILLPATH; | |
2034 | + | |
2035 | +typedef struct tagEMRFILLPATH EMRSTROKEPATH, *PEMRSTROKEPATH; | |
2036 | + | |
2037 | +typedef struct tagEMRFILLRGN | |
2038 | +{ EMR emr; | |
2039 | + RECTL rclBounds; | |
2040 | + DWORD cbRgnData; | |
2041 | + DWORD ihBrush; | |
2042 | + BYTE RgnData[1]; | |
2043 | +} EMRFILLRGN, *PEMRFILLRGN; | |
2044 | + | |
2045 | +typedef struct tagEMRFORMAT | |
2046 | +{ DWORD dSignature; | |
2047 | + DWORD nVersion; | |
2048 | + DWORD cbData; | |
2049 | + DWORD offData; | |
1894 | 2050 | } EMRFORMAT; |
1895 | -typedef struct tagEMRFRAMERGN { | |
1896 | - EMR emr; | |
1897 | - RECTL rclBounds; | |
1898 | - DWORD cbRgnData; | |
1899 | - DWORD ihBrush; | |
1900 | - SIZEL szlStroke; | |
1901 | - BYTE RgnData[1]; | |
1902 | -} EMRFRAMERGN,*PEMRFRAMERGN; | |
1903 | -typedef struct tagEMRGDICOMMENT { | |
1904 | - EMR emr; | |
1905 | - DWORD cbData; | |
1906 | - BYTE Data[1]; | |
1907 | -} EMRGDICOMMENT,*PEMRGDICOMMENT; | |
1908 | -typedef struct tagEMRINVERTRGN { | |
1909 | - EMR emr; | |
1910 | - RECTL rclBounds; | |
1911 | - DWORD cbRgnData; | |
1912 | - BYTE RgnData[1]; | |
1913 | -} EMRINVERTRGN,*PEMRINVERTRGN,EMRPAINTRGN,*PEMRPAINTRGN; | |
1914 | -typedef struct tagEMRLINETO { | |
1915 | - EMR emr; | |
1916 | - POINTL ptl; | |
1917 | -} EMRLINETO,*PEMRLINETO,EMRMOVETOEX,*PEMRMOVETOEX; | |
1918 | -typedef struct tagEMRMASKBLT { | |
1919 | - EMR emr; | |
1920 | - RECTL rclBounds; | |
1921 | - LONG xDest; | |
1922 | - LONG yDest; | |
1923 | - LONG cxDest; | |
1924 | - LONG cyDest; | |
1925 | - DWORD dwRop; | |
1926 | - LONG xSrc; | |
1927 | - LONG ySrc; | |
1928 | - XFORM xformSrc; | |
1929 | - COLORREF crBkColorSrc; | |
1930 | - DWORD iUsageSrc; | |
1931 | - DWORD offBmiSrc; | |
1932 | - DWORD cbBmiSrc; | |
1933 | - DWORD offBitsSrc; | |
1934 | - DWORD cbBitsSrc; | |
1935 | - LONG xMask; | |
1936 | - LONG yMask; | |
1937 | - DWORD iUsageMask; | |
1938 | - DWORD offBmiMask; | |
1939 | - DWORD cbBmiMask; | |
1940 | - DWORD offBitsMask; | |
1941 | - DWORD cbBitsMask; | |
1942 | -} EMRMASKBLT,*PEMRMASKBLT; | |
1943 | -typedef struct tagEMRMODIFYWORLDTRANSFORM { | |
1944 | - EMR emr; | |
1945 | - XFORM xform; | |
1946 | - DWORD iMode; | |
1947 | -} EMRMODIFYWORLDTRANSFORM,*PEMRMODIFYWORLDTRANSFORM; | |
1948 | -typedef struct tagEMROFFSETCLIPRGN { | |
1949 | - EMR emr; | |
1950 | - POINTL ptlOffset; | |
1951 | -} EMROFFSETCLIPRGN,*PEMROFFSETCLIPRGN; | |
1952 | -typedef struct tagEMRPLGBLT { | |
1953 | - EMR emr; | |
1954 | - RECTL rclBounds; | |
1955 | - POINTL aptlDest[3]; | |
1956 | - LONG xSrc; | |
1957 | - LONG ySrc; | |
1958 | - LONG cxSrc; | |
1959 | - LONG cySrc; | |
1960 | - XFORM xformSrc; | |
1961 | - COLORREF crBkColorSrc; | |
1962 | - DWORD iUsageSrc; | |
1963 | - DWORD offBmiSrc; | |
1964 | - DWORD cbBmiSrc; | |
1965 | - DWORD offBitsSrc; | |
1966 | - DWORD cbBitsSrc; | |
1967 | - LONG xMask; | |
1968 | - LONG yMask; | |
1969 | - DWORD iUsageMask; | |
1970 | - DWORD offBmiMask; | |
1971 | - DWORD cbBmiMask; | |
1972 | - DWORD offBitsMask; | |
1973 | - DWORD cbBitsMask; | |
1974 | -} EMRPLGBLT,*PEMRPLGBLT; | |
1975 | -typedef struct tagEMRPOLYDRAW { | |
1976 | - EMR emr; | |
1977 | - RECTL rclBounds; | |
1978 | - DWORD cptl; | |
1979 | - POINTL aptl[1]; | |
1980 | - BYTE abTypes[1]; | |
1981 | -} EMRPOLYDRAW,*PEMRPOLYDRAW; | |
1982 | -typedef struct tagEMRPOLYDRAW16 { | |
1983 | - EMR emr; | |
1984 | - RECTL rclBounds; | |
1985 | - DWORD cpts; | |
1986 | - POINTS apts[1]; | |
1987 | - BYTE abTypes[1]; | |
1988 | -} EMRPOLYDRAW16,*PEMRPOLYDRAW16; | |
1989 | -typedef struct tagEMRPOLYLINE { | |
1990 | - EMR emr; | |
1991 | - RECTL rclBounds; | |
1992 | - DWORD cptl; | |
1993 | - POINTL aptl[1]; | |
1994 | -} EMRPOLYLINE,*PEMRPOLYLINE,EMRPOLYBEZIER,*PEMRPOLYBEZIER,EMRPOLYGON,*PEMRPOLYGON,EMRPOLYBEZIERTO,*PEMRPOLYBEZIERTO,EMRPOLYLINETO,*PEMRPOLYLINETO; | |
1995 | -typedef struct tagEMRPOLYLINE16 { | |
1996 | - EMR emr; | |
1997 | - RECTL rclBounds; | |
1998 | - DWORD cpts; | |
1999 | - POINTL apts[1]; | |
2000 | -} EMRPOLYLINE16,*PEMRPOLYLINE16,EMRPOLYBEZIER16,*PEMRPOLYBEZIER16,EMRPOLYGON16,*PEMRPOLYGON16,EMRPOLYBEZIERTO16,*PEMRPOLYBEZIERTO16,EMRPOLYLINETO16,*PEMRPOLYLINETO16; | |
2001 | -typedef struct tagEMRPOLYPOLYLINE { | |
2002 | - EMR emr; | |
2003 | - RECTL rclBounds; | |
2004 | - DWORD nPolys; | |
2005 | - DWORD cptl; | |
2006 | - DWORD aPolyCounts[1]; | |
2007 | - POINTL aptl[1]; | |
2008 | -} EMRPOLYPOLYLINE,*PEMRPOLYPOLYLINE,EMRPOLYPOLYGON,*PEMRPOLYPOLYGON; | |
2009 | -typedef struct tagEMRPOLYPOLYLINE16 { | |
2010 | - EMR emr; | |
2011 | - RECTL rclBounds; | |
2012 | - DWORD nPolys; | |
2013 | - DWORD cpts; | |
2014 | - DWORD aPolyCounts[1]; | |
2015 | - POINTS apts[1]; | |
2016 | -} EMRPOLYPOLYLINE16,*PEMRPOLYPOLYLINE16,EMRPOLYPOLYGON16,*PEMRPOLYPOLYGON16; | |
2017 | -typedef struct tagEMRPOLYTEXTOUTA { | |
2018 | - EMR emr; | |
2019 | - RECTL rclBounds; | |
2020 | - DWORD iGraphicsMode; | |
2021 | - FLOAT exScale; | |
2022 | - FLOAT eyScale; | |
2023 | - LONG cStrings; | |
2024 | - EMRTEXT aemrtext[1]; | |
2025 | -} EMRPOLYTEXTOUTA,*PEMRPOLYTEXTOUTA,EMRPOLYTEXTOUTW,*PEMRPOLYTEXTOUTW; | |
2026 | -typedef struct tagEMRRESIZEPALETTE { | |
2027 | - EMR emr; | |
2028 | - DWORD ihPal; | |
2029 | - DWORD cEntries; | |
2030 | -} EMRRESIZEPALETTE,*PEMRRESIZEPALETTE; | |
2031 | -typedef struct tagEMRRESTOREDC { | |
2032 | - EMR emr; | |
2033 | - LONG iRelative; | |
2034 | -} EMRRESTOREDC,*PEMRRESTOREDC; | |
2035 | -typedef struct tagEMRROUNDRECT { | |
2036 | - EMR emr; | |
2037 | - RECTL rclBox; | |
2038 | - SIZEL szlCorner; | |
2039 | -} EMRROUNDRECT,*PEMRROUNDRECT; | |
2040 | -typedef struct tagEMRSCALEVIEWPORTEXTEX { | |
2041 | - EMR emr; | |
2042 | - LONG xNum; | |
2043 | - LONG xDenom; | |
2044 | - LONG yNum; | |
2045 | - LONG yDenom; | |
2046 | -} EMRSCALEVIEWPORTEXTEX,*PEMRSCALEVIEWPORTEXTEX,EMRSCALEWINDOWEXTEX,*PEMRSCALEWINDOWEXTEX; | |
2047 | -typedef struct tagEMRSELECTCOLORSPACE { | |
2048 | - EMR emr; | |
2049 | - DWORD ihCS; | |
2050 | -} EMRSELECTCOLORSPACE,*PEMRSELECTCOLORSPACE,EMRDELETECOLORSPACE,*PEMRDELETECOLORSPACE; | |
2051 | -typedef struct tagEMRSELECTOBJECT { | |
2052 | - EMR emr; | |
2053 | - DWORD ihObject; | |
2054 | -} EMRSELECTOBJECT,*PEMRSELECTOBJECT,EMRDELETEOBJECT,*PEMRDELETEOBJECT; | |
2055 | -typedef struct tagEMRSELECTPALETTE { | |
2056 | - EMR emr; | |
2057 | - DWORD ihPal; | |
2058 | -} EMRSELECTPALETTE,*PEMRSELECTPALETTE; | |
2059 | -typedef struct tagEMRSETARCDIRECTION { | |
2060 | - EMR emr; | |
2061 | - DWORD iArcDirection; | |
2062 | -} EMRSETARCDIRECTION,*PEMRSETARCDIRECTION; | |
2063 | -typedef struct tagEMRSETTEXTCOLOR { | |
2064 | - EMR emr; | |
2065 | - COLORREF crColor; | |
2066 | -} EMRSETBKCOLOR,*PEMRSETBKCOLOR,EMRSETTEXTCOLOR,*PEMRSETTEXTCOLOR; | |
2067 | -typedef struct tagEMRSETCOLORADJUSTMENT { | |
2068 | - EMR emr; | |
2069 | - COLORADJUSTMENT ColorAdjustment; | |
2070 | -} EMRSETCOLORADJUSTMENT,*PEMRSETCOLORADJUSTMENT; | |
2071 | -typedef struct tagEMRSETDIBITSTODEVICE { | |
2072 | - EMR emr; | |
2073 | - RECTL rclBounds; | |
2074 | - LONG xDest; | |
2075 | - LONG yDest; | |
2076 | - LONG xSrc; | |
2077 | - LONG ySrc; | |
2078 | - LONG cxSrc; | |
2079 | - LONG cySrc; | |
2080 | - DWORD offBmiSrc; | |
2081 | - DWORD cbBmiSrc; | |
2082 | - DWORD offBitsSrc; | |
2083 | - DWORD cbBitsSrc; | |
2084 | - DWORD iUsageSrc; | |
2085 | - DWORD iStartScan; | |
2086 | - DWORD cScans; | |
2087 | -} EMRSETDIBITSTODEVICE,*PEMRSETDIBITSTODEVICE; | |
2088 | -typedef struct tagEMRSETMAPPERFLAGS { | |
2089 | - EMR emr; | |
2090 | - DWORD dwFlags; | |
2091 | -} EMRSETMAPPERFLAGS,*PEMRSETMAPPERFLAGS; | |
2092 | -typedef struct tagEMRSETMITERLIMIT { | |
2093 | - EMR emr; | |
2094 | - FLOAT eMiterLimit; | |
2095 | -} EMRSETMITERLIMIT,*PEMRSETMITERLIMIT; | |
2096 | -typedef struct tagEMRSETPALETTEENTRIES { | |
2097 | - EMR emr; | |
2098 | - DWORD ihPal; | |
2099 | - DWORD iStart; | |
2100 | - DWORD cEntries; | |
2101 | - PALETTEENTRY aPalEntries[1]; | |
2102 | -} EMRSETPALETTEENTRIES,*PEMRSETPALETTEENTRIES; | |
2103 | -typedef struct tagEMRSETPIXELV { | |
2104 | - EMR emr; | |
2105 | - POINTL ptlPixel; | |
2106 | - COLORREF crColor; | |
2107 | -} EMRSETPIXELV,*PEMRSETPIXELV; | |
2108 | -typedef struct tagEMRSETVIEWPORTEXTEX { | |
2109 | - EMR emr; | |
2110 | - SIZEL szlExtent; | |
2111 | -} EMRSETVIEWPORTEXTEX,*PEMRSETVIEWPORTEXTEX,EMRSETWINDOWEXTEX,*PEMRSETWINDOWEXTEX; | |
2112 | -typedef struct tagEMRSETVIEWPORTORGEX { | |
2113 | - EMR emr; | |
2114 | - POINTL ptlOrigin; | |
2115 | -} EMRSETVIEWPORTORGEX,*PEMRSETVIEWPORTORGEX,EMRSETWINDOWORGEX,*PEMRSETWINDOWORGEX,EMRSETBRUSHORGEX,*PEMRSETBRUSHORGEX; | |
2116 | -typedef struct tagEMRSETWORLDTRANSFORM { | |
2117 | - EMR emr; | |
2118 | - XFORM xform; | |
2119 | -} EMRSETWORLDTRANSFORM,*PEMRSETWORLDTRANSFORM; | |
2120 | -typedef struct tagEMRSTRETCHBLT { | |
2121 | - EMR emr; | |
2122 | - RECTL rclBounds; | |
2123 | - LONG xDest; | |
2124 | - LONG yDest; | |
2125 | - LONG cxDest; | |
2126 | - LONG cyDest; | |
2127 | - DWORD dwRop; | |
2128 | - LONG xSrc; | |
2129 | - LONG ySrc; | |
2130 | - XFORM xformSrc; | |
2131 | - COLORREF crBkColorSrc; | |
2132 | - DWORD iUsageSrc; | |
2133 | - DWORD offBmiSrc; | |
2134 | - DWORD cbBmiSrc; | |
2135 | - DWORD offBitsSrc; | |
2136 | - DWORD cbBitsSrc; | |
2137 | - LONG cxSrc; | |
2138 | - LONG cySrc; | |
2139 | -} EMRSTRETCHBLT,*PEMRSTRETCHBLT; | |
2140 | -typedef struct tagEMRSTRETCHDIBITS { | |
2141 | - EMR emr; | |
2142 | - RECTL rclBounds; | |
2143 | - LONG xDest; | |
2144 | - LONG yDest; | |
2145 | - LONG xSrc; | |
2146 | - LONG ySrc; | |
2147 | - LONG cxSrc; | |
2148 | - LONG cySrc; | |
2149 | - DWORD offBmiSrc; | |
2150 | - DWORD cbBmiSrc; | |
2151 | - DWORD offBitsSrc; | |
2152 | - DWORD cbBitsSrc; | |
2153 | - DWORD iUsageSrc; | |
2154 | - DWORD dwRop; | |
2155 | - LONG cxDest; | |
2156 | - LONG cyDest; | |
2157 | -} EMRSTRETCHDIBITS,*PEMRSTRETCHDIBITS; | |
2158 | -typedef struct tagABORTPATH { | |
2159 | - EMR emr; | |
2160 | -} EMRABORTPATH,*PEMRABORTPATH,EMRBEGINPATH,*PEMRBEGINPATH,EMRENDPATH,*PEMRENDPATH,EMRCLOSEFIGURE,*PEMRCLOSEFIGURE,EMRFLATTENPATH,*PEMRFLATTENPATH,EMRWIDENPATH,*PEMRWIDENPATH,EMRSETMETARGN,*PEMRSETMETARGN,EMRSAVEDC,*PEMRSAVEDC,EMRREALIZEPALETTE,*PEMRREALIZEPALETTE; | |
2161 | -typedef struct tagEMRSELECTCLIPPATH { | |
2162 | - EMR emr; | |
2163 | - DWORD iMode; | |
2164 | -} EMRSELECTCLIPPATH,*PEMRSELECTCLIPPATH,EMRSETBKMODE,*PEMRSETBKMODE,EMRSETMAPMODE,*PEMRSETMAPMODE,EMRSETPOLYFILLMODE,*PEMRSETPOLYFILLMODE,EMRSETROP2,*PEMRSETROP2,EMRSETSTRETCHBLTMODE,*PEMRSETSTRETCHBLTMODE,EMRSETTEXTALIGN,*PEMRSETTEXTALIGN,EMRENABLEICM,*PEMRENABLEICM; | |
2165 | -#pragma pack(push,2) | |
2166 | -typedef struct tagMETAHEADER { | |
2167 | - WORD mtType; | |
2168 | - WORD mtHeaderSize; | |
2169 | - WORD mtVersion; | |
2170 | - DWORD mtSize; | |
2171 | - WORD mtNoObjects; | |
2172 | - DWORD mtMaxRecord; | |
2173 | - WORD mtNoParameters; | |
2174 | -} METAHEADER,*PMETAHEADER,*LPMETAHEADER; | |
2175 | -#pragma pack(pop) | |
2176 | -typedef struct tagENHMETAHEADER { | |
2177 | - DWORD iType; | |
2178 | - DWORD nSize; | |
2179 | - RECTL rclBounds; | |
2180 | - RECTL rclFrame; | |
2181 | - DWORD dSignature; | |
2182 | - DWORD nVersion; | |
2183 | - DWORD nBytes; | |
2184 | - DWORD nRecords; | |
2185 | - WORD nHandles; | |
2186 | - WORD sReserved; | |
2187 | - DWORD nDescription; | |
2188 | - DWORD offDescription; | |
2189 | - DWORD nPalEntries; | |
2190 | - SIZEL szlDevice; | |
2191 | - SIZEL szlMillimeters; | |
2192 | -#if (WINVER >= 0x0400) | |
2193 | - DWORD cbPixelFormat; | |
2194 | - DWORD offPixelFormat; | |
2195 | - DWORD bOpenGL; | |
2196 | -#endif | |
2197 | -#if (WINVER >= 0x0500) | |
2198 | - SIZEL szlMicrometers; | |
2199 | -#endif | |
2200 | -} ENHMETAHEADER,*LPENHMETAHEADER; | |
2201 | -typedef struct tagMETARECORD { | |
2202 | - DWORD rdSize; | |
2203 | - WORD rdFunction; | |
2204 | - WORD rdParm[1]; | |
2205 | -} METARECORD,*PMETARECORD,*LPMETARECORD; | |
2206 | -typedef struct tagENHMETARECORD { | |
2207 | - DWORD iType; | |
2208 | - DWORD nSize; | |
2209 | - DWORD dParm[1]; | |
2210 | -} ENHMETARECORD,*LPENHMETARECORD; | |
2211 | -typedef struct tagHANDLETABLE { | |
2212 | - HGDIOBJ objectHandle[1]; | |
2213 | -} HANDLETABLE,*LPHANDLETABLE; | |
2214 | -typedef struct tagTEXTMETRICA { | |
2215 | - LONG tmHeight; | |
2216 | - LONG tmAscent; | |
2217 | - LONG tmDescent; | |
2218 | - LONG tmInternalLeading; | |
2219 | - LONG tmExternalLeading; | |
2220 | - LONG tmAveCharWidth; | |
2221 | - LONG tmMaxCharWidth; | |
2222 | - LONG tmWeight; | |
2223 | - LONG tmOverhang; | |
2224 | - LONG tmDigitizedAspectX; | |
2225 | - LONG tmDigitizedAspectY; | |
2226 | - BYTE tmFirstChar; | |
2227 | - BYTE tmLastChar; | |
2228 | - BYTE tmDefaultChar; | |
2229 | - BYTE tmBreakChar; | |
2230 | - BYTE tmItalic; | |
2231 | - BYTE tmUnderlined; | |
2232 | - BYTE tmStruckOut; | |
2233 | - BYTE tmPitchAndFamily; | |
2234 | - BYTE tmCharSet; | |
2235 | -} TEXTMETRICA,*PTEXTMETRICA,*LPTEXTMETRICA; | |
2236 | -typedef struct tagTEXTMETRICW { | |
2237 | - LONG tmHeight; | |
2238 | - LONG tmAscent; | |
2239 | - LONG tmDescent; | |
2240 | - LONG tmInternalLeading; | |
2241 | - LONG tmExternalLeading; | |
2242 | - LONG tmAveCharWidth; | |
2243 | - LONG tmMaxCharWidth; | |
2244 | - LONG tmWeight; | |
2245 | - LONG tmOverhang; | |
2246 | - LONG tmDigitizedAspectX; | |
2247 | - LONG tmDigitizedAspectY; | |
2248 | - WCHAR tmFirstChar; | |
2249 | - WCHAR tmLastChar; | |
2250 | - WCHAR tmDefaultChar; | |
2251 | - WCHAR tmBreakChar; | |
2252 | - BYTE tmItalic; | |
2253 | - BYTE tmUnderlined; | |
2254 | - BYTE tmStruckOut; | |
2255 | - BYTE tmPitchAndFamily; | |
2256 | - BYTE tmCharSet; | |
2257 | -} TEXTMETRICW,*PTEXTMETRICW,*LPTEXTMETRICW; | |
2258 | -typedef struct _RGNDATAHEADER { | |
2259 | - DWORD dwSize; | |
2260 | - DWORD iType; | |
2261 | - DWORD nCount; | |
2262 | - DWORD nRgnSize; | |
2263 | - RECT rcBound; | |
2051 | + | |
2052 | +typedef struct tagEMRFRAMERGN | |
2053 | +{ EMR emr; | |
2054 | + RECTL rclBounds; | |
2055 | + DWORD cbRgnData; | |
2056 | + DWORD ihBrush; | |
2057 | + SIZEL szlStroke; | |
2058 | + BYTE RgnData[1]; | |
2059 | +} EMRFRAMERGN, *PEMRFRAMERGN; | |
2060 | + | |
2061 | +typedef struct tagEMRGDICOMMENT | |
2062 | +{ EMR emr; | |
2063 | + DWORD cbData; | |
2064 | + BYTE Data[1]; | |
2065 | +} EMRGDICOMMENT, *PEMRGDICOMMENT; | |
2066 | + | |
2067 | +typedef struct tagEMRINVERTRGN | |
2068 | +{ EMR emr; | |
2069 | + RECTL rclBounds; | |
2070 | + DWORD cbRgnData; | |
2071 | + BYTE RgnData[1]; | |
2072 | +} EMRINVERTRGN, *PEMRINVERTRGN, EMRPAINTRGN, *PEMRPAINTRGN; | |
2073 | + | |
2074 | +typedef struct tagEMRLINETO | |
2075 | +{ EMR emr; | |
2076 | + POINTL ptl; | |
2077 | +} EMRLINETO, *PEMRLINETO, EMRMOVETOEX, *PEMRMOVETOEX; | |
2078 | + | |
2079 | +typedef struct tagEMRMASKBLT | |
2080 | +{ EMR emr; | |
2081 | + RECTL rclBounds; | |
2082 | + LONG xDest; | |
2083 | + LONG yDest; | |
2084 | + LONG cxDest; | |
2085 | + LONG cyDest; | |
2086 | + DWORD dwRop; | |
2087 | + LONG xSrc; | |
2088 | + LONG ySrc; | |
2089 | + XFORM xformSrc; | |
2090 | + COLORREF crBkColorSrc; | |
2091 | + DWORD iUsageSrc; | |
2092 | + DWORD offBmiSrc; | |
2093 | + DWORD cbBmiSrc; | |
2094 | + DWORD offBitsSrc; | |
2095 | + DWORD cbBitsSrc; | |
2096 | + LONG xMask; | |
2097 | + LONG yMask; | |
2098 | + DWORD iUsageMask; | |
2099 | + DWORD offBmiMask; | |
2100 | + DWORD cbBmiMask; | |
2101 | + DWORD offBitsMask; | |
2102 | + DWORD cbBitsMask; | |
2103 | +} EMRMASKBLT, *PEMRMASKBLT; | |
2104 | + | |
2105 | +typedef struct tagEMRMODIFYWORLDTRANSFORM | |
2106 | +{ EMR emr; | |
2107 | + XFORM xform; | |
2108 | + DWORD iMode; | |
2109 | +} EMRMODIFYWORLDTRANSFORM, *PEMRMODIFYWORLDTRANSFORM; | |
2110 | + | |
2111 | +typedef struct tagEMROFFSETCLIPRGN | |
2112 | +{ EMR emr; | |
2113 | + POINTL ptlOffset; | |
2114 | +} EMROFFSETCLIPRGN, *PEMROFFSETCLIPRGN; | |
2115 | + | |
2116 | +typedef struct tagEMRPLGBLT | |
2117 | +{ EMR emr; | |
2118 | + RECTL rclBounds; | |
2119 | + POINTL aptlDest[3]; | |
2120 | + LONG xSrc; | |
2121 | + LONG ySrc; | |
2122 | + LONG cxSrc; | |
2123 | + LONG cySrc; | |
2124 | + XFORM xformSrc; | |
2125 | + COLORREF crBkColorSrc; | |
2126 | + DWORD iUsageSrc; | |
2127 | + DWORD offBmiSrc; | |
2128 | + DWORD cbBmiSrc; | |
2129 | + DWORD offBitsSrc; | |
2130 | + DWORD cbBitsSrc; | |
2131 | + LONG xMask; | |
2132 | + LONG yMask; | |
2133 | + DWORD iUsageMask; | |
2134 | + DWORD offBmiMask; | |
2135 | + DWORD cbBmiMask; | |
2136 | + DWORD offBitsMask; | |
2137 | + DWORD cbBitsMask; | |
2138 | +} EMRPLGBLT, *PEMRPLGBLT; | |
2139 | + | |
2140 | +typedef struct tagEMRPOLYDRAW | |
2141 | +{ EMR emr; | |
2142 | + RECTL rclBounds; | |
2143 | + DWORD cptl; | |
2144 | + POINTL aptl[1]; | |
2145 | + BYTE abTypes[1]; | |
2146 | +} EMRPOLYDRAW, *PEMRPOLYDRAW; | |
2147 | + | |
2148 | +typedef struct tagEMRPOLYDRAW16 | |
2149 | +{ EMR emr; | |
2150 | + RECTL rclBounds; | |
2151 | + DWORD cpts; | |
2152 | + POINTS apts[1]; | |
2153 | + BYTE abTypes[1]; | |
2154 | +} EMRPOLYDRAW16, *PEMRPOLYDRAW16; | |
2155 | + | |
2156 | +typedef struct tagEMRPOLYLINE | |
2157 | +{ EMR emr; | |
2158 | + RECTL rclBounds; | |
2159 | + DWORD cptl; | |
2160 | + POINTL aptl[1]; | |
2161 | +} EMRPOLYLINE, *PEMRPOLYLINE, EMRPOLYBEZIER, *PEMRPOLYBEZIER; | |
2162 | + | |
2163 | +typedef struct tagEMRPOLYLINE EMRPOLYGON, *PEMRPOLYGON; | |
2164 | +typedef struct tagEMRPOLYLINE EMRPOLYBEZIERTO, *PEMRPOLYBEZIERTO; | |
2165 | +typedef struct tagEMRPOLYLINE EMRPOLYLINETO, *PEMRPOLYLINETO; | |
2166 | + | |
2167 | +typedef struct tagEMRPOLYLINE16 | |
2168 | +{ EMR emr; | |
2169 | + RECTL rclBounds; | |
2170 | + DWORD cpts; | |
2171 | + POINTL apts[1]; | |
2172 | +} EMRPOLYLINE16, *PEMRPOLYLINE16, EMRPOLYBEZIER16, *PEMRPOLYBEZIER16; | |
2173 | + | |
2174 | +typedef struct tagEMRPOLYLINE16 EMRPOLYGON16, *PEMRPOLYGON16; | |
2175 | +typedef struct tagEMRPOLYLINE16 EMRPOLYBEZIERTO16, *PEMRPOLYBEZIERTO16; | |
2176 | +typedef struct tagEMRPOLYLINE16 EMRPOLYLINETO16, *PEMRPOLYLINETO16; | |
2177 | + | |
2178 | +typedef struct tagEMRPOLYPOLYLINE | |
2179 | +{ EMR emr; | |
2180 | + RECTL rclBounds; | |
2181 | + DWORD nPolys; | |
2182 | + DWORD cptl; | |
2183 | + DWORD aPolyCounts[1]; | |
2184 | + POINTL aptl[1]; | |
2185 | +} EMRPOLYPOLYLINE, *PEMRPOLYPOLYLINE, EMRPOLYPOLYGON, *PEMRPOLYPOLYGON; | |
2186 | + | |
2187 | +typedef struct tagEMRPOLYPOLYLINE16 | |
2188 | +{ EMR emr; | |
2189 | + RECTL rclBounds; | |
2190 | + DWORD nPolys; | |
2191 | + DWORD cpts; | |
2192 | + DWORD aPolyCounts[1]; | |
2193 | + POINTS apts[1]; | |
2194 | +} EMRPOLYPOLYLINE16, *PEMRPOLYPOLYLINE16, EMRPOLYPOLYGON16, *PEMRPOLYPOLYGON16; | |
2195 | + | |
2196 | +typedef struct tagEMRPOLYTEXTOUTA | |
2197 | +{ EMR emr; | |
2198 | + RECTL rclBounds; | |
2199 | + DWORD iGraphicsMode; | |
2200 | + FLOAT exScale; | |
2201 | + FLOAT eyScale; | |
2202 | + LONG cStrings; | |
2203 | + EMRTEXT aemrtext[1]; | |
2204 | +} EMRPOLYTEXTOUTA, *PEMRPOLYTEXTOUTA, EMRPOLYTEXTOUTW, *PEMRPOLYTEXTOUTW; | |
2205 | + | |
2206 | +typedef struct tagEMRRESIZEPALETTE | |
2207 | +{ EMR emr; | |
2208 | + DWORD ihPal; | |
2209 | + DWORD cEntries; | |
2210 | +} EMRRESIZEPALETTE, *PEMRRESIZEPALETTE; | |
2211 | + | |
2212 | +typedef struct tagEMRRESTOREDC | |
2213 | +{ EMR emr; | |
2214 | + LONG iRelative; | |
2215 | +} EMRRESTOREDC, *PEMRRESTOREDC; | |
2216 | + | |
2217 | +typedef struct tagEMRROUNDRECT | |
2218 | +{ EMR emr; | |
2219 | + RECTL rclBox; | |
2220 | + SIZEL szlCorner; | |
2221 | +} EMRROUNDRECT, *PEMRROUNDRECT; | |
2222 | + | |
2223 | +typedef struct tagEMRSCALEVIEWPORTEXTEX | |
2224 | +{ EMR emr; | |
2225 | + LONG xNum; | |
2226 | + LONG xDenom; | |
2227 | + LONG yNum; | |
2228 | + LONG yDenom; | |
2229 | +} EMRSCALEVIEWPORTEXTEX, *PEMRSCALEVIEWPORTEXTEX; | |
2230 | + | |
2231 | +typedef struct tagEMRSCALEVIEWPORTEXTEX EMRSCALEWINDOWEXTEX; | |
2232 | +typedef struct tagEMRSCALEVIEWPORTEXTEX *PEMRSCALEWINDOWEXTEX; | |
2233 | + | |
2234 | +typedef struct tagEMRSELECTCOLORSPACE | |
2235 | +{ EMR emr; | |
2236 | + DWORD ihCS; | |
2237 | +} EMRSELECTCOLORSPACE, *PEMRSELECTCOLORSPACE, EMRDELETECOLORSPACE; | |
2238 | + | |
2239 | +typedef struct tagEMRSELECTCOLORSPACE *PEMRDELETECOLORSPACE; | |
2240 | + | |
2241 | +typedef struct tagEMRSELECTOBJECT | |
2242 | +{ EMR emr; | |
2243 | + DWORD ihObject; | |
2244 | +} EMRSELECTOBJECT, *PEMRSELECTOBJECT, EMRDELETEOBJECT, *PEMRDELETEOBJECT; | |
2245 | + | |
2246 | +typedef struct tagEMRSELECTPALETTE | |
2247 | +{ EMR emr; | |
2248 | + DWORD ihPal; | |
2249 | +} EMRSELECTPALETTE, *PEMRSELECTPALETTE; | |
2250 | + | |
2251 | +typedef struct tagEMRSETARCDIRECTION | |
2252 | +{ EMR emr; | |
2253 | + DWORD iArcDirection; | |
2254 | +} EMRSETARCDIRECTION, *PEMRSETARCDIRECTION; | |
2255 | + | |
2256 | +typedef struct tagEMRSETTEXTCOLOR | |
2257 | +{ EMR emr; | |
2258 | + COLORREF crColor; | |
2259 | +} EMRSETBKCOLOR, *PEMRSETBKCOLOR, EMRSETTEXTCOLOR, *PEMRSETTEXTCOLOR; | |
2260 | + | |
2261 | +typedef struct tagEMRSETCOLORADJUSTMENT | |
2262 | +{ EMR emr; | |
2263 | + COLORADJUSTMENT ColorAdjustment; | |
2264 | +} EMRSETCOLORADJUSTMENT, *PEMRSETCOLORADJUSTMENT; | |
2265 | + | |
2266 | +typedef struct tagEMRSETDIBITSTODEVICE | |
2267 | +{ EMR emr; | |
2268 | + RECTL rclBounds; | |
2269 | + LONG xDest; | |
2270 | + LONG yDest; | |
2271 | + LONG xSrc; | |
2272 | + LONG ySrc; | |
2273 | + LONG cxSrc; | |
2274 | + LONG cySrc; | |
2275 | + DWORD offBmiSrc; | |
2276 | + DWORD cbBmiSrc; | |
2277 | + DWORD offBitsSrc; | |
2278 | + DWORD cbBitsSrc; | |
2279 | + DWORD iUsageSrc; | |
2280 | + DWORD iStartScan; | |
2281 | + DWORD cScans; | |
2282 | +} EMRSETDIBITSTODEVICE, *PEMRSETDIBITSTODEVICE; | |
2283 | + | |
2284 | +typedef struct tagEMRSETMAPPERFLAGS | |
2285 | +{ EMR emr; | |
2286 | + DWORD dwFlags; | |
2287 | +} EMRSETMAPPERFLAGS, *PEMRSETMAPPERFLAGS; | |
2288 | + | |
2289 | +typedef struct tagEMRSETMITERLIMIT | |
2290 | +{ EMR emr; | |
2291 | + FLOAT eMiterLimit; | |
2292 | +} EMRSETMITERLIMIT, *PEMRSETMITERLIMIT; | |
2293 | + | |
2294 | +typedef struct tagEMRSETPALETTEENTRIES | |
2295 | +{ EMR emr; | |
2296 | + DWORD ihPal; | |
2297 | + DWORD iStart; | |
2298 | + DWORD cEntries; | |
2299 | + PALETTEENTRY aPalEntries[1]; | |
2300 | +} EMRSETPALETTEENTRIES, *PEMRSETPALETTEENTRIES; | |
2301 | + | |
2302 | +typedef struct tagEMRSETPIXELV | |
2303 | +{ EMR emr; | |
2304 | + POINTL ptlPixel; | |
2305 | + COLORREF crColor; | |
2306 | +} EMRSETPIXELV, *PEMRSETPIXELV; | |
2307 | + | |
2308 | +typedef struct tagEMRSETVIEWPORTEXTEX | |
2309 | +{ EMR emr; | |
2310 | + SIZEL szlExtent; | |
2311 | +} EMRSETVIEWPORTEXTEX, *PEMRSETVIEWPORTEXTEX, EMRSETWINDOWEXTEX; | |
2312 | + | |
2313 | +typedef struct tagEMRSETVIEWPORTEXTEX *PEMRSETWINDOWEXTEX; | |
2314 | + | |
2315 | +typedef struct tagEMRSETVIEWPORTORGEX | |
2316 | +{ EMR emr; | |
2317 | + POINTL ptlOrigin; | |
2318 | +} EMRSETVIEWPORTORGEX, *PEMRSETVIEWPORTORGEX, EMRSETWINDOWORGEX; | |
2319 | + | |
2320 | +typedef struct tagEMRSETVIEWPORTORGEX *PEMRSETWINDOWORGEX; | |
2321 | +typedef struct tagEMRSETVIEWPORTORGEX EMRSETBRUSHORGEX; | |
2322 | +typedef struct tagEMRSETVIEWPORTORGEX *PEMRSETBRUSHORGEX; | |
2323 | + | |
2324 | +typedef struct tagEMRSETWORLDTRANSFORM | |
2325 | +{ EMR emr; | |
2326 | + XFORM xform; | |
2327 | +} EMRSETWORLDTRANSFORM, *PEMRSETWORLDTRANSFORM; | |
2328 | + | |
2329 | +typedef struct tagEMRSTRETCHBLT | |
2330 | +{ EMR emr; | |
2331 | + RECTL rclBounds; | |
2332 | + LONG xDest; | |
2333 | + LONG yDest; | |
2334 | + LONG cxDest; | |
2335 | + LONG cyDest; | |
2336 | + DWORD dwRop; | |
2337 | + LONG xSrc; | |
2338 | + LONG ySrc; | |
2339 | + XFORM xformSrc; | |
2340 | + COLORREF crBkColorSrc; | |
2341 | + DWORD iUsageSrc; | |
2342 | + DWORD offBmiSrc; | |
2343 | + DWORD cbBmiSrc; | |
2344 | + DWORD offBitsSrc; | |
2345 | + DWORD cbBitsSrc; | |
2346 | + LONG cxSrc; | |
2347 | + LONG cySrc; | |
2348 | +} EMRSTRETCHBLT, *PEMRSTRETCHBLT; | |
2349 | + | |
2350 | +typedef struct tagEMRSTRETCHDIBITS | |
2351 | +{ EMR emr; | |
2352 | + RECTL rclBounds; | |
2353 | + LONG xDest; | |
2354 | + LONG yDest; | |
2355 | + LONG xSrc; | |
2356 | + LONG ySrc; | |
2357 | + LONG cxSrc; | |
2358 | + LONG cySrc; | |
2359 | + DWORD offBmiSrc; | |
2360 | + DWORD cbBmiSrc; | |
2361 | + DWORD offBitsSrc; | |
2362 | + DWORD cbBitsSrc; | |
2363 | + DWORD iUsageSrc; | |
2364 | + DWORD dwRop; | |
2365 | + LONG cxDest; | |
2366 | + LONG cyDest; | |
2367 | +} EMRSTRETCHDIBITS, *PEMRSTRETCHDIBITS; | |
2368 | + | |
2369 | +typedef struct tagABORTPATH | |
2370 | +{ EMR emr; | |
2371 | +} EMRABORTPATH, *PEMRABORTPATH, EMRBEGINPATH, *PEMRBEGINPATH; | |
2372 | + | |
2373 | +typedef struct tagABORTPATH EMRENDPATH, *PEMRENDPATH; | |
2374 | +typedef struct tagABORTPATH EMRCLOSEFIGURE, *PEMRCLOSEFIGURE; | |
2375 | +typedef struct tagABORTPATH EMRFLATTENPATH, *PEMRFLATTENPATH; | |
2376 | +typedef struct tagABORTPATH EMRWIDENPATH, *PEMRWIDENPATH; | |
2377 | +typedef struct tagABORTPATH EMRSETMETARGN, *PEMRSETMETARGN; | |
2378 | +typedef struct tagABORTPATH EMRSAVEDC, *PEMRSAVEDC; | |
2379 | +typedef struct tagABORTPATH EMRREALIZEPALETTE, *PEMRREALIZEPALETTE; | |
2380 | + | |
2381 | +typedef struct tagEMRSELECTCLIPPATH | |
2382 | +{ EMR emr; | |
2383 | + DWORD iMode; | |
2384 | +} EMRSELECTCLIPPATH, *PEMRSELECTCLIPPATH, EMRSETBKMODE, *PEMRSETBKMODE; | |
2385 | + | |
2386 | +typedef struct tagEMRSELECTCLIPPATH EMRSETMAPMODE, *PEMRSETMAPMODE; | |
2387 | +typedef struct tagEMRSELECTCLIPPATH EMRSETPOLYFILLMODE, *PEMRSETPOLYFILLMODE; | |
2388 | +typedef struct tagEMRSELECTCLIPPATH EMRSETROP2, *PEMRSETROP2; | |
2389 | +typedef struct tagEMRSELECTCLIPPATH EMRSETSTRETCHBLTMODE; | |
2390 | +typedef struct tagEMRSELECTCLIPPATH *PEMRSETSTRETCHBLTMODE; | |
2391 | +typedef struct tagEMRSELECTCLIPPATH EMRSETTEXTALIGN, *PEMRSETTEXTALIGN; | |
2392 | +typedef struct tagEMRSELECTCLIPPATH EMRENABLEICM, *PEMRENABLEICM; | |
2393 | + | |
2394 | +# pragma pack (push, 2) | |
2395 | + | |
2396 | +typedef struct tagMETAHEADER | |
2397 | +{ WORD mtType; | |
2398 | + WORD mtHeaderSize; | |
2399 | + WORD mtVersion; | |
2400 | + DWORD mtSize; | |
2401 | + WORD mtNoObjects; | |
2402 | + DWORD mtMaxRecord; | |
2403 | + WORD mtNoParameters; | |
2404 | +} METAHEADER, *PMETAHEADER, *LPMETAHEADER; | |
2405 | + | |
2406 | +# pragma pack (pop) | |
2407 | + | |
2408 | +typedef struct tagENHMETAHEADER | |
2409 | +{ DWORD iType; | |
2410 | + DWORD nSize; | |
2411 | + RECTL rclBounds; | |
2412 | + RECTL rclFrame; | |
2413 | + DWORD dSignature; | |
2414 | + DWORD nVersion; | |
2415 | + DWORD nBytes; | |
2416 | + DWORD nRecords; | |
2417 | + WORD nHandles; | |
2418 | + WORD sReserved; | |
2419 | + DWORD nDescription; | |
2420 | + DWORD offDescription; | |
2421 | + DWORD nPalEntries; | |
2422 | + SIZEL szlDevice; | |
2423 | + SIZEL szlMillimeters; | |
2424 | + | |
2425 | +# if WINVER >= _WIN32_WINNT_NT4 /* also _WIN32_WINDOWS_95 */ | |
2426 | + | |
2427 | + DWORD cbPixelFormat; | |
2428 | + DWORD offPixelFormat; | |
2429 | + DWORD bOpenGL; | |
2430 | + | |
2431 | +# if WINVER >= _WIN32_WINNT_WIN2K | |
2432 | + | |
2433 | + SIZEL szlMicrometers; | |
2434 | + | |
2435 | +# endif /* WINVER >= Win2K */ | |
2436 | +# endif /* WINVER >= WinNT4/Win95 */ | |
2437 | + | |
2438 | +} ENHMETAHEADER, *LPENHMETAHEADER; | |
2439 | + | |
2440 | +typedef struct tagMETARECORD | |
2441 | +{ DWORD rdSize; | |
2442 | + WORD rdFunction; | |
2443 | + WORD rdParm[1]; | |
2444 | +} METARECORD, *PMETARECORD, *LPMETARECORD; | |
2445 | + | |
2446 | +typedef struct tagENHMETARECORD | |
2447 | +{ DWORD iType; | |
2448 | + DWORD nSize; | |
2449 | + DWORD dParm[1]; | |
2450 | +} ENHMETARECORD, *LPENHMETARECORD; | |
2451 | + | |
2452 | +typedef struct tagHANDLETABLE | |
2453 | +{ HGDIOBJ objectHandle[1]; | |
2454 | +} HANDLETABLE, *LPHANDLETABLE; | |
2455 | + | |
2456 | +typedef struct tagTEXTMETRICA | |
2457 | +{ LONG tmHeight; | |
2458 | + LONG tmAscent; | |
2459 | + LONG tmDescent; | |
2460 | + LONG tmInternalLeading; | |
2461 | + LONG tmExternalLeading; | |
2462 | + LONG tmAveCharWidth; | |
2463 | + LONG tmMaxCharWidth; | |
2464 | + LONG tmWeight; | |
2465 | + LONG tmOverhang; | |
2466 | + LONG tmDigitizedAspectX; | |
2467 | + LONG tmDigitizedAspectY; | |
2468 | + BYTE tmFirstChar; | |
2469 | + BYTE tmLastChar; | |
2470 | + BYTE tmDefaultChar; | |
2471 | + BYTE tmBreakChar; | |
2472 | + BYTE tmItalic; | |
2473 | + BYTE tmUnderlined; | |
2474 | + BYTE tmStruckOut; | |
2475 | + BYTE tmPitchAndFamily; | |
2476 | + BYTE tmCharSet; | |
2477 | +} TEXTMETRICA, *PTEXTMETRICA, *LPTEXTMETRICA; | |
2478 | + | |
2479 | +typedef struct tagTEXTMETRICW | |
2480 | +{ LONG tmHeight; | |
2481 | + LONG tmAscent; | |
2482 | + LONG tmDescent; | |
2483 | + LONG tmInternalLeading; | |
2484 | + LONG tmExternalLeading; | |
2485 | + LONG tmAveCharWidth; | |
2486 | + LONG tmMaxCharWidth; | |
2487 | + LONG tmWeight; | |
2488 | + LONG tmOverhang; | |
2489 | + LONG tmDigitizedAspectX; | |
2490 | + LONG tmDigitizedAspectY; | |
2491 | + WCHAR tmFirstChar; | |
2492 | + WCHAR tmLastChar; | |
2493 | + WCHAR tmDefaultChar; | |
2494 | + WCHAR tmBreakChar; | |
2495 | + BYTE tmItalic; | |
2496 | + BYTE tmUnderlined; | |
2497 | + BYTE tmStruckOut; | |
2498 | + BYTE tmPitchAndFamily; | |
2499 | + BYTE tmCharSet; | |
2500 | +} TEXTMETRICW, *PTEXTMETRICW, *LPTEXTMETRICW; | |
2501 | + | |
2502 | +typedef __AW_ALIAS__(TEXTMETRIC), *PTEXTMETRIC, *LPTEXTMETRIC; | |
2503 | + | |
2504 | +typedef struct _RGNDATAHEADER | |
2505 | +{ DWORD dwSize; | |
2506 | + DWORD iType; | |
2507 | + DWORD nCount; | |
2508 | + DWORD nRgnSize; | |
2509 | + RECT rcBound; | |
2264 | 2510 | } RGNDATAHEADER; |
2265 | -typedef struct _RGNDATA { | |
2266 | - RGNDATAHEADER rdh; | |
2267 | - char Buffer[1]; | |
2268 | -} RGNDATA,*PRGNDATA, *LPRGNDATA; | |
2269 | -/* for GetRandomRgn */ | |
2511 | + | |
2512 | +typedef struct _RGNDATA | |
2513 | +{ RGNDATAHEADER rdh; | |
2514 | + char Buffer[1]; | |
2515 | +} RGNDATA, *PRGNDATA, *LPRGNDATA; | |
2516 | + | |
2270 | 2517 | #define SYSRGN 4 |
2271 | -typedef struct tagGCP_RESULTSA { | |
2272 | - DWORD lStructSize; | |
2273 | - LPSTR lpOutString; | |
2274 | - UINT *lpOrder; | |
2275 | - INT *lpDx; | |
2276 | - INT *lpCaretPos; | |
2277 | - LPSTR lpClass; | |
2278 | - LPWSTR lpGlyphs; | |
2279 | - UINT nGlyphs; | |
2280 | - UINT nMaxFit; | |
2281 | -} GCP_RESULTSA,*LPGCP_RESULTSA; | |
2282 | -typedef struct tagGCP_RESULTSW { | |
2283 | - DWORD lStructSize; | |
2284 | - LPWSTR lpOutString; | |
2285 | - UINT *lpOrder; | |
2286 | - INT *lpDx; | |
2287 | - INT *lpCaretPos; | |
2288 | - LPSTR lpClass; | |
2289 | - LPWSTR lpGlyphs; | |
2290 | - UINT nGlyphs; | |
2291 | - UINT nMaxFit; | |
2292 | -} GCP_RESULTSW,*LPGCP_RESULTSW; | |
2293 | -typedef struct _GLYPHMETRICS { | |
2294 | - UINT gmBlackBoxX; | |
2295 | - UINT gmBlackBoxY; | |
2296 | - POINT gmptGlyphOrigin; | |
2297 | - short gmCellIncX; | |
2298 | - short gmCellIncY; | |
2299 | -} GLYPHMETRICS,*LPGLYPHMETRICS; | |
2300 | -#if (_WIN32_WINNT >= 0x0500) | |
2518 | +typedef struct tagGCP_RESULTSA | |
2519 | +{ DWORD lStructSize; | |
2520 | + LPSTR lpOutString; | |
2521 | + UINT *lpOrder; | |
2522 | + INT *lpDx; | |
2523 | + INT *lpCaretPos; | |
2524 | + LPSTR lpClass; | |
2525 | + LPWSTR lpGlyphs; | |
2526 | + UINT nGlyphs; | |
2527 | + UINT nMaxFit; | |
2528 | +} GCP_RESULTSA, *LPGCP_RESULTSA; | |
2529 | + | |
2530 | +typedef struct tagGCP_RESULTSW | |
2531 | +{ DWORD lStructSize; | |
2532 | + LPWSTR lpOutString; | |
2533 | + UINT *lpOrder; | |
2534 | + INT *lpDx; | |
2535 | + INT *lpCaretPos; | |
2536 | + LPSTR lpClass; | |
2537 | + LPWSTR lpGlyphs; | |
2538 | + UINT nGlyphs; | |
2539 | + UINT nMaxFit; | |
2540 | +} GCP_RESULTSW, *LPGCP_RESULTSW; | |
2541 | + | |
2542 | +typedef __AW_ALIAS__(GCP_RESULTS), *LPGCP_RESULTS; | |
2543 | + | |
2544 | +typedef struct _GLYPHMETRICS | |
2545 | +{ UINT gmBlackBoxX; | |
2546 | + UINT gmBlackBoxY; | |
2547 | + POINT gmptGlyphOrigin; | |
2548 | + short gmCellIncX; | |
2549 | + short gmCellIncY; | |
2550 | +} GLYPHMETRICS, *LPGLYPHMETRICS; | |
2551 | + | |
2552 | +#if _WIN32_WINNT >= _WIN32_WINNT_WIN2K | |
2301 | 2553 | typedef struct tagWCRANGE |
2302 | -{ | |
2303 | - WCHAR wcLow; | |
2304 | - USHORT cGlyphs; | |
2554 | +{ WCHAR wcLow; | |
2555 | + USHORT cGlyphs; | |
2305 | 2556 | } WCRANGE, *PWCRANGE, *LPWCRANGE; |
2557 | + | |
2306 | 2558 | typedef struct tagGLYPHSET |
2307 | -{ | |
2308 | - DWORD cbThis; | |
2309 | - DWORD flAccel; | |
2310 | - DWORD cGlyphsSupported; | |
2311 | - DWORD cRanges; | |
2312 | - WCRANGE ranges[1]; | |
2559 | +{ DWORD cbThis; | |
2560 | + DWORD flAccel; | |
2561 | + DWORD cGlyphsSupported; | |
2562 | + DWORD cRanges; | |
2563 | + WCRANGE ranges[1]; | |
2313 | 2564 | } GLYPHSET, *PGLYPHSET, *LPGLYPHSET; |
2314 | -#endif | |
2315 | -typedef struct tagKERNINGPAIR { | |
2316 | - WORD wFirst; | |
2317 | - WORD wSecond; | |
2318 | - int iKernAmount; | |
2319 | -} KERNINGPAIR,*LPKERNINGPAIR; | |
2320 | -typedef struct _FIXED { | |
2321 | - WORD fract; | |
2322 | - short value; | |
2565 | +#endif /* WINNT >= Win2K */ | |
2566 | + | |
2567 | +typedef struct tagKERNINGPAIR | |
2568 | +{ WORD wFirst; | |
2569 | + WORD wSecond; | |
2570 | + int iKernAmount; | |
2571 | +} KERNINGPAIR, *LPKERNINGPAIR; | |
2572 | + | |
2573 | +typedef struct _FIXED | |
2574 | +{ WORD fract; | |
2575 | + short value; | |
2323 | 2576 | } FIXED; |
2324 | -typedef struct _MAT2 { | |
2325 | - FIXED eM11; | |
2326 | - FIXED eM12; | |
2327 | - FIXED eM21; | |
2328 | - FIXED eM22; | |
2329 | -} MAT2,*LPMAT2; | |
2330 | -typedef struct _OUTLINETEXTMETRICA { | |
2331 | - UINT otmSize; | |
2332 | - TEXTMETRICA otmTextMetrics; | |
2333 | - BYTE otmFiller; | |
2334 | - PANOSE otmPanoseNumber; | |
2335 | - UINT otmfsSelection; | |
2336 | - UINT otmfsType; | |
2337 | - int otmsCharSlopeRise; | |
2338 | - int otmsCharSlopeRun; | |
2339 | - int otmItalicAngle; | |
2340 | - UINT otmEMSquare; | |
2341 | - int otmAscent; | |
2342 | - int otmDescent; | |
2343 | - UINT otmLineGap; | |
2344 | - UINT otmsCapEmHeight; | |
2345 | - UINT otmsXHeight; | |
2346 | - RECT otmrcFontBox; | |
2347 | - int otmMacAscent; | |
2348 | - int otmMacDescent; | |
2349 | - UINT otmMacLineGap; | |
2350 | - UINT otmusMinimumPPEM; | |
2351 | - POINT otmptSubscriptSize; | |
2352 | - POINT otmptSubscriptOffset; | |
2353 | - POINT otmptSuperscriptSize; | |
2354 | - POINT otmptSuperscriptOffset; | |
2355 | - UINT otmsStrikeoutSize; | |
2356 | - int otmsStrikeoutPosition; | |
2357 | - int otmsUnderscoreSize; | |
2358 | - int otmsUnderscorePosition; | |
2359 | - PSTR otmpFamilyName; | |
2360 | - PSTR otmpFaceName; | |
2361 | - PSTR otmpStyleName; | |
2362 | - PSTR otmpFullName; | |
2363 | -} OUTLINETEXTMETRICA,*POUTLINETEXTMETRICA,*LPOUTLINETEXTMETRICA; | |
2364 | -typedef struct _OUTLINETEXTMETRICW { | |
2365 | - UINT otmSize; | |
2366 | - TEXTMETRICW otmTextMetrics; | |
2367 | - BYTE otmFiller; | |
2368 | - PANOSE otmPanoseNumber; | |
2369 | - UINT otmfsSelection; | |
2370 | - UINT otmfsType; | |
2371 | - int otmsCharSlopeRise; | |
2372 | - int otmsCharSlopeRun; | |
2373 | - int otmItalicAngle; | |
2374 | - UINT otmEMSquare; | |
2375 | - int otmAscent; | |
2376 | - int otmDescent; | |
2377 | - UINT otmLineGap; | |
2378 | - UINT otmsCapEmHeight; | |
2379 | - UINT otmsXHeight; | |
2380 | - RECT otmrcFontBox; | |
2381 | - int otmMacAscent; | |
2382 | - int otmMacDescent; | |
2383 | - UINT otmMacLineGap; | |
2384 | - UINT otmusMinimumPPEM; | |
2385 | - POINT otmptSubscriptSize; | |
2386 | - POINT otmptSubscriptOffset; | |
2387 | - POINT otmptSuperscriptSize; | |
2388 | - POINT otmptSuperscriptOffset; | |
2389 | - UINT otmsStrikeoutSize; | |
2390 | - int otmsStrikeoutPosition; | |
2391 | - int otmsUnderscoreSize; | |
2392 | - int otmsUnderscorePosition; | |
2393 | - PSTR otmpFamilyName; | |
2394 | - PSTR otmpFaceName; | |
2395 | - PSTR otmpStyleName; | |
2396 | - PSTR otmpFullName; | |
2397 | -} OUTLINETEXTMETRICW,*POUTLINETEXTMETRICW,*LPOUTLINETEXTMETRICW; | |
2398 | -typedef struct _RASTERIZER_STATUS { | |
2399 | - short nSize; | |
2400 | - short wFlags; | |
2401 | - short nLanguageID; | |
2402 | -} RASTERIZER_STATUS,*LPRASTERIZER_STATUS; | |
2403 | -typedef struct _POLYTEXTA { | |
2404 | - int x; | |
2405 | - int y; | |
2406 | - UINT n; | |
2407 | - LPCSTR lpstr; | |
2408 | - UINT uiFlags; | |
2409 | - RECT rcl; | |
2410 | - int *pdx; | |
2577 | + | |
2578 | +typedef struct _MAT2 | |
2579 | +{ FIXED eM11; | |
2580 | + FIXED eM12; | |
2581 | + FIXED eM21; | |
2582 | + FIXED eM22; | |
2583 | +} MAT2, *LPMAT2; | |
2584 | + | |
2585 | +typedef struct _OUTLINETEXTMETRICA | |
2586 | +{ UINT otmSize; | |
2587 | + TEXTMETRICA otmTextMetrics; | |
2588 | + BYTE otmFiller; | |
2589 | + PANOSE otmPanoseNumber; | |
2590 | + UINT otmfsSelection; | |
2591 | + UINT otmfsType; | |
2592 | + int otmsCharSlopeRise; | |
2593 | + int otmsCharSlopeRun; | |
2594 | + int otmItalicAngle; | |
2595 | + UINT otmEMSquare; | |
2596 | + int otmAscent; | |
2597 | + int otmDescent; | |
2598 | + UINT otmLineGap; | |
2599 | + UINT otmsCapEmHeight; | |
2600 | + UINT otmsXHeight; | |
2601 | + RECT otmrcFontBox; | |
2602 | + int otmMacAscent; | |
2603 | + int otmMacDescent; | |
2604 | + UINT otmMacLineGap; | |
2605 | + UINT otmusMinimumPPEM; | |
2606 | + POINT otmptSubscriptSize; | |
2607 | + POINT otmptSubscriptOffset; | |
2608 | + POINT otmptSuperscriptSize; | |
2609 | + POINT otmptSuperscriptOffset; | |
2610 | + UINT otmsStrikeoutSize; | |
2611 | + int otmsStrikeoutPosition; | |
2612 | + int otmsUnderscoreSize; | |
2613 | + int otmsUnderscorePosition; | |
2614 | + PSTR otmpFamilyName; | |
2615 | + PSTR otmpFaceName; | |
2616 | + PSTR otmpStyleName; | |
2617 | + PSTR otmpFullName; | |
2618 | +} OUTLINETEXTMETRICA, *POUTLINETEXTMETRICA, *LPOUTLINETEXTMETRICA; | |
2619 | + | |
2620 | +typedef struct _OUTLINETEXTMETRICW | |
2621 | +{ UINT otmSize; | |
2622 | + TEXTMETRICW otmTextMetrics; | |
2623 | + BYTE otmFiller; | |
2624 | + PANOSE otmPanoseNumber; | |
2625 | + UINT otmfsSelection; | |
2626 | + UINT otmfsType; | |
2627 | + int otmsCharSlopeRise; | |
2628 | + int otmsCharSlopeRun; | |
2629 | + int otmItalicAngle; | |
2630 | + UINT otmEMSquare; | |
2631 | + int otmAscent; | |
2632 | + int otmDescent; | |
2633 | + UINT otmLineGap; | |
2634 | + UINT otmsCapEmHeight; | |
2635 | + UINT otmsXHeight; | |
2636 | + RECT otmrcFontBox; | |
2637 | + int otmMacAscent; | |
2638 | + int otmMacDescent; | |
2639 | + UINT otmMacLineGap; | |
2640 | + UINT otmusMinimumPPEM; | |
2641 | + POINT otmptSubscriptSize; | |
2642 | + POINT otmptSubscriptOffset; | |
2643 | + POINT otmptSuperscriptSize; | |
2644 | + POINT otmptSuperscriptOffset; | |
2645 | + UINT otmsStrikeoutSize; | |
2646 | + int otmsStrikeoutPosition; | |
2647 | + int otmsUnderscoreSize; | |
2648 | + int otmsUnderscorePosition; | |
2649 | + PSTR otmpFamilyName; | |
2650 | + PSTR otmpFaceName; | |
2651 | + PSTR otmpStyleName; | |
2652 | + PSTR otmpFullName; | |
2653 | +} OUTLINETEXTMETRICW, *POUTLINETEXTMETRICW, *LPOUTLINETEXTMETRICW; | |
2654 | + | |
2655 | +typedef __AW_ALIAS__(OUTLINETEXTMETRIC); | |
2656 | +typedef __AW_ALIAS__(POUTLINETEXTMETRIC); | |
2657 | +typedef __AW_ALIAS__(LPOUTLINETEXTMETRIC); | |
2658 | + | |
2659 | +typedef struct _RASTERIZER_STATUS | |
2660 | +{ short nSize; | |
2661 | + short wFlags; | |
2662 | + short nLanguageID; | |
2663 | +} RASTERIZER_STATUS, *LPRASTERIZER_STATUS; | |
2664 | + | |
2665 | +typedef struct _POLYTEXTA | |
2666 | +{ int x; | |
2667 | + int y; | |
2668 | + UINT n; | |
2669 | + LPCSTR lpstr; | |
2670 | + UINT uiFlags; | |
2671 | + RECT rcl; | |
2672 | + int *pdx; | |
2411 | 2673 | } POLYTEXTA, *PPOLYTEXTA, *LPPOLYTEXTA; |
2412 | -typedef struct _POLYTEXTW { | |
2413 | - int x; | |
2414 | - int y; | |
2415 | - UINT n; | |
2416 | - LPCWSTR lpstr; | |
2417 | - UINT uiFlags; | |
2418 | - RECT rcl; | |
2419 | - int *pdx; | |
2674 | + | |
2675 | +typedef struct _POLYTEXTW | |
2676 | +{ int x; | |
2677 | + int y; | |
2678 | + UINT n; | |
2679 | + LPCWSTR lpstr; | |
2680 | + UINT uiFlags; | |
2681 | + RECT rcl; | |
2682 | + int *pdx; | |
2420 | 2683 | } POLYTEXTW, *PPOLYTEXTW, *LPPOLYTEXTW; |
2421 | -typedef struct tagPIXELFORMATDESCRIPTOR { | |
2422 | - WORD nSize; | |
2423 | - WORD nVersion; | |
2424 | - DWORD dwFlags; | |
2425 | - BYTE iPixelType; | |
2426 | - BYTE cColorBits; | |
2427 | - BYTE cRedBits; | |
2428 | - BYTE cRedShift; | |
2429 | - BYTE cGreenBits; | |
2430 | - BYTE cGreenShift; | |
2431 | - BYTE cBlueBits; | |
2432 | - BYTE cBlueShift; | |
2433 | - BYTE cAlphaBits; | |
2434 | - BYTE cAlphaShift; | |
2435 | - BYTE cAccumBits; | |
2436 | - BYTE cAccumRedBits; | |
2437 | - BYTE cAccumGreenBits; | |
2438 | - BYTE cAccumBlueBits; | |
2439 | - BYTE cAccumAlphaBits; | |
2440 | - BYTE cDepthBits; | |
2441 | - BYTE cStencilBits; | |
2442 | - BYTE cAuxBuffers; | |
2443 | - BYTE iLayerType; | |
2444 | - BYTE bReserved; | |
2445 | - DWORD dwLayerMask; | |
2446 | - DWORD dwVisibleMask; | |
2447 | - DWORD dwDamageMask; | |
2448 | -} PIXELFORMATDESCRIPTOR,*PPIXELFORMATDESCRIPTOR,*LPPIXELFORMATDESCRIPTOR; | |
2449 | -typedef struct tagMETAFILEPICT { | |
2450 | - LONG mm; | |
2451 | - LONG xExt; | |
2452 | - LONG yExt; | |
2453 | - HMETAFILE hMF; | |
2454 | -} METAFILEPICT,*LPMETAFILEPICT; | |
2455 | -typedef struct tagLOCALESIGNATURE { | |
2456 | - DWORD lsUsb[4]; | |
2457 | - DWORD lsCsbDefault[2]; | |
2458 | - DWORD lsCsbSupported[2]; | |
2459 | -} LOCALESIGNATURE,*PLOCALESIGNATURE,*LPLOCALESIGNATURE; | |
2684 | + | |
2685 | +typedef __AW_ALIAS__(POLYTEXT), *PPOLYTEXT, *LPPOLYTEXT; | |
2686 | + | |
2687 | +typedef struct tagPIXELFORMATDESCRIPTOR | |
2688 | +{ WORD nSize; | |
2689 | + WORD nVersion; | |
2690 | + DWORD dwFlags; | |
2691 | + BYTE iPixelType; | |
2692 | + BYTE cColorBits; | |
2693 | + BYTE cRedBits; | |
2694 | + BYTE cRedShift; | |
2695 | + BYTE cGreenBits; | |
2696 | + BYTE cGreenShift; | |
2697 | + BYTE cBlueBits; | |
2698 | + BYTE cBlueShift; | |
2699 | + BYTE cAlphaBits; | |
2700 | + BYTE cAlphaShift; | |
2701 | + BYTE cAccumBits; | |
2702 | + BYTE cAccumRedBits; | |
2703 | + BYTE cAccumGreenBits; | |
2704 | + BYTE cAccumBlueBits; | |
2705 | + BYTE cAccumAlphaBits; | |
2706 | + BYTE cDepthBits; | |
2707 | + BYTE cStencilBits; | |
2708 | + BYTE cAuxBuffers; | |
2709 | + BYTE iLayerType; | |
2710 | + BYTE bReserved; | |
2711 | + DWORD dwLayerMask; | |
2712 | + DWORD dwVisibleMask; | |
2713 | + DWORD dwDamageMask; | |
2714 | +} PIXELFORMATDESCRIPTOR, *PPIXELFORMATDESCRIPTOR, *LPPIXELFORMATDESCRIPTOR; | |
2715 | + | |
2716 | +typedef struct tagMETAFILEPICT | |
2717 | +{ LONG mm; | |
2718 | + LONG xExt; | |
2719 | + LONG yExt; | |
2720 | + HMETAFILE hMF; | |
2721 | +} METAFILEPICT, *LPMETAFILEPICT; | |
2722 | + | |
2723 | +typedef struct tagLOCALESIGNATURE | |
2724 | +{ DWORD lsUsb[4]; | |
2725 | + DWORD lsCsbDefault[2]; | |
2726 | + DWORD lsCsbSupported[2]; | |
2727 | +} LOCALESIGNATURE, *PLOCALESIGNATURE, *LPLOCALESIGNATURE; | |
2460 | 2728 | typedef LONG LCSTYPE; |
2461 | -#pragma pack(push,4) | |
2462 | -typedef struct tagNEWTEXTMETRICA { | |
2463 | - LONG tmHeight; | |
2464 | - LONG tmAscent; | |
2465 | - LONG tmDescent; | |
2466 | - LONG tmInternalLeading; | |
2467 | - LONG tmExternalLeading; | |
2468 | - LONG tmAveCharWidth; | |
2469 | - LONG tmMaxCharWidth; | |
2470 | - LONG tmWeight; | |
2471 | - LONG tmOverhang; | |
2472 | - LONG tmDigitizedAspectX; | |
2473 | - LONG tmDigitizedAspectY; | |
2474 | - BYTE tmFirstChar; | |
2475 | - BYTE tmLastChar; | |
2476 | - BYTE tmDefaultChar; | |
2477 | - BYTE tmBreakChar; | |
2478 | - BYTE tmItalic; | |
2479 | - BYTE tmUnderlined; | |
2480 | - BYTE tmStruckOut; | |
2481 | - BYTE tmPitchAndFamily; | |
2482 | - BYTE tmCharSet; | |
2483 | - DWORD ntmFlags; | |
2484 | - UINT ntmSizeEM; | |
2485 | - UINT ntmCellHeight; | |
2486 | - UINT ntmAvgWidth; | |
2487 | -} NEWTEXTMETRICA,*PNEWTEXTMETRICA,*LPNEWTEXTMETRICA; | |
2488 | -typedef struct tagNEWTEXTMETRICW { | |
2489 | - LONG tmHeight; | |
2490 | - LONG tmAscent; | |
2491 | - LONG tmDescent; | |
2492 | - LONG tmInternalLeading; | |
2493 | - LONG tmExternalLeading; | |
2494 | - LONG tmAveCharWidth; | |
2495 | - LONG tmMaxCharWidth; | |
2496 | - LONG tmWeight; | |
2497 | - LONG tmOverhang; | |
2498 | - LONG tmDigitizedAspectX; | |
2499 | - LONG tmDigitizedAspectY; | |
2500 | - WCHAR tmFirstChar; | |
2501 | - WCHAR tmLastChar; | |
2502 | - WCHAR tmDefaultChar; | |
2503 | - WCHAR tmBreakChar; | |
2504 | - BYTE tmItalic; | |
2505 | - BYTE tmUnderlined; | |
2506 | - BYTE tmStruckOut; | |
2507 | - BYTE tmPitchAndFamily; | |
2508 | - BYTE tmCharSet; | |
2509 | - DWORD ntmFlags; | |
2510 | - UINT ntmSizeEM; | |
2511 | - UINT ntmCellHeight; | |
2512 | - UINT ntmAvgWidth; | |
2513 | -} NEWTEXTMETRICW,*PNEWTEXTMETRICW,*LPNEWTEXTMETRICW; | |
2514 | -#pragma pack(pop) | |
2515 | -typedef struct tagNEWTEXTMETRICEXA { | |
2516 | - NEWTEXTMETRICA ntmTm; | |
2517 | - FONTSIGNATURE ntmFontSig; | |
2729 | + | |
2730 | +# pragma pack (push, 4) | |
2731 | + | |
2732 | +typedef struct tagNEWTEXTMETRICA | |
2733 | +{ LONG tmHeight; | |
2734 | + LONG tmAscent; | |
2735 | + LONG tmDescent; | |
2736 | + LONG tmInternalLeading; | |
2737 | + LONG tmExternalLeading; | |
2738 | + LONG tmAveCharWidth; | |
2739 | + LONG tmMaxCharWidth; | |
2740 | + LONG tmWeight; | |
2741 | + LONG tmOverhang; | |
2742 | + LONG tmDigitizedAspectX; | |
2743 | + LONG tmDigitizedAspectY; | |
2744 | + BYTE tmFirstChar; | |
2745 | + BYTE tmLastChar; | |
2746 | + BYTE tmDefaultChar; | |
2747 | + BYTE tmBreakChar; | |
2748 | + BYTE tmItalic; | |
2749 | + BYTE tmUnderlined; | |
2750 | + BYTE tmStruckOut; | |
2751 | + BYTE tmPitchAndFamily; | |
2752 | + BYTE tmCharSet; | |
2753 | + DWORD ntmFlags; | |
2754 | + UINT ntmSizeEM; | |
2755 | + UINT ntmCellHeight; | |
2756 | + UINT ntmAvgWidth; | |
2757 | +} NEWTEXTMETRICA, *PNEWTEXTMETRICA, *LPNEWTEXTMETRICA; | |
2758 | + | |
2759 | +typedef struct tagNEWTEXTMETRICW | |
2760 | +{ LONG tmHeight; | |
2761 | + LONG tmAscent; | |
2762 | + LONG tmDescent; | |
2763 | + LONG tmInternalLeading; | |
2764 | + LONG tmExternalLeading; | |
2765 | + LONG tmAveCharWidth; | |
2766 | + LONG tmMaxCharWidth; | |
2767 | + LONG tmWeight; | |
2768 | + LONG tmOverhang; | |
2769 | + LONG tmDigitizedAspectX; | |
2770 | + LONG tmDigitizedAspectY; | |
2771 | + WCHAR tmFirstChar; | |
2772 | + WCHAR tmLastChar; | |
2773 | + WCHAR tmDefaultChar; | |
2774 | + WCHAR tmBreakChar; | |
2775 | + BYTE tmItalic; | |
2776 | + BYTE tmUnderlined; | |
2777 | + BYTE tmStruckOut; | |
2778 | + BYTE tmPitchAndFamily; | |
2779 | + BYTE tmCharSet; | |
2780 | + DWORD ntmFlags; | |
2781 | + UINT ntmSizeEM; | |
2782 | + UINT ntmCellHeight; | |
2783 | + UINT ntmAvgWidth; | |
2784 | +} NEWTEXTMETRICW, *PNEWTEXTMETRICW, *LPNEWTEXTMETRICW; | |
2785 | + | |
2786 | +# pragma pack (pop) | |
2787 | + | |
2788 | +typedef __AW_ALIAS__(NEWTEXTMETRIC), *PNEWTEXTMETRIC, *LPNEWTEXTMETRIC; | |
2789 | + | |
2790 | +typedef struct tagNEWTEXTMETRICEXA | |
2791 | +{ NEWTEXTMETRICA ntmTm; | |
2792 | + FONTSIGNATURE ntmFontSig; | |
2518 | 2793 | } NEWTEXTMETRICEXA; |
2519 | -typedef struct tagNEWTEXTMETRICEXW { | |
2520 | - NEWTEXTMETRICW ntmTm; | |
2521 | - FONTSIGNATURE ntmFontSig; | |
2794 | + | |
2795 | +typedef struct tagNEWTEXTMETRICEXW | |
2796 | +{ NEWTEXTMETRICW ntmTm; | |
2797 | + FONTSIGNATURE ntmFontSig; | |
2522 | 2798 | } NEWTEXTMETRICEXW; |
2523 | -typedef struct tagPELARRAY { | |
2524 | - LONG paXCount; | |
2525 | - LONG paYCount; | |
2526 | - LONG paXExt; | |
2527 | - LONG paYExt; | |
2528 | - BYTE paRGBs; | |
2529 | -} PELARRAY,*PPELARRAY,*LPPELARRAY; | |
2530 | -typedef struct tagENUMLOGFONTA { | |
2531 | - LOGFONTA elfLogFont; | |
2532 | - BYTE elfFullName[LF_FULLFACESIZE]; | |
2533 | - BYTE elfStyle[LF_FACESIZE]; | |
2534 | -} ENUMLOGFONTA,*LPENUMLOGFONTA; | |
2535 | -typedef struct tagENUMLOGFONTW { | |
2536 | - LOGFONTW elfLogFont; | |
2537 | - WCHAR elfFullName[LF_FULLFACESIZE]; | |
2538 | - WCHAR elfStyle[LF_FACESIZE]; | |
2539 | -} ENUMLOGFONTW,*LPENUMLOGFONTW; | |
2540 | -typedef struct tagENUMLOGFONTEXA { | |
2541 | - LOGFONTA elfLogFont; | |
2542 | - BYTE elfFullName[LF_FULLFACESIZE]; | |
2543 | - BYTE elfStyle[LF_FACESIZE]; | |
2544 | - BYTE elfScript[LF_FACESIZE]; | |
2545 | -} ENUMLOGFONTEXA,*LPENUMLOGFONTEXA; | |
2546 | -typedef struct tagENUMLOGFONTEXW { | |
2547 | - LOGFONTW elfLogFont; | |
2548 | - WCHAR elfFullName[LF_FULLFACESIZE]; | |
2549 | - WCHAR elfStyle[LF_FACESIZE]; | |
2550 | - WCHAR elfScript[LF_FACESIZE]; | |
2551 | -} ENUMLOGFONTEXW,*LPENUMLOGFONTEXW; | |
2552 | -typedef struct tagPOINTFX { | |
2553 | - FIXED x; | |
2554 | - FIXED y; | |
2555 | -} POINTFX,*LPPOINTFX; | |
2556 | -typedef struct tagTTPOLYCURVE { | |
2557 | - WORD wType; | |
2558 | - WORD cpfx; | |
2559 | - POINTFX apfx[1]; | |
2560 | -} TTPOLYCURVE,*LPTTPOLYCURVE; | |
2561 | -typedef struct tagTTPOLYGONHEADER { | |
2562 | - DWORD cb; | |
2563 | - DWORD dwType; | |
2564 | - POINTFX pfxStart; | |
2565 | -} TTPOLYGONHEADER,*LPTTPOLYGONHEADER; | |
2566 | -typedef struct _POINTFLOAT { | |
2567 | - FLOAT x; | |
2568 | - FLOAT y; | |
2569 | -} POINTFLOAT,*PPOINTFLOAT; | |
2570 | -typedef struct _GLYPHMETRICSFLOAT { | |
2571 | - FLOAT gmfBlackBoxX; | |
2572 | - FLOAT gmfBlackBoxY; | |
2573 | - POINTFLOAT gmfptGlyphOrigin; | |
2574 | - FLOAT gmfCellIncX; | |
2575 | - FLOAT gmfCellIncY; | |
2576 | -} GLYPHMETRICSFLOAT,*PGLYPHMETRICSFLOAT,*LPGLYPHMETRICSFLOAT; | |
2577 | -typedef struct tagLAYERPLANEDESCRIPTOR { | |
2578 | - WORD nSize; | |
2579 | - WORD nVersion; | |
2580 | - DWORD dwFlags; | |
2581 | - BYTE iPixelType; | |
2582 | - BYTE cColorBits; | |
2583 | - BYTE cRedBits; | |
2584 | - BYTE cRedShift; | |
2585 | - BYTE cGreenBits; | |
2586 | - BYTE cGreenShift; | |
2587 | - BYTE cBlueBits; | |
2588 | - BYTE cBlueShift; | |
2589 | - BYTE cAlphaBits; | |
2590 | - BYTE cAlphaShift; | |
2591 | - BYTE cAccumBits; | |
2592 | - BYTE cAccumRedBits; | |
2593 | - BYTE cAccumGreenBits; | |
2594 | - BYTE cAccumBlueBits; | |
2595 | - BYTE cAccumAlphaBits; | |
2596 | - BYTE cDepthBits; | |
2597 | - BYTE cStencilBits; | |
2598 | - BYTE cAuxBuffers; | |
2599 | - BYTE iLayerPlane; | |
2600 | - BYTE bReserved; | |
2601 | - COLORREF crTransparent; | |
2602 | -} LAYERPLANEDESCRIPTOR,*PLAYERPLANEDESCRIPTOR,*LPLAYERPLANEDESCRIPTOR; | |
2603 | -typedef struct _BLENDFUNCTION { | |
2604 | - BYTE BlendOp; | |
2605 | - BYTE BlendFlags; | |
2606 | - BYTE SourceConstantAlpha; | |
2607 | - BYTE AlphaFormat; | |
2608 | -} BLENDFUNCTION,*PBLENDFUNCTION,*LPBLENDFUNCTION; | |
2799 | + | |
2800 | +typedef __AW_ALIAS__(NEWTEXTMETRICEX); | |
2801 | + | |
2802 | +typedef struct tagPELARRAY | |
2803 | +{ LONG paXCount; | |
2804 | + LONG paYCount; | |
2805 | + LONG paXExt; | |
2806 | + LONG paYExt; | |
2807 | + BYTE paRGBs; | |
2808 | +} PELARRAY, *PPELARRAY, *LPPELARRAY; | |
2809 | + | |
2810 | +typedef struct tagENUMLOGFONTA | |
2811 | +{ LOGFONTA elfLogFont; | |
2812 | + BYTE elfFullName[LF_FULLFACESIZE]; | |
2813 | + BYTE elfStyle[LF_FACESIZE]; | |
2814 | +} ENUMLOGFONTA, *LPENUMLOGFONTA; | |
2815 | + | |
2816 | +typedef struct tagENUMLOGFONTW | |
2817 | +{ LOGFONTW elfLogFont; | |
2818 | + WCHAR elfFullName[LF_FULLFACESIZE]; | |
2819 | + WCHAR elfStyle[LF_FACESIZE]; | |
2820 | +} ENUMLOGFONTW, *LPENUMLOGFONTW; | |
2821 | + | |
2822 | +typedef __AW_ALIAS__(ENUMLOGFONT), *LPENUMLOGFONT; | |
2823 | + | |
2824 | +typedef struct tagENUMLOGFONTEXA | |
2825 | +{ LOGFONTA elfLogFont; | |
2826 | + BYTE elfFullName[LF_FULLFACESIZE]; | |
2827 | + BYTE elfStyle[LF_FACESIZE]; | |
2828 | + BYTE elfScript[LF_FACESIZE]; | |
2829 | +} ENUMLOGFONTEXA, *LPENUMLOGFONTEXA; | |
2830 | + | |
2831 | +typedef struct tagENUMLOGFONTEXW | |
2832 | +{ LOGFONTW elfLogFont; | |
2833 | + WCHAR elfFullName[LF_FULLFACESIZE]; | |
2834 | + WCHAR elfStyle[LF_FACESIZE]; | |
2835 | + WCHAR elfScript[LF_FACESIZE]; | |
2836 | +} ENUMLOGFONTEXW, *LPENUMLOGFONTEXW; | |
2837 | + | |
2838 | +typedef __AW_ALIAS__(ENUMLOGFONTEX), *LPENUMLOGFONTEX; | |
2839 | + | |
2840 | +typedef struct tagPOINTFX | |
2841 | +{ FIXED x; | |
2842 | + FIXED y; | |
2843 | +} POINTFX, *LPPOINTFX; | |
2844 | + | |
2845 | +typedef struct tagTTPOLYCURVE | |
2846 | +{ WORD wType; | |
2847 | + WORD cpfx; | |
2848 | + POINTFX apfx[1]; | |
2849 | +} TTPOLYCURVE, *LPTTPOLYCURVE; | |
2850 | + | |
2851 | +typedef struct tagTTPOLYGONHEADER | |
2852 | +{ DWORD cb; | |
2853 | + DWORD dwType; | |
2854 | + POINTFX pfxStart; | |
2855 | +} TTPOLYGONHEADER, *LPTTPOLYGONHEADER; | |
2856 | + | |
2857 | +typedef struct _POINTFLOAT | |
2858 | +{ FLOAT x; | |
2859 | + FLOAT y; | |
2860 | +} POINTFLOAT, *PPOINTFLOAT; | |
2861 | + | |
2862 | +typedef struct _GLYPHMETRICSFLOAT | |
2863 | +{ FLOAT gmfBlackBoxX; | |
2864 | + FLOAT gmfBlackBoxY; | |
2865 | + POINTFLOAT gmfptGlyphOrigin; | |
2866 | + FLOAT gmfCellIncX; | |
2867 | + FLOAT gmfCellIncY; | |
2868 | +} GLYPHMETRICSFLOAT, *PGLYPHMETRICSFLOAT, *LPGLYPHMETRICSFLOAT; | |
2869 | + | |
2870 | +typedef struct tagLAYERPLANEDESCRIPTOR | |
2871 | +{ WORD nSize; | |
2872 | + WORD nVersion; | |
2873 | + DWORD dwFlags; | |
2874 | + BYTE iPixelType; | |
2875 | + BYTE cColorBits; | |
2876 | + BYTE cRedBits; | |
2877 | + BYTE cRedShift; | |
2878 | + BYTE cGreenBits; | |
2879 | + BYTE cGreenShift; | |
2880 | + BYTE cBlueBits; | |
2881 | + BYTE cBlueShift; | |
2882 | + BYTE cAlphaBits; | |
2883 | + BYTE cAlphaShift; | |
2884 | + BYTE cAccumBits; | |
2885 | + BYTE cAccumRedBits; | |
2886 | + BYTE cAccumGreenBits; | |
2887 | + BYTE cAccumBlueBits; | |
2888 | + BYTE cAccumAlphaBits; | |
2889 | + BYTE cDepthBits; | |
2890 | + BYTE cStencilBits; | |
2891 | + BYTE cAuxBuffers; | |
2892 | + BYTE iLayerPlane; | |
2893 | + BYTE bReserved; | |
2894 | + COLORREF crTransparent; | |
2895 | +} LAYERPLANEDESCRIPTOR, *PLAYERPLANEDESCRIPTOR, *LPLAYERPLANEDESCRIPTOR; | |
2896 | + | |
2897 | +typedef struct _BLENDFUNCTION | |
2898 | +{ BYTE BlendOp; | |
2899 | + BYTE BlendFlags; | |
2900 | + BYTE SourceConstantAlpha; | |
2901 | + BYTE AlphaFormat; | |
2902 | +} BLENDFUNCTION, *PBLENDFUNCTION, *LPBLENDFUNCTION; | |
2903 | + | |
2609 | 2904 | #define MM_MAX_NUMAXES 16 |
2610 | -typedef struct _DESIGNVECTOR { | |
2611 | - DWORD dvReserved; | |
2612 | - DWORD dvNumAxes; | |
2613 | - LONG dvValues[MM_MAX_NUMAXES]; | |
2905 | +typedef struct _DESIGNVECTOR | |
2906 | +{ DWORD dvReserved; | |
2907 | + DWORD dvNumAxes; | |
2908 | + LONG dvValues[MM_MAX_NUMAXES]; | |
2614 | 2909 | } DESIGNVECTOR, *PDESIGNVECTOR, FAR *LPDESIGNVECTOR; |
2615 | -#if _WIN32_WINNT >= 0x0500 | |
2910 | + | |
2911 | +#if _WIN32_WINNT >= _WIN32_WINNT_WIN2K | |
2616 | 2912 | typedef struct tagENUMLOGFONTEXDVA |
2617 | -{ | |
2618 | - ENUMLOGFONTEXA elfEnumLogfontEx; | |
2619 | - DESIGNVECTOR elfDesignVector; | |
2913 | +{ ENUMLOGFONTEXA elfEnumLogfontEx; | |
2914 | + DESIGNVECTOR elfDesignVector; | |
2620 | 2915 | } ENUMLOGFONTEXDVA, *PENUMLOGFONTEXDVA, *LPENUMLOGFONTEXDVA; |
2916 | + | |
2621 | 2917 | typedef struct tagENUMLOGFONTEXDVW |
2622 | -{ | |
2623 | - ENUMLOGFONTEXW elfEnumLogfontEx; | |
2624 | - DESIGNVECTOR elfDesignVector; | |
2918 | +{ ENUMLOGFONTEXW elfEnumLogfontEx; | |
2919 | + DESIGNVECTOR elfDesignVector; | |
2625 | 2920 | } ENUMLOGFONTEXDVW, *PENUMLOGFONTEXDVW, *LPENUMLOGFONTEXDVW; |
2626 | -#endif /* _WIN32_WINNT >= 0x0500 */ | |
2921 | + | |
2922 | +typedef __AW_ALIAS__(ENUMLOGFONTEXDV), *PENUMLOGFONTEXDV, *LPENUMLOGFONTEXDV; | |
2923 | +#endif /* WINNT >= Win2K */ | |
2924 | + | |
2627 | 2925 | typedef USHORT COLOR16; |
2628 | -typedef struct _TRIVERTEX { | |
2629 | - LONG x; | |
2630 | - LONG y; | |
2631 | - COLOR16 Red; | |
2632 | - COLOR16 Green; | |
2633 | - COLOR16 Blue; | |
2634 | - COLOR16 Alpha; | |
2926 | + | |
2927 | +typedef struct _TRIVERTEX | |
2928 | +{ LONG x; | |
2929 | + LONG y; | |
2930 | + COLOR16 Red; | |
2931 | + COLOR16 Green; | |
2932 | + COLOR16 Blue; | |
2933 | + COLOR16 Alpha; | |
2635 | 2934 | } TRIVERTEX, *PTRIVERTEX, *LPTRIVERTEX; |
2636 | -typedef struct _GRADIENT_TRIANGLE { | |
2637 | - ULONG Vertex1; | |
2638 | - ULONG Vertex2; | |
2639 | - ULONG Vertex3; | |
2640 | -} GRADIENT_TRIANGLE,*PGRADIENT_TRIANGLE,*LPGRADIENT_TRIANGLE; | |
2641 | -typedef struct _GRADIENT_RECT { | |
2642 | - ULONG UpperLeft; | |
2643 | - ULONG LowerRight; | |
2644 | -}GRADIENT_RECT,*PGRADIENT_RECT,*LPGRADIENT_RECT; | |
2645 | -typedef struct _DISPLAY_DEVICEA { | |
2646 | - DWORD cb; | |
2647 | - CHAR DeviceName[32]; | |
2648 | - CHAR DeviceString[128]; | |
2649 | - DWORD StateFlags; | |
2650 | - CHAR DeviceID[128]; | |
2651 | - CHAR DeviceKey[128]; | |
2935 | + | |
2936 | +typedef struct _GRADIENT_TRIANGLE | |
2937 | +{ ULONG Vertex1; | |
2938 | + ULONG Vertex2; | |
2939 | + ULONG Vertex3; | |
2940 | +} GRADIENT_TRIANGLE, *PGRADIENT_TRIANGLE, *LPGRADIENT_TRIANGLE; | |
2941 | + | |
2942 | +typedef struct _GRADIENT_RECT | |
2943 | +{ ULONG UpperLeft; | |
2944 | + ULONG LowerRight; | |
2945 | +}GRADIENT_RECT, *PGRADIENT_RECT, *LPGRADIENT_RECT; | |
2946 | + | |
2947 | +typedef struct _DISPLAY_DEVICEA | |
2948 | +{ DWORD cb; | |
2949 | + CHAR DeviceName[32]; | |
2950 | + CHAR DeviceString[128]; | |
2951 | + DWORD StateFlags; | |
2952 | + CHAR DeviceID[128]; | |
2953 | + CHAR DeviceKey[128]; | |
2652 | 2954 | } DISPLAY_DEVICEA, *PDISPLAY_DEVICEA, *LPDISPLAY_DEVICEA; |
2653 | -typedef struct _DISPLAY_DEVICEW { | |
2654 | - DWORD cb; | |
2655 | - WCHAR DeviceName[32]; | |
2656 | - WCHAR DeviceString[128]; | |
2657 | - DWORD StateFlags; | |
2658 | - WCHAR DeviceID[128]; | |
2659 | - WCHAR DeviceKey[128]; | |
2955 | + | |
2956 | +typedef struct _DISPLAY_DEVICEW | |
2957 | +{ DWORD cb; | |
2958 | + WCHAR DeviceName[32]; | |
2959 | + WCHAR DeviceString[128]; | |
2960 | + DWORD StateFlags; | |
2961 | + WCHAR DeviceID[128]; | |
2962 | + WCHAR DeviceKey[128]; | |
2660 | 2963 | } DISPLAY_DEVICEW, *PDISPLAY_DEVICEW, *LPDISPLAY_DEVICEW; |
2661 | 2964 | |
2662 | -typedef BOOL (CALLBACK *ABORTPROC)(HDC,int); | |
2663 | -typedef int (CALLBACK *MFENUMPROC)(HDC,HANDLETABLE*,METARECORD*,int,LPARAM); | |
2664 | -typedef int (CALLBACK *ENHMFENUMPROC)(HDC,HANDLETABLE*,const ENHMETARECORD*,int,LPARAM); | |
2665 | -typedef int (CALLBACK *OLDFONTENUMPROCA)(const LOGFONTA*,const TEXTMETRICA*,DWORD,LPARAM); | |
2666 | -typedef int (CALLBACK *OLDFONTENUMPROCW)(const LOGFONTW*,const TEXTMETRICW*,DWORD,LPARAM); | |
2965 | +typedef __AW_ALIAS__(DISPLAY_DEVICE), *PDISPLAY_DEVICE, *LPDISPLAY_DEVICE; | |
2966 | + | |
2967 | +typedef BOOL (CALLBACK *ABORTPROC) (HDC, int); | |
2968 | + | |
2969 | +typedef int (CALLBACK *MFENUMPROC) | |
2970 | +(HDC, HANDLETABLE *, METARECORD *, int, LPARAM); | |
2971 | + | |
2972 | +typedef int (CALLBACK *ENHMFENUMPROC) | |
2973 | +(HDC, HANDLETABLE *, const ENHMETARECORD *, int, LPARAM); | |
2974 | + | |
2975 | +typedef int (CALLBACK *OLDFONTENUMPROCA) | |
2976 | +(const LOGFONTA *, const TEXTMETRICA *, DWORD, LPARAM); | |
2977 | + | |
2978 | +typedef int (CALLBACK *OLDFONTENUMPROCW) | |
2979 | +(const LOGFONTW *, const TEXTMETRICW *, DWORD, LPARAM); | |
2980 | + | |
2981 | +#define FONTENUMPROC __AW_SUFFIXED__(FONTENUMPROC) | |
2667 | 2982 | typedef OLDFONTENUMPROCA FONTENUMPROCA; |
2668 | 2983 | typedef OLDFONTENUMPROCW FONTENUMPROCW; |
2669 | -typedef int (CALLBACK *ICMENUMPROCA)(LPSTR,LPARAM); | |
2670 | -typedef int (CALLBACK *ICMENUMPROCW)(LPWSTR,LPARAM); | |
2671 | -typedef void (CALLBACK *GOBJENUMPROC)(LPVOID,LPARAM); | |
2672 | -typedef void (CALLBACK *LINEDDAPROC)(int,int,LPARAM); | |
2673 | -typedef UINT (CALLBACK *LPFNDEVMODE)(HWND,HMODULE,LPDEVMODEA,LPSTR,LPSTR,LPDEVMODEA,LPSTR,UINT); | |
2674 | -typedef DWORD (CALLBACK *LPFNDEVCAPS)(LPSTR,LPSTR,UINT,LPSTR,LPDEVMODEA); | |
2675 | - | |
2676 | -#define MAKEPOINTS(l) (*((POINTS*)&(l))) | |
2677 | -#define MAKEROP4(f,b) (DWORD)((((b)<<8)&0xFF000000)|(f)) | |
2678 | - | |
2679 | -#define GetCValue(cmyk) ((BYTE)(cmyk)) | |
2680 | -#define GetMValue(cmyk) ((BYTE)((cmyk)>> 8)) | |
2681 | -#define GetYValue(cmyk) ((BYTE)((cmyk)>>16)) | |
2682 | -#define GetKValue(cmyk) ((BYTE)((cmyk)>>24)) | |
2683 | -#define CMYK(c,m,y,k) ((COLORREF)((BYTE)(k)|((BYTE)(y)<<8)|((BYTE)(m)<<16)|((BYTE)(c)<<24))) | |
2684 | - | |
2685 | -#define GetRValue(c) ((BYTE)(c)) | |
2686 | -#define GetGValue(c) ((BYTE)(((WORD)(c))>>8)) | |
2687 | -#define GetBValue(c) ((BYTE)((c)>>16)) | |
2688 | -#define RGB(r,g,b) ((COLORREF)((BYTE)(r)|((BYTE)(g) << 8)|((BYTE)(b) << 16))) | |
2689 | - | |
2690 | -#define PALETTEINDEX(i) ((0x01000000|(COLORREF)(WORD)(i))) | |
2691 | -#define PALETTERGB(r,g,b) (0x02000000|RGB(r,g,b)) | |
2692 | - | |
2693 | -WINGDIAPI int WINAPI AbortDoc(HDC); | |
2694 | -WINGDIAPI BOOL WINAPI AbortPath(HDC); | |
2695 | -WINGDIAPI int WINAPI AddFontResourceA(LPCSTR); | |
2696 | -WINGDIAPI int WINAPI AddFontResourceW(LPCWSTR); | |
2697 | -#if (_WIN32_WINNT >= 0x0500) | |
2698 | -WINGDIAPI HANDLE WINAPI AddFontMemResourceEx(PVOID,DWORD,PVOID,DWORD *); | |
2699 | -WINGDIAPI int WINAPI AddFontResourceExA(LPCSTR,DWORD,PVOID); | |
2700 | -WINGDIAPI int WINAPI AddFontResourceExW(LPCWSTR,DWORD,PVOID); | |
2701 | -#endif | |
2702 | -WINGDIAPI BOOL WINAPI AngleArc(HDC,int,int,DWORD,FLOAT,FLOAT); | |
2703 | -WINGDIAPI BOOL WINAPI AnimatePalette(HPALETTE,UINT,UINT,const PALETTEENTRY*); | |
2704 | -WINGDIAPI BOOL WINAPI Arc(HDC,int,int,int,int,int,int,int,int); | |
2705 | -WINGDIAPI BOOL WINAPI ArcTo(HDC,int,int,int,int,int,int,int,int); | |
2706 | -WINGDIAPI BOOL WINAPI BeginPath(HDC); | |
2707 | -WINGDIAPI BOOL WINAPI BitBlt(HDC,int,int,int,int,HDC,int,int,DWORD); | |
2708 | -WINGDIAPI BOOL WINAPI CancelDC(HDC); | |
2709 | -WINGDIAPI BOOL WINAPI CheckColorsInGamut(HDC,PVOID,PVOID,DWORD); | |
2710 | -WINGDIAPI BOOL WINAPI Chord(HDC,int,int,int,int,int,int,int,int); | |
2711 | -WINGDIAPI int WINAPI ChoosePixelFormat(HDC,CONST PIXELFORMATDESCRIPTOR*); | |
2712 | -WINGDIAPI HENHMETAFILE WINAPI CloseEnhMetaFile(HDC); | |
2713 | -WINGDIAPI BOOL WINAPI CloseFigure(HDC); | |
2714 | -WINGDIAPI HMETAFILE WINAPI CloseMetaFile(HDC); | |
2715 | -#if (_WIN32_WINDOWS >= 0x0410 || _WIN32_WINNT >= 0x0500) | |
2716 | -WINGDIAPI BOOL WINAPI ColorCorrectPalette(HDC,HPALETTE,DWORD,DWORD); | |
2717 | -WINGDIAPI BOOL WINAPI ColorMatchToTarget(HDC,HDC,DWORD); | |
2718 | -#endif | |
2719 | -WINGDIAPI int WINAPI CombineRgn(HRGN,HRGN,HRGN,int); | |
2720 | -WINGDIAPI BOOL WINAPI CombineTransform(LPXFORM,const XFORM*,const XFORM*); | |
2721 | -WINGDIAPI HENHMETAFILE WINAPI CopyEnhMetaFileA(HENHMETAFILE,LPCSTR); | |
2722 | -WINGDIAPI HENHMETAFILE WINAPI CopyEnhMetaFileW(HENHMETAFILE,LPCWSTR); | |
2723 | -WINGDIAPI HMETAFILE WINAPI CopyMetaFileA(HMETAFILE,LPCSTR); | |
2724 | -WINGDIAPI HMETAFILE WINAPI CopyMetaFileW(HMETAFILE,LPCWSTR); | |
2725 | -WINGDIAPI HBITMAP WINAPI CreateBitmap(int,int,UINT,UINT,PCVOID); | |
2726 | -WINGDIAPI HBITMAP WINAPI CreateBitmapIndirect(const BITMAP*); | |
2727 | -WINGDIAPI HBRUSH WINAPI CreateBrushIndirect(const LOGBRUSH*); | |
2728 | -WINGDIAPI HCOLORSPACE WINAPI CreateColorSpaceA(LPLOGCOLORSPACEA); | |
2729 | -WINGDIAPI HCOLORSPACE WINAPI CreateColorSpaceW(LPLOGCOLORSPACEW); | |
2730 | -WINGDIAPI HBITMAP WINAPI CreateCompatibleBitmap(HDC,int,int); | |
2731 | -WINGDIAPI HDC WINAPI CreateCompatibleDC(HDC); | |
2732 | -WINGDIAPI HDC WINAPI CreateDCA(LPCSTR,LPCSTR,LPCSTR,const DEVMODEA*); | |
2733 | -WINGDIAPI HDC WINAPI CreateDCW(LPCWSTR,LPCWSTR,LPCWSTR,const DEVMODEW*); | |
2734 | -WINGDIAPI HBITMAP WINAPI CreateDIBitmap(HDC,const BITMAPINFOHEADER*,DWORD,PCVOID,const BITMAPINFO*,UINT); | |
2735 | -WINGDIAPI HBRUSH WINAPI CreateDIBPatternBrush(HGLOBAL,UINT); | |
2736 | -WINGDIAPI HBRUSH WINAPI CreateDIBPatternBrushPt(PCVOID,UINT); | |
2737 | -WINGDIAPI HBITMAP WINAPI CreateDIBSection(HDC,const BITMAPINFO*,UINT,void**,HANDLE,DWORD); | |
2738 | -WINGDIAPI HBITMAP WINAPI CreateDiscardableBitmap(HDC,int,int); | |
2739 | -WINGDIAPI HRGN WINAPI CreateEllipticRgn(int,int,int,int); | |
2740 | -WINGDIAPI HRGN WINAPI CreateEllipticRgnIndirect(LPCRECT); | |
2741 | -WINGDIAPI HDC WINAPI CreateEnhMetaFileA(HDC,LPCSTR,LPCRECT,LPCSTR); | |
2742 | -WINGDIAPI HDC WINAPI CreateEnhMetaFileW(HDC,LPCWSTR,LPCRECT,LPCWSTR); | |
2743 | -WINGDIAPI HFONT WINAPI CreateFontA(int,int,int,int,int,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,LPCSTR); | |
2744 | -WINGDIAPI HFONT WINAPI CreateFontW(int,int,int,int,int,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,LPCWSTR); | |
2745 | -WINGDIAPI HFONT WINAPI CreateFontIndirectA(const LOGFONTA*); | |
2746 | -WINGDIAPI HFONT WINAPI CreateFontIndirectW(const LOGFONTW*); | |
2747 | -WINGDIAPI HPALETTE WINAPI CreateHalftonePalette(HDC); | |
2748 | -WINGDIAPI HBRUSH WINAPI CreateHatchBrush(int,COLORREF); | |
2749 | -WINGDIAPI HDC WINAPI CreateICA(LPCSTR,LPCSTR,LPCSTR,const DEVMODEA*); | |
2750 | -WINGDIAPI HDC WINAPI CreateICW(LPCWSTR,LPCWSTR,LPCWSTR,const DEVMODEW*); | |
2751 | -WINGDIAPI HDC WINAPI CreateMetaFileA(LPCSTR); | |
2752 | -WINGDIAPI HDC WINAPI CreateMetaFileW(LPCWSTR); | |
2753 | -WINGDIAPI HPALETTE WINAPI CreatePalette(const LOGPALETTE*); | |
2754 | -WINGDIAPI HBRUSH WINAPI CreatePatternBrush(HBITMAP); | |
2755 | -WINGDIAPI HPEN WINAPI CreatePen(int,int,COLORREF); | |
2756 | -WINGDIAPI HPEN WINAPI CreatePenIndirect(const LOGPEN*); | |
2757 | -WINGDIAPI HRGN WINAPI CreatePolygonRgn(const POINT*,int,int); | |
2758 | -WINGDIAPI HRGN WINAPI CreatePolyPolygonRgn(const POINT*,const INT*,int,int); | |
2759 | -WINGDIAPI HRGN WINAPI CreateRectRgn(int,int,int,int); | |
2760 | -WINGDIAPI HRGN WINAPI CreateRectRgnIndirect(LPCRECT); | |
2761 | -WINGDIAPI HRGN WINAPI CreateRoundRectRgn(int,int,int,int,int,int); | |
2762 | -WINGDIAPI BOOL WINAPI CreateScalableFontResourceA(DWORD,LPCSTR,LPCSTR,LPCSTR); | |
2763 | -WINGDIAPI BOOL WINAPI CreateScalableFontResourceW(DWORD,LPCWSTR,LPCWSTR,LPCWSTR); | |
2764 | -WINGDIAPI HBRUSH WINAPI CreateSolidBrush(COLORREF); | |
2765 | -WINGDIAPI BOOL WINAPI DeleteColorSpace(HCOLORSPACE); | |
2766 | -WINGDIAPI BOOL WINAPI DeleteDC(HDC); | |
2767 | -WINGDIAPI BOOL WINAPI DeleteEnhMetaFile(HENHMETAFILE); | |
2768 | -WINGDIAPI BOOL WINAPI DeleteMetaFile(HMETAFILE); | |
2769 | -WINGDIAPI BOOL WINAPI DeleteObject(HGDIOBJ); | |
2770 | -WINGDIAPI int WINAPI DescribePixelFormat(HDC,int,UINT,LPPIXELFORMATDESCRIPTOR); | |
2771 | -WINGDIAPI DWORD WINAPI DeviceCapabilitiesA(LPCSTR,LPCSTR,WORD,LPSTR,const DEVMODEA*); | |
2772 | -WINGDIAPI DWORD WINAPI DeviceCapabilitiesW(LPCWSTR,LPCWSTR,WORD,LPWSTR,const DEVMODEW*); | |
2773 | -WINGDIAPI BOOL WINAPI DPtoLP(HDC,LPPOINT,int); | |
2774 | -WINGDIAPI int WINAPI DrawEscape(HDC,int,int,LPCSTR); | |
2775 | -WINGDIAPI BOOL WINAPI Ellipse(HDC,int,int,int,int); | |
2776 | -WINGDIAPI int WINAPI EndDoc(HDC); | |
2777 | -WINGDIAPI int WINAPI EndPage(HDC); | |
2778 | -WINGDIAPI BOOL WINAPI EndPath(HDC); | |
2779 | -WINGDIAPI BOOL WINAPI EnumEnhMetaFile(HDC,HENHMETAFILE,ENHMFENUMPROC,PVOID,LPCRECT); | |
2780 | -WINGDIAPI int WINAPI EnumFontFamiliesA(HDC,LPCSTR,FONTENUMPROCA,LPARAM); | |
2781 | -WINGDIAPI int WINAPI EnumFontFamiliesW(HDC,LPCWSTR,FONTENUMPROCW,LPARAM); | |
2782 | -WINGDIAPI int WINAPI EnumFontFamiliesExA(HDC,PLOGFONTA,FONTENUMPROCA,LPARAM,DWORD); | |
2783 | -WINGDIAPI int WINAPI EnumFontFamiliesExW(HDC,PLOGFONTW,FONTENUMPROCW,LPARAM,DWORD); | |
2784 | -WINGDIAPI int WINAPI EnumFontsA(HDC,LPCSTR,FONTENUMPROCA,LPARAM); | |
2785 | -WINGDIAPI int WINAPI EnumFontsW(HDC,LPCWSTR,FONTENUMPROCW,LPARAM); | |
2786 | -WINGDIAPI int WINAPI EnumICMProfilesA(HDC,ICMENUMPROCA,LPARAM); | |
2787 | -WINGDIAPI int WINAPI EnumICMProfilesW(HDC,ICMENUMPROCW,LPARAM); | |
2788 | -WINGDIAPI BOOL WINAPI EnumMetaFile(HDC,HMETAFILE,MFENUMPROC,LPARAM); | |
2789 | -WINGDIAPI int WINAPI EnumObjects(HDC,int,GOBJENUMPROC,LPARAM); | |
2790 | -WINGDIAPI BOOL WINAPI EqualRgn(HRGN,HRGN); | |
2791 | -WINGDIAPI int WINAPI Escape(HDC,int,int,LPCSTR,PVOID); | |
2792 | -WINGDIAPI int WINAPI ExcludeClipRect(HDC,int,int,int,int); | |
2793 | -WINGDIAPI int WINAPI ExcludeUpdateRgn(HDC,HWND); | |
2794 | -WINGDIAPI HPEN WINAPI ExtCreatePen(DWORD,DWORD,const LOGBRUSH*,DWORD,const DWORD*); | |
2795 | -WINGDIAPI HRGN WINAPI ExtCreateRegion(const XFORM*,DWORD,const RGNDATA*); | |
2796 | -WINGDIAPI int WINAPI ExtEscape(HDC,int,int,LPCSTR,int,LPSTR); | |
2797 | -WINGDIAPI BOOL WINAPI ExtFloodFill(HDC,int,int,COLORREF,UINT); | |
2798 | -WINGDIAPI int WINAPI ExtSelectClipRgn(HDC,HRGN,int); | |
2799 | -WINGDIAPI BOOL WINAPI ExtTextOutA(HDC,int,int,UINT,LPCRECT,LPCSTR,UINT,const INT*); | |
2800 | -WINGDIAPI BOOL WINAPI ExtTextOutW(HDC,int,int,UINT,LPCRECT,LPCWSTR,UINT,const INT*); | |
2801 | -WINGDIAPI BOOL WINAPI FillPath(HDC); | |
2802 | -WINGDIAPI int WINAPI FillRect(HDC,LPCRECT,HBRUSH); | |
2803 | -WINGDIAPI int WINAPI FillRgn(HDC,HRGN,HBRUSH); | |
2804 | -WINGDIAPI BOOL WINAPI FixBrushOrgEx(HDC,int,int,LPPOINT); | |
2805 | -WINGDIAPI BOOL WINAPI FlattenPath(HDC); | |
2806 | -WINGDIAPI BOOL WINAPI FloodFill(HDC,int,int,COLORREF); | |
2807 | -WINGDIAPI BOOL WINAPI GdiComment(HDC,UINT,const BYTE*); | |
2808 | -WINGDIAPI BOOL WINAPI GdiFlush(void); | |
2809 | -WINGDIAPI DWORD WINAPI GdiGetBatchLimit(void); | |
2810 | -WINGDIAPI DWORD WINAPI GdiSetBatchLimit(DWORD); | |
2811 | -WINGDIAPI int WINAPI GetArcDirection(HDC); | |
2812 | -WINGDIAPI BOOL WINAPI GetAspectRatioFilterEx(HDC,LPSIZE); | |
2813 | -WINGDIAPI LONG WINAPI GetBitmapBits(HBITMAP,LONG,PVOID); | |
2814 | -WINGDIAPI BOOL WINAPI GetBitmapDimensionEx(HBITMAP,LPSIZE); | |
2815 | -WINGDIAPI COLORREF WINAPI GetBkColor(HDC); | |
2816 | -WINGDIAPI int WINAPI GetBkMode(HDC); | |
2817 | -WINGDIAPI UINT WINAPI GetBoundsRect(HDC,LPRECT,UINT); | |
2818 | -WINGDIAPI BOOL WINAPI GetBrushOrgEx(HDC,LPPOINT); | |
2819 | -WINGDIAPI BOOL WINAPI GetCharABCWidthsA(HDC,UINT,UINT,LPABC); | |
2820 | -WINGDIAPI BOOL WINAPI GetCharABCWidthsW(HDC,UINT,UINT,LPABC); | |
2821 | -WINGDIAPI BOOL WINAPI GetCharABCWidthsFloatA(HDC,UINT,UINT,LPABCFLOAT); | |
2822 | -WINGDIAPI BOOL WINAPI GetCharABCWidthsFloatW(HDC,UINT,UINT,LPABCFLOAT); | |
2823 | -WINGDIAPI DWORD WINAPI GetCharacterPlacementA(HDC,LPCSTR,int,int,LPGCP_RESULTSA,DWORD); | |
2824 | -WINGDIAPI DWORD WINAPI GetCharacterPlacementW(HDC,LPCWSTR,int,int,LPGCP_RESULTSW,DWORD); | |
2825 | -WINGDIAPI BOOL WINAPI GetCharWidth32A(HDC,UINT,UINT,LPINT); | |
2826 | -WINGDIAPI BOOL WINAPI GetCharWidth32W(HDC,UINT,UINT,LPINT); | |
2827 | -WINGDIAPI BOOL WINAPI GetCharWidthA(HDC,UINT,UINT,LPINT); | |
2828 | -WINGDIAPI BOOL WINAPI GetCharWidthW(HDC,UINT,UINT,LPINT); | |
2829 | -WINGDIAPI BOOL WINAPI GetCharWidthFloatA(HDC,UINT,UINT,PFLOAT); | |
2830 | -WINGDIAPI BOOL WINAPI GetCharWidthFloatW(HDC,UINT,UINT,PFLOAT); | |
2831 | -WINGDIAPI int WINAPI GetClipBox(HDC,LPRECT); | |
2832 | -WINGDIAPI int WINAPI GetClipRgn(HDC,HRGN); | |
2833 | -WINGDIAPI BOOL WINAPI GetColorAdjustment(HDC,LPCOLORADJUSTMENT); | |
2834 | -WINGDIAPI HANDLE WINAPI GetColorSpace(HDC); | |
2835 | -WINGDIAPI HGDIOBJ WINAPI GetCurrentObject(HDC,UINT); | |
2836 | -WINGDIAPI BOOL WINAPI GetCurrentPositionEx(HDC,LPPOINT); | |
2837 | -WINGDIAPI HCURSOR WINAPI GetCursor(void); | |
2838 | -#if (WINVER >= 0x0500) | |
2839 | -WINGDIAPI COLORREF WINAPI GetDCBrushColor(HDC); | |
2840 | -WINGDIAPI COLORREF WINAPI GetDCPenColor(HDC); | |
2841 | -#endif | |
2842 | -WINGDIAPI BOOL WINAPI GetDCOrgEx(HDC,LPPOINT); | |
2843 | -WINGDIAPI int WINAPI GetDeviceCaps(HDC,int); | |
2844 | -WINGDIAPI BOOL WINAPI GetDeviceGammaRamp(HDC,PVOID); | |
2845 | -WINGDIAPI UINT WINAPI GetDIBColorTable(HDC,UINT,UINT,RGBQUAD*); | |
2846 | -WINGDIAPI int WINAPI GetDIBits(HDC,HBITMAP,UINT,UINT,PVOID,LPBITMAPINFO,UINT); | |
2847 | -WINGDIAPI HENHMETAFILE WINAPI GetEnhMetaFileA(LPCSTR); | |
2848 | -WINGDIAPI HENHMETAFILE WINAPI GetEnhMetaFileW(LPCWSTR); | |
2849 | -WINGDIAPI UINT WINAPI GetEnhMetaFileBits(HENHMETAFILE,UINT,LPBYTE); | |
2850 | -WINGDIAPI UINT WINAPI GetEnhMetaFileDescriptionA(HENHMETAFILE,UINT,LPSTR); | |
2851 | -WINGDIAPI UINT WINAPI GetEnhMetaFileDescriptionW(HENHMETAFILE,UINT,LPWSTR); | |
2852 | -WINGDIAPI UINT WINAPI GetEnhMetaFileHeader(HENHMETAFILE,UINT,LPENHMETAHEADER); | |
2853 | -WINGDIAPI UINT WINAPI GetEnhMetaFilePaletteEntries(HENHMETAFILE,UINT,LPPALETTEENTRY); | |
2854 | -WINGDIAPI UINT WINAPI GetEnhMetaFilePixelFormat(HENHMETAFILE,DWORD,CONST PIXELFORMATDESCRIPTOR*); | |
2855 | -WINGDIAPI DWORD WINAPI GetFontData(HDC,DWORD,DWORD,PVOID,DWORD); | |
2856 | -WINGDIAPI DWORD WINAPI GetFontLanguageInfo(HDC); | |
2857 | -WINGDIAPI DWORD WINAPI GetGlyphOutlineA(HDC,UINT,UINT,LPGLYPHMETRICS,DWORD,PVOID,const MAT2*); | |
2858 | -WINGDIAPI DWORD WINAPI GetGlyphOutlineW(HDC,UINT,UINT,LPGLYPHMETRICS,DWORD,PVOID,const MAT2*); | |
2859 | -WINGDIAPI int WINAPI GetGraphicsMode(HDC); | |
2860 | -WINGDIAPI BOOL WINAPI GetICMProfileA(HDC,LPDWORD,LPSTR); | |
2861 | -WINGDIAPI BOOL WINAPI GetICMProfileW(HDC,LPDWORD,LPWSTR); | |
2862 | -WINGDIAPI DWORD WINAPI GetKerningPairsA(HDC,DWORD,LPKERNINGPAIR); | |
2863 | -WINGDIAPI DWORD WINAPI GetKerningPairsW(HDC,DWORD,LPKERNINGPAIR); | |
2864 | -WINGDIAPI BOOL WINAPI GetLogColorSpaceA(HCOLORSPACE,LPLOGCOLORSPACEA,DWORD); | |
2865 | -WINGDIAPI BOOL WINAPI GetLogColorSpaceW(HCOLORSPACE,LPLOGCOLORSPACEW,DWORD); | |
2866 | -WINGDIAPI int WINAPI GetMapMode(HDC); | |
2867 | -WINGDIAPI HMETAFILE WINAPI GetMetaFileA(LPCSTR); | |
2868 | -WINGDIAPI HMETAFILE WINAPI GetMetaFileW(LPCWSTR); | |
2869 | -WINGDIAPI UINT WINAPI GetMetaFileBitsEx(HMETAFILE,UINT,PVOID); | |
2870 | -WINGDIAPI int WINAPI GetMetaRgn(HDC,HRGN); | |
2871 | -WINGDIAPI BOOL WINAPI GetMiterLimit(HDC,PFLOAT); | |
2872 | -WINGDIAPI COLORREF WINAPI GetNearestColor(HDC,COLORREF); | |
2873 | -WINGDIAPI UINT WINAPI GetNearestPaletteIndex(HPALETTE,COLORREF); | |
2874 | -WINGDIAPI int WINAPI GetObjectA(HGDIOBJ,int,PVOID); | |
2875 | -WINGDIAPI int WINAPI GetObjectW(HGDIOBJ,int,PVOID); | |
2876 | -WINGDIAPI DWORD WINAPI GetObjectType(HGDIOBJ); | |
2877 | -WINGDIAPI UINT WINAPI GetOutlineTextMetricsA(HDC,UINT,LPOUTLINETEXTMETRICA); | |
2878 | -WINGDIAPI UINT WINAPI GetOutlineTextMetricsW(HDC,UINT,LPOUTLINETEXTMETRICW); | |
2879 | -WINGDIAPI UINT WINAPI GetPaletteEntries(HPALETTE,UINT,UINT,LPPALETTEENTRY); | |
2880 | -WINGDIAPI int WINAPI GetPath(HDC,LPPOINT,PBYTE,int); | |
2881 | -WINGDIAPI COLORREF WINAPI GetPixel(HDC,int,int); | |
2882 | -WINGDIAPI int WINAPI GetPixelFormat(HDC); | |
2883 | -WINGDIAPI int WINAPI GetPolyFillMode(HDC); | |
2884 | -WINGDIAPI BOOL WINAPI GetRasterizerCaps(LPRASTERIZER_STATUS,UINT); | |
2885 | -WINGDIAPI int WINAPI GetRandomRgn (HDC,HRGN,INT); | |
2886 | -WINGDIAPI DWORD WINAPI GetRegionData(HRGN,DWORD,LPRGNDATA); | |
2887 | -WINGDIAPI int WINAPI GetRgnBox(HRGN,LPRECT); | |
2888 | -WINGDIAPI int WINAPI GetROP2(HDC); | |
2889 | -WINGDIAPI HGDIOBJ WINAPI GetStockObject(int); | |
2890 | -WINGDIAPI int WINAPI GetStretchBltMode(HDC); | |
2891 | -WINGDIAPI UINT WINAPI GetSystemPaletteEntries(HDC,UINT,UINT,LPPALETTEENTRY); | |
2892 | -WINGDIAPI UINT WINAPI GetSystemPaletteUse(HDC); | |
2893 | -WINGDIAPI UINT WINAPI GetTextAlign(HDC); | |
2894 | -WINGDIAPI int WINAPI GetTextCharacterExtra(HDC); | |
2895 | -WINGDIAPI int WINAPI GetTextCharset(HDC); | |
2896 | -WINGDIAPI int WINAPI GetTextCharsetInfo(HDC,LPFONTSIGNATURE,DWORD); | |
2897 | -WINGDIAPI COLORREF WINAPI GetTextColor(HDC); | |
2898 | -WINGDIAPI BOOL WINAPI GetTextExtentExPointA(HDC,LPCSTR,int,int,LPINT,LPINT,LPSIZE); | |
2899 | -WINGDIAPI BOOL WINAPI GetTextExtentExPointW( HDC,LPCWSTR,int,int,LPINT,LPINT,LPSIZE ); | |
2900 | -WINGDIAPI BOOL WINAPI GetTextExtentPointA(HDC,LPCSTR,int,LPSIZE); | |
2901 | -WINGDIAPI BOOL WINAPI GetTextExtentPointW(HDC,LPCWSTR,int,LPSIZE); | |
2902 | -#if (_WIN32_WINNT >= 0x0500) | |
2903 | -WINGDIAPI BOOL WINAPI GetTextExtentExPointI(HDC, LPWORD, int, int, LPINT, LPINT, LPSIZE); | |
2904 | -#endif | |
2905 | -#ifdef _WIN32_WCE | |
2906 | -extern BOOL GetTextExtentPoint32A(HDC,LPCSTR,int,LPSIZE); | |
2907 | -extern BOOL GetTextExtentPoint32W( HDC,LPCWSTR,int,LPSIZE); | |
2908 | -#else | |
2909 | -WINGDIAPI BOOL WINAPI GetTextExtentPoint32A(HDC,LPCSTR,int,LPSIZE); | |
2910 | -WINGDIAPI BOOL WINAPI GetTextExtentPoint32W( HDC,LPCWSTR,int,LPSIZE); | |
2911 | -#endif | |
2912 | -WINGDIAPI int WINAPI GetTextFaceA(HDC,int,LPSTR); | |
2913 | -WINGDIAPI int WINAPI GetTextFaceW(HDC,int,LPWSTR); | |
2914 | -WINGDIAPI BOOL WINAPI GetTextMetricsA(HDC,LPTEXTMETRICA); | |
2915 | -WINGDIAPI BOOL WINAPI GetTextMetricsW(HDC,LPTEXTMETRICW); | |
2916 | -WINGDIAPI BOOL WINAPI GetViewportExtEx(HDC,LPSIZE); | |
2917 | -WINGDIAPI BOOL WINAPI GetViewportOrgEx(HDC,LPPOINT); | |
2918 | -WINGDIAPI BOOL WINAPI GetWindowExtEx(HDC,LPSIZE); | |
2919 | -WINGDIAPI BOOL WINAPI GetWindowOrgEx(HDC,LPPOINT); | |
2920 | -WINGDIAPI UINT WINAPI GetWinMetaFileBits(HENHMETAFILE,UINT,LPBYTE,INT,HDC); | |
2921 | -WINGDIAPI BOOL WINAPI GetWorldTransform(HDC,LPXFORM); | |
2922 | -WINGDIAPI int WINAPI IntersectClipRect(HDC,int,int,int,int); | |
2923 | -WINGDIAPI BOOL WINAPI InvertRgn(HDC,HRGN); | |
2924 | -WINGDIAPI BOOL WINAPI LineDDA(int,int,int,int,LINEDDAPROC,LPARAM); | |
2925 | -WINGDIAPI BOOL WINAPI LineTo(HDC,int,int); | |
2926 | -WINGDIAPI BOOL WINAPI LPtoDP(HDC,LPPOINT,int); | |
2927 | -WINGDIAPI BOOL WINAPI MaskBlt(HDC,int,int,int,int,HDC,int,int,HBITMAP,int,int,DWORD); | |
2928 | -WINGDIAPI BOOL WINAPI ModifyWorldTransform(HDC,const XFORM*,DWORD); | |
2929 | -WINGDIAPI BOOL WINAPI MoveToEx(HDC,int,int,LPPOINT); | |
2930 | -WINGDIAPI int WINAPI OffsetClipRgn(HDC,int,int); | |
2931 | -WINGDIAPI int WINAPI OffsetRgn(HRGN,int,int); | |
2932 | -WINGDIAPI BOOL WINAPI OffsetViewportOrgEx(HDC,int,int,LPPOINT); | |
2933 | -WINGDIAPI BOOL WINAPI OffsetWindowOrgEx(HDC,int,int,LPPOINT); | |
2934 | -WINGDIAPI BOOL WINAPI PaintRgn(HDC,HRGN); | |
2935 | -WINGDIAPI BOOL WINAPI PatBlt(HDC,int,int,int,int,DWORD); | |
2936 | -WINGDIAPI HRGN WINAPI PathToRegion(HDC); | |
2937 | -WINGDIAPI BOOL WINAPI Pie(HDC,int,int,int,int,int,int,int,int); | |
2938 | -WINGDIAPI BOOL WINAPI PlayEnhMetaFile(HDC,HENHMETAFILE,LPCRECT); | |
2939 | -WINGDIAPI BOOL WINAPI PlayEnhMetaFileRecord(HDC,LPHANDLETABLE,const ENHMETARECORD*,UINT); | |
2940 | -WINGDIAPI BOOL WINAPI PlayMetaFile(HDC,HMETAFILE); | |
2941 | -WINGDIAPI BOOL WINAPI PlayMetaFileRecord(HDC,LPHANDLETABLE,LPMETARECORD,UINT); | |
2942 | -WINGDIAPI BOOL WINAPI PlgBlt(HDC,const POINT*,HDC,int,int,int,int,HBITMAP,int,int); | |
2943 | -WINGDIAPI BOOL WINAPI PolyBezier(HDC,const POINT*,DWORD); | |
2944 | -WINGDIAPI BOOL WINAPI PolyBezierTo(HDC,const POINT*,DWORD); | |
2945 | -WINGDIAPI BOOL WINAPI PolyDraw(HDC,const POINT*,const BYTE*,int); | |
2946 | -WINGDIAPI BOOL WINAPI Polygon(HDC,const POINT*,int); | |
2947 | -WINGDIAPI BOOL WINAPI Polyline(HDC,const POINT*,int); | |
2948 | -WINGDIAPI BOOL WINAPI PolylineTo(HDC,const POINT*,DWORD); | |
2949 | -WINGDIAPI BOOL WINAPI PolyPolygon(HDC,const POINT*,const INT*,int); | |
2950 | -WINGDIAPI BOOL WINAPI PolyPolyline(HDC,const POINT*,const DWORD*,DWORD); | |
2951 | -WINGDIAPI BOOL WINAPI PolyTextOutA(HDC,const POLYTEXTA*,int); | |
2952 | -WINGDIAPI BOOL WINAPI PolyTextOutW(HDC,const POLYTEXTW*,int); | |
2953 | -WINGDIAPI BOOL WINAPI PtInRegion(HRGN,int,int); | |
2954 | -WINGDIAPI BOOL WINAPI PtVisible(HDC,int,int); | |
2955 | -WINGDIAPI UINT WINAPI RealizePalette(HDC); | |
2956 | -WINGDIAPI BOOL WINAPI Rectangle(HDC,int,int,int,int); | |
2957 | -WINGDIAPI BOOL WINAPI RectInRegion(HRGN,LPCRECT); | |
2958 | -WINGDIAPI BOOL WINAPI RectVisible(HDC,LPCRECT); | |
2959 | -WINGDIAPI BOOL WINAPI RemoveFontResourceA(LPCSTR); | |
2960 | -WINGDIAPI BOOL WINAPI RemoveFontResourceW(LPCWSTR); | |
2961 | -#if (_WIN32_WINNT >= 0x0500) | |
2962 | -WINGDIAPI BOOL WINAPI RemoveFontMemResourceEx(HANDLE); | |
2963 | -WINGDIAPI BOOL WINAPI RemoveFontResourceExA(LPCSTR,DWORD,PVOID); | |
2964 | -WINGDIAPI BOOL WINAPI RemoveFontResourceExW(LPCWSTR,DWORD,PVOID); | |
2965 | -#endif | |
2966 | -WINGDIAPI HDC WINAPI ResetDCA(HDC,const DEVMODEA*); | |
2967 | -WINGDIAPI HDC WINAPI ResetDCW(HDC,const DEVMODEW*); | |
2968 | -WINGDIAPI BOOL WINAPI ResizePalette(HPALETTE,UINT); | |
2969 | -WINGDIAPI BOOL WINAPI RestoreDC(HDC,int); | |
2970 | -WINGDIAPI BOOL WINAPI RoundRect(HDC,int,int,int,int,int,int); | |
2971 | -WINGDIAPI int WINAPI SaveDC(HDC); | |
2972 | -WINGDIAPI BOOL WINAPI ScaleViewportExtEx(HDC,int,int,int,int,LPSIZE); | |
2973 | -WINGDIAPI BOOL WINAPI ScaleWindowExtEx(HDC,int,int,int,int,LPSIZE); | |
2974 | -WINGDIAPI BOOL WINAPI SelectClipPath(HDC,int); | |
2975 | -WINGDIAPI int WINAPI SelectClipRgn(HDC,HRGN); | |
2976 | -WINGDIAPI HGDIOBJ WINAPI SelectObject(HDC,HGDIOBJ); | |
2977 | -WINGDIAPI HPALETTE WINAPI SelectPalette(HDC,HPALETTE,BOOL); | |
2978 | -WINGDIAPI int WINAPI SetAbortProc(HDC,ABORTPROC); | |
2979 | -WINGDIAPI int WINAPI SetArcDirection(HDC,int); | |
2980 | -WINGDIAPI LONG WINAPI SetBitmapBits(HBITMAP,DWORD,PCVOID); | |
2981 | -WINGDIAPI BOOL WINAPI SetBitmapDimensionEx(HBITMAP,int,int,LPSIZE); | |
2982 | -WINGDIAPI COLORREF WINAPI SetBkColor(HDC,COLORREF); | |
2983 | -WINGDIAPI int WINAPI SetBkMode(HDC,int); | |
2984 | -WINGDIAPI UINT WINAPI SetBoundsRect(HDC,LPCRECT,UINT); | |
2985 | -WINGDIAPI BOOL WINAPI SetBrushOrgEx(HDC,int,int,LPPOINT); | |
2986 | -WINGDIAPI BOOL WINAPI SetColorAdjustment(HDC,const COLORADJUSTMENT*); | |
2987 | -WINGDIAPI BOOL WINAPI SetColorSpace(HDC,HCOLORSPACE); | |
2988 | -#if (_WIN32_WINNT >= 0x0500) | |
2989 | -WINGDIAPI COLORREF WINAPI SetDCBrushColor(HDC,COLORREF); | |
2990 | -WINGDIAPI COLORREF WINAPI SetDCPenColor(HDC,COLORREF); | |
2991 | -#endif | |
2992 | -WINGDIAPI BOOL WINAPI SetDeviceGammaRamp(HDC,PVOID); | |
2993 | -WINGDIAPI UINT WINAPI SetDIBColorTable(HDC,UINT,UINT,const RGBQUAD*); | |
2994 | -WINGDIAPI int WINAPI SetDIBits(HDC,HBITMAP,UINT,UINT,PCVOID,const BITMAPINFO*,UINT); | |
2995 | -WINGDIAPI int WINAPI SetDIBitsToDevice(HDC,int,int,DWORD,DWORD,int,int,UINT,UINT,PCVOID,const BITMAPINFO*,UINT); | |
2996 | -WINGDIAPI HENHMETAFILE WINAPI SetEnhMetaFileBits(UINT,const BYTE*); | |
2997 | -WINGDIAPI int WINAPI SetGraphicsMode(HDC,int); | |
2998 | -WINGDIAPI int WINAPI SetICMMode(HDC,int); | |
2999 | -WINGDIAPI BOOL WINAPI SetICMProfileA(HDC,LPSTR); | |
3000 | -WINGDIAPI BOOL WINAPI SetICMProfileW(HDC,LPWSTR); | |
3001 | -WINGDIAPI int WINAPI SetMapMode(HDC,int); | |
3002 | -WINGDIAPI DWORD WINAPI SetMapperFlags(HDC,DWORD); | |
3003 | -WINGDIAPI HMETAFILE WINAPI SetMetaFileBitsEx(UINT,const BYTE *); | |
3004 | -WINGDIAPI int WINAPI SetMetaRgn(HDC); | |
3005 | -WINGDIAPI BOOL WINAPI SetMiterLimit(HDC,FLOAT,PFLOAT); | |
3006 | -WINGDIAPI UINT WINAPI SetPaletteEntries(HPALETTE,UINT,UINT,const PALETTEENTRY*); | |
3007 | -WINGDIAPI COLORREF WINAPI SetPixel(HDC,int,int,COLORREF); | |
3008 | -WINGDIAPI BOOL WINAPI SetPixelFormat(HDC,int,const PIXELFORMATDESCRIPTOR*); | |
3009 | -WINGDIAPI BOOL WINAPI SetPixelV(HDC,int,int,COLORREF); | |
3010 | -WINGDIAPI int WINAPI SetPolyFillMode(HDC,int); | |
3011 | -WINGDIAPI BOOL WINAPI SetRectRgn(HRGN,int,int,int,int); | |
3012 | -WINGDIAPI int WINAPI SetROP2(HDC,int); | |
3013 | -WINGDIAPI int WINAPI SetStretchBltMode(HDC,int); | |
3014 | -WINGDIAPI UINT WINAPI SetSystemPaletteUse(HDC,UINT); | |
3015 | -WINGDIAPI UINT WINAPI SetTextAlign(HDC,UINT); | |
3016 | -WINGDIAPI int WINAPI SetTextCharacterExtra(HDC,int); | |
3017 | -WINGDIAPI COLORREF WINAPI SetTextColor(HDC,COLORREF); | |
3018 | -WINGDIAPI BOOL WINAPI SetTextJustification(HDC,int,int); | |
3019 | -WINGDIAPI BOOL WINAPI SetViewportExtEx(HDC,int,int,LPSIZE); | |
3020 | -WINGDIAPI BOOL WINAPI SetViewportOrgEx(HDC,int,int,LPPOINT); | |
3021 | -WINGDIAPI BOOL WINAPI SetWindowExtEx(HDC,int,int,LPSIZE); | |
3022 | -WINGDIAPI BOOL WINAPI SetWindowOrgEx(HDC,int,int,LPPOINT); | |
3023 | -WINGDIAPI HENHMETAFILE WINAPI SetWinMetaFileBits(UINT,const BYTE*,HDC,const METAFILEPICT*); | |
3024 | -WINGDIAPI BOOL WINAPI SetWorldTransform(HDC,const XFORM *); | |
3025 | -WINGDIAPI int WINAPI StartDocA(HDC,const DOCINFOA*); | |
3026 | -WINGDIAPI int WINAPI StartDocW(HDC,const DOCINFOW*); | |
3027 | -WINGDIAPI int WINAPI StartPage(HDC); | |
3028 | -WINGDIAPI BOOL WINAPI StretchBlt(HDC,int,int,int,int,HDC,int,int,int,int,DWORD); | |
3029 | -WINGDIAPI int WINAPI StretchDIBits(HDC,int,int,int,int,int,int,int,int,const VOID *,const BITMAPINFO *,UINT,DWORD); | |
3030 | -WINGDIAPI BOOL WINAPI StrokeAndFillPath(HDC); | |
3031 | -WINGDIAPI BOOL WINAPI StrokePath(HDC); | |
3032 | -WINGDIAPI BOOL WINAPI SwapBuffers(HDC); | |
3033 | -WINGDIAPI BOOL WINAPI TextOutA(HDC,int,int,LPCSTR,int); | |
3034 | -WINGDIAPI BOOL WINAPI TextOutW(HDC,int,int,LPCWSTR,int); | |
3035 | -WINGDIAPI BOOL WINAPI TranslateCharsetInfo(PDWORD,LPCHARSETINFO,DWORD); | |
3036 | -WINGDIAPI BOOL WINAPI UnrealizeObject(HGDIOBJ); | |
3037 | -WINGDIAPI BOOL WINAPI UpdateColors(HDC); | |
3038 | -WINGDIAPI BOOL WINAPI UpdateICMRegKeyA(DWORD,DWORD,LPSTR,UINT); | |
3039 | -WINGDIAPI BOOL WINAPI UpdateICMRegKeyW(DWORD,DWORD,LPWSTR,UINT); | |
3040 | -WINGDIAPI BOOL WINAPI WidenPath(HDC); | |
3041 | -WINGDIAPI BOOL WINAPI wglCopyContext(HGLRC,HGLRC,UINT); | |
3042 | -WINGDIAPI HGLRC WINAPI wglCreateContext(HDC); | |
3043 | -WINGDIAPI HGLRC WINAPI wglCreateLayerContext(HDC,int); | |
3044 | -WINGDIAPI BOOL WINAPI wglDeleteContext(HGLRC); | |
3045 | -WINGDIAPI BOOL WINAPI wglDescribeLayerPlane(HDC,int,int,UINT,LPLAYERPLANEDESCRIPTOR); | |
3046 | -WINGDIAPI HGLRC WINAPI wglGetCurrentContext(void); | |
3047 | -WINGDIAPI HDC WINAPI wglGetCurrentDC(void); | |
3048 | -WINGDIAPI int WINAPI wglGetLayerPaletteEntries(HDC,int,int,int,COLORREF*); | |
3049 | -WINGDIAPI PROC WINAPI wglGetProcAddress(LPCSTR); | |
3050 | -WINGDIAPI BOOL WINAPI wglMakeCurrent(HDC,HGLRC); | |
3051 | -WINGDIAPI BOOL WINAPI wglRealizeLayerPalette(HDC,int,BOOL); | |
3052 | -WINGDIAPI int WINAPI wglSetLayerPaletteEntries(HDC,int,int,int,const COLORREF*); | |
3053 | -WINGDIAPI BOOL WINAPI wglShareLists(HGLRC,HGLRC); | |
3054 | -WINGDIAPI BOOL WINAPI wglSwapLayerBuffers(HDC,UINT); | |
3055 | -WINGDIAPI BOOL WINAPI wglUseFontBitmapsA(HDC,DWORD,DWORD,DWORD); | |
3056 | -WINGDIAPI BOOL WINAPI wglUseFontBitmapsW(HDC,DWORD,DWORD,DWORD); | |
3057 | -WINGDIAPI BOOL WINAPI wglUseFontOutlinesA(HDC,DWORD,DWORD,DWORD,FLOAT,FLOAT,int,LPGLYPHMETRICSFLOAT); | |
3058 | -WINGDIAPI BOOL WINAPI wglUseFontOutlinesW(HDC,DWORD,DWORD,DWORD,FLOAT,FLOAT,int,LPGLYPHMETRICSFLOAT); | |
3059 | -#if (WINVER >= 0x0410) | |
3060 | -WINGDIAPI BOOL WINAPI AlphaBlend(HDC,int,int,int,int,HDC,int,int,int,int,BLENDFUNCTION); | |
3061 | -WINGDIAPI BOOL WINAPI GradientFill(HDC,PTRIVERTEX,ULONG,PVOID,ULONG,ULONG); | |
3062 | -WINGDIAPI BOOL WINAPI TransparentBlt(HDC,int,int,int,int,HDC,int,int,int,int,UINT); | |
3063 | -#endif | |
3064 | -#if (_WIN32_WINNT >= 0x0500) | |
3065 | -WINGDIAPI DWORD WINAPI GetFontUnicodeRanges(HDC,LPGLYPHSET); | |
3066 | -WINGDIAPI DWORD WINAPI GetGlyphIndicesA(HDC,LPCSTR,int,LPWORD,DWORD); | |
3067 | -WINGDIAPI DWORD WINAPI GetGlyphIndicesW(HDC,LPCWSTR,int,LPWORD,DWORD); | |
3068 | -#endif | |
3069 | -#if (WINVER >= 0x0500) | |
3070 | -WINGDIAPI DWORD WINAPI GetLayout(HDC); | |
3071 | -WINGDIAPI DWORD WINAPI SetLayout(HDC, DWORD); | |
3072 | -#endif | |
3073 | 2984 | |
3074 | -#ifdef UNICODE | |
3075 | -typedef WCHAR BCHAR; | |
3076 | -typedef DOCINFOW DOCINFO, *LPDOCINFO; | |
3077 | -typedef LOGFONTW LOGFONT,*PLOGFONT,*LPLOGFONT; | |
3078 | -typedef TEXTMETRICW TEXTMETRIC,*PTEXTMETRIC,*LPTEXTMETRIC; | |
3079 | -#define ICMENUMPROC ICMENUMPROCW | |
3080 | -#define FONTENUMPROC FONTENUMPROCW | |
3081 | -typedef DEVMODEW DEVMODE,*PDEVMODE,*LPDEVMODE; | |
3082 | -#if _WIN32_WINNT >= 0x0500 | |
3083 | -typedef ENUMLOGFONTEXDVW ENUMLOGFONTEXDV; | |
3084 | -typedef PENUMLOGFONTEXDVW PENUMLOGFONTEXDV; | |
3085 | -typedef LPENUMLOGFONTEXDVW LPENUMLOGFONTEXDV; | |
3086 | -#endif | |
3087 | -typedef EXTLOGFONTW EXTLOGFONT,*PEXTLOGFONT,*LPEXTLOGFONT; | |
3088 | -typedef GCP_RESULTSW GCP_RESULTS,*LPGCP_RESULTS; | |
3089 | -typedef OUTLINETEXTMETRICW OUTLINETEXTMETRIC,*POUTLINETEXTMETRIC,*LPOUTLINETEXTMETRIC; | |
3090 | -typedef POLYTEXTW POLYTEXT,*PPOLYTEXT,*LPPOLYTEXT; | |
3091 | -typedef LOGCOLORSPACEW LOGCOLORSPACE,*LPLOGCOLORSPACE; | |
3092 | -typedef NEWTEXTMETRICW NEWTEXTMETRIC,*PNEWTEXTMETRIC,*LPNEWTEXTMETRIC; | |
3093 | -typedef NEWTEXTMETRICEXW NEWTEXTMETRICEX; | |
3094 | -typedef ENUMLOGFONTW ENUMLOGFONT,*LPENUMLOGFONT; | |
3095 | -typedef ENUMLOGFONTEXW ENUMLOGFONTEX,*LPENUMLOGFONTEX; | |
3096 | -typedef DISPLAY_DEVICEW DISPLAY_DEVICE, *PDISPLAY_DEVICE, *LPDISPLAY_DEVICE; | |
3097 | -#define AddFontResource AddFontResourceW | |
3098 | -#if (_WIN32_WINNT >= 0x0500) | |
3099 | -#define AddFontResourceEx AddFontResourceExW | |
3100 | -#endif | |
3101 | -#define CopyEnhMetaFile CopyEnhMetaFileW | |
3102 | -#define CopyMetaFile CopyMetaFileW | |
3103 | -#define CreateColorSpace CreateColorSpaceW | |
3104 | -#define CreateDC CreateDCW | |
3105 | -#define CreateEnhMetaFile CreateEnhMetaFileW | |
3106 | -#define CreateFont CreateFontW | |
3107 | -#define CreateFontIndirect CreateFontIndirectW | |
3108 | -#define CreateIC CreateICW | |
3109 | -#define CreateMetaFile CreateMetaFileW | |
3110 | -#define CreateScalableFontResource CreateScalableFontResourceW | |
3111 | -#define DeviceCapabilities DeviceCapabilitiesW | |
3112 | -#define EnumFontFamilies EnumFontFamiliesW | |
3113 | -#define EnumFontFamiliesEx EnumFontFamiliesExW | |
3114 | -#define EnumFonts EnumFontsW | |
3115 | -#define EnumICMProfiles EnumICMProfilesW | |
3116 | -#define ExtTextOut ExtTextOutW | |
3117 | -#define GetCharABCWidthsFloat GetCharABCWidthsFloatW | |
3118 | -#define GetCharABCWidths GetCharABCWidthsW | |
3119 | -#define GetCharacterPlacement GetCharacterPlacementW | |
3120 | -#define GetCharWidth32 GetCharWidth32W | |
3121 | -#define GetCharWidthFloat GetCharWidthFloatW | |
3122 | -#define GetCharWidth GetCharWidthW | |
3123 | -#define GetEnhMetaFile GetEnhMetaFileW | |
3124 | -#define GetEnhMetaFileDescription GetEnhMetaFileDescriptionW | |
3125 | -#define GetGlyphOutline GetGlyphOutlineW | |
3126 | -#define GetICMProfile GetICMProfileW | |
3127 | -#define GetKerningPairs GetKerningPairsW | |
3128 | -#define GetLogColorSpace GetLogColorSpaceW | |
3129 | -#define GetMetaFile GetMetaFileW | |
3130 | -#define GetObject GetObjectW | |
3131 | -#define GetOutlineTextMetrics GetOutlineTextMetricsW | |
3132 | -#define GetTextExtentPoint GetTextExtentPointW | |
3133 | -#define GetTextExtentExPoint GetTextExtentExPointW | |
3134 | -#define GetTextExtentPoint32 GetTextExtentPoint32W | |
3135 | -#define GetTextFace GetTextFaceW | |
3136 | -#define GetTextMetrics GetTextMetricsW | |
3137 | -#define PolyTextOut PolyTextOutW | |
3138 | -#define RemoveFontResource RemoveFontResourceW | |
3139 | -#if (_WIN32_WINNT >= 0x0500) | |
3140 | -#define RemoveFontResourceEx RemoveFontResourceExW | |
3141 | -#endif | |
3142 | -#define ResetDC ResetDCW | |
3143 | -#define SetICMProfile SetICMProfileW | |
3144 | -#define StartDoc StartDocW | |
3145 | -#define TextOut TextOutW | |
3146 | -#define UpdateICMRegKey UpdateICMRegKeyW | |
3147 | -#define wglUseFontBitmaps wglUseFontBitmapsW | |
3148 | -#define wglUseFontOutlines wglUseFontOutlinesW | |
3149 | -#if (_WIN32_WINNT >= 0x0500) | |
3150 | -#define GetGlyphIndices GetGlyphIndicesW | |
3151 | -#endif | |
3152 | -#else /* UNICODE */ | |
3153 | -typedef BYTE BCHAR; | |
3154 | -typedef DOCINFOA DOCINFO, *LPDOCINFO; | |
3155 | -typedef LOGFONTA LOGFONT,*PLOGFONT,*LPLOGFONT; | |
3156 | -typedef TEXTMETRICA TEXTMETRIC,*PTEXTMETRIC,*LPTEXTMETRIC; | |
3157 | -#define ICMENUMPROC ICMENUMPROCA | |
3158 | -#define FONTENUMPROC FONTENUMPROCA | |
3159 | -typedef DEVMODEA DEVMODE,*PDEVMODE,*LPDEVMODE; | |
3160 | -#if _WIN32_WINNT >= 0x0500 | |
3161 | -typedef ENUMLOGFONTEXDVA ENUMLOGFONTEXDV; | |
3162 | -typedef PENUMLOGFONTEXDVA PENUMLOGFONTEXDV; | |
3163 | -typedef LPENUMLOGFONTEXDVA LPENUMLOGFONTEXDV; | |
3164 | -#endif | |
3165 | -typedef EXTLOGFONTA EXTLOGFONT,*PEXTLOGFONT,*LPEXTLOGFONT; | |
3166 | -typedef GCP_RESULTSA GCP_RESULTS,*LPGCP_RESULTS; | |
3167 | -typedef OUTLINETEXTMETRICA OUTLINETEXTMETRIC,*POUTLINETEXTMETRIC,*LPOUTLINETEXTMETRIC; | |
3168 | -typedef POLYTEXTA POLYTEXT,*PPOLYTEXT,*LPPOLYTEXT; | |
3169 | -typedef LOGCOLORSPACEA LOGCOLORSPACE,*LPLOGCOLORSPACE; | |
3170 | -typedef NEWTEXTMETRICA NEWTEXTMETRIC,*PNEWTEXTMETRIC,*LPNEWTEXTMETRIC; | |
3171 | -typedef NEWTEXTMETRICEXA NEWTEXTMETRICEX; | |
3172 | -typedef ENUMLOGFONTA ENUMLOGFONT,*LPENUMLOGFONT; | |
3173 | -typedef ENUMLOGFONTEXA ENUMLOGFONTEX,*LPENUMLOGFONTEX; | |
3174 | -typedef DISPLAY_DEVICEA DISPLAY_DEVICE, *PDISPLAY_DEVICE, *LPDISPLAY_DEVICE; | |
3175 | -#define AddFontResource AddFontResourceA | |
3176 | -#if (_WIN32_WINNT >= 0x0500) | |
3177 | -#define AddFontResourceEx AddFontResourceExA | |
3178 | -#endif | |
3179 | -#define CopyEnhMetaFile CopyEnhMetaFileA | |
3180 | -#define CopyMetaFile CopyMetaFileA | |
3181 | -#define CreateColorSpace CreateColorSpaceA | |
3182 | -#define CreateDC CreateDCA | |
3183 | -#define CreateEnhMetaFile CreateEnhMetaFileA | |
3184 | -#define CreateFont CreateFontA | |
3185 | -#define CreateFontIndirect CreateFontIndirectA | |
3186 | -#define CreateIC CreateICA | |
3187 | -#define CreateMetaFile CreateMetaFileA | |
3188 | -#define CreateScalableFontResource CreateScalableFontResourceA | |
3189 | -#define DeviceCapabilities DeviceCapabilitiesA | |
3190 | -#define EnumFontFamilies EnumFontFamiliesA | |
3191 | -#define EnumFontFamiliesEx EnumFontFamiliesExA | |
3192 | -#define EnumFonts EnumFontsA | |
3193 | -#define EnumICMProfiles EnumICMProfilesA | |
3194 | -#define ExtTextOut ExtTextOutA | |
3195 | -#define GetCharWidthFloat GetCharWidthFloatA | |
3196 | -#define GetCharWidth GetCharWidthA | |
3197 | -#define GetCharacterPlacement GetCharacterPlacementA | |
3198 | -#define GetCharABCWidths GetCharABCWidthsA | |
3199 | -#define GetCharABCWidthsFloat GetCharABCWidthsFloatA | |
3200 | -#define GetCharWidth32 GetCharWidth32A | |
3201 | -#define GetEnhMetaFile GetEnhMetaFileA | |
3202 | -#define GetEnhMetaFileDescription GetEnhMetaFileDescriptionA | |
3203 | -#define GetGlyphOutline GetGlyphOutlineA | |
3204 | -#define GetICMProfile GetICMProfileA | |
3205 | -#define GetKerningPairs GetKerningPairsA | |
3206 | -#define GetLogColorSpace GetLogColorSpaceA | |
3207 | -#define GetMetaFile GetMetaFileA | |
3208 | -#define GetObject GetObjectA | |
3209 | -#define GetOutlineTextMetrics GetOutlineTextMetricsA | |
3210 | -#define GetTextExtentPoint GetTextExtentPointA | |
3211 | -#define GetTextExtentExPoint GetTextExtentExPointA | |
3212 | -#define GetTextExtentPoint32 GetTextExtentPoint32A | |
3213 | -#define GetTextFace GetTextFaceA | |
3214 | -#define GetTextMetrics GetTextMetricsA | |
3215 | -#define PolyTextOut PolyTextOutA | |
3216 | -#define RemoveFontResource RemoveFontResourceA | |
3217 | -#if (_WIN32_WINNT >= 0x0500) | |
3218 | -#define RemoveFontResourceEx RemoveFontResourceExA | |
3219 | -#endif | |
3220 | -#define ResetDC ResetDCA | |
3221 | -#define SetICMProfile SetICMProfileA | |
3222 | -#define StartDoc StartDocA | |
3223 | -#define TextOut TextOutA | |
3224 | -#define UpdateICMRegKey UpdateICMRegKeyA | |
3225 | -#define wglUseFontBitmaps wglUseFontBitmapsA | |
3226 | -#define wglUseFontOutlines wglUseFontOutlinesA | |
3227 | -#if (_WIN32_WINNT >= 0x0500) | |
3228 | -#define GetGlyphIndices GetGlyphIndicesA | |
3229 | -#endif | |
3230 | -#endif /* UNICODE */ | |
3231 | -#endif /* RC_INVOKED */ | |
3232 | -#ifdef __cplusplus | |
3233 | -} | |
3234 | -#endif | |
3235 | -#endif | |
2985 | +#define ICMENUMPROC __AW_SUFFIXED__(ICMENUMPROC) | |
2986 | +typedef int (CALLBACK *ICMENUMPROCA) (LPSTR, LPARAM); | |
2987 | +typedef int (CALLBACK *ICMENUMPROCW) (LPWSTR, LPARAM); | |
2988 | + | |
2989 | +typedef void (CALLBACK *GOBJENUMPROC) (LPVOID, LPARAM); | |
2990 | +typedef void (CALLBACK *LINEDDAPROC) (int, int, LPARAM); | |
2991 | +typedef UINT (CALLBACK *LPFNDEVMODE) | |
2992 | +(HWND, HMODULE, LPDEVMODEA, LPSTR, LPSTR, LPDEVMODEA, LPSTR, UINT); | |
2993 | + | |
2994 | +typedef DWORD (CALLBACK *LPFNDEVCAPS) (LPSTR, LPSTR, UINT, LPSTR, LPDEVMODEA); | |
2995 | + | |
2996 | +#define MAKEPOINTS(l) (*((POINTS *) & (l))) | |
2997 | +#define MAKEROP4(f,b) (DWORD)((((b) << 8) & 0xFF000000) | (f)) | |
2998 | + | |
2999 | +#define CMYK(c,m,y,k) \ | |
3000 | +((COLORREF)((BYTE)(k) | ((BYTE)(y) << 8) | ((BYTE)(m) << 16) | \ | |
3001 | + ((BYTE)(c) << 24)) \ | |
3002 | +) | |
3003 | +#define GetCValue(cmyk) ((BYTE)(cmyk)) | |
3004 | +#define GetMValue(cmyk) ((BYTE)((cmyk) >> 8)) | |
3005 | +#define GetYValue(cmyk) ((BYTE)((cmyk) >> 16)) | |
3006 | +#define GetKValue(cmyk) ((BYTE)((cmyk) >> 24)) | |
3007 | + | |
3008 | +#define RGB(r,g,b) \ | |
3009 | +((COLORREF)((BYTE)(r) | ((BYTE)(g) << 8) | ((BYTE)(b) << 16))) | |
3010 | + | |
3011 | +#define GetRValue(rgb) ((BYTE)(rgb)) | |
3012 | +#define GetGValue(rgb) ((BYTE)(((WORD)(rgb)) >> 8)) | |
3013 | +#define GetBValue(rgb) ((BYTE)((rgb) >> 16)) | |
3014 | + | |
3015 | +#define PALETTEINDEX(i) ((0x01000000 | (COLORREF)(WORD)(i))) | |
3016 | +#define PALETTERGB(r,g,b) (0x02000000 | RGB(r,g,b)) | |
3017 | + | |
3018 | +WINGDIAPI int WINAPI AbortDoc (HDC); | |
3019 | +WINGDIAPI BOOL WINAPI AbortPath (HDC); | |
3020 | + | |
3021 | +#define AddFontResource __AW_SUFFIXED__(AddFontResource) | |
3022 | +WINGDIAPI int WINAPI AddFontResourceA (LPCSTR); | |
3023 | +WINGDIAPI int WINAPI AddFontResourceW (LPCWSTR); | |
3024 | + | |
3025 | +#if _WIN32_WINNT >= _WIN32_WINNT_WIN2K | |
3026 | +WINGDIAPI HANDLE WINAPI AddFontMemResourceEx (PVOID, DWORD, PVOID, DWORD *); | |
3027 | + | |
3028 | +#define AddFontResourceEx __AW_SUFFIXED__(AddFontResourceEx) | |
3029 | +WINGDIAPI int WINAPI AddFontResourceExA (LPCSTR, DWORD, PVOID); | |
3030 | +WINGDIAPI int WINAPI AddFontResourceExW (LPCWSTR, DWORD, PVOID); | |
3031 | +#endif /* WINNT >= Win2K */ | |
3032 | + | |
3033 | +WINGDIAPI BOOL WINAPI AngleArc (HDC, int, int, DWORD, FLOAT, FLOAT); | |
3034 | + | |
3035 | +WINGDIAPI BOOL WINAPI AnimatePalette | |
3036 | +(HPALETTE, UINT, UINT, const PALETTEENTRY *); | |
3037 | + | |
3038 | +WINGDIAPI BOOL WINAPI Arc (HDC, int, int, int, int, int, int, int, int); | |
3039 | +WINGDIAPI BOOL WINAPI ArcTo (HDC, int, int, int, int, int, int, int, int); | |
3040 | +WINGDIAPI BOOL WINAPI BeginPath (HDC); | |
3041 | +WINGDIAPI BOOL WINAPI BitBlt (HDC, int, int, int, int, HDC, int, int, DWORD); | |
3042 | +WINGDIAPI BOOL WINAPI CancelDC (HDC); | |
3043 | +WINGDIAPI BOOL WINAPI CheckColorsInGamut (HDC, PVOID, PVOID, DWORD); | |
3044 | +WINGDIAPI BOOL WINAPI Chord (HDC, int, int, int, int, int, int, int, int); | |
3045 | +WINGDIAPI int WINAPI ChoosePixelFormat (HDC, CONST PIXELFORMATDESCRIPTOR *); | |
3046 | +WINGDIAPI HENHMETAFILE WINAPI CloseEnhMetaFile (HDC); | |
3047 | +WINGDIAPI BOOL WINAPI CloseFigure (HDC); | |
3048 | +WINGDIAPI HMETAFILE WINAPI CloseMetaFile (HDC); | |
3049 | + | |
3050 | +#if _WIN32_WINDOWS >= _WIN32_WINDOWS_98 || _WIN32_WINNT >= _WIN32_WINNT_WIN2K | |
3051 | +WINGDIAPI BOOL WINAPI ColorCorrectPalette (HDC, HPALETTE, DWORD, DWORD); | |
3052 | +WINGDIAPI BOOL WINAPI ColorMatchToTarget (HDC, HDC, DWORD); | |
3053 | +#endif /* WINVER >= Win98/Win2K */ | |
3054 | + | |
3055 | +WINGDIAPI int WINAPI CombineRgn (HRGN, HRGN, HRGN, int); | |
3056 | +WINGDIAPI BOOL WINAPI CombineTransform (LPXFORM, const XFORM *, const XFORM *); | |
3057 | + | |
3058 | +#define CopyEnhMetaFile __AW_SUFFIXED__(CopyEnhMetaFile) | |
3059 | +WINGDIAPI HENHMETAFILE WINAPI CopyEnhMetaFileA (HENHMETAFILE, LPCSTR); | |
3060 | +WINGDIAPI HENHMETAFILE WINAPI CopyEnhMetaFileW (HENHMETAFILE, LPCWSTR); | |
3061 | + | |
3062 | +#define CopyMetaFile __AW_SUFFIXED__(CopyMetaFile) | |
3063 | +WINGDIAPI HMETAFILE WINAPI CopyMetaFileA (HMETAFILE, LPCSTR); | |
3064 | +WINGDIAPI HMETAFILE WINAPI CopyMetaFileW (HMETAFILE, LPCWSTR); | |
3065 | + | |
3066 | +WINGDIAPI HBITMAP WINAPI CreateBitmap (int, int, UINT, UINT, PCVOID); | |
3067 | +WINGDIAPI HBITMAP WINAPI CreateBitmapIndirect (const BITMAP *); | |
3068 | +WINGDIAPI HBRUSH WINAPI CreateBrushIndirect (const LOGBRUSH *); | |
3069 | + | |
3070 | +#define CreateColorSpace __AW_SUFFIXED__(CreateColorSpace) | |
3071 | +WINGDIAPI HCOLORSPACE WINAPI CreateColorSpaceA (LPLOGCOLORSPACEA); | |
3072 | +WINGDIAPI HCOLORSPACE WINAPI CreateColorSpaceW (LPLOGCOLORSPACEW); | |
3073 | + | |
3074 | +WINGDIAPI HBITMAP WINAPI CreateCompatibleBitmap (HDC, int, int); | |
3075 | +WINGDIAPI HDC WINAPI CreateCompatibleDC (HDC); | |
3076 | + | |
3077 | +#define CreateDC __AW_SUFFIXED__(CreateDC) | |
3078 | +WINGDIAPI HDC WINAPI CreateDCA (LPCSTR, LPCSTR, LPCSTR, const DEVMODEA *); | |
3079 | +WINGDIAPI HDC WINAPI CreateDCW (LPCWSTR, LPCWSTR, LPCWSTR, const DEVMODEW *); | |
3080 | + | |
3081 | +WINGDIAPI HBITMAP WINAPI CreateDIBitmap | |
3082 | +(HDC, const BITMAPINFOHEADER *, DWORD, PCVOID, const BITMAPINFO *, UINT); | |
3083 | + | |
3084 | +WINGDIAPI HBRUSH WINAPI CreateDIBPatternBrush (HGLOBAL, UINT); | |
3085 | +WINGDIAPI HBRUSH WINAPI CreateDIBPatternBrushPt (PCVOID, UINT); | |
3086 | + | |
3087 | +WINGDIAPI HBITMAP WINAPI CreateDIBSection | |
3088 | +(HDC, const BITMAPINFO *, UINT, void **, HANDLE, DWORD); | |
3089 | + | |
3090 | +WINGDIAPI HBITMAP WINAPI CreateDiscardableBitmap (HDC, int, int); | |
3091 | +WINGDIAPI HRGN WINAPI CreateEllipticRgn (int, int, int, int); | |
3092 | +WINGDIAPI HRGN WINAPI CreateEllipticRgnIndirect (LPCRECT); | |
3093 | + | |
3094 | +#define CreateEnhMetaFile __AW_SUFFIXED__(CreateEnhMetaFile) | |
3095 | +WINGDIAPI HDC WINAPI CreateEnhMetaFileA (HDC, LPCSTR, LPCRECT, LPCSTR); | |
3096 | +WINGDIAPI HDC WINAPI CreateEnhMetaFileW (HDC, LPCWSTR, LPCRECT, LPCWSTR); | |
3097 | + | |
3098 | +#define CreateFont __AW_SUFFIXED__(CreateFont) | |
3099 | +WINGDIAPI HFONT WINAPI CreateFontA | |
3100 | +(int, int, int, int, int, DWORD, DWORD, DWORD, DWORD, DWORD, | |
3101 | + DWORD, DWORD, DWORD, LPCSTR | |
3102 | +); | |
3103 | + | |
3104 | +WINGDIAPI HFONT WINAPI CreateFontW | |
3105 | +(int, int, int, int, int, DWORD, DWORD, DWORD, DWORD, DWORD, | |
3106 | + DWORD, DWORD, DWORD, LPCWSTR | |
3107 | +); | |
3108 | + | |
3109 | + | |
3110 | +#define CreateFontIndirect __AW_SUFFIXED__(CreateFontIndirect) | |
3111 | +WINGDIAPI HFONT WINAPI CreateFontIndirectA (const LOGFONTA *); | |
3112 | +WINGDIAPI HFONT WINAPI CreateFontIndirectW (const LOGFONTW *); | |
3113 | + | |
3114 | +WINGDIAPI HPALETTE WINAPI CreateHalftonePalette (HDC); | |
3115 | +WINGDIAPI HBRUSH WINAPI CreateHatchBrush (int, COLORREF); | |
3116 | + | |
3117 | +#define CreateIC __AW_SUFFIXED__(CreateIC) | |
3118 | +WINGDIAPI HDC WINAPI CreateICA (LPCSTR, LPCSTR, LPCSTR, const DEVMODEA *); | |
3119 | +WINGDIAPI HDC WINAPI CreateICW (LPCWSTR, LPCWSTR, LPCWSTR, const DEVMODEW *); | |
3120 | + | |
3121 | +#define CreateMetaFile __AW_SUFFIXED__(CreateMetaFile) | |
3122 | +WINGDIAPI HDC WINAPI CreateMetaFileA (LPCSTR); | |
3123 | +WINGDIAPI HDC WINAPI CreateMetaFileW (LPCWSTR); | |
3124 | + | |
3125 | +WINGDIAPI HPALETTE WINAPI CreatePalette (const LOGPALETTE *); | |
3126 | +WINGDIAPI HBRUSH WINAPI CreatePatternBrush (HBITMAP); | |
3127 | +WINGDIAPI HPEN WINAPI CreatePen (int, int, COLORREF); | |
3128 | +WINGDIAPI HPEN WINAPI CreatePenIndirect (const LOGPEN *); | |
3129 | +WINGDIAPI HRGN WINAPI CreatePolygonRgn (const POINT *, int, int); | |
3130 | + | |
3131 | +WINGDIAPI HRGN WINAPI CreatePolyPolygonRgn | |
3132 | +(const POINT *, const INT *, int, int); | |
3133 | + | |
3134 | +WINGDIAPI HRGN WINAPI CreateRectRgn (int, int, int, int); | |
3135 | +WINGDIAPI HRGN WINAPI CreateRectRgnIndirect (LPCRECT); | |
3136 | +WINGDIAPI HRGN WINAPI CreateRoundRectRgn (int, int, int, int, int, int); | |
3137 | + | |
3138 | +#define CreateScalableFontResource __AW_SUFFIXED__(CreateScalableFontResource) | |
3139 | +WINGDIAPI BOOL WINAPI CreateScalableFontResourceA | |
3140 | +(DWORD, LPCSTR, LPCSTR, LPCSTR); | |
3141 | + | |
3142 | +WINGDIAPI BOOL WINAPI CreateScalableFontResourceW | |
3143 | +(DWORD, LPCWSTR, LPCWSTR, LPCWSTR); | |
3144 | + | |
3145 | +WINGDIAPI HBRUSH WINAPI CreateSolidBrush (COLORREF); | |
3146 | +WINGDIAPI BOOL WINAPI DeleteColorSpace (HCOLORSPACE); | |
3147 | +WINGDIAPI BOOL WINAPI DeleteDC (HDC); | |
3148 | +WINGDIAPI BOOL WINAPI DeleteEnhMetaFile (HENHMETAFILE); | |
3149 | +WINGDIAPI BOOL WINAPI DeleteMetaFile (HMETAFILE); | |
3150 | +WINGDIAPI BOOL WINAPI DeleteObject (HGDIOBJ); | |
3151 | + | |
3152 | +WINGDIAPI int WINAPI DescribePixelFormat | |
3153 | +(HDC, int, UINT, LPPIXELFORMATDESCRIPTOR); | |
3154 | + | |
3155 | + | |
3156 | +#define DeviceCapabilities __AW_SUFFIXED__(DeviceCapabilities) | |
3157 | +WINGDIAPI DWORD WINAPI DeviceCapabilitiesA | |
3158 | +(LPCSTR, LPCSTR, WORD, LPSTR, const DEVMODEA *); | |
3159 | + | |
3160 | +WINGDIAPI DWORD WINAPI DeviceCapabilitiesW | |
3161 | +(LPCWSTR, LPCWSTR, WORD, LPWSTR, const DEVMODEW *); | |
3162 | + | |
3163 | +WINGDIAPI BOOL WINAPI DPtoLP (HDC, LPPOINT, int); | |
3164 | +WINGDIAPI int WINAPI DrawEscape (HDC, int, int, LPCSTR); | |
3165 | +WINGDIAPI BOOL WINAPI Ellipse (HDC, int, int, int, int); | |
3166 | +WINGDIAPI int WINAPI EndDoc (HDC); | |
3167 | +WINGDIAPI int WINAPI EndPage (HDC); | |
3168 | +WINGDIAPI BOOL WINAPI EndPath (HDC); | |
3169 | + | |
3170 | +WINGDIAPI BOOL WINAPI EnumEnhMetaFile | |
3171 | +(HDC, HENHMETAFILE, ENHMFENUMPROC, PVOID, LPCRECT); | |
3172 | + | |
3173 | +#define EnumFontFamilies __AW_SUFFIXED__(EnumFontFamilies) | |
3174 | +WINGDIAPI int WINAPI EnumFontFamiliesA (HDC, LPCSTR, FONTENUMPROCA, LPARAM); | |
3175 | +WINGDIAPI int WINAPI EnumFontFamiliesW (HDC, LPCWSTR, FONTENUMPROCW, LPARAM); | |
3176 | + | |
3177 | +#define EnumFontFamiliesEx __AW_SUFFIXED__(EnumFontFamiliesEx) | |
3178 | +WINGDIAPI int WINAPI EnumFontFamiliesExA | |
3179 | +(HDC, PLOGFONTA, FONTENUMPROCA, LPARAM, DWORD); | |
3180 | + | |
3181 | +WINGDIAPI int WINAPI EnumFontFamiliesExW | |
3182 | +(HDC, PLOGFONTW, FONTENUMPROCW, LPARAM, DWORD); | |
3183 | + | |
3184 | +#define EnumFonts __AW_SUFFIXED__(EnumFonts) | |
3185 | +WINGDIAPI int WINAPI EnumFontsA (HDC, LPCSTR, FONTENUMPROCA, LPARAM); | |
3186 | +WINGDIAPI int WINAPI EnumFontsW (HDC, LPCWSTR, FONTENUMPROCW, LPARAM); | |
3187 | + | |
3188 | +#define EnumICMProfiles __AW_SUFFIXED__(EnumICMProfiles) | |
3189 | +WINGDIAPI int WINAPI EnumICMProfilesA (HDC, ICMENUMPROCA, LPARAM); | |
3190 | +WINGDIAPI int WINAPI EnumICMProfilesW (HDC, ICMENUMPROCW, LPARAM); | |
3191 | + | |
3192 | +WINGDIAPI BOOL WINAPI EnumMetaFile (HDC, HMETAFILE, MFENUMPROC, LPARAM); | |
3193 | +WINGDIAPI int WINAPI EnumObjects (HDC, int, GOBJENUMPROC, LPARAM); | |
3194 | +WINGDIAPI BOOL WINAPI EqualRgn (HRGN, HRGN); | |
3195 | +WINGDIAPI int WINAPI Escape (HDC, int, int, LPCSTR, PVOID); | |
3196 | +WINGDIAPI int WINAPI ExcludeClipRect (HDC, int, int, int, int); | |
3197 | +WINGDIAPI int WINAPI ExcludeUpdateRgn (HDC, HWND); | |
3198 | + | |
3199 | +WINGDIAPI HPEN WINAPI ExtCreatePen | |
3200 | +(DWORD, DWORD, const LOGBRUSH *, DWORD, const DWORD *); | |
3201 | + | |
3202 | +WINGDIAPI HRGN WINAPI ExtCreateRegion (const XFORM *, DWORD, const RGNDATA *); | |
3203 | +WINGDIAPI int WINAPI ExtEscape (HDC, int, int, LPCSTR, int, LPSTR); | |
3204 | +WINGDIAPI BOOL WINAPI ExtFloodFill (HDC, int, int, COLORREF, UINT); | |
3205 | +WINGDIAPI int WINAPI ExtSelectClipRgn (HDC, HRGN, int); | |
3206 | + | |
3207 | +#define ExtTextOut __AW_SUFFIXED__(ExtTextOut) | |
3208 | +WINGDIAPI BOOL WINAPI ExtTextOutA | |
3209 | +(HDC, int, int, UINT, LPCRECT, LPCSTR, UINT, const INT *); | |
3210 | + | |
3211 | +WINGDIAPI BOOL WINAPI ExtTextOutW | |
3212 | +(HDC, int, int, UINT, LPCRECT, LPCWSTR, UINT, const INT *); | |
3213 | + | |
3214 | +WINGDIAPI BOOL WINAPI FillPath (HDC); | |
3215 | +WINGDIAPI int WINAPI FillRect (HDC, LPCRECT, HBRUSH); | |
3216 | +WINGDIAPI int WINAPI FillRgn (HDC, HRGN, HBRUSH); | |
3217 | +WINGDIAPI BOOL WINAPI FixBrushOrgEx (HDC, int, int, LPPOINT); | |
3218 | +WINGDIAPI BOOL WINAPI FlattenPath (HDC); | |
3219 | +WINGDIAPI BOOL WINAPI FloodFill (HDC, int, int, COLORREF); | |
3220 | +WINGDIAPI BOOL WINAPI GdiComment (HDC, UINT, const BYTE *); | |
3221 | +WINGDIAPI BOOL WINAPI GdiFlush (void); | |
3222 | +WINGDIAPI DWORD WINAPI GdiGetBatchLimit (void); | |
3223 | +WINGDIAPI DWORD WINAPI GdiSetBatchLimit (DWORD); | |
3224 | +WINGDIAPI int WINAPI GetArcDirection (HDC); | |
3225 | +WINGDIAPI BOOL WINAPI GetAspectRatioFilterEx (HDC, LPSIZE); | |
3226 | +WINGDIAPI LONG WINAPI GetBitmapBits (HBITMAP, LONG, PVOID); | |
3227 | +WINGDIAPI BOOL WINAPI GetBitmapDimensionEx (HBITMAP, LPSIZE); | |
3228 | +WINGDIAPI COLORREF WINAPI GetBkColor (HDC); | |
3229 | +WINGDIAPI int WINAPI GetBkMode (HDC); | |
3230 | +WINGDIAPI UINT WINAPI GetBoundsRect (HDC, LPRECT, UINT); | |
3231 | +WINGDIAPI BOOL WINAPI GetBrushOrgEx (HDC, LPPOINT); | |
3232 | + | |
3233 | +#define GetCharABCWidths __AW_SUFFIXED__(GetCharABCWidths) | |
3234 | +WINGDIAPI BOOL WINAPI GetCharABCWidthsA (HDC, UINT, UINT, LPABC); | |
3235 | +WINGDIAPI BOOL WINAPI GetCharABCWidthsW (HDC, UINT, UINT, LPABC); | |
3236 | + | |
3237 | +#define GetCharABCWidthsFloat __AW_SUFFIXED__(GetCharABCWidthsFloat) | |
3238 | +WINGDIAPI BOOL WINAPI GetCharABCWidthsFloatA (HDC, UINT, UINT, LPABCFLOAT); | |
3239 | +WINGDIAPI BOOL WINAPI GetCharABCWidthsFloatW (HDC, UINT, UINT, LPABCFLOAT); | |
3240 | + | |
3241 | +#define GetCharacterPlacement __AW_SUFFIXED__(GetCharacterPlacement) | |
3242 | +WINGDIAPI DWORD WINAPI GetCharacterPlacementA | |
3243 | +(HDC, LPCSTR, int, int, LPGCP_RESULTSA, DWORD); | |
3244 | + | |
3245 | +WINGDIAPI DWORD WINAPI GetCharacterPlacementW | |
3246 | +(HDC, LPCWSTR, int, int, LPGCP_RESULTSW, DWORD); | |
3247 | + | |
3248 | +#define GetCharWidth32 __AW_SUFFIXED__(GetCharWidth32) | |
3249 | +WINGDIAPI BOOL WINAPI GetCharWidth32A (HDC, UINT, UINT, LPINT); | |
3250 | +WINGDIAPI BOOL WINAPI GetCharWidth32W (HDC, UINT, UINT, LPINT); | |
3251 | + | |
3252 | +#define GetCharWidth __AW_SUFFIXED__(GetCharWidth) | |
3253 | +WINGDIAPI BOOL WINAPI GetCharWidthA (HDC, UINT, UINT, LPINT); | |
3254 | +WINGDIAPI BOOL WINAPI GetCharWidthW (HDC, UINT, UINT, LPINT); | |
3255 | + | |
3256 | +#define GetCharWidthFloat __AW_SUFFIXED__(GetCharWidthFloat) | |
3257 | +WINGDIAPI BOOL WINAPI GetCharWidthFloatA (HDC, UINT, UINT, PFLOAT); | |
3258 | +WINGDIAPI BOOL WINAPI GetCharWidthFloatW (HDC, UINT, UINT, PFLOAT); | |
3259 | + | |
3260 | +WINGDIAPI int WINAPI GetClipBox (HDC, LPRECT); | |
3261 | +WINGDIAPI int WINAPI GetClipRgn (HDC, HRGN); | |
3262 | +WINGDIAPI BOOL WINAPI GetColorAdjustment (HDC, LPCOLORADJUSTMENT); | |
3263 | +WINGDIAPI HANDLE WINAPI GetColorSpace (HDC); | |
3264 | +WINGDIAPI HGDIOBJ WINAPI GetCurrentObject (HDC, UINT); | |
3265 | +WINGDIAPI BOOL WINAPI GetCurrentPositionEx (HDC, LPPOINT); | |
3266 | +WINGDIAPI HCURSOR WINAPI GetCursor (void); | |
3267 | + | |
3268 | +#if WINVER >= _WIN32_WINNT_WIN2K | |
3269 | +WINGDIAPI COLORREF WINAPI GetDCBrushColor (HDC); | |
3270 | +WINGDIAPI COLORREF WINAPI GetDCPenColor (HDC); | |
3271 | +#endif /* WINVER >= Win2K */ | |
3272 | + | |
3273 | +WINGDIAPI BOOL WINAPI GetDCOrgEx (HDC, LPPOINT); | |
3274 | +WINGDIAPI int WINAPI GetDeviceCaps (HDC, int); | |
3275 | +WINGDIAPI BOOL WINAPI GetDeviceGammaRamp (HDC, PVOID); | |
3276 | +WINGDIAPI UINT WINAPI GetDIBColorTable (HDC, UINT, UINT, RGBQUAD *); | |
3277 | + | |
3278 | +WINGDIAPI int WINAPI GetDIBits | |
3279 | +(HDC, HBITMAP, UINT, UINT, PVOID, LPBITMAPINFO, UINT); | |
3280 | + | |
3281 | +#define GetEnhMetaFile __AW_SUFFIXED__(GetEnhMetaFile) | |
3282 | +WINGDIAPI HENHMETAFILE WINAPI GetEnhMetaFileA (LPCSTR); | |
3283 | +WINGDIAPI HENHMETAFILE WINAPI GetEnhMetaFileW (LPCWSTR); | |
3284 | + | |
3285 | +WINGDIAPI UINT WINAPI GetEnhMetaFileBits (HENHMETAFILE, UINT, LPBYTE); | |
3286 | + | |
3287 | +#define GetEnhMetaFileDescription __AW_SUFFIXED__(GetEnhMetaFileDescription) | |
3288 | +WINGDIAPI UINT WINAPI GetEnhMetaFileDescriptionA (HENHMETAFILE, UINT, LPSTR); | |
3289 | +WINGDIAPI UINT WINAPI GetEnhMetaFileDescriptionW (HENHMETAFILE, UINT, LPWSTR); | |
3290 | + | |
3291 | +WINGDIAPI UINT WINAPI GetEnhMetaFileHeader | |
3292 | +(HENHMETAFILE, UINT, LPENHMETAHEADER); | |
3293 | + | |
3294 | +WINGDIAPI UINT WINAPI GetEnhMetaFilePaletteEntries | |
3295 | +(HENHMETAFILE, UINT, LPPALETTEENTRY); | |
3296 | + | |
3297 | +WINGDIAPI UINT WINAPI GetEnhMetaFilePixelFormat | |
3298 | +(HENHMETAFILE, DWORD, CONST PIXELFORMATDESCRIPTOR *); | |
3299 | + | |
3300 | +WINGDIAPI DWORD WINAPI GetFontData (HDC, DWORD, DWORD, PVOID, DWORD); | |
3301 | +WINGDIAPI DWORD WINAPI GetFontLanguageInfo (HDC); | |
3302 | + | |
3303 | +#define GetGlyphOutline __AW_SUFFIXED__(GetGlyphOutline) | |
3304 | +WINGDIAPI DWORD WINAPI GetGlyphOutlineA | |
3305 | +(HDC, UINT, UINT, LPGLYPHMETRICS, DWORD, PVOID, const MAT2 *); | |
3306 | + | |
3307 | +WINGDIAPI DWORD WINAPI GetGlyphOutlineW | |
3308 | +(HDC, UINT, UINT, LPGLYPHMETRICS, DWORD, PVOID, const MAT2 *); | |
3309 | + | |
3310 | +WINGDIAPI int WINAPI GetGraphicsMode (HDC); | |
3311 | + | |
3312 | +#define GetICMProfile __AW_SUFFIXED__(GetICMProfile) | |
3313 | +WINGDIAPI BOOL WINAPI GetICMProfileA (HDC, LPDWORD, LPSTR); | |
3314 | +WINGDIAPI BOOL WINAPI GetICMProfileW (HDC, LPDWORD, LPWSTR); | |
3315 | + | |
3316 | +#define GetKerningPairs __AW_SUFFIXED__(GetKerningPairs) | |
3317 | +WINGDIAPI DWORD WINAPI GetKerningPairsA (HDC, DWORD, LPKERNINGPAIR); | |
3318 | +WINGDIAPI DWORD WINAPI GetKerningPairsW (HDC, DWORD, LPKERNINGPAIR); | |
3319 | + | |
3320 | +#define GetLogColorSpace __AW_SUFFIXED__(GetLogColorSpace) | |
3321 | +WINGDIAPI BOOL WINAPI GetLogColorSpaceA (HCOLORSPACE, LPLOGCOLORSPACEA, DWORD); | |
3322 | +WINGDIAPI BOOL WINAPI GetLogColorSpaceW (HCOLORSPACE, LPLOGCOLORSPACEW, DWORD); | |
3323 | + | |
3324 | +WINGDIAPI int WINAPI GetMapMode (HDC); | |
3325 | + | |
3326 | +#define GetMetaFile __AW_SUFFIXED__(GetMetaFile) | |
3327 | +WINGDIAPI HMETAFILE WINAPI GetMetaFileA (LPCSTR); | |
3328 | +WINGDIAPI HMETAFILE WINAPI GetMetaFileW (LPCWSTR); | |
3329 | + | |
3330 | +WINGDIAPI UINT WINAPI GetMetaFileBitsEx (HMETAFILE, UINT, PVOID); | |
3331 | +WINGDIAPI int WINAPI GetMetaRgn (HDC, HRGN); | |
3332 | +WINGDIAPI BOOL WINAPI GetMiterLimit (HDC, PFLOAT); | |
3333 | +WINGDIAPI COLORREF WINAPI GetNearestColor (HDC, COLORREF); | |
3334 | +WINGDIAPI UINT WINAPI GetNearestPaletteIndex (HPALETTE, COLORREF); | |
3335 | + | |
3336 | +#define GetObject __AW_SUFFIXED__(GetObject) | |
3337 | +WINGDIAPI int WINAPI GetObjectA (HGDIOBJ, int, PVOID); | |
3338 | +WINGDIAPI int WINAPI GetObjectW (HGDIOBJ, int, PVOID); | |
3339 | + | |
3340 | +WINGDIAPI DWORD WINAPI GetObjectType (HGDIOBJ); | |
3341 | + | |
3342 | +#define GetOutlineTextMetrics __AW_SUFFIXED__(GetOutlineTextMetrics) | |
3343 | +WINGDIAPI UINT WINAPI GetOutlineTextMetricsA (HDC, UINT, LPOUTLINETEXTMETRICA); | |
3344 | +WINGDIAPI UINT WINAPI GetOutlineTextMetricsW (HDC, UINT, LPOUTLINETEXTMETRICW); | |
3345 | + | |
3346 | +WINGDIAPI UINT WINAPI GetPaletteEntries (HPALETTE, UINT, UINT, LPPALETTEENTRY); | |
3347 | +WINGDIAPI int WINAPI GetPath (HDC, LPPOINT, PBYTE, int); | |
3348 | +WINGDIAPI COLORREF WINAPI GetPixel (HDC, int, int); | |
3349 | +WINGDIAPI int WINAPI GetPixelFormat (HDC); | |
3350 | +WINGDIAPI int WINAPI GetPolyFillMode (HDC); | |
3351 | +WINGDIAPI BOOL WINAPI GetRasterizerCaps (LPRASTERIZER_STATUS, UINT); | |
3352 | +WINGDIAPI int WINAPI GetRandomRgn (HDC, HRGN, INT); | |
3353 | +WINGDIAPI DWORD WINAPI GetRegionData (HRGN, DWORD, LPRGNDATA); | |
3354 | +WINGDIAPI int WINAPI GetRgnBox (HRGN, LPRECT); | |
3355 | +WINGDIAPI int WINAPI GetROP2 (HDC); | |
3356 | +WINGDIAPI HGDIOBJ WINAPI GetStockObject (int); | |
3357 | +WINGDIAPI int WINAPI GetStretchBltMode (HDC); | |
3358 | + | |
3359 | +WINGDIAPI UINT WINAPI GetSystemPaletteEntries | |
3360 | +(HDC, UINT, UINT, LPPALETTEENTRY); | |
3361 | + | |
3362 | +WINGDIAPI UINT WINAPI GetSystemPaletteUse (HDC); | |
3363 | +WINGDIAPI UINT WINAPI GetTextAlign (HDC); | |
3364 | +WINGDIAPI int WINAPI GetTextCharacterExtra (HDC); | |
3365 | +WINGDIAPI int WINAPI GetTextCharset (HDC); | |
3366 | +WINGDIAPI int WINAPI GetTextCharsetInfo (HDC, LPFONTSIGNATURE, DWORD); | |
3367 | +WINGDIAPI COLORREF WINAPI GetTextColor (HDC); | |
3368 | + | |
3369 | +#define GetTextExtentExPoint __AW_SUFFIXED__(GetTextExtentExPoint) | |
3370 | +WINGDIAPI BOOL WINAPI GetTextExtentExPointA | |
3371 | +(HDC, LPCSTR, int, int, LPINT, LPINT, LPSIZE); | |
3372 | + | |
3373 | +WINGDIAPI BOOL WINAPI GetTextExtentExPointW | |
3374 | +( HDC, LPCWSTR, int, int, LPINT, LPINT, LPSIZE ); | |
3375 | + | |
3376 | +#define GetTextExtentPoint __AW_SUFFIXED__(GetTextExtentPoint) | |
3377 | +WINGDIAPI BOOL WINAPI GetTextExtentPointA (HDC, LPCSTR, int, LPSIZE); | |
3378 | +WINGDIAPI BOOL WINAPI GetTextExtentPointW (HDC, LPCWSTR, int, LPSIZE); | |
3379 | + | |
3380 | +#if _WIN32_WINNT >= _WIN32_WINNT_WIN2K | |
3381 | +WINGDIAPI BOOL WINAPI GetTextExtentExPointI | |
3382 | +(HDC, LPWORD, int, int, LPINT, LPINT, LPSIZE); | |
3383 | + | |
3384 | +#endif /* WINNT >= Win2K */ | |
3385 | + | |
3386 | +#define GetTextExtentPoint32 __AW_SUFFIXED__(GetTextExtentPoint32) | |
3387 | +WINGDIAPI BOOL WINAPI GetTextExtentPoint32A (HDC, LPCSTR, int, LPSIZE); | |
3388 | +WINGDIAPI BOOL WINAPI GetTextExtentPoint32W (HDC, LPCWSTR, int, LPSIZE); | |
3389 | + | |
3390 | +#define GetTextFace __AW_SUFFIXED__(GetTextFace) | |
3391 | +WINGDIAPI int WINAPI GetTextFaceA (HDC, int, LPSTR); | |
3392 | +WINGDIAPI int WINAPI GetTextFaceW (HDC, int, LPWSTR); | |
3393 | + | |
3394 | +#define GetTextMetrics __AW_SUFFIXED__(GetTextMetrics) | |
3395 | +WINGDIAPI BOOL WINAPI GetTextMetricsA (HDC, LPTEXTMETRICA); | |
3396 | +WINGDIAPI BOOL WINAPI GetTextMetricsW (HDC, LPTEXTMETRICW); | |
3397 | + | |
3398 | +WINGDIAPI BOOL WINAPI GetViewportExtEx (HDC, LPSIZE); | |
3399 | +WINGDIAPI BOOL WINAPI GetViewportOrgEx (HDC, LPPOINT); | |
3400 | +WINGDIAPI BOOL WINAPI GetWindowExtEx (HDC, LPSIZE); | |
3401 | +WINGDIAPI BOOL WINAPI GetWindowOrgEx (HDC, LPPOINT); | |
3402 | + | |
3403 | +WINGDIAPI UINT WINAPI GetWinMetaFileBits | |
3404 | +(HENHMETAFILE, UINT, LPBYTE, INT, HDC); | |
3405 | + | |
3406 | +WINGDIAPI BOOL WINAPI GetWorldTransform (HDC, LPXFORM); | |
3407 | +WINGDIAPI int WINAPI IntersectClipRect (HDC, int, int, int, int); | |
3408 | +WINGDIAPI BOOL WINAPI InvertRgn (HDC, HRGN); | |
3409 | +WINGDIAPI BOOL WINAPI LineDDA (int, int, int, int, LINEDDAPROC, LPARAM); | |
3410 | +WINGDIAPI BOOL WINAPI LineTo (HDC, int, int); | |
3411 | +WINGDIAPI BOOL WINAPI LPtoDP (HDC, LPPOINT, int); | |
3412 | + | |
3413 | +WINGDIAPI BOOL WINAPI MaskBlt | |
3414 | +(HDC, int, int, int, int, HDC, int, int, HBITMAP, int, int, DWORD); | |
3415 | + | |
3416 | +WINGDIAPI BOOL WINAPI ModifyWorldTransform (HDC, const XFORM *, DWORD); | |
3417 | +WINGDIAPI BOOL WINAPI MoveToEx (HDC, int, int, LPPOINT); | |
3418 | +WINGDIAPI int WINAPI OffsetClipRgn (HDC, int, int); | |
3419 | +WINGDIAPI int WINAPI OffsetRgn (HRGN, int, int); | |
3420 | +WINGDIAPI BOOL WINAPI OffsetViewportOrgEx (HDC, int, int, LPPOINT); | |
3421 | +WINGDIAPI BOOL WINAPI OffsetWindowOrgEx (HDC, int, int, LPPOINT); | |
3422 | +WINGDIAPI BOOL WINAPI PaintRgn (HDC, HRGN); | |
3423 | +WINGDIAPI BOOL WINAPI PatBlt (HDC, int, int, int, int, DWORD); | |
3424 | +WINGDIAPI HRGN WINAPI PathToRegion (HDC); | |
3425 | +WINGDIAPI BOOL WINAPI Pie (HDC, int, int, int, int, int, int, int, int); | |
3426 | +WINGDIAPI BOOL WINAPI PlayEnhMetaFile (HDC, HENHMETAFILE, LPCRECT); | |
3427 | + | |
3428 | +WINGDIAPI BOOL WINAPI PlayEnhMetaFileRecord | |
3429 | +(HDC, LPHANDLETABLE, const ENHMETARECORD *, UINT); | |
3430 | + | |
3431 | +WINGDIAPI BOOL WINAPI PlayMetaFile (HDC, HMETAFILE); | |
3432 | + | |
3433 | +WINGDIAPI BOOL WINAPI PlayMetaFileRecord | |
3434 | +(HDC, LPHANDLETABLE, LPMETARECORD, UINT); | |
3435 | + | |
3436 | +WINGDIAPI BOOL WINAPI PlgBlt | |
3437 | +(HDC, const POINT *, HDC, int, int, int, int, HBITMAP, int, int); | |
3438 | + | |
3439 | +WINGDIAPI BOOL WINAPI PolyBezier (HDC, const POINT *, DWORD); | |
3440 | +WINGDIAPI BOOL WINAPI PolyBezierTo (HDC, const POINT *, DWORD); | |
3441 | +WINGDIAPI BOOL WINAPI PolyDraw (HDC, const POINT *, const BYTE *, int); | |
3442 | +WINGDIAPI BOOL WINAPI Polygon (HDC, const POINT *, int); | |
3443 | +WINGDIAPI BOOL WINAPI Polyline (HDC, const POINT *, int); | |
3444 | +WINGDIAPI BOOL WINAPI PolylineTo (HDC, const POINT *, DWORD); | |
3445 | +WINGDIAPI BOOL WINAPI PolyPolygon (HDC, const POINT *, const INT *, int); | |
3446 | +WINGDIAPI BOOL WINAPI PolyPolyline (HDC, const POINT *, const DWORD *, DWORD); | |
3447 | + | |
3448 | +#define PolyTextOut __AW_SUFFIXED__(PolyTextOut) | |
3449 | +WINGDIAPI BOOL WINAPI PolyTextOutA (HDC, const POLYTEXTA *, int); | |
3450 | +WINGDIAPI BOOL WINAPI PolyTextOutW (HDC, const POLYTEXTW *, int); | |
3451 | + | |
3452 | +WINGDIAPI BOOL WINAPI PtInRegion (HRGN, int, int); | |
3453 | +WINGDIAPI BOOL WINAPI PtVisible (HDC, int, int); | |
3454 | +WINGDIAPI UINT WINAPI RealizePalette (HDC); | |
3455 | +WINGDIAPI BOOL WINAPI Rectangle (HDC, int, int, int, int); | |
3456 | +WINGDIAPI BOOL WINAPI RectInRegion (HRGN, LPCRECT); | |
3457 | +WINGDIAPI BOOL WINAPI RectVisible (HDC, LPCRECT); | |
3458 | + | |
3459 | +#define RemoveFontResource __AW_SUFFIXED__(RemoveFontResource) | |
3460 | +WINGDIAPI BOOL WINAPI RemoveFontResourceA (LPCSTR); | |
3461 | +WINGDIAPI BOOL WINAPI RemoveFontResourceW (LPCWSTR); | |
3462 | + | |
3463 | +#if _WIN32_WINNT >= _WIN32_WINNT_WIN2K | |
3464 | +WINGDIAPI BOOL WINAPI RemoveFontMemResourceEx (HANDLE); | |
3465 | + | |
3466 | +#define RemoveFontResourceEx __AW_SUFFIXED__(RemoveFontResourceEx) | |
3467 | +WINGDIAPI BOOL WINAPI RemoveFontResourceExA (LPCSTR, DWORD, PVOID); | |
3468 | +WINGDIAPI BOOL WINAPI RemoveFontResourceExW (LPCWSTR, DWORD, PVOID); | |
3469 | +#endif /* WINNT >= Win2K */ | |
3470 | + | |
3471 | +#define ResetDC __AW_SUFFIXED__(ResetDC) | |
3472 | +WINGDIAPI HDC WINAPI ResetDCA (HDC, const DEVMODEA *); | |
3473 | +WINGDIAPI HDC WINAPI ResetDCW (HDC, const DEVMODEW *); | |
3474 | + | |
3475 | +WINGDIAPI BOOL WINAPI ResizePalette (HPALETTE, UINT); | |
3476 | +WINGDIAPI BOOL WINAPI RestoreDC (HDC, int); | |
3477 | +WINGDIAPI BOOL WINAPI RoundRect (HDC, int, int, int, int, int, int); | |
3478 | +WINGDIAPI int WINAPI SaveDC (HDC); | |
3479 | +WINGDIAPI BOOL WINAPI ScaleViewportExtEx (HDC, int, int, int, int, LPSIZE); | |
3480 | +WINGDIAPI BOOL WINAPI ScaleWindowExtEx (HDC, int, int, int, int, LPSIZE); | |
3481 | +WINGDIAPI BOOL WINAPI SelectClipPath (HDC, int); | |
3482 | +WINGDIAPI int WINAPI SelectClipRgn (HDC, HRGN); | |
3483 | +WINGDIAPI HGDIOBJ WINAPI SelectObject (HDC, HGDIOBJ); | |
3484 | +WINGDIAPI HPALETTE WINAPI SelectPalette (HDC, HPALETTE, BOOL); | |
3485 | +WINGDIAPI int WINAPI SetAbortProc (HDC, ABORTPROC); | |
3486 | +WINGDIAPI int WINAPI SetArcDirection (HDC, int); | |
3487 | +WINGDIAPI LONG WINAPI SetBitmapBits (HBITMAP, DWORD, PCVOID); | |
3488 | +WINGDIAPI BOOL WINAPI SetBitmapDimensionEx (HBITMAP, int, int, LPSIZE); | |
3489 | +WINGDIAPI COLORREF WINAPI SetBkColor (HDC, COLORREF); | |
3490 | +WINGDIAPI int WINAPI SetBkMode (HDC, int); | |
3491 | +WINGDIAPI UINT WINAPI SetBoundsRect (HDC, LPCRECT, UINT); | |
3492 | +WINGDIAPI BOOL WINAPI SetBrushOrgEx (HDC, int, int, LPPOINT); | |
3493 | +WINGDIAPI BOOL WINAPI SetColorAdjustment (HDC, const COLORADJUSTMENT *); | |
3494 | +WINGDIAPI BOOL WINAPI SetColorSpace (HDC, HCOLORSPACE); | |
3495 | + | |
3496 | +#if _WIN32_WINNT >= _WIN32_WINNT_WIN2K | |
3497 | +WINGDIAPI COLORREF WINAPI SetDCBrushColor (HDC, COLORREF); | |
3498 | +WINGDIAPI COLORREF WINAPI SetDCPenColor (HDC, COLORREF); | |
3499 | +#endif /* WINNT >= Win2K */ | |
3500 | + | |
3501 | +WINGDIAPI BOOL WINAPI SetDeviceGammaRamp (HDC, PVOID); | |
3502 | +WINGDIAPI UINT WINAPI SetDIBColorTable (HDC, UINT, UINT, const RGBQUAD *); | |
3503 | + | |
3504 | +WINGDIAPI int WINAPI SetDIBits | |
3505 | +(HDC, HBITMAP, UINT, UINT, PCVOID, const BITMAPINFO *, UINT); | |
3506 | + | |
3507 | +WINGDIAPI int WINAPI SetDIBitsToDevice | |
3508 | +(HDC, int, int, DWORD, DWORD, int, int, UINT, UINT, PCVOID, | |
3509 | + const BITMAPINFO *, UINT | |
3510 | +); | |
3511 | + | |
3512 | +WINGDIAPI HENHMETAFILE WINAPI SetEnhMetaFileBits (UINT, const BYTE *); | |
3513 | +WINGDIAPI int WINAPI SetGraphicsMode (HDC, int); | |
3514 | +WINGDIAPI int WINAPI SetICMMode (HDC, int); | |
3515 | + | |
3516 | +#define SetICMProfile __AW_SUFFIXED__(SetICMProfile) | |
3517 | +WINGDIAPI BOOL WINAPI SetICMProfileA (HDC, LPSTR); | |
3518 | +WINGDIAPI BOOL WINAPI SetICMProfileW (HDC, LPWSTR); | |
3519 | + | |
3520 | +WINGDIAPI int WINAPI SetMapMode (HDC, int); | |
3521 | +WINGDIAPI DWORD WINAPI SetMapperFlags (HDC, DWORD); | |
3522 | +WINGDIAPI HMETAFILE WINAPI SetMetaFileBitsEx (UINT, const BYTE *); | |
3523 | +WINGDIAPI int WINAPI SetMetaRgn (HDC); | |
3524 | +WINGDIAPI BOOL WINAPI SetMiterLimit (HDC, FLOAT, PFLOAT); | |
3525 | + | |
3526 | +WINGDIAPI UINT WINAPI SetPaletteEntries | |
3527 | +(HPALETTE, UINT, UINT, const PALETTEENTRY *); | |
3528 | + | |
3529 | +WINGDIAPI COLORREF WINAPI SetPixel (HDC, int, int, COLORREF); | |
3530 | +WINGDIAPI BOOL WINAPI SetPixelFormat (HDC, int, const PIXELFORMATDESCRIPTOR *); | |
3531 | +WINGDIAPI BOOL WINAPI SetPixelV (HDC, int, int, COLORREF); | |
3532 | +WINGDIAPI int WINAPI SetPolyFillMode (HDC, int); | |
3533 | +WINGDIAPI BOOL WINAPI SetRectRgn (HRGN, int, int, int, int); | |
3534 | +WINGDIAPI int WINAPI SetROP2 (HDC, int); | |
3535 | +WINGDIAPI int WINAPI SetStretchBltMode (HDC, int); | |
3536 | +WINGDIAPI UINT WINAPI SetSystemPaletteUse (HDC, UINT); | |
3537 | +WINGDIAPI UINT WINAPI SetTextAlign (HDC, UINT); | |
3538 | +WINGDIAPI int WINAPI SetTextCharacterExtra (HDC, int); | |
3539 | +WINGDIAPI COLORREF WINAPI SetTextColor (HDC, COLORREF); | |
3540 | +WINGDIAPI BOOL WINAPI SetTextJustification (HDC, int, int); | |
3541 | +WINGDIAPI BOOL WINAPI SetViewportExtEx (HDC, int, int, LPSIZE); | |
3542 | +WINGDIAPI BOOL WINAPI SetViewportOrgEx (HDC, int, int, LPPOINT); | |
3543 | +WINGDIAPI BOOL WINAPI SetWindowExtEx (HDC, int, int, LPSIZE); | |
3544 | +WINGDIAPI BOOL WINAPI SetWindowOrgEx (HDC, int, int, LPPOINT); | |
3545 | + | |
3546 | +WINGDIAPI HENHMETAFILE WINAPI SetWinMetaFileBits | |
3547 | +(UINT, const BYTE *, HDC, const METAFILEPICT *); | |
3548 | + | |
3549 | +WINGDIAPI BOOL WINAPI SetWorldTransform (HDC, const XFORM *); | |
3550 | + | |
3551 | +#define StartDoc __AW_SUFFIXED__(StartDoc) | |
3552 | +WINGDIAPI int WINAPI StartDocA (HDC, const DOCINFOA *); | |
3553 | +WINGDIAPI int WINAPI StartDocW (HDC, const DOCINFOW *); | |
3554 | + | |
3555 | +WINGDIAPI int WINAPI StartPage (HDC); | |
3556 | + | |
3557 | +WINGDIAPI BOOL WINAPI StretchBlt | |
3558 | +(HDC, int, int, int, int, HDC, int, int, int, int, DWORD); | |
3559 | + | |
3560 | +WINGDIAPI int WINAPI StretchDIBits | |
3561 | +(HDC, int, int, int, int, int, int, int, int, const VOID *, | |
3562 | + const BITMAPINFO *, UINT, DWORD | |
3563 | +); | |
3564 | + | |
3565 | +WINGDIAPI BOOL WINAPI StrokeAndFillPath (HDC); | |
3566 | +WINGDIAPI BOOL WINAPI StrokePath (HDC); | |
3567 | +WINGDIAPI BOOL WINAPI SwapBuffers (HDC); | |
3568 | + | |
3569 | +#define TextOut __AW_SUFFIXED__(TextOut) | |
3570 | +WINGDIAPI BOOL WINAPI TextOutA (HDC, int, int, LPCSTR, int); | |
3571 | +WINGDIAPI BOOL WINAPI TextOutW (HDC, int, int, LPCWSTR, int); | |
3572 | + | |
3573 | +WINGDIAPI BOOL WINAPI TranslateCharsetInfo (PDWORD, LPCHARSETINFO, DWORD); | |
3574 | +WINGDIAPI BOOL WINAPI UnrealizeObject (HGDIOBJ); | |
3575 | +WINGDIAPI BOOL WINAPI UpdateColors (HDC); | |
3576 | + | |
3577 | +#define UpdateICMRegKey __AW_SUFFIXED__(UpdateICMRegKey) | |
3578 | +WINGDIAPI BOOL WINAPI UpdateICMRegKeyA (DWORD, DWORD, LPSTR, UINT); | |
3579 | +WINGDIAPI BOOL WINAPI UpdateICMRegKeyW (DWORD, DWORD, LPWSTR, UINT); | |
3580 | + | |
3581 | +WINGDIAPI BOOL WINAPI WidenPath (HDC); | |
3582 | +WINGDIAPI BOOL WINAPI wglCopyContext (HGLRC, HGLRC, UINT); | |
3583 | +WINGDIAPI HGLRC WINAPI wglCreateContext (HDC); | |
3584 | +WINGDIAPI HGLRC WINAPI wglCreateLayerContext (HDC, int); | |
3585 | +WINGDIAPI BOOL WINAPI wglDeleteContext (HGLRC); | |
3586 | + | |
3587 | +WINGDIAPI BOOL WINAPI wglDescribeLayerPlane | |
3588 | +(HDC, int, int, UINT, LPLAYERPLANEDESCRIPTOR); | |
3589 | + | |
3590 | +WINGDIAPI HGLRC WINAPI wglGetCurrentContext (void); | |
3591 | +WINGDIAPI HDC WINAPI wglGetCurrentDC (void); | |
3592 | + | |
3593 | +WINGDIAPI int WINAPI wglGetLayerPaletteEntries | |
3594 | +(HDC, int, int, int, COLORREF *); | |
3595 | + | |
3596 | +WINGDIAPI PROC WINAPI wglGetProcAddress (LPCSTR); | |
3597 | +WINGDIAPI BOOL WINAPI wglMakeCurrent (HDC, HGLRC); | |
3598 | +WINGDIAPI BOOL WINAPI wglRealizeLayerPalette (HDC, int, BOOL); | |
3599 | + | |
3600 | +WINGDIAPI int WINAPI wglSetLayerPaletteEntries | |
3601 | +(HDC, int, int, int, const COLORREF *); | |
3602 | + | |
3603 | +WINGDIAPI BOOL WINAPI wglShareLists (HGLRC, HGLRC); | |
3604 | +WINGDIAPI BOOL WINAPI wglSwapLayerBuffers (HDC, UINT); | |
3605 | + | |
3606 | +#define wglUseFontBitmaps __AW_SUFFIXED__(wglUseFontBitmaps) | |
3607 | +WINGDIAPI BOOL WINAPI wglUseFontBitmapsA (HDC, DWORD, DWORD, DWORD); | |
3608 | +WINGDIAPI BOOL WINAPI wglUseFontBitmapsW (HDC, DWORD, DWORD, DWORD); | |
3609 | + | |
3610 | +#define wglUseFontOutlines __AW_SUFFIXED__(wglUseFontOutlines) | |
3611 | +WINGDIAPI BOOL WINAPI wglUseFontOutlinesA | |
3612 | +(HDC, DWORD, DWORD, DWORD, FLOAT, FLOAT, int, LPGLYPHMETRICSFLOAT); | |
3613 | + | |
3614 | +WINGDIAPI BOOL WINAPI wglUseFontOutlinesW | |
3615 | +(HDC, DWORD, DWORD, DWORD, FLOAT, FLOAT, int, LPGLYPHMETRICSFLOAT); | |
3616 | + | |
3617 | +#if WINVER >= _WIN32_WINDOWS_98 /* also WINNT >= WIN2K */ | |
3618 | +WINGDIAPI BOOL WINAPI AlphaBlend | |
3619 | +(HDC, int, int, int, int, HDC, int, int, int, int, BLENDFUNCTION); | |
3620 | + | |
3621 | +WINGDIAPI BOOL WINAPI GradientFill | |
3622 | +(HDC, PTRIVERTEX, ULONG, PVOID, ULONG, ULONG); | |
3623 | + | |
3624 | +WINGDIAPI BOOL WINAPI TransparentBlt | |
3625 | +(HDC, int, int, int, int, HDC, int, int, int, int, UINT); | |
3626 | +#endif /* WINVER >= Win98/Win2K */ | |
3627 | + | |
3628 | +#if _WIN32_WINNT >= _WIN32_WINNT_WIN2K | |
3629 | +WINGDIAPI DWORD WINAPI GetFontUnicodeRanges (HDC, LPGLYPHSET); | |
3630 | + | |
3631 | +#define GetGlyphIndices __AW_SUFFIXED__(GetGlyphIndices) | |
3632 | +WINGDIAPI DWORD WINAPI GetGlyphIndicesA (HDC, LPCSTR, int, LPWORD, DWORD); | |
3633 | +WINGDIAPI DWORD WINAPI GetGlyphIndicesW (HDC, LPCWSTR, int, LPWORD, DWORD); | |
3634 | +#endif /* WINNT >= Win2K */ | |
3635 | + | |
3636 | +#if WINVER >= _WIN32_WINNT_WIN2K | |
3637 | +WINGDIAPI DWORD WINAPI GetLayout (HDC); | |
3638 | +WINGDIAPI DWORD WINAPI SetLayout (HDC, DWORD); | |
3639 | +#endif /* WINNT >= Win2K */ | |
3640 | +#endif /* ! RC_INVOKED */ | |
3641 | + | |
3642 | +_END_C_DECLS | |
3643 | + | |
3644 | +#endif /* !_WINGDI_H: $RCSfile$: end of file */ |