+ntoskrnl/ke/mutex.c
[reactos.git] / include / messages.h
1 /* 
2    Messages.h
3
4    Windows32 API message definitions
5
6    Copyright (C) 1996 Free Software Foundation, Inc.
7
8    Author: Scott Christley <scottc@net-community.com>
9
10    This file is part of the Windows32 API Library.
11
12    This library is free software; you can redistribute it and/or
13    modify it under the terms of the GNU Library General Public
14    License as published by the Free Software Foundation; either
15    version 2 of the License, or (at your option) any later version.
16    
17    This library is distributed in the hope that it will be useful,
18    but WITHOUT ANY WARRANTY; without even the implied warranty of
19    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
20    Library General Public License for more details.
21
22    If you are interested in a warranty or support for this source code,
23    contact Scott Christley <scottc@net-community.com> for more information.
24    
25    You should have received a copy of the GNU Library General Public
26    License along with this library; see the file COPYING.LIB.
27    If not, write to the Free Software Foundation, 
28    59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
29 */
30 /* WARNING:  This file is automatically generated. */
31
32 #ifndef _GNU_H_WINDOWS32_MESSAGES
33 #define _GNU_H_WINDOWS32_MESSAGES
34
35 #ifdef __cplusplus
36 extern "C" {
37 #endif /* __cplusplus */
38
39
40 /* Application bar */
41
42 /* Application bar notifications */
43
44 /* Animation Control */
45 #define ACM_OPENW       (1127)
46 #define ACM_OPENA       (1124)
47 #ifdef UNICODE
48 #define ACM_OPEN ACM_OPENW
49 #else
50 #define ACM_OPEN ACM_OPENA
51 #endif /* UNICODE */
52 #define ACM_PLAY        (1125)
53 #define ACM_STOP        (1126)
54 #define ACN_START       (1)
55 #define ACN_STOP        (2)
56
57 /* Buttons */
58 #define BM_CLICK        (245)
59 #define BM_GETCHECK     (240)
60 #define BM_GETIMAGE     (246)
61 #define BM_GETSTATE     (242)
62 #define BM_SETCHECK     (241)
63 #define BM_SETIMAGE     (247)
64 #define BM_SETSTATE     (243)
65 #define BM_SETSTYLE     (244)
66 #define BN_CLICKED      (0)
67 #define BN_DBLCLK       (5)
68 #define BN_DISABLE      (4)
69 #define BN_DOUBLECLICKED        (5)
70 #define BN_HILITE       (2)
71 #define BN_KILLFOCUS    (7)
72 #define BN_PAINT        (1)
73 #define BN_PUSHED       (2)
74 #define BN_SETFOCUS     (6)
75 #define BN_UNHILITE     (3)
76 #define BN_UNPUSHED     (3)
77
78 /* Combo Box */
79 #define CB_ADDSTRING    (323)
80 #define CB_DELETESTRING (324)
81 #define CB_DIR  (325)
82 #define CB_FINDSTRING   (332)
83 #define CB_FINDSTRINGEXACT      (344)
84 #define CB_GETCOUNT     (326)
85 #define CB_GETCURSEL    (327)
86 #define CB_GETDROPPEDCONTROLRECT        (338)
87 #define CB_GETDROPPEDSTATE      (343)
88 #define CB_GETDROPPEDWIDTH      (351)
89 #define CB_GETEDITSEL   (320)
90 #define CB_GETEXTENDEDUI        (342)
91 #define CB_GETHORIZONTALEXTENT  (349)
92 #define CB_GETITEMDATA  (336)
93 #define CB_GETITEMHEIGHT        (340)
94 #define CB_GETLBTEXT    (328)
95 #define CB_GETLBTEXTLEN (329)
96 #define CB_GETLOCALE    (346)
97 #define CB_GETTOPINDEX  (347)
98 #define CB_INITSTORAGE  (353)
99 #define CB_INSERTSTRING (330)
100 #define CB_LIMITTEXT    (321)
101 #define CB_RESETCONTENT (331)
102 #define CB_SELECTSTRING (333)
103 #define CB_SETCURSEL    (334)
104 #define CB_SETDROPPEDWIDTH      (352)
105 #define CB_SETEDITSEL   (322)
106 #define CB_SETEXTENDEDUI        (341)
107 #define CB_SETHORIZONTALEXTENT  (350)
108 #define CB_SETITEMDATA  (337)
109 #define CB_SETITEMHEIGHT        (339)
110 #define CB_SETLOCALE    (345)
111 #define CB_SETTOPINDEX  (348)
112 #define CB_SHOWDROPDOWN (335)
113
114 /* Combo Box notifications */
115 #define CBN_CLOSEUP     (8)
116 #define CBN_DBLCLK      (2)
117 #define CBN_DROPDOWN    (7)
118 #define CBN_EDITCHANGE  (5)
119 #define CBN_EDITUPDATE  (6)
120 #define CBN_ERRSPACE    (-1)
121 #define CBN_KILLFOCUS   (4)
122 #define CBN_SELCHANGE   (1)
123 #define CBN_SELENDCANCEL        (10)
124 #define CBN_SELENDOK    (9)
125 #define CBN_SETFOCUS    (3)
126
127 /* Control Panel */
128
129 /* Device messages */
130
131 /* Drag list box */
132 #define DL_BEGINDRAG    (1157)
133 #define DL_CANCELDRAG   (1160)
134 #define DL_DRAGGING     (1158)
135 #define DL_DROPPED      (1159)
136
137 /* Default push button */
138 #define DM_GETDEFID     (1024)
139 #define DM_REPOSITION   (1026)
140 #define DM_SETDEFID     (1025)
141
142 /* RTF control */
143 #define EM_CANPASTE     (1074)
144 #define EM_CANUNDO      (198)
145 #define EM_CHARFROMPOS  (215)
146 #define EM_DISPLAYBAND  (1075)
147 #define EM_EMPTYUNDOBUFFER      (205)
148 #define EM_EXGETSEL     (1076)
149 #define EM_EXLIMITTEXT  (1077)
150 #define EM_EXLINEFROMCHAR       (1078)
151 #define EM_EXSETSEL     (1079)
152 #define EM_FINDTEXT     (1080)
153 #define EM_FINDTEXTEX   (1103)
154 #define EM_FINDWORDBREAK        (1100)
155 #define EM_FMTLINES     (200)
156 #define EM_FORMATRANGE  (1081)
157 #define EM_GETCHARFORMAT        (1082)
158 #define EM_GETEVENTMASK (1083)
159 #define EM_GETFIRSTVISIBLELINE  (206)
160 #define EM_GETHANDLE    (189)
161 #define EM_GETLIMITTEXT (213)
162 #define EM_GETLINE      (196)
163 #define EM_GETLINECOUNT (186)
164 #define EM_GETMARGINS   (212)
165 #define EM_GETMODIFY    (184)
166 #define EM_GETIMECOLOR  (1129)
167 #define EM_GETIMEOPTIONS        (1131)
168 #define EM_GETOPTIONS   (1102)
169 #define EM_GETOLEINTERFACE      (1084)
170 #define EM_GETPARAFORMAT        (1085)
171 #define EM_GETPASSWORDCHAR      (210)
172 #define EM_GETPUNCTUATION       (1125)
173 #define EM_GETRECT      (178)
174 #define EM_GETSEL       (176)
175 #define EM_GETSELTEXT   (1086)
176 #define EM_GETTEXTRANGE (1099)
177 #define EM_GETTHUMB     (190)
178 #define EM_GETWORDBREAKPROC     (209)
179 #define EM_GETWORDBREAKPROCEX   (1104)
180 #define EM_GETWORDWRAPMODE      (1127)
181 #define EM_HIDESELECTION        (1087)
182 #define EM_LIMITTEXT    (197)
183 #define EM_LINEFROMCHAR (201)
184 #define EM_LINEINDEX    (187)
185 #define EM_LINELENGTH   (193)
186 #define EM_LINESCROLL   (182)
187 #define EM_PASTESPECIAL (1088)
188 #define EM_POSFROMCHAR  (214)
189 #define EM_REPLACESEL   (194)
190 #define EM_REQUESTRESIZE        (1089)
191 #define EM_SCROLL       (181)
192 #define EM_SCROLLCARET  (183)
193 #define EM_SELECTIONTYPE        (1090)
194 #define EM_SETBKGNDCOLOR        (1091)
195 #define EM_SETCHARFORMAT        (1092)
196 #define EM_SETEVENTMASK (1093)
197 #define EM_SETHANDLE    (188)
198 #define EM_SETIMECOLOR  (1128)
199 #define EM_SETIMEOPTIONS        (1130)
200 #define EM_SETLIMITTEXT (197)
201 #define EM_SETMARGINS   (211)
202 #define EM_SETMODIFY    (185)
203 #define EM_SETOLECALLBACK       (1094)
204 #define EM_SETOPTIONS   (1101)
205 #define EM_SETPARAFORMAT        (1095)
206 #define EM_SETPASSWORDCHAR      (204)
207 #define EM_SETPUNCTUATION       (1124)
208 #define EM_SETREADONLY  (207)
209 #define EM_SETRECT      (179)
210 #define EM_SETRECTNP    (180)
211 #define EM_SETSEL       (177)
212 #define EM_SETTABSTOPS  (203)
213 #define EM_SETTARGETDEVICE      (1096)
214 #define EM_SETWORDBREAKPROC     (208)
215 #define EM_SETWORDBREAKPROCEX   (1105)
216 #define EM_SETWORDWRAPMODE      (1126)
217 #define EM_STREAMIN     (1097)
218 #define EM_STREAMOUT    (1098)
219 #define EM_UNDO (199)
220
221 /* Edit control */
222 #define EN_CHANGE       (768)
223 #define EN_CORRECTTEXT  (1797)
224 #define EN_DROPFILES    (1795)
225 #define EN_ERRSPACE     (1280)
226 #define EN_HSCROLL      (1537)
227 #define EN_IMECHANGE    (1799)
228 #define EN_KILLFOCUS    (512)
229 #define EN_MAXTEXT      (1281)
230 #define EN_MSGFILTER    (1792)
231 #define EN_OLEOPFAILED  (1801)
232 #define EN_PROTECTED    (1796)
233 #define EN_REQUESTRESIZE        (1793)
234 #define EN_SAVECLIPBOARD        (1800)
235 #define EN_SELCHANGE    (1794)
236 #define EN_SETFOCUS     (256)
237 #define EN_STOPNOUNDO   (1798)
238 #define EN_UPDATE       (1024)
239 #define EN_VSCROLL      (1538)
240
241 /* File Manager extensions */
242
243 /* File Manager extensions DLL events */
244
245 /* Header control */
246 #define HDM_DELETEITEM  (4610)
247 #define HDM_GETITEMW    (4619)
248 #define HDM_INSERTITEMW (4618)
249 #define HDM_SETITEMW    (4620)
250 #define HDM_GETITEMA    (4611)
251 #define HDM_INSERTITEMA (4609)
252 #define HDM_SETITEMA    (4612)
253 #ifdef UNICODE
254 #define HDM_GETITEM HDM_GETITEMW
255 #define HDM_INSERTITEM HDM_INSERTITEMW
256 #define HDM_SETITEM HDM_SETITEMW
257 #else
258 #define HDM_GETITEM HDM_GETITEMA
259 #define HDM_INSERTITEM HDM_INSERTITEMA
260 #define HDM_SETITEM HDM_SETITEMA
261 #endif /* UNICODE */
262 #define HDM_GETITEMCOUNT        (4608)
263 #define HDM_HITTEST     (4614)
264 #define HDM_LAYOUT      (4613)
265
266 /* Header control notifications */
267 #define HDN_BEGINTRACKW (-326)
268 #define HDN_DIVIDERDBLCLICKW    (-325)
269 #define HDN_ENDTRACKW   (-327)
270 #define HDN_ITEMCHANGEDW        (-321)
271 #define HDN_ITEMCHANGINGW       (-320)
272 #define HDN_ITEMCLICKW  (-322)
273 #define HDN_ITEMDBLCLICKW       (-323)
274 #define HDN_TRACKW      (-328)
275 #define HDN_BEGINTRACKA (-306)
276 #define HDN_DIVIDERDBLCLICKA    (-305)
277 #define HDN_ENDTRACKA   (-307)
278 #define HDN_ITEMCHANGEDA        (-301)
279 #define HDN_ITEMCHANGINGA       (-300)
280 #define HDN_ITEMCLICKA  (-302)
281 #define HDN_ITEMDBLCLICKA       (-303)
282 #define HDN_TRACKA      (-308)
283 #ifdef UNICODE
284 #define HDN_BEGINTRACK HDN_BEGINTRACKW
285 #define HDN_DIVIDERDBLCLICK HDN_DIVIDERDBLCLICKW
286 #define HDN_ENDTRACK HDN_ENDTRACKW
287 #define HDN_ITEMCHANGED HDN_ITEMCHANGEDW
288 #define HDN_ITEMCHANGING HDN_ITEMCHANGINGW
289 #define HDN_ITEMCLICK HDN_ITEMCLICKW
290 #define HDN_ITEMDBLCLICK HDN_ITEMDBLCLICKW
291 #define HDN_TRACK HDN_TRACKW
292 #else
293 #define HDN_BEGINTRACK HDN_BEGINTRACKA
294 #define HDN_DIVIDERDBLCLICK HDN_DIVIDERDBLCLICKA
295 #define HDN_ENDTRACK HDN_ENDTRACKA
296 #define HDN_ITEMCHANGED HDN_ITEMCHANGEDA
297 #define HDN_ITEMCHANGING HDN_ITEMCHANGINGA
298 #define HDN_ITEMCLICK HDN_ITEMCLICKA
299 #define HDN_ITEMDBLCLICK HDN_ITEMDBLCLICKA
300 #define HDN_TRACK HDN_TRACKA
301 #endif /* UNICODE */
302
303 /* Hot key control */
304 #define HKM_GETHOTKEY   (1026)
305 #define HKM_SETHOTKEY   (1025)
306 #define HKM_SETRULES    (1027)
307
308 /* List box */
309 #define LB_ADDFILE      (406)
310 #define LB_ADDSTRING    (384)
311 #define LB_DELETESTRING (386)
312 #define LB_DIR  (397)
313 #define LB_FINDSTRING   (399)
314 #define LB_FINDSTRINGEXACT      (418)
315 #define LB_GETANCHORINDEX       (413)
316 #define LB_GETCARETINDEX        (415)
317 #define LB_GETCOUNT     (395)
318 #define LB_GETCURSEL    (392)
319 #define LB_GETHORIZONTALEXTENT  (403)
320 #define LB_GETITEMDATA  (409)
321 #define LB_GETITEMHEIGHT        (417)
322 #define LB_GETITEMRECT  (408)
323 #define LB_GETLOCALE    (422)
324 #define LB_GETSEL       (391)
325 #define LB_GETSELCOUNT  (400)
326 #define LB_GETSELITEMS  (401)
327 #define LB_GETTEXT      (393)
328 #define LB_GETTEXTLEN   (394)
329 #define LB_GETTOPINDEX  (398)
330 #define LB_INITSTORAGE  (424)
331 #define LB_INSERTSTRING (385)
332 #define LB_ITEMFROMPOINT        (425)
333 #define LB_RESETCONTENT (388)
334 #define LB_SELECTSTRING (396)
335 #define LB_SELITEMRANGE (411)
336 #define LB_SELITEMRANGEEX       (387)
337 #define LB_SETANCHORINDEX       (412)
338 #define LB_SETCARETINDEX        (414)
339 #define LB_SETCOLUMNWIDTH       (405)
340 #define LB_SETCOUNT     (423)
341 #define LB_SETCURSEL    (390)
342 #define LB_SETHORIZONTALEXTENT  (404)
343 #define LB_SETITEMDATA  (410)
344 #define LB_SETITEMHEIGHT        (416)
345 #define LB_SETLOCALE    (421)
346 #define LB_SETSEL       (389)
347 #define LB_SETTABSTOPS  (402)
348 #define LB_SETTOPINDEX  (407)
349
350 /* List box notifications */
351 #define LBN_DBLCLK      (2)
352 #define LBN_ERRSPACE    (-2)
353 #define LBN_KILLFOCUS   (5)
354 #define LBN_SELCANCEL   (3)
355 #define LBN_SELCHANGE   (1)
356 #define LBN_SETFOCUS    (4)
357
358 /* List view control */
359 #define LVM_ARRANGE     (4118)
360 #define LVM_CREATEDRAGIMAGE     (4129)
361 #define LVM_DELETEALLITEMS      (4105)
362 #define LVM_DELETECOLUMN        (4124)
363 #define LVM_DELETEITEM  (4104)
364 #define LVM_ENSUREVISIBLE       (4115)
365 #define LVM_GETBKCOLOR  (4096)
366 #define LVM_GETCALLBACKMASK     (4106)
367 #define LVM_GETCOLUMNWIDTH      (4125)
368 #define LVM_GETCOUNTPERPAGE     (4136)
369 #define LVM_GETEDITCONTROL      (4120)
370 #define LVM_GETIMAGELIST        (4098)
371 #define LVM_EDITLABELW  (4214)
372 #define LVM_FINDITEMW   (4179)
373 #define LVM_GETCOLUMNW  (4191)
374 #define LVM_GETISEARCHSTRINGW   (4213)
375 #define LVM_GETITEMW    (4171)
376 #define LVM_GETITEMTEXTW        (4211)
377 #define LVM_GETSTRINGWIDTHW     (4183)
378 #define LVM_INSERTCOLUMNW       (4193)
379 #define LVM_INSERTITEMW (4173)
380 #define LVM_SETCOLUMNW  (4192)
381 #define LVM_SETITEMW    (4172)
382 #define LVM_SETITEMTEXTW        (4212)
383 #define LVM_EDITLABELA  (4119)
384 #define LVM_FINDITEMA   (4109)
385 #define LVM_GETCOLUMNA  (4121)
386 #define LVM_GETISEARCHSTRINGA   (4148)
387 #define LVM_GETITEMA    (4101)
388 #define LVM_GETITEMTEXTA        (4141)
389 #define LVM_GETSTRINGWIDTHA     (4113)
390 #define LVM_INSERTCOLUMNA       (4123)
391 #define LVM_INSERTITEMA (4103)
392 #define LVM_SETCOLUMNA  (4122)
393 #define LVM_SETITEMA    (4102)
394 #define LVM_SETITEMTEXTA        (4142)
395 #ifdef UNICODE
396 #define LVM_EDITLABEL LVM_EDITLABELW
397 #define LVM_FINDITEM LVM_FINDITEMW
398 #define LVM_GETCOLUMN LVM_GETCOLUMNW
399 #define LVM_GETISEARCHSTRING LVM_GETISEARCHSTRINGW
400 #define LVM_GETITEM LVM_GETITEMW
401 #define LVM_GETITEMTEXT LVM_GETITEMTEXTW
402 #define LVM_GETSTRINGWIDTH LVM_GETSTRINGWIDTHW
403 #define LVM_INSERTCOLUMN LVM_INSERTCOLUMNW
404 #define LVM_INSERTITEM LVM_INSERTITEMW
405 #define LVM_SETCOLUMN LVM_SETCOLUMNW
406 #define LVM_SETITEM LVM_SETITEMW
407 #define LVM_SETITEMTEXT LVM_SETITEMTEXTW
408 #else
409 #define LVM_EDITLABEL LVM_EDITLABELA
410 #define LVM_FINDITEM LVM_FINDITEMA
411 #define LVM_GETCOLUMN LVM_GETCOLUMNA
412 #define LVM_GETISEARCHSTRING LVM_GETISEARCHSTRINGA
413 #define LVM_GETITEM LVM_GETITEMA
414 #define LVM_GETITEMTEXT LVM_GETITEMTEXTA
415 #define LVM_GETSTRINGWIDTH LVM_GETSTRINGWIDTHA
416 #define LVM_INSERTCOLUMN LVM_INSERTCOLUMNA
417 #define LVM_INSERTITEM LVM_INSERTITEMA
418 #define LVM_SETCOLUMN LVM_SETCOLUMNA
419 #define LVM_SETITEM LVM_SETITEMA
420 #define LVM_SETITEMTEXT LVM_SETITEMTEXTA
421 #endif /* UNICODE */
422 #define LVM_GETITEMCOUNT        (4100)
423 #define LVM_GETITEMPOSITION     (4112)
424 #define LVM_GETITEMRECT (4110)
425 #define LVM_GETITEMSPACING      (4147)
426 #define LVM_GETITEMSTATE        (4140)
427 #define LVM_GETNEXTITEM (4108)
428 #define LVM_GETORIGIN   (4137)
429 #define LVM_GETSELECTEDCOUNT    (4146)
430 #define LVM_GETTEXTBKCOLOR      (4133)
431 #define LVM_GETTEXTCOLOR        (4131)
432 #define LVM_GETTOPINDEX (4135)
433 #define LVM_GETVIEWRECT (4130)
434 #define LVM_HITTEST     (4114)
435 #define LVM_REDRAWITEMS (4117)
436 #define LVM_SCROLL      (4116)
437 #define LVM_SETBKCOLOR  (4097)
438 #define LVM_SETCALLBACKMASK     (4107)
439 #define LVM_SETCOLUMNWIDTH      (4126)
440 #define LVM_SETIMAGELIST        (4099)
441 #define LVM_SETITEMCOUNT        (4143)
442 #define LVM_SETITEMPOSITION     (4111)
443 #define LVM_SETITEMPOSITION32   (4145)
444 #define LVM_SETITEMSTATE        (4139)
445 #define LVM_SETTEXTBKCOLOR      (4134)
446 #define LVM_SETTEXTCOLOR        (4132)
447 #define LVM_SORTITEMS   (4144)
448 #define LVM_UPDATE      (4138)
449
450 /* List view control notifications */
451 #define LVN_BEGINDRAG   (-109)
452 #define LVN_BEGINRDRAG  (-111)
453 #define LVN_COLUMNCLICK (-108)
454 #define LVN_DELETEALLITEMS      (-104)
455 #define LVN_DELETEITEM  (-103)
456 #define LVN_BEGINLABELEDITW     (-175)
457 #define LVN_ENDLABELEDITW       (-176)
458 #define LVN_GETDISPINFOW        (-177)
459 #define LVN_SETDISPINFOW        (-178)
460 #define LVN_BEGINLABELEDITA     (-105)
461 #define LVN_ENDLABELEDITA       (-106)
462 #define LVN_GETDISPINFOA        (-150)
463 #define LVN_SETDISPINFOA        (-151)
464 #ifdef UNICODE
465 #define LVN_BEGINLABELEDIT LVN_BEGINLABELEDITW
466 #define LVN_ENDLABELEDIT LVN_ENDLABELEDITW
467 #define LVN_GETDISPINFO LVN_GETDISPINFOW
468 #define LVN_SETDISPINFO LVN_SETDISPINFOW
469 #else
470 #define LVN_BEGINLABELEDIT LVN_BEGINLABELEDITA
471 #define LVN_ENDLABELEDIT LVN_ENDLABELEDITA
472 #define LVN_GETDISPINFO LVN_GETDISPINFOA
473 #define LVN_SETDISPINFO LVN_SETDISPINFOA
474 #endif /* UNICODE */
475 #define LVN_INSERTITEM  (-102)
476 #define LVN_ITEMCHANGED (-101)
477 #define LVN_ITEMCHANGING        (-100)
478 #define LVN_KEYDOWN     (-155)
479
480 /* Control notification */
481 #define NM_CLICK        (-2)
482 #define NM_DBLCLK       (-3)
483 #define NM_KILLFOCUS    (-8)
484 #define NM_OUTOFMEMORY  (-1)
485 #define NM_RCLICK       (-5)
486 #define NM_RDBLCLK      (-6)
487 #define NM_RETURN       (-4)
488 #define NM_SETFOCUS     (-7)
489
490 /* Power status */
491
492 /* Progress bar control */
493 #define PBM_DELTAPOS    (1027)
494 #define PBM_SETPOS      (1026)
495 #define PBM_SETRANGE    (1025)
496 #define PBM_SETSTEP     (1028)
497 #define PBM_STEPIT      (1029)
498
499 /* Property sheets */
500 #define PSM_ADDPAGE     (1127)
501 #define PSM_APPLY       (1134)
502 #define PSM_CANCELTOCLOSE       (1131)
503 #define PSM_CHANGED     (1128)
504 #define PSM_GETTABCONTROL       (1140)
505 #define PSM_GETCURRENTPAGEHWND  (1142)
506 #define PSM_ISDIALOGMESSAGE     (1141)
507 #define PSM_PRESSBUTTON (1137)
508 #define PSM_QUERYSIBLINGS       (1132)
509 #define PSM_REBOOTSYSTEM        (1130)
510 #define PSM_REMOVEPAGE  (1126)
511 #define PSM_RESTARTWINDOWS      (1129)
512 #define PSM_SETCURSEL   (1125)
513 #define PSM_SETCURSELID (1138)
514 #define PSM_SETFINISHTEXTW      (1145)
515 #define PSM_SETTITLEW   (1144)
516 #define PSM_SETFINISHTEXTA      (1139)
517 #define PSM_SETTITLEA   (1135)
518 #ifdef UNICODE
519 #define PSM_SETFINISHTEXT PSM_SETFINISHTEXTW
520 #define PSM_SETTITLE PSM_SETTITLEW
521 #else
522 #define PSM_SETFINISHTEXT PSM_SETFINISHTEXTA
523 #define PSM_SETTITLE PSM_SETTITLEA
524 #endif /* UNICODE */
525 #define PSM_SETWIZBUTTONS       (1136)
526 #define PSM_UNCHANGED   (1133)
527
528 /* Property sheet notifications */
529 #define PSN_APPLY       (-202)
530 #define PSN_HELP        (-205)
531 #define PSN_KILLACTIVE  (-201)
532 #define PSN_QUERYCANCEL (-209)
533 #define PSN_RESET       (-203)
534 #define PSN_SETACTIVE   (-200)
535 #define PSN_WIZBACK     (-206)
536 #define PSN_WIZFINISH   (-208)
537 #define PSN_WIZNEXT     (-207)
538
539 /* Status window */
540 #define SB_GETBORDERS   (1031)
541 #define SB_GETPARTS     (1030)
542 #define SB_GETRECT      (1034)
543 #define SB_GETTEXTW     (1037)
544 #define SB_GETTEXTLENGTHW       (1036)
545 #define SB_SETTEXTW     (1035)
546 #define SB_GETTEXTA     (1026)
547 #define SB_GETTEXTLENGTHA       (1027)
548 #define SB_SETTEXTA     (1025)
549 #ifdef UNICODE
550 #define SB_GETTEXT SB_GETTEXTW
551 #define SB_GETTEXTLENGTH SB_GETTEXTLENGTHW
552 #define SB_SETTEXT SB_SETTEXTW
553 #else
554 #define SB_GETTEXT SB_GETTEXTA
555 #define SB_GETTEXTLENGTH SB_GETTEXTLENGTHA
556 #define SB_SETTEXT SB_SETTEXTA
557 #endif /* UNICODE */
558 #define SB_SETMINHEIGHT (1032)
559 #define SB_SETPARTS     (1028)
560 #define SB_SIMPLE       (1033)
561
562 /* Scroll bar control */
563 #define SBM_ENABLE_ARROWS       (228)
564 #define SBM_GETPOS      (225)
565 #define SBM_GETRANGE    (227)
566 #define SBM_GETSCROLLINFO       (234)
567 #define SBM_SETPOS      (224)
568 #define SBM_SETRANGE    (226)
569 #define SBM_SETRANGEREDRAW      (230)
570 #define SBM_SETSCROLLINFO       (233)
571
572 /* Static control */
573 #define STM_GETICON     (369)
574 #define STM_GETIMAGE    (371)
575 #define STM_SETICON     (368)
576 #define STM_SETIMAGE    (370)
577
578 /* Static control notifications */
579 #define STN_CLICKED     (0)
580 #define STN_DBLCLK      (1)
581 #define STN_DISABLE     (3)
582 #define STN_ENABLE      (2)
583
584 /* Toolbar control */
585 #define TB_ADDBITMAP    (1043)
586 #define TB_ADDBUTTONS   (1044)
587 #define TB_AUTOSIZE     (1057)
588 #define TB_BUTTONCOUNT  (1048)
589 #define TB_BUTTONSTRUCTSIZE     (1054)
590 #define TB_CHANGEBITMAP (1067)
591 #define TB_CHECKBUTTON  (1026)
592 #define TB_COMMANDTOINDEX       (1049)
593 #define TB_CUSTOMIZE    (1051)
594 #define TB_DELETEBUTTON (1046)
595 #define TB_ENABLEBUTTON (1025)
596 #define TB_GETBITMAP    (1068)
597 #define TB_GETBITMAPFLAGS       (1065)
598 #define TB_GETBUTTON    (1047)
599 #define TB_ADDSTRINGW   (1101)
600 #define TB_GETBUTTONTEXTW       (1099)
601 #define TB_SAVERESTOREW (1100)
602 #define TB_ADDSTRINGA   (1052)
603 #define TB_GETBUTTONTEXTA       (1069)
604 #define TB_SAVERESTOREA (1050)
605 #ifdef UNICODE
606 #define TB_ADDSTRING TB_ADDSTRINGW
607 #define TB_GETBUTTONTEXT TB_GETBUTTONTEXTW
608 #define TB_SAVERESTORE TB_SAVERESTOREW
609 #else
610 #define TB_ADDSTRING TB_ADDSTRINGA
611 #define TB_GETBUTTONTEXT TB_GETBUTTONTEXTA
612 #define TB_SAVERESTORE TB_SAVERESTOREA
613 #endif /* UNICODE */
614 #define TB_GETITEMRECT  (1053)
615 #define TB_GETROWS      (1064)
616 #define TB_GETSTATE     (1042)
617 #define TB_GETTOOLTIPS  (1059)
618 #define TB_HIDEBUTTON   (1028)
619 #define TB_INDETERMINATE        (1029)
620 #define TB_INSERTBUTTON (1045)
621 #define TB_ISBUTTONCHECKED      (1034)
622 #define TB_ISBUTTONENABLED      (1033)
623 #define TB_ISBUTTONHIDDEN       (1036)
624 #define TB_ISBUTTONINDETERMINATE        (1037)
625 #define TB_ISBUTTONPRESSED      (1035)
626 #define TB_PRESSBUTTON  (1027)
627 #define TB_SETBITMAPSIZE        (1056)
628 #define TB_SETBUTTONSIZE        (1055)
629 #define TB_SETCMDID     (1066)
630 #define TB_SETPARENT    (1061)
631 #define TB_SETROWS      (1063)
632 #define TB_SETSTATE     (1041)
633 #define TB_SETTOOLTIPS  (1060)
634
635 /* Track bar control */
636 #define TBM_CLEARSEL    (1043)
637 #define TBM_CLEARTICS   (1033)
638 #define TBM_GETCHANNELRECT      (1050)
639 #define TBM_GETLINESIZE (1048)
640 #define TBM_GETNUMTICS  (1040)
641 #define TBM_GETPAGESIZE (1046)
642 #define TBM_GETPOS      (1024)
643 #define TBM_GETPTICS    (1038)
644 #define TBM_GETRANGEMAX (1026)
645 #define TBM_GETRANGEMIN (1025)
646 #define TBM_GETSELEND   (1042)
647 #define TBM_GETSELSTART (1041)
648 #define TBM_GETTHUMBLENGTH      (1052)
649 #define TBM_GETTHUMBRECT        (1049)
650 #define TBM_GETTIC      (1027)
651 #define TBM_GETTICPOS   (1039)
652 #define TBM_SETLINESIZE (1047)
653 #define TBM_SETPAGESIZE (1045)
654 #define TBM_SETPOS      (1029)
655 #define TBM_SETRANGE    (1030)
656 #define TBM_SETRANGEMAX (1032)
657 #define TBM_SETRANGEMIN (1031)
658 #define TBM_SETSEL      (1034)
659 #define TBM_SETSELEND   (1036)
660 #define TBM_SETSELSTART (1035)
661 #define TBM_SETTHUMBLENGTH      (1051)
662 #define TBM_SETTIC      (1028)
663 #define TBM_SETTICFREQ  (1044)
664
665 /* Tool bar control notifications */
666 #define TBN_BEGINADJUST (-703)
667 #define TBN_BEGINDRAG   (-701)
668 #define TBN_CUSTHELP    (-709)
669 #define TBN_ENDADJUST   (-704)
670 #define TBN_ENDDRAG     (-702)
671 #define TBN_GETBUTTONINFOW      (-720)
672 #define TBN_GETBUTTONINFOA      (-700)
673 #ifdef UNICODE
674 #define TBN_GETBUTTONINFO TBN_GETBUTTONINFOW
675 #else
676 #define TBN_GETBUTTONINFO TBN_GETBUTTONINFOA
677 #endif /* UNICODE */
678 #define TBN_QUERYDELETE (-707)
679 #define TBN_QUERYINSERT (-706)
680 #define TBN_RESET       (-705)
681 #define TBN_TOOLBARCHANGE       (-708)
682
683 /* Tab control */
684 #define TCM_ADJUSTRECT  (4904)
685 #define TCM_DELETEALLITEMS      (4873)
686 #define TCM_DELETEITEM  (4872)
687 #define TCM_GETCURFOCUS (4911)
688 #define TCM_GETCURSEL   (4875)
689 #define TCM_GETIMAGELIST        (4866)
690 #define TCM_GETITEMW    (4924)
691 #define TCM_INSERTITEMW (4926)
692 #define TCM_SETITEMW    (4925)
693 #define TCM_GETITEMA    (4869)
694 #define TCM_INSERTITEMA (4871)
695 #define TCM_SETITEMA    (4870)
696 #ifdef UNICODE
697 #define TCM_GETITEM TCM_GETITEM
698 #define TCM_INSERTITEM TCM_INSERTITEMW
699 #define TCM_SETITEM TCM_SETITEMW
700 #else
701 #define TCM_GETITEM TCM_GETITEMA
702 #define TCM_INSERTITEM TCM_INSERTITEMA
703 #define TCM_SETITEM TCM_SETITEMA
704 #endif /* UNICODE */
705 #define TCM_GETITEMCOUNT        (4868)
706 #define TCM_GETITEMRECT (4874)
707 #define TCM_GETROWCOUNT (4908)
708 #define TCM_GETTOOLTIPS (4909)
709 #define TCM_HITTEST     (4877)
710 #define TCM_REMOVEIMAGE (4906)
711 #define TCM_SETCURFOCUS (4912)
712 #define TCM_SETCURSEL   (4876)
713 #define TCM_SETIMAGELIST        (4867)
714 #define TCM_SETITEMEXTRA        (4878)
715 #define TCM_SETITEMSIZE (4905)
716 #define TCM_SETPADDING  (4907)
717 #define TCM_SETTOOLTIPS (4910)
718
719 /* Tab control notifications */
720 #define TCN_KEYDOWN     (-550)
721 #define TCN_SELCHANGE   (-551)
722 #define TCN_SELCHANGING (-552)
723
724 /* Tool tip control */
725 #define TTM_ACTIVATE    (1025)
726 #define TTM_ADDTOOLW    (1074)
727 #define TTM_DELTOOLW    (1075)
728 #define TTM_ENUMTOOLSW  (1082)
729 #define TTM_GETCURRENTTOOLW     (1083)
730 #define TTM_GETTEXTW    (1080)
731 #define TTM_GETTOOLINFOW        (1077)
732 #define TTM_HITTESTW    (1079)
733 #define TTM_NEWTOOLRECTW        (1076)
734 #define TTM_SETTOOLINFOW        (1078)
735 #define TTM_UPDATETIPTEXTW      (1081)
736 #define TTM_ADDTOOLA    (1028)
737 #define TTM_DELTOOLA    (1029)
738 #define TTM_ENUMTOOLSA  (1038)
739 #define TTM_GETCURRENTTOOLA     (1039)
740 #define TTM_GETTEXTA    (1035)
741 #define TTM_GETTOOLINFOA        (1032)
742 #define TTM_HITTESTA    (1034)
743 #define TTM_NEWTOOLRECTA        (1030)
744 #define TTM_SETTOOLINFOA        (1033)
745 #define TTM_UPDATETIPTEXTA      (1036)
746 #ifdef UNICODE
747 #define TTM_ADDTOOL TTM_ADDTOOLW
748 #define TTM_DELTOOL TTM_DELTOOLW
749 #define TTM_ENUMTOOLS TTM_ENUMTOOLSW
750 #define TTM_GETCURRENTTOOL TTM_GETCURRENTTOOLW
751 #define TTM_GETTEXT TTM_GETTEXTW
752 #define TTM_GETTOOLINFO TTM_GETTOOLINFOW
753 #define TTM_HITTEST TTM_HITTESTW
754 #define TTM_NEWTOOLRECT TTM_NEWTOOLRECTW
755 #define TTM_SETTOOLINFO TTM_SETTOOLINFOW
756 #define TTM_UPDATETIPTEXT TTM_UPDATETIPTEXTW
757 #else
758 #define TTM_ADDTOOL TTM_ADDTOOLA
759 #define TTM_DELTOOL TTM_DELTOOLA
760 #define TTM_ENUMTOOLS TTM_ENUMTOOLSA
761 #define TTM_GETCURRENTTOOL TTM_GETCURRENTTOOLA
762 #define TTM_GETTEXT TTM_GETTEXTA
763 #define TTM_GETTOOLINFO TTM_GETTOOLINFOA
764 #define TTM_HITTEST TTM_HITTESTA
765 #define TTM_NEWTOOLRECT TTM_NEWTOOLRECTA
766 #define TTM_SETTOOLINFO TTM_SETTOOLINFOA
767 #define TTM_UPDATETIPTEXT TTM_UPDATETIPTEXTA
768 #endif /* UNICODE */
769 #define TTM_GETTOOLCOUNT        (1037)
770 #define TTM_RELAYEVENT  (1031)
771 #define TTM_SETDELAYTIME        (1027)
772 #define TTM_WINDOWFROMPOINT     (1040)
773
774 /* Tool tip control notification */
775 #define TTN_NEEDTEXTW   (-530)
776 #define TTN_NEEDTEXTA   (-520)
777 #ifdef UNICODE
778 #define TTN_NEEDTEXT TTN_NEEDTEXTW
779 #else
780 #define TTN_NEEDTEXT TTN_NEEDTEXTA
781 #endif /* UNICODE */
782 #define TTN_POP (-522)
783 #define TTN_SHOW        (-521)
784
785 /* Tree view control */
786 #define TVM_CREATEDRAGIMAGE     (4370)
787 #define TVM_DELETEITEM  (4353)
788 #define TVM_ENDEDITLABELNOW     (4374)
789 #define TVM_ENSUREVISIBLE       (4372)
790 #define TVM_EXPAND      (4354)
791 #define TVM_GETCOUNT    (4357)
792 #define TVM_GETEDITCONTROL      (4367)
793 #define TVM_GETIMAGELIST        (4360)
794 #define TVM_GETINDENT   (4358)
795 #define TVM_GETITEMRECT (4356)
796 #define TVM_GETNEXTITEM (4362)
797 #define TVM_GETVISIBLECOUNT     (4368)
798 #define TVM_HITTEST     (4369)
799 #define TVM_EDITLABELW  (4417)
800 #define TVM_GETISEARCHSTRINGW   (4416)
801 #define TVM_GETITEMW    (4414)
802 #define TVM_INSERTITEMW (4402)
803 #define TVM_SETITEMW    (4415)
804 #define TVM_EDITLABELA  (4366)
805 #define TVM_GETISEARCHSTRINGA   (4375)
806 #define TVM_GETITEMA    (4364)
807 #define TVM_INSERTITEMA (4352)
808 #define TVM_SETITEMA    (4365)
809 #ifdef UNICODE
810 #define TVM_EDITLABEL TVM_EDITLABELW
811 #define TVM_GETISEARCHSTRING TVM_GETISEARCHSTRINGW
812 #define TVM_GETITEM TVM_GETITEMW
813 #define TVM_INSERTITEM TVM_INSERTITEMW
814 #define TVM_SETITEM TVM_SETITEMW
815 #else
816 #define TVM_EDITLABEL TVM_EDITLABELA
817 #define TVM_GETISEARCHSTRING TVM_GETISEARCHSTRINGA
818 #define TVM_GETITEM TVM_GETITEMA
819 #define TVM_INSERTITEM TVM_INSERTITEMA
820 #define TVM_SETITEM TVM_SETITEMA
821 #endif /* UNICODE */
822 #define TVM_SELECTITEM  (4363)
823 #define TVM_SETIMAGELIST        (4361)
824 #define TVM_SETINDENT   (4359)
825 #define TVM_SORTCHILDREN        (4371)
826 #define TVM_SORTCHILDRENCB      (4373)
827
828 /* Tree view control notification */
829 #define TVN_KEYDOWN     (-412)
830 #define TVN_BEGINDRAGW  (-456)
831 #define TVN_BEGINLABELEDITW     (-459)
832 #define TVN_BEGINRDRAGW (-457)
833 #define TVN_DELETEITEMW (-458)
834 #define TVN_ENDLABELEDITW       (-460)
835 #define TVN_GETDISPINFOW        (-452)
836 #define TVN_ITEMEXPANDEDW       (-455)
837 #define TVN_ITEMEXPANDINGW      (-454)
838 #define TVN_SELCHANGEDW (-451)
839 #define TVN_SELCHANGINGW        (-450)
840 #define TVN_SETDISPINFOW        (-453)
841 #define TVN_BEGINDRAGA  (-407)
842 #define TVN_BEGINLABELEDITA     (-410)
843 #define TVN_BEGINRDRAGA (-408)
844 #define TVN_DELETEITEMA (-409)
845 #define TVN_ENDLABELEDITA       (-411)
846 #define TVN_GETDISPINFOA        (-403)
847 #define TVN_ITEMEXPANDEDA       (-406)
848 #define TVN_ITEMEXPANDINGA      (-405)
849 #define TVN_SELCHANGEDA (-402)
850 #define TVN_SELCHANGINGA        (-401)
851 #define TVN_SETDISPINFOA        (-404)
852 #ifdef UNICODE
853 #define TVN_BEGINDRAG TVN_BEGINDRAGW
854 #define TVN_BEGINLABELEDIT TVN_BEGINLABELEDITW
855 #define TVN_BEGINRDRAG TVN_BEGINRDRAGW
856 #define TVN_DELETEITEM TVN_DELETEITEMW
857 #define TVN_ENDLABELEDIT TVN_ENDLABELEDITW
858 #define TVN_GETDISPINFO TVN_GETDISPINFOW
859 #define TVN_ITEMEXPANDED TVN_ITEMEXPANDEDW
860 #define TVN_ITEMEXPANDING TVN_ITEMEXPANDINGW
861 #define TVN_SELCHANGED TVN_SELCHANGEDW
862 #define TVN_SELCHANGING TVN_SELCHANGINGW
863 #define TVN_SETDISPINFO TVN_SETDISPINFOW
864 #else
865 #define TVN_BEGINDRAG TVN_BEGINDRAGA
866 #define TVN_BEGINLABELEDIT TVN_BEGINLABELEDITA
867 #define TVN_BEGINRDRAG TVN_BEGINRDRAGA
868 #define TVN_DELETEITEM TVN_DELETEITEMA
869 #define TVN_ENDLABELEDIT TVN_ENDLABELEDITA
870 #define TVN_GETDISPINFO TVN_GETDISPINFOA
871 #define TVN_ITEMEXPANDED TVN_ITEMEXPANDEDA
872 #define TVN_ITEMEXPANDING TVN_ITEMEXPANDINGA
873 #define TVN_SELCHANGED TVN_SELCHANGEDA
874 #define TVN_SELCHANGING TVN_SELCHANGINGA
875 #define TVN_SETDISPINFO TVN_SETDISPINFOA
876 #endif /* UNICODE */
877
878 /* Up/down control */
879 #define UDM_GETACCEL    (1132)
880 #define UDM_GETBASE     (1134)
881 #define UDM_GETBUDDY    (1130)
882 #define UDM_GETPOS      (1128)
883 #define UDM_GETRANGE    (1126)
884 #define UDM_SETACCEL    (1131)
885 #define UDM_SETBASE     (1133)
886 #define UDM_SETBUDDY    (1129)
887 #define UDM_SETPOS      (1127)
888 #define UDM_SETRANGE    (1125)
889
890 /* Up/down control notification */
891 #define UDN_DELTAPOS    (-722)
892
893 /* Window messages */
894
895 #define WM_ACTIVATE     (6)
896 #define WM_ACTIVATEAPP  (28)
897 #define WM_ASKCBFORMATNAME      (780)
898 #define WM_CANCELJOURNAL        (75)
899 #define WM_CANCELMODE   (31)
900 #define WM_CAPTURECHANGED       (533)
901 #define WM_CHANGECBCHAIN        (781)
902 #define WM_CHAR (258)
903 #define WM_CHARTOITEM   (47)
904 #define WM_CHILDACTIVATE        (34)
905 #define WM_CHOOSEFONT_GETLOGFONT        (1025)
906 #define WM_CHOOSEFONT_SETLOGFONT        (1125)
907 #define WM_CHOOSEFONT_SETFLAGS  (1126)
908 #define WM_CLEAR        (771)
909 #define WM_CLOSE        (16)
910 #define WM_COMMAND      (273)
911 #define WM_COMPACTING   (65)
912 #define WM_COMPAREITEM  (57)
913 #define WM_CONTEXTMENU  (123)
914 #define WM_COPY (769)
915 #define WM_COPYDATA     (74)
916 #define WM_CREATE       (1)
917 #define WM_CTLCOLORBTN  (309)
918 #define WM_CTLCOLORDLG  (310)
919 #define WM_CTLCOLOREDIT (307)
920 #define WM_CTLCOLORLISTBOX      (308)
921 #define WM_CTLCOLORMSGBOX       (306)
922 #define WM_CTLCOLORSCROLLBAR    (311)
923 #define WM_CTLCOLORSTATIC       (312)
924 #define WM_CUT  (768)
925 #define WM_DEADCHAR     (259)
926 #define WM_DELETEITEM   (45)
927 #define WM_DESTROY      (2)
928 #define WM_DESTROYCLIPBOARD     (775)
929 #define WM_DEVICECHANGE (537)
930 #define WM_DEVMODECHANGE        (27)
931 #define WM_DISPLAYCHANGE        (126)
932 #define WM_DRAWCLIPBOARD        (776)
933 #define WM_DRAWITEM     (43)
934 #define WM_DROPFILES    (563)
935 #define WM_DROPOBJECT   (544)
936 #define WM_ENABLE       (10)
937 #define WM_ENDSESSION   (22)
938 #define WM_ENTERIDLE    (289)
939 #define WM_ENTERMENULOOP        (529)
940 #define WM_ENTERSIZEMOVE        (561)
941 #define WM_ERASEBKGND   (20)
942 #define WM_EXITMENULOOP (530)
943 #define WM_EXITSIZEMOVE (562)
944 #define WM_FONTCHANGE   (29)
945 #define WM_GETDLGCODE   (135)
946 #define WM_GETFONT      (49)
947 #define WM_GETHOTKEY    (51)
948 #define WM_GETICON      (127)
949 #define WM_GETMINMAXINFO        (36)
950 #define WM_GETTEXT      (13)
951 #define WM_GETTEXTLENGTH        (14)
952 #define WM_HELP (83)
953 #define WM_HOTKEY       (786)
954 #define WM_HSCROLL      (276)
955 #define WM_HSCROLLCLIPBOARD     (782)
956 #define WM_ICONERASEBKGND       (39)
957 #define WM_IME_CHAR     (646)
958 #define WM_IME_COMPOSITION      (271)
959 #define WM_IME_COMPOSITIONFULL  (644)
960 #define WM_IME_CONTROL  (643)
961 #define WM_IME_ENDCOMPOSITION   (270)
962 #define WM_IME_KEYDOWN  (656)
963 #define WM_IME_KEYUP    (657)
964 #define WM_IME_NOTIFY   (642)
965 #define WM_IME_SELECT   (645)
966 #define WM_IME_SETCONTEXT       (641)
967 #define WM_IME_STARTCOMPOSITION (269)
968 #define WM_INITDIALOG   (272)
969 #define WM_INITMENU     (278)
970 #define WM_INITMENUPOPUP        (279)
971 #define WM_INPUTLANGCHANGE      (81)
972 #define WM_INPUTLANGCHANGEREQUEST       (80)
973 #define WM_KEYDOWN      (256)
974 #define WM_KEYUP        (257)
975 #define WM_KILLFOCUS    (8)
976 #define WM_LBUTTONDBLCLK        (515)
977 #define WM_LBUTTONDOWN  (513)
978 #define WM_LBUTTONUP    (514)
979 #define WM_MBUTTONDBLCLK        (521)
980 #define WM_MBUTTONDOWN  (519)
981 #define WM_MBUTTONUP    (520)
982 #define WM_MDIACTIVATE  (546)
983 #define WM_MDICASCADE   (551)
984 #define WM_MDICREATE    (544)
985 #define WM_MDIDESTROY   (545)
986 #define WM_MDIGETACTIVE (553)
987 #define WM_MDIICONARRANGE       (552)
988 #define WM_MDIMAXIMIZE  (549)
989 #define WM_MDINEXT      (548)
990 #define WM_MDIREFRESHMENU       (564)
991 #define WM_MDIRESTORE   (547)
992 #define WM_MDISETMENU   (560)
993 #define WM_MDITILE      (550)
994 #define WM_MEASUREITEM  (44)
995 #define WM_MENUCHAR     (288)
996 #define WM_MENUSELECT   (287)
997 #define WM_MOUSEACTIVATE        (33)
998 #define WM_MOUSEMOVE    (512)
999 #define WM_MOUSEWHEEL   (522)
1000 #define WM_MOVE (3)
1001 #define WM_MOVING       (534)
1002 #define WM_NCACTIVATE   (134)
1003 #define WM_NCCALCSIZE   (131)
1004 #define WM_NCCREATE     (129)
1005 #define WM_NCDESTROY    (130)
1006 #define WM_NCHITTEST    (132)
1007 #define WM_NCLBUTTONDBLCLK      (163)
1008 #define WM_NCLBUTTONDOWN        (161)
1009 #define WM_NCLBUTTONUP  (162)
1010 #define WM_NCMBUTTONDBLCLK      (169)
1011 #define WM_NCMBUTTONDOWN        (167)
1012 #define WM_NCMBUTTONUP  (168)
1013 #define WM_NCMOUSEMOVE  (160)
1014 #define WM_NCPAINT      (133)
1015 #define WM_NCRBUTTONDBLCLK      (166)
1016 #define WM_NCRBUTTONDOWN        (164)
1017 #define WM_NCRBUTTONUP  (165)
1018 #define WM_NEXTDLGCTL   (40)
1019 #define WM_NOTIFY       (78)
1020 #define WM_NOTIFYFORMAT (85)
1021 #define WM_NULL         (0)
1022 #define WM_PAINT        (15)
1023 #define WM_PAINTCLIPBOARD       (777)
1024 #define WM_PAINTICON    (38)
1025 #define WM_PALETTECHANGED       (785)
1026 #define WM_PALETTEISCHANGING    (784)
1027 #define WM_PARENTNOTIFY (528)
1028 #define WM_PASTE        (770)
1029 #define WM_PENWINFIRST  (896)
1030 #define WM_PENWINLAST  (911)
1031 #define WM_POWER        (72)
1032 #define WM_POWERBROADCAST       (536)
1033 #define WM_PRINT        (791)
1034 #define WM_PRINTCLIENT  (792)
1035 #define WM_PSD_ENVSTAMPRECT     (1029)
1036 #define WM_PSD_FULLPAGERECT     (1025)
1037 #define WM_PSD_GREEKTEXTRECT    (1028)
1038 #define WM_PSD_MARGINRECT       (1027)
1039 #define WM_PSD_MINMARGINRECT    (1026)
1040 #define WM_PSD_PAGESETUPDLG     (1024)
1041 #define WM_PSD_YAFULLPAGERECT   (1030)
1042 #define WM_QUERYDRAGICON        (55)
1043 #define WM_QUERYDROPOBJECT      (555)
1044 #define WM_QUERYENDSESSION      (17)
1045 #define WM_QUERYNEWPALETTE      (783)
1046 #define WM_QUERYOPEN    (19)
1047 #define WM_QUEUESYNC    (35)
1048 #define WM_QUIT (18)
1049 #define WM_RBUTTONDBLCLK        (518)
1050 #define WM_RBUTTONDOWN  (516)
1051 #define WM_RBUTTONUP    (517)
1052 #define WM_RENDERALLFORMATS     (774)
1053 #define WM_RENDERFORMAT (773)
1054 #define WM_SETCURSOR    (32)
1055 #define WM_SETFOCUS     (7)
1056 #define WM_SETFONT      (48)
1057 #define WM_SETHOTKEY    (50)
1058 #define WM_SETICON      (128)
1059 #define WM_SETREDRAW    (11)
1060 #define WM_SETTEXT      (12)
1061 #define WM_SETTINGCHANGE        (26)
1062 #define WM_SHOWWINDOW   (24)
1063 #define WM_SIZE (5)
1064 #define WM_SIZECLIPBOARD        (779)
1065 #define WM_SIZING       (532)
1066 #define WM_SPOOLERSTATUS        (42)
1067 #define WM_STYLECHANGED (125)
1068 #define WM_STYLECHANGING        (124)
1069 #define WM_SYNCPAINT    (136)
1070 #define WM_SYSCHAR      (262)
1071 #define WM_SYSCOLORCHANGE       (21)
1072 #define WM_SYSCOMMAND   (274)
1073 #define WM_SYSDEADCHAR  (263)
1074 #define WM_SYSKEYDOWN   (260)
1075 #define WM_SYSKEYUP     (261)
1076 #define WM_TCARD        (82)
1077 #define WM_TIMECHANGE   (30)
1078 #define WM_TIMER        (275)
1079 #define WM_UNDO (772)
1080 #define WM_USER (1024)
1081 #define WM_USERCHANGED  (84)
1082 #define WM_VKEYTOITEM   (46)
1083 #define WM_VSCROLL      (277)
1084 #define WM_VSCROLLCLIPBOARD     (778)
1085 #define WM_WINDOWPOSCHANGED     (71)
1086 #define WM_WINDOWPOSCHANGING    (70)
1087 #define WM_WININICHANGE (26)
1088
1089 /* Window message ranges */
1090 #define WM_KEYFIRST     (256)
1091 #define WM_KEYLAST      (264)
1092 #define WM_MOUSEFIRST   (512)
1093 #define WM_MOUSELAST    (521)
1094
1095 #ifdef __cplusplus
1096 }
1097 #endif /* __cplusplus */
1098
1099 #endif /* _GNU_H_WINDOWS32_MESSAGES */