Added support for zip files.
[tangerine.git] / arch / all-mingw32 / hidd / wingdi / winapi.h
blob0e7289c684c481d44760137c867c298637fe77a4
1 /* WinAPI definitions to be used with AROS-side code. Taken from various Mingw32 headers. */
3 #define BLACKNESS 0x00000042
4 #define NOTSRCERASE 0x001100A6
5 #define NOTSRCCOPY 0x00330008
6 #define SRCERASE 0x00440328
7 #define DSTINVERT 0x00550009
8 #define PATINVERT 0x005A0049
9 #define SRCINVERT 0x00660046
10 #define SRCAND 0x008800C6
11 #define MERGEPAINT 0x00BB0226
12 #define MERGECOPY 0x00C000CA
13 #define SRCCOPY 0x00CC0020
14 #define SRCPAINT 0x00EE0086
15 #define PATCOPY 0x00F00021
16 #define PATPAINT 0x00FB0A09
17 #define WHITENESS 0x00FF0062
18 #define CAPTUREBLT 0x40000000
19 #define NOMIRRORBITMAP 0x80000000
21 #define RDW_ERASE 4
22 #define RDW_FRAME 1024
23 #define RDW_INTERNALPAINT 2
24 #define RDW_INVALIDATE 1
25 #define RDW_NOERASE 32
26 #define RDW_NOFRAME 2048
27 #define RDW_NOINTERNALPAINT 16
28 #define RDW_VALIDATE 8
29 #define RDW_ERASENOW 512
30 #define RDW_UPDATENOW 256
31 #define RDW_ALLCHILDREN 128
32 #define RDW_NOCHILDREN 64
34 #define DRIVERVERSION 0
35 #define TECHNOLOGY 2
36 #define DT_PLOTTER 0
37 #define DT_RASDISPLAY 1
38 #define DT_RASPRINTER 2
39 #define DT_RASCAMERA 3
40 #define DT_CHARSTREAM 4
41 #define DT_METAFILE 5
42 #define DT_DISPFILE 6
43 #define HORZSIZE 4
44 #define VERTSIZE 6
45 #define HORZRES 8
46 #define VERTRES 10
47 #define LOGPIXELSX 88
48 #define LOGPIXELSY 90
49 #define BITSPIXEL 12
50 #define PLANES 14
51 #define NUMBRUSHES 16
52 #define NUMPENS 18
53 #define NUMFONTS 22
54 #define NUMCOLORS 24
55 #define NUMMARKERS 20
56 #define ASPECTX 40
57 #define ASPECTY 42
58 #define ASPECTXY 44
59 #define PDEVICESIZE 26
60 #define CLIPCAPS 36
61 #define SIZEPALETTE 104
62 #define NUMRESERVED 106
63 #define COLORRES 108
64 #define PHYSICALWIDTH 110
65 #define PHYSICALHEIGHT 111
66 #define PHYSICALOFFSETX 112
67 #define PHYSICALOFFSETY 113
68 #define SCALINGFACTORX 114
69 #define SCALINGFACTORY 115
70 #define VREFRESH 116
71 #define DESKTOPHORZRES 118
72 #define DESKTOPVERTRES 117
73 #define BLTALIGNMENT 119
74 #define SHADEBLENDCAPS 120
75 #define SB_NONE 0x00
76 #define SB_CONST_ALPHA 0x01
77 #define SB_PIXEL_ALPHA 0x02
78 #define SB_PREMULT_ALPHA 0x04
79 #define SB_GRAD_RECT 0x10
80 #define SB_GRAD_TRI 0x20
81 #define COLORMGMTCAPS 121
82 #define CM_NONE 0x00
83 #define CM_DEVICE_ICM 0x01
84 #define CM_GAMMA_RAMP 0x02
85 #define CM_CMYK_COLOR 0x04
86 #define RASTERCAPS 38
87 #define RC_BANDING 2
88 #define RC_BITBLT 1
89 #define RC_BITMAP64 8
90 #define RC_DI_BITMAP 128
91 #define RC_DIBTODEV 512
92 #define RC_FLOODFILL 4096
93 #define RC_GDI20_OUTPUT 16
94 #define RC_PALETTE 256
95 #define RC_SCALING 4
96 #define RC_STRETCHBLT 2048
97 #define RC_STRETCHDIB 8192
98 #define RC_DEVBITS 0x8000
99 #define RC_OP_DX_OUTPUT 0x4000
100 #define CURVECAPS 28
101 #define CC_NONE 0
102 #define CC_CIRCLES 1
103 #define CC_PIE 2
104 #define CC_CHORD 4
105 #define CC_ELLIPSES 8
106 #define CC_WIDE 16
107 #define CC_STYLED 32
108 #define CC_WIDESTYLED 64
109 #define CC_INTERIORS 128
110 #define CC_ROUNDRECT 256
111 #define LINECAPS 30
112 #define LC_NONE 0
113 #define LC_POLYLINE 2
114 #define LC_MARKER 4
115 #define LC_POLYMARKER 8
116 #define LC_WIDE 16
117 #define LC_STYLED 32
118 #define LC_WIDESTYLED 64
119 #define LC_INTERIORS 128
120 #define POLYGONALCAPS 32
121 #define RC_BANDING 2
122 #define RC_BIGFONT 1024
123 #define RC_BITBLT 1
124 #define RC_BITMAP64 8
125 #define RC_DEVBITS 0x8000
126 #define RC_DI_BITMAP 128
127 #define RC_GDI20_OUTPUT 16
128 #define RC_GDI20_STATE 32
129 #define RC_NONE 0
130 #define RC_OP_DX_OUTPUT 0x4000
131 #define RC_PALETTE 256
132 #define RC_SAVEBITMAP 64
133 #define RC_SCALING 4
134 #define PC_NONE 0
135 #define PC_POLYGON 1
136 #define PC_POLYPOLYGON 256
137 #define PC_PATHS 512
138 #define PC_RECTANGLE 2
139 #define PC_WINDPOLYGON 4
140 #define PC_SCANLINE 8
141 #define PC_TRAPEZOID 4
142 #define PC_WIDE 16
143 #define PC_STYLED 32
144 #define PC_WIDESTYLED 64
145 #define PC_INTERIORS 128
146 #define PC_PATHS 512
147 #define TEXTCAPS 34
148 #define TC_OP_CHARACTER 1
149 #define TC_OP_STROKE 2
150 #define TC_CP_STROKE 4
151 #define TC_CR_90 8
152 #define TC_CR_ANY 16
153 #define TC_SF_X_YINDEP 32
154 #define TC_SA_DOUBLE 64
155 #define TC_SA_INTEGER 128
156 #define TC_SA_CONTIN 256
157 #define TC_EA_DOUBLE 512
158 #define TC_IA_ABLE 1024
159 #define TC_UA_ABLE 2048
160 #define TC_SO_ABLE 4096
161 #define TC_RA_ABLE 8192
162 #define TC_VA_ABLE 16384
163 #define TC_RESERVED 32768
164 #define TC_SCROLLBLT 65536
166 #define WM_QUIT 18
167 #define WM_KEYDOWN 256
168 #define WM_KEYUP 257
169 #define WM_SYSKEYDOWN 260
170 #define WM_SYSKEYUP 261
171 #define WM_MOUSEWHEEL 522
173 #define MK_LBUTTON 1
174 #define MK_RBUTTON 2
175 #define MK_SHIFT 4
176 #define MK_CONTROL 8
177 #define MK_MBUTTON 16
178 #define MK_XBUTTON1 32
179 #define MK_XBUTTON2 64
181 #define BI_RGB 0
183 #define DIB_RGB_COLORS 0
185 typedef struct tagRECT {
186 LONG left;
187 LONG top;
188 LONG right;
189 LONG bottom;
190 } RECT;
192 typedef struct tagBITMAPINFOHEADER{
193 ULONG biSize;
194 LONG biWidth;
195 LONG biHeight;
196 WORD biPlanes;
197 WORD biBitCount;
198 ULONG biCompression;
199 ULONG biSizeImage;
200 LONG biXPelsPerMeter;
201 LONG biYPelsPerMeter;
202 ULONG biClrUsed;
203 ULONG biClrImportant;
204 } BITMAPINFOHEADER, *PBITMAPINFOHEADER;
206 typedef struct tagRGBQUAD {
207 BYTE rgbBlue;
208 BYTE rgbGreen;
209 BYTE rgbRed;
210 BYTE rgbReserved;
211 } RGBQUAD;
213 typedef struct tagBITMAPINFO {
214 BITMAPINFOHEADER bmiHeader;
215 RGBQUAD bmiColors[1];
216 } BITMAPINFO, *PBITMAPINFO;