Commit /bin/cc.exe (a hardlink of /bin/gcc.exe)
[msysgit.git] / include / winuser.h
blob496861c4e274761443ca546ef60342a8728199ff
1 #ifndef _WINUSER_H
2 #define _WINUSER_H
3 #ifdef __cplusplus
4 extern "C" {
5 #endif
6 #define WC_DIALOG MAKEINTATOM(0x8002)
7 #define FALT 16
8 #define FCONTROL 8
9 #define FNOINVERT 2
10 #define FSHIFT 4
11 #define FVIRTKEY 1
12 #define ATF_TIMEOUTON 1
13 #define ATF_ONOFFFEEDBACK 2
14 #define ATF_AVAILABLE 4 /* May be obsolete. Not in recent MS docs. */
15 #define WH_MIN (-1)
16 #define WH_MSGFILTER (-1)
17 #define WH_JOURNALRECORD 0
18 #define WH_JOURNALPLAYBACK 1
19 #define WH_KEYBOARD 2
20 #define WH_GETMESSAGE 3
21 #define WH_CALLWNDPROC 4
22 #define WH_CBT 5
23 #define WH_SYSMSGFILTER 6
24 #define WH_MOUSE 7
25 #define WH_HARDWARE 8
26 #define WH_DEBUG 9
27 #define WH_SHELL 10
28 #define WH_FOREGROUNDIDLE 11
29 #define WH_CALLWNDPROCRET 12
30 #define WH_KEYBOARD_LL 13
31 #define WH_MOUSE_LL 14
32 #define WH_MAX 14
33 #define WH_MINHOOK WH_MIN
34 #define WH_MAXHOOK WH_MAX
35 #define HC_ACTION 0
36 #define HC_GETNEXT 1
37 #define HC_SKIP 2
38 #define HC_NOREMOVE 3
39 #define HC_NOREM 3
40 #define HC_SYSMODALON 4
41 #define HC_SYSMODALOFF 5
42 #define HCBT_MOVESIZE 0
43 #define HCBT_MINMAX 1
44 #define HCBT_QS 2
45 #define HCBT_CREATEWND 3
46 #define HCBT_DESTROYWND 4
47 #define HCBT_ACTIVATE 5
48 #define HCBT_CLICKSKIPPED 6
49 #define HCBT_KEYSKIPPED 7
50 #define HCBT_SYSCOMMAND 8
51 #define HCBT_SETFOCUS 9
52 #define CF_TEXT 1
53 #define CF_BITMAP 2
54 #define CF_METAFILEPICT 3
55 #define CF_SYLK 4
56 #define CF_DIF 5
57 #define CF_TIFF 6
58 #define CF_OEMTEXT 7
59 #define CF_DIB 8
60 #define CF_PALETTE 9
61 #define CF_PENDATA 10
62 #define CF_RIFF 11
63 #define CF_WAVE 12
64 #define CF_UNICODETEXT 13
65 #define CF_ENHMETAFILE 14
66 #define CF_HDROP 15
67 #define CF_LOCALE 16
68 #define CF_MAX 17
69 #define CF_OWNERDISPLAY 128
70 #define CF_DSPTEXT 129
71 #define CF_DSPBITMAP 130
72 #define CF_DSPMETAFILEPICT 131
73 #define CF_DSPENHMETAFILE 142
74 #define CF_PRIVATEFIRST 512
75 #define CF_PRIVATELAST 767
76 #define CF_GDIOBJFIRST 768
77 #define CF_GDIOBJLAST 1023
78 #define HKL_NEXT 1
79 #define HKL_PREV 0
80 #define KLF_ACTIVATE 1
81 #define KLF_SUBSTITUTE_OK 2
82 #define KLF_UNLOADPREVIOUS 4
83 #define KLF_REORDER 8
84 #define KLF_REPLACELANG 16
85 #define KLF_NOTELLSHELL 128
86 #define KLF_SETFORPROCESS 256
87 #define KL_NAMELENGTH 9
88 #define MF_ENABLED 0
89 #define MF_GRAYED 1
90 #define MF_DISABLED 2
91 #define MF_BITMAP 4
92 #define MF_CHECKED 8
93 #define MF_MENUBARBREAK 32
94 #define MF_MENUBREAK 64
95 #define MF_OWNERDRAW 256
96 #define MF_POPUP 16
97 #define MF_SEPARATOR 0x800
98 #define MF_STRING 0
99 #define MF_UNCHECKED 0
100 #define MF_DEFAULT 4096
101 #define MF_SYSMENU 0x2000
102 #define MF_HELP 0x4000
103 #define MF_END 128
104 #define MF_RIGHTJUSTIFY 0x4000
105 #define MF_MOUSESELECT 0x8000
106 #define MF_INSERT 0
107 #define MF_CHANGE 128
108 #define MF_APPEND 256
109 #define MF_DELETE 512
110 #define MF_REMOVE 4096
111 #define MF_USECHECKBITMAPS 512
112 #define MF_UNHILITE 0
113 #define MF_HILITE 128
114 #define BSF_IGNORECURRENTTASK 2
115 #define BSF_QUERY 1
116 #define BSF_FLUSHDISK 4
117 #define BSF_NOHANG 8
118 #define BSF_POSTMESSAGE 16
119 #define BSF_FORCEIFHUNG 32
120 #define BSF_NOTIMEOUTIFNOTHUNG 64
121 #define BSM_ALLCOMPONENTS 0
122 #define BSM_APPLICATIONS 8
123 #define BSM_ALLDESKTOPS 16
124 #define BSM_INSTALLABLEDRIVERS 4
125 #define BSM_NETDRIVER 2
126 #define BSM_VXDS 1
127 #define BROADCAST_QUERY_DENY 1112363332
128 #define ENUM_CURRENT_SETTINGS ((DWORD)-1)
129 #define ENUM_REGISTRY_SETTINGS ((DWORD)-2)
130 #define DM_BITSPERPEL 0x40000
131 #define DM_PELSWIDTH 0x80000
132 #define DM_PELSHEIGHT 0x100000
133 #define DM_DISPLAYFLAGS 0x200000
134 #define DM_DISPLAYFREQUENCY 0x400000
135 #define CDS_UPDATEREGISTRY 1
136 #define CDS_TEST 2
137 #define CDS_FULLSCREEN 4
138 #define CDS_GLOBAL 8
139 #define CDS_SET_PRIMARY 16
140 #define CDS_RESET 0x40000000
141 #define CDS_SETRECT 0x20000000
142 #define CDS_NORESET 0x10000000
143 #define DISP_CHANGE_SUCCESSFUL 0
144 #define DISP_CHANGE_RESTART 1
145 #define DISP_CHANGE_BADFLAGS (-4)
146 #define DISP_CHANGE_BADPARAM (-5)
147 #define DISP_CHANGE_FAILED (-1)
148 #define DISP_CHANGE_BADMODE (-2)
149 #define DISP_CHANGE_NOTUPDATED (-3)
150 #define BST_CHECKED 1
151 #define BST_INDETERMINATE 2
152 #define BST_UNCHECKED 0
153 #define BST_FOCUS 8
154 #define BST_PUSHED 4
155 #define MF_BYCOMMAND 0
156 #define MF_BYPOSITION 1024
157 #define MF_UNCHECKED 0
158 #define MF_HILITE 128
159 #define MF_UNHILITE 0
160 #define CWP_ALL 0
161 #define CWP_SKIPINVISIBLE 1
162 #define CWP_SKIPDISABLED 2
163 #define CWP_SKIPTRANSPARENT 4
164 #define IMAGE_BITMAP 0
165 #define IMAGE_ICON 1
166 #define IMAGE_CURSOR 2
167 #define IMAGE_ENHMETAFILE 3
168 #define DF_ALLOWOTHERACCOUNTHOOK 1
169 #define DESKTOP_CREATEMENU 4
170 #define DESKTOP_CREATEWINDOW 2
171 #define DESKTOP_ENUMERATE 64
172 #define DESKTOP_HOOKCONTROL 8
173 #define DESKTOP_JOURNALPLAYBACK 32
174 #define DESKTOP_JOURNALRECORD 16
175 #define DESKTOP_READOBJECTS 1
176 #define DESKTOP_SWITCHDESKTOP 256
177 #define DESKTOP_WRITEOBJECTS 128
178 #define CW_USEDEFAULT 0x80000000
179 #define WS_BORDER 0x800000
180 #define WS_CAPTION 0xc00000
181 #define WS_CHILD 0x40000000
182 #define WS_CHILDWINDOW 0x40000000
183 #define WS_CLIPCHILDREN 0x2000000
184 #define WS_CLIPSIBLINGS 0x4000000
185 #define WS_DISABLED 0x8000000
186 #define WS_DLGFRAME 0x400000
187 #define WS_GROUP 0x20000
188 #define WS_HSCROLL 0x100000
189 #define WS_ICONIC 0x20000000
190 #define WS_MAXIMIZE 0x1000000
191 #define WS_MAXIMIZEBOX 0x10000
192 #define WS_MINIMIZE 0x20000000
193 #define WS_MINIMIZEBOX 0x20000
194 #define WS_OVERLAPPED 0
195 #define WS_OVERLAPPEDWINDOW 0xcf0000
196 #define WS_POPUP 0x80000000
197 #define WS_POPUPWINDOW 0x80880000
198 #define WS_SIZEBOX 0x40000
199 #define WS_SYSMENU 0x80000
200 #define WS_TABSTOP 0x10000
201 #define WS_THICKFRAME 0x40000
202 #define WS_TILED 0
203 #define WS_TILEDWINDOW 0xcf0000
204 #define WS_VISIBLE 0x10000000
205 #define WS_VSCROLL 0x200000
206 #define MDIS_ALLCHILDSTYLES 1
207 #define BS_3STATE 5
208 #define BS_AUTO3STATE 6
209 #define BS_AUTOCHECKBOX 3
210 #define BS_AUTORADIOBUTTON 9
211 #define BS_BITMAP 128
212 #define BS_BOTTOM 0x800
213 #define BS_CENTER 0x300
214 #define BS_CHECKBOX 2
215 #define BS_DEFPUSHBUTTON 1
216 #define BS_GROUPBOX 7
217 #define BS_ICON 64
218 #define BS_LEFT 256
219 #define BS_LEFTTEXT 32
220 #define BS_MULTILINE 0x2000
221 #define BS_NOTIFY 0x4000
222 #define BS_OWNERDRAW 0xb
223 #define BS_PUSHBUTTON 0
224 #define BS_PUSHLIKE 4096
225 #define BS_RADIOBUTTON 4
226 #define BS_RIGHT 512
227 #define BS_RIGHTBUTTON 32
228 #define BS_TEXT 0
229 #define BS_TOP 0x400
230 #define BS_USERBUTTON 8
231 #define BS_VCENTER 0xc00
232 #define BS_FLAT 0x8000
233 #define CBS_AUTOHSCROLL 64
234 #define CBS_DISABLENOSCROLL 0x800
235 #define CBS_DROPDOWN 2
236 #define CBS_DROPDOWNLIST 3
237 #define CBS_HASSTRINGS 512
238 #define CBS_LOWERCASE 0x4000
239 #define CBS_NOINTEGRALHEIGHT 0x400
240 #define CBS_OEMCONVERT 128
241 #define CBS_OWNERDRAWFIXED 16
242 #define CBS_OWNERDRAWVARIABLE 32
243 #define CBS_SIMPLE 1
244 #define CBS_SORT 256
245 #define CBS_UPPERCASE 0x2000
246 #define ES_AUTOHSCROLL 128
247 #define ES_AUTOVSCROLL 64
248 #define ES_CENTER 1
249 #define ES_LEFT 0
250 #define ES_LOWERCASE 16
251 #define ES_MULTILINE 4
252 #define ES_NOHIDESEL 256
253 #define ES_NUMBER 0x2000
254 #define ES_OEMCONVERT 0x400
255 #define ES_PASSWORD 32
256 #define ES_READONLY 0x800
257 #define ES_RIGHT 2
258 #define ES_UPPERCASE 8
259 #define ES_WANTRETURN 4096
260 #define LBS_DISABLENOSCROLL 4096
261 #define LBS_EXTENDEDSEL 0x800
262 #define LBS_HASSTRINGS 64
263 #define LBS_MULTICOLUMN 512
264 #define LBS_MULTIPLESEL 8
265 #define LBS_NODATA 0x2000
266 #define LBS_NOINTEGRALHEIGHT 256
267 #define LBS_NOREDRAW 4
268 #define LBS_NOSEL 0x4000
269 #define LBS_NOTIFY 1
270 #define LBS_OWNERDRAWFIXED 16
271 #define LBS_OWNERDRAWVARIABLE 32
272 #define LBS_SORT 2
273 #define LBS_STANDARD 0xa00003
274 #define LBS_USETABSTOPS 128
275 #define LBS_WANTKEYBOARDINPUT 0x400
276 #define SBS_BOTTOMALIGN 4
277 #define SBS_HORZ 0
278 #define SBS_LEFTALIGN 2
279 #define SBS_RIGHTALIGN 4
280 #define SBS_SIZEBOX 8
281 #define SBS_SIZEBOXBOTTOMRIGHTALIGN 4
282 #define SBS_SIZEBOXTOPLEFTALIGN 2
283 #define SBS_SIZEGRIP 16
284 #define SBS_TOPALIGN 2
285 #define SBS_VERT 1
286 #define SS_BITMAP 14
287 #define SS_BLACKFRAME 7
288 #define SS_BLACKRECT 4
289 #define SS_CENTER 1
290 #define SS_CENTERIMAGE 512
291 #define SS_ENHMETAFILE 15
292 #define SS_ETCHEDFRAME 18
293 #define SS_ETCHEDHORZ 16
294 #define SS_ETCHEDVERT 17
295 #define SS_GRAYFRAME 8
296 #define SS_GRAYRECT 5
297 #define SS_ICON 3
298 #define SS_LEFT 0
299 #define SS_LEFTNOWORDWRAP 0xc
300 #define SS_NOPREFIX 128
301 #define SS_NOTIFY 256
302 #define SS_OWNERDRAW 0xd
303 #define SS_REALSIZEIMAGE 0x800
304 #define SS_RIGHT 2
305 #define SS_RIGHTJUST 0x400
306 #define SS_SIMPLE 11
307 #define SS_SUNKEN 4096
308 #define SS_WHITEFRAME 9
309 #define SS_WHITERECT 6
310 #define SS_USERITEM 10
311 #define SS_TYPEMASK 0x0000001FL
312 #define SS_ENDELLIPSIS 0x00004000L
313 #define SS_PATHELLIPSIS 0x00008000L
314 #define SS_WORDELLIPSIS 0x0000C000L
315 #define SS_ELLIPSISMASK 0x0000C000L
316 #define DS_3DLOOK 4
317 #define DS_ABSALIGN 1
318 #define DS_CENTER 0x800
319 #define DS_CENTERMOUSE 4096
320 #define DS_CONTEXTHELP 0x2000
321 #define DS_CONTROL 0x400
322 #define DS_FIXEDSYS 8
323 #define DS_LOCALEDIT 32
324 #define DS_MODALFRAME 128
325 #define DS_NOFAILCREATE 16
326 #define DS_NOIDLEMSG 256
327 #define DS_SETFONT 64
328 #define DS_SETFOREGROUND 512
329 #define DS_SYSMODAL 2
330 #define WS_EX_ACCEPTFILES 16
331 #define WS_EX_APPWINDOW 0x40000
332 #define WS_EX_CLIENTEDGE 512
333 #define WS_EX_COMPOSITED 0x2000000 /* XP */
334 #define WS_EX_CONTEXTHELP 0x400
335 #define WS_EX_CONTROLPARENT 0x10000
336 #define WS_EX_DLGMODALFRAME 1
337 #define WS_EX_LAYERED 0x80000 /* w2k */
338 #define WS_EX_LAYOUTRTL 0x400000 /* w98, w2k */
339 #define WS_EX_LEFT 0
340 #define WS_EX_LEFTSCROLLBAR 0x4000
341 #define WS_EX_LTRREADING 0
342 #define WS_EX_MDICHILD 64
343 #define WS_EX_NOACTIVATE 0x8000000 /* w2k */
344 #define WS_EX_NOINHERITLAYOUT 0x100000 /* w2k */
345 #define WS_EX_NOPARENTNOTIFY 4
346 #define WS_EX_OVERLAPPEDWINDOW 0x300
347 #define WS_EX_PALETTEWINDOW 0x188
348 #define WS_EX_RIGHT 0x1000
349 #define WS_EX_RIGHTSCROLLBAR 0
350 #define WS_EX_RTLREADING 0x2000
351 #define WS_EX_STATICEDGE 0x20000
352 #define WS_EX_TOOLWINDOW 128
353 #define WS_EX_TOPMOST 8
354 #define WS_EX_TRANSPARENT 32
355 #define WS_EX_WINDOWEDGE 256
356 #define WINSTA_ACCESSCLIPBOARD 4
357 #define WINSTA_ACCESSGLOBALATOMS 32
358 #define WINSTA_CREATEDESKTOP 8
359 #define WINSTA_ENUMDESKTOPS 1
360 #define WINSTA_ENUMERATE 256
361 #define WINSTA_EXITWINDOWS 64
362 #define WINSTA_READATTRIBUTES 2
363 #define WINSTA_READSCREEN 512
364 #define WINSTA_WRITEATTRIBUTES 16
365 #define DDL_READWRITE 0
366 #define DDL_READONLY 1
367 #define DDL_HIDDEN 2
368 #define DDL_SYSTEM 4
369 #define DDL_DIRECTORY 16
370 #define DDL_ARCHIVE 32
371 #define DDL_POSTMSGS 8192
372 #define DDL_DRIVES 16384
373 #define DDL_EXCLUSIVE 32768
374 #define DC_ACTIVE 1
375 #define DC_SMALLCAP 2
376 #define DC_ICON 4
377 #define DC_TEXT 8
378 #define DC_INBUTTON 16
379 #define DC_CAPTION (DC_ICON|DC_TEXT|DC_BUTTONS)
380 #define DC_NC (DC_CAPTION|DC_FRAME)
381 #define BDR_RAISEDOUTER 1
382 #define BDR_SUNKENOUTER 2
383 #define BDR_RAISEDINNER 4
384 #define BDR_SUNKENINNER 8
385 #define BDR_OUTER 3
386 #define BDR_INNER 0xc
387 #define BDR_RAISED 5
388 #define BDR_SUNKEN 10
389 #define EDGE_RAISED (BDR_RAISEDOUTER|BDR_RAISEDINNER)
390 #define EDGE_SUNKEN (BDR_SUNKENOUTER|BDR_SUNKENINNER)
391 #define EDGE_ETCHED (BDR_SUNKENOUTER|BDR_RAISEDINNER)
392 #define EDGE_BUMP (BDR_RAISEDOUTER|BDR_SUNKENINNER)
393 #define BF_LEFT 1
394 #define BF_TOP 2
395 #define BF_RIGHT 4
396 #define BF_BOTTOM 8
397 #define BF_TOPLEFT (BF_TOP|BF_LEFT)
398 #define BF_TOPRIGHT (BF_TOP|BF_RIGHT)
399 #define BF_BOTTOMLEFT (BF_BOTTOM|BF_LEFT)
400 #define BF_BOTTOMRIGHT (BF_BOTTOM|BF_RIGHT)
401 #define BF_RECT (BF_LEFT|BF_TOP|BF_RIGHT|BF_BOTTOM)
402 #define BF_DIAGONAL 16
403 #define BF_DIAGONAL_ENDTOPRIGHT (BF_DIAGONAL|BF_TOP|BF_RIGHT)
404 #define BF_DIAGONAL_ENDTOPLEFT (BF_DIAGONAL|BF_TOP|BF_LEFT)
405 #define BF_DIAGONAL_ENDBOTTOMLEFT (BF_DIAGONAL|BF_BOTTOM|BF_LEFT)
406 #define BF_DIAGONAL_ENDBOTTOMRIGHT (BF_DIAGONAL|BF_BOTTOM|BF_RIGHT)
407 #define BF_MIDDLE 0x800
408 #define BF_SOFT 0x1000
409 #define BF_ADJUST 0x2000
410 #define BF_FLAT 0x4000
411 #define BF_MONO 0x8000
412 #define DFC_CAPTION 1
413 #define DFC_MENU 2
414 #define DFC_SCROLL 3
415 #define DFC_BUTTON 4
416 #define DFCS_CAPTIONCLOSE 0
417 #define DFCS_CAPTIONMIN 1
418 #define DFCS_CAPTIONMAX 2
419 #define DFCS_CAPTIONRESTORE 3
420 #define DFCS_CAPTIONHELP 4
421 #define DFCS_MENUARROW 0
422 #define DFCS_MENUCHECK 1
423 #define DFCS_MENUBULLET 2
424 #define DFCS_MENUARROWRIGHT 4
425 #define DFCS_SCROLLUP 0
426 #define DFCS_SCROLLDOWN 1
427 #define DFCS_SCROLLLEFT 2
428 #define DFCS_SCROLLRIGHT 3
429 #define DFCS_SCROLLCOMBOBOX 5
430 #define DFCS_SCROLLSIZEGRIP 8
431 #define DFCS_SCROLLSIZEGRIPRIGHT 16
432 #define DFCS_BUTTONCHECK 0
433 #define DFCS_BUTTONRADIOIMAGE 1
434 #define DFCS_BUTTONRADIOMASK 2
435 #define DFCS_BUTTONRADIO 4
436 #define DFCS_BUTTON3STATE 8
437 #define DFCS_BUTTONPUSH 16
438 #define DFCS_INACTIVE 256
439 #define DFCS_PUSHED 512
440 #define DFCS_CHECKED 1024
441 #define DFCS_ADJUSTRECT 0x2000
442 #define DFCS_FLAT 0x4000
443 #define DFCS_MONO 0x8000
444 #define DST_COMPLEX 0
445 #define DST_TEXT 1
446 #define DST_PREFIXTEXT 2
447 #define DST_ICON 3
448 #define DST_BITMAP 4
449 #define DSS_NORMAL 0
450 #define DSS_UNION 16
451 #define DSS_DISABLED 32
452 #define DSS_MONO 128
453 #define DSS_RIGHT 0x8000
454 #define DT_BOTTOM 8
455 #define DT_CALCRECT 1024
456 #define DT_CENTER 1
457 #define DT_EDITCONTROL 8192
458 #define DT_END_ELLIPSIS 32768
459 #define DT_PATH_ELLIPSIS 16384
460 #define DT_WORD_ELLIPSIS 0x40000
461 #define DT_EXPANDTABS 64
462 #define DT_EXTERNALLEADING 512
463 #define DT_LEFT 0
464 #define DT_MODIFYSTRING 65536
465 #define DT_NOCLIP 256
466 #define DT_NOPREFIX 2048
467 #define DT_RIGHT 2
468 #define DT_RTLREADING 131072
469 #define DT_SINGLELINE 32
470 #define DT_TABSTOP 128
471 #define DT_TOP 0
472 #define DT_VCENTER 4
473 #define DT_WORDBREAK 16
474 #define DT_INTERNAL 4096
475 #define WB_ISDELIMITER 2
476 #define WB_LEFT 0
477 #define WB_RIGHT 1
478 #define SB_HORZ 0
479 #define SB_VERT 1
480 #define SB_CTL 2
481 #define SB_BOTH 3
482 #define ESB_DISABLE_BOTH 3
483 #define ESB_DISABLE_DOWN 2
484 #define ESB_DISABLE_LEFT 1
485 #define ESB_DISABLE_LTUP 1
486 #define ESB_DISABLE_RIGHT 2
487 #define ESB_DISABLE_RTDN 2
488 #define ESB_DISABLE_UP 1
489 #define ESB_ENABLE_BOTH 0
490 #define SB_LINEUP 0
491 #define SB_LINEDOWN 1
492 #define SB_LINELEFT 0
493 #define SB_LINERIGHT 1
494 #define SB_PAGEUP 2
495 #define SB_PAGEDOWN 3
496 #define SB_PAGELEFT 2
497 #define SB_PAGERIGHT 3
498 #define SB_THUMBPOSITION 4
499 #define SB_THUMBTRACK 5
500 #define SB_ENDSCROLL 8
501 #define SB_LEFT 6
502 #define SB_RIGHT 7
503 #define SB_BOTTOM 7
504 #define SB_TOP 6
505 #define MAKEINTRESOURCEA(i) (LPSTR)((DWORD)((WORD)(i)))
506 #define MAKEINTRESOURCEW(i) (LPWSTR)((DWORD)((WORD)(i)))
507 #ifndef XFree86Server
508 # define RT_CURSOR MAKEINTRESOURCE(1)
509 # define RT_FONT MAKEINTRESOURCE(8)
510 #endif /* ndef XFree86Server */
511 #define RT_BITMAP MAKEINTRESOURCE(2)
512 #define RT_ICON MAKEINTRESOURCE(3)
513 #define RT_MENU MAKEINTRESOURCE(4)
514 #define RT_DIALOG MAKEINTRESOURCE(5)
515 #define RT_STRING MAKEINTRESOURCE(6)
516 #define RT_FONTDIR MAKEINTRESOURCE(7)
517 #define RT_ACCELERATOR MAKEINTRESOURCE(9)
518 #define RT_RCDATA MAKEINTRESOURCE(10)
519 #define RT_MESSAGETABLE MAKEINTRESOURCE(11)
520 #define DIFFERENCE 11
521 #define RT_GROUP_CURSOR MAKEINTRESOURCE((DWORD)RT_CURSOR+DIFFERENCE)
522 #define RT_GROUP_ICON MAKEINTRESOURCE((DWORD)RT_ICON+DIFFERENCE)
523 #define RT_VERSION MAKEINTRESOURCE(16)
524 #define RT_DLGINCLUDE MAKEINTRESOURCE(17)
525 #define RT_PLUGPLAY MAKEINTRESOURCE(19)
526 #define RT_VXD MAKEINTRESOURCE(20)
527 #define RT_ANICURSOR MAKEINTRESOURCE(21)
528 #define RT_ANIICON MAKEINTRESOURCE(22)
529 #define RT_HTML MAKEINTRESOURCE(23)
530 #define EWX_FORCE 4
531 #define EWX_LOGOFF 0
532 #define EWX_POWEROFF 8
533 #define EWX_REBOOT 2
534 #define EWX_SHUTDOWN 1
535 #define CS_BYTEALIGNCLIENT 4096
536 #define CS_BYTEALIGNWINDOW 8192
537 #define CS_KEYCVTWINDOW 4
538 #define CS_NOKEYCVT 256
539 #define CS_CLASSDC 64
540 #define CS_DBLCLKS 8
541 #define CS_GLOBALCLASS 16384
542 #define CS_HREDRAW 2
543 #define CS_NOCLOSE 512
544 #define CS_OWNDC 32
545 #define CS_PARENTDC 128
546 #define CS_SAVEBITS 2048
547 #define CS_VREDRAW 1
548 #define CS_IME 0x10000
549 #define GCW_ATOM (-32)
550 #define GCL_CBCLSEXTRA (-20)
551 #define GCL_CBWNDEXTRA (-18)
552 #define GCL_HBRBACKGROUND (-10)
553 #define GCL_HCURSOR (-12)
554 #define GCL_HICON (-14)
555 #define GCL_HICONSM (-34)
556 #define GCL_HMODULE (-16)
557 #define GCL_MENUNAME (-8)
558 #define GCL_STYLE (-26)
559 #define GCL_WNDPROC (-24)
560 #if 0
561 /* This is supposed to be defined by the program using it not defined
562 in the win32api headers. I've left it here for documentation purposes.
564 #ifndef IDC_STATIC /* May be predefined by resource compiler. */
565 #define IDC_STATIC (-1)
566 #endif
567 #endif
568 #define IDC_ARROW MAKEINTRESOURCE(32512)
569 #define IDC_IBEAM MAKEINTRESOURCE(32513)
570 #define IDC_WAIT MAKEINTRESOURCE(32514)
571 #define IDC_CROSS MAKEINTRESOURCE(32515)
572 #define IDC_UPARROW MAKEINTRESOURCE(32516)
573 #define IDC_SIZENWSE MAKEINTRESOURCE(32642)
574 #define IDC_SIZENESW MAKEINTRESOURCE(32643)
575 #define IDC_SIZEWE MAKEINTRESOURCE(32644)
576 #define IDC_SIZENS MAKEINTRESOURCE(32645)
577 #define IDC_SIZEALL MAKEINTRESOURCE(32646)
578 #define IDC_NO MAKEINTRESOURCE(32648)
579 #define IDC_HAND MAKEINTRESOURCE(32649)
580 #define IDC_APPSTARTING MAKEINTRESOURCE(32650)
581 #define IDC_HELP MAKEINTRESOURCE(32651)
582 #define IDC_ICON MAKEINTRESOURCE(32641)
583 #define IDC_SIZE MAKEINTRESOURCE(32640)
584 #ifndef RC_INVOKED
585 #define IDI_APPLICATION MAKEINTRESOURCE(32512)
586 #define IDI_HAND MAKEINTRESOURCE(32513)
587 #define IDI_QUESTION MAKEINTRESOURCE(32514)
588 #define IDI_EXCLAMATION MAKEINTRESOURCE(32515)
589 #define IDI_ASTERISK MAKEINTRESOURCE(32516)
590 #define IDI_WINLOGO MAKEINTRESOURCE(32517)
591 #else
592 #define IDI_APPLICATION 32512
593 #define IDI_HAND 32513
594 #define IDI_QUESTION 32514
595 #define IDI_EXCLAMATION 32515
596 #define IDI_ASTERISK 32516
597 #define IDI_WINLOGO 32517
598 #endif
599 #define IDI_WARNING IDI_EXCLAMATION
600 #define IDI_ERROR IDI_HAND
601 #define IDI_INFORMATION IDI_ASTERISK
602 #define MIIM_STATE 1
603 #define MIIM_ID 2
604 #define MIIM_SUBMENU 4
605 #define MIIM_CHECKMARKS 8
606 #define MIIM_TYPE 16
607 #define MIIM_DATA 32
608 #define MIIM_STRING 64
609 #define MIIM_BITMAP 128
610 #define MIIM_FTYPE 256
611 #define MFT_BITMAP 4
612 #define MFT_MENUBARBREAK 32
613 #define MFT_MENUBREAK 64
614 #define MFT_OWNERDRAW 256
615 #define MFT_RADIOCHECK 512
616 #define MFT_RIGHTJUSTIFY 0x4000
617 #define MFT_SEPARATOR 0x800
618 #define MFT_RIGHTORDER 0x2000L
619 #define MFT_STRING 0
620 #define MFS_CHECKED 8
621 #define MFS_DEFAULT 4096
622 #define MFS_DISABLED 3
623 #define MFS_ENABLED 0
624 #define MFS_GRAYED 3
625 #define MFS_HILITE 128
626 #define MFS_UNCHECKED 0
627 #define MFS_UNHILITE 0
628 #define GW_HWNDNEXT 2
629 #define GW_HWNDPREV 3
630 #define GW_CHILD 5
631 #define GW_HWNDFIRST 0
632 #define GW_HWNDLAST 1
633 #define GW_OWNER 4
634 #define SW_HIDE 0
635 #define SW_NORMAL 1
636 #define SW_SHOWNORMAL 1
637 #define SW_SHOWMINIMIZED 2
638 #define SW_MAXIMIZE 3
639 #define SW_SHOWMAXIMIZED 3
640 #define SW_SHOWNOACTIVATE 4
641 #define SW_SHOW 5
642 #define SW_MINIMIZE 6
643 #define SW_SHOWMINNOACTIVE 7
644 #define SW_SHOWNA 8
645 #define SW_RESTORE 9
646 #define SW_SHOWDEFAULT 10
647 #define SW_FORCEMINIMIZE 11
648 #define SW_MAX 11
649 #define MB_USERICON 128
650 #define MB_ICONASTERISK 64
651 #define MB_ICONEXCLAMATION 0x30
652 #define MB_ICONWARNING 0x30
653 #define MB_ICONERROR 16
654 #define MB_ICONHAND 16
655 #define MB_ICONQUESTION 32
656 #define MB_OK 0
657 #define MB_ABORTRETRYIGNORE 2
658 #define MB_APPLMODAL 0
659 #define MB_DEFAULT_DESKTOP_ONLY 0x20000
660 #define MB_HELP 0x4000
661 #define MB_RIGHT 0x80000
662 #define MB_RTLREADING 0x100000
663 #define MB_TOPMOST 0x40000
664 #define MB_DEFBUTTON1 0
665 #define MB_DEFBUTTON2 256
666 #define MB_DEFBUTTON3 512
667 #define MB_DEFBUTTON4 0x300
668 #define MB_ICONINFORMATION 64
669 #define MB_ICONSTOP 16
670 #define MB_OKCANCEL 1
671 #define MB_RETRYCANCEL 5
672 #ifdef _WIN32_WINNT
673 #if (_WIN32_WINNT >= 0x0400)
674 #define MB_SERVICE_NOTIFICATION 0x00200000
675 #else
676 #define MB_SERVICE_NOTIFICATION 0x00040000
677 #endif
678 #define MB_SERVICE_NOTIFICATION_NT3X 0x00040000
679 #endif
680 #define MB_SETFOREGROUND 0x10000
681 #define MB_SYSTEMMODAL 4096
682 #define MB_TASKMODAL 0x2000
683 #define MB_YESNO 4
684 #define MB_YESNOCANCEL 3
685 #define MB_ICONMASK 240
686 #define MB_DEFMASK 3840
687 #define MB_MODEMASK 0x00003000
688 #define MB_MISCMASK 0x0000C000
689 #define MB_NOFOCUS 0x00008000
690 #define MB_TYPEMASK 15
691 #define MB_TOPMOST 0x40000
692 #define IDABORT 3
693 #define IDCANCEL 2
694 #define IDCLOSE 8
695 #define IDHELP 9
696 #define IDIGNORE 5
697 #define IDNO 7
698 #define IDOK 1
699 #define IDRETRY 4
700 #define IDYES 6
701 #define GWL_EXSTYLE (-20)
702 #define GWL_STYLE (-16)
703 #define GWL_WNDPROC (-4)
704 #define GWL_HINSTANCE (-6)
705 #define GWL_HWNDPARENT (-8)
706 #define GWL_ID (-12)
707 #define GWL_USERDATA (-21)
708 #define DWL_DLGPROC 4
709 #define DWL_MSGRESULT 0
710 #define DWL_USER 8
711 #define QS_ALLEVENTS 191
712 #define QS_ALLINPUT 255
713 #define QS_HOTKEY 128
714 #define QS_INPUT 7
715 #define QS_KEY 1
716 #define QS_MOUSE 6
717 #define QS_MOUSEBUTTON 4
718 #define QS_MOUSEMOVE 2
719 #define QS_PAINT 32
720 #define QS_POSTMESSAGE 8
721 #define QS_SENDMESSAGE 64
722 #define QS_TIMER 16
723 #define COLOR_3DDKSHADOW 21
724 #define COLOR_3DFACE 15
725 #define COLOR_3DHILIGHT 20
726 #define COLOR_3DHIGHLIGHT 20
727 #define COLOR_3DLIGHT 22
728 #define COLOR_BTNHILIGHT 20
729 #define COLOR_3DSHADOW 16
730 #define COLOR_ACTIVEBORDER 10
731 #define COLOR_ACTIVECAPTION 2
732 #define COLOR_APPWORKSPACE 12
733 #define COLOR_BACKGROUND 1
734 #define COLOR_DESKTOP 1
735 #define COLOR_BTNFACE 15
736 #define COLOR_BTNHIGHLIGHT 20
737 #define COLOR_BTNSHADOW 16
738 #define COLOR_BTNTEXT 18
739 #define COLOR_CAPTIONTEXT 9
740 #define COLOR_GRAYTEXT 17
741 #define COLOR_HIGHLIGHT 13
742 #define COLOR_HIGHLIGHTTEXT 14
743 #define COLOR_INACTIVEBORDER 11
744 #define COLOR_INACTIVECAPTION 3
745 #define COLOR_INACTIVECAPTIONTEXT 19
746 #define COLOR_INFOBK 24
747 #define COLOR_INFOTEXT 23
748 #define COLOR_MENU 4
749 #define COLOR_MENUTEXT 7
750 #define COLOR_SCROLLBAR 0
751 #define COLOR_WINDOW 5
752 #define COLOR_WINDOWFRAME 6
753 #define COLOR_WINDOWTEXT 8
754 #define CTLCOLOR_MSGBOX 0
755 #define CTLCOLOR_EDIT 1
756 #define CTLCOLOR_LISTBOX 2
757 #define CTLCOLOR_BTN 3
758 #define CTLCOLOR_DLG 4
759 #define CTLCOLOR_SCROLLBAR 5
760 #define CTLCOLOR_STATIC 6
761 #define CTLCOLOR_MAX 7
762 #define SM_CXSCREEN 0
763 #define SM_CYSCREEN 1
764 #define SM_CXVSCROLL 2
765 #define SM_CYHSCROLL 3
766 #define SM_CYCAPTION 4
767 #define SM_CXBORDER 5
768 #define SM_CYBORDER 6
769 #define SM_CXDLGFRAME 7
770 #define SM_CXFIXEDFRAME 7
771 #define SM_CYDLGFRAME 8
772 #define SM_CYFIXEDFRAME 8
773 #define SM_CYVTHUMB 9
774 #define SM_CXHTHUMB 10
775 #define SM_CXICON 11
776 #define SM_CYICON 12
777 #define SM_CXCURSOR 13
778 #define SM_CYCURSOR 14
779 #define SM_CYMENU 15
780 #define SM_CXFULLSCREEN 16
781 #define SM_CYFULLSCREEN 17
782 #define SM_CYKANJIWINDOW 18
783 #define SM_MOUSEPRESENT 19
784 #define SM_CYVSCROLL 20
785 #define SM_CXHSCROLL 21
786 #define SM_DEBUG 22
787 #define SM_SWAPBUTTON 23
788 #define SM_RESERVED1 24
789 #define SM_RESERVED2 25
790 #define SM_RESERVED3 26
791 #define SM_RESERVED4 27
792 #define SM_CXMIN 28
793 #define SM_CYMIN 29
794 #define SM_CXSIZE 30
795 #define SM_CYSIZE 31
796 #define SM_CXSIZEFRAME 32
797 #define SM_CXFRAME 32
798 #define SM_CYSIZEFRAME 33
799 #define SM_CYFRAME 33
800 #define SM_CXMINTRACK 34
801 #define SM_CYMINTRACK 35
802 #define SM_CXDOUBLECLK 36
803 #define SM_CYDOUBLECLK 37
804 #define SM_CXICONSPACING 38
805 #define SM_CYICONSPACING 39
806 #define SM_MENUDROPALIGNMENT 40
807 #define SM_PENWINDOWS 41
808 #define SM_DBCSENABLED 42
809 #define SM_CMOUSEBUTTONS 43
810 #define SM_SECURE 44
811 #define SM_CXEDGE 45
812 #define SM_CYEDGE 46
813 #define SM_CXMINSPACING 47
814 #define SM_CYMINSPACING 48
815 #define SM_CXSMICON 49
816 #define SM_CYSMICON 50
817 #define SM_CYSMCAPTION 51
818 #define SM_CXSMSIZE 52
819 #define SM_CYSMSIZE 53
820 #define SM_CXMENUSIZE 54
821 #define SM_CYMENUSIZE 55
822 #define SM_ARRANGE 56
823 #define SM_CXMINIMIZED 57
824 #define SM_CYMINIMIZED 58
825 #define SM_CXMAXTRACK 59
826 #define SM_CYMAXTRACK 60
827 #define SM_CXMAXIMIZED 61
828 #define SM_CYMAXIMIZED 62
829 #define SM_NETWORK 63
830 #define LR_DEFAULTSIZE 64
831 #define SM_CLEANBOOT 67
832 #define SM_CXDRAG 68
833 #define SM_CYDRAG 69
834 #define SM_SHOWSOUNDS 70
835 #define SM_CXMENUCHECK 71
836 #define SM_CYMENUCHECK 72
837 #define SM_SLOWMACHINE 73
838 #define SM_MIDEASTENABLED 74
839 #define SM_MOUSEWHEELPRESENT 75
840 #define SM_XVIRTUALSCREEN 76
841 #define SM_YVIRTUALSCREEN 77
842 #define SM_CXVIRTUALSCREEN 78
843 #define SM_CYVIRTUALSCREEN 79
844 #define SM_CMONITORS 80
845 #define SM_SAMEDISPLAYFORMAT 81
846 #if (_WIN32_WINNT < 0x0400)
847 #define SM_CMETRICS 76
848 #else
849 #define SM_CMETRICS 83
850 #endif
851 #define ARW_BOTTOMLEFT 0
852 #define ARW_BOTTOMRIGHT 1
853 #define ARW_HIDE 8
854 #define ARW_TOPLEFT 2
855 #define ARW_TOPRIGHT 3
856 #define ARW_DOWN 4
857 #define ARW_LEFT 0
858 #define ARW_RIGHT 0
859 #define ARW_UP 4
860 #define UOI_FLAGS 1
861 #define UOI_NAME 2
862 #define UOI_TYPE 3
863 #define UOI_USER_SID 4
864 #define LR_DEFAULTCOLOR 0
865 #define LR_MONOCHROME 1
866 #define LR_COLOR 2
867 #define LR_COPYRETURNORG 4
868 #define LR_COPYDELETEORG 8
869 #define LR_LOADFROMFILE 16
870 #define LR_LOADTRANSPARENT 32
871 #define LR_LOADREALSIZE 128
872 #define LR_LOADMAP3DCOLORS 4096
873 #define LR_CREATEDIBSECTION 8192
874 #define LR_COPYFROMRESOURCE 0x4000
875 #define LR_SHARED 32768
876 #define KEYEVENTF_EXTENDEDKEY 1
877 #define KEYEVENTF_KEYUP 2
878 #define OBM_BTNCORNERS 32758
879 #define OBM_BTSIZE 32761
880 #define OBM_CHECK 32760
881 #define OBM_CHECKBOXES 32759
882 #define OBM_CLOSE 32754
883 #define OBM_COMBO 32738
884 #define OBM_DNARROW 32752
885 #define OBM_DNARROWD 32742
886 #define OBM_DNARROWI 32736
887 #define OBM_LFARROW 32750
888 #define OBM_LFARROWI 32734
889 #define OBM_LFARROWD 32740
890 #define OBM_MNARROW 32739
891 #define OBM_OLD_CLOSE 32767
892 #define OBM_OLD_DNARROW 32764
893 #define OBM_OLD_LFARROW 32762
894 #define OBM_OLD_REDUCE 32757
895 #define OBM_OLD_RESTORE 32755
896 #define OBM_OLD_RGARROW 32763
897 #define OBM_OLD_UPARROW 32765
898 #define OBM_OLD_ZOOM 32756
899 #define OBM_REDUCE 32749
900 #define OBM_REDUCED 32746
901 #define OBM_RESTORE 32747
902 #define OBM_RESTORED 32744
903 #define OBM_RGARROW 32751
904 #define OBM_RGARROWD 32741
905 #define OBM_RGARROWI 32735
906 #define OBM_SIZE 32766
907 #define OBM_UPARROW 32753
908 #define OBM_UPARROWD 32743
909 #define OBM_UPARROWI 32737
910 #define OBM_ZOOM 32748
911 #define OBM_ZOOMD 32745
912 #define OCR_NORMAL 32512
913 #define OCR_IBEAM 32513
914 #define OCR_WAIT 32514
915 #define OCR_CROSS 32515
916 #define OCR_UP 32516
917 #define OCR_SIZE 32640
918 #define OCR_ICON 32641
919 #define OCR_SIZENWSE 32642
920 #define OCR_SIZENESW 32643
921 #define OCR_SIZEWE 32644
922 #define OCR_SIZENS 32645
923 #define OCR_SIZEALL 32646
924 #define OCR_NO 32648
925 #define OCR_APPSTARTING 32650
926 #define HELPINFO_MENUITEM 2
927 #define HELPINFO_WINDOW 1
928 #define MSGF_DIALOGBOX 0
929 #define MSGF_MESSAGEBOX 1
930 #define MSGF_MENU 2
931 #define MSGF_MOVE 3
932 #define MSGF_SIZE 4
933 #define MSGF_SCROLLBAR 5
934 #define MSGF_NEXTWINDOW 6
935 #define MSGF_MAINLOOP 8
936 #define MSGF_USER 4096
937 #define MOUSEEVENTF_MOVE 1
938 #define MOUSEEVENTF_LEFTDOWN 2
939 #define MOUSEEVENTF_LEFTUP 4
940 #define MOUSEEVENTF_RIGHTDOWN 8
941 #define MOUSEEVENTF_RIGHTUP 16
942 #define MOUSEEVENTF_MIDDLEDOWN 32
943 #define MOUSEEVENTF_MIDDLEUP 64
944 #define MOUSEEVENTF_WHEEL 0x0800
945 #define MOUSEEVENTF_ABSOLUTE 32768
946 #define PM_NOREMOVE 0
947 #define PM_REMOVE 1
948 #define PM_NOYIELD 2
949 #define HWND_BROADCAST ((HWND)0xffff)
950 #define HWND_BOTTOM ((HWND)1)
951 #define HWND_NOTOPMOST ((HWND)(-2))
952 #define HWND_TOP ((HWND)0)
953 #define HWND_TOPMOST ((HWND)(-1))
954 #define HWND_DESKTOP (HWND)0
955 #define HWND_MESSAGE ((HWND)(-3)) /* w2k */
956 #define RDW_ERASE 4
957 #define RDW_FRAME 1024
958 #define RDW_INTERNALPAINT 2
959 #define RDW_INVALIDATE 1
960 #define RDW_NOERASE 32
961 #define RDW_NOFRAME 2048
962 #define RDW_NOINTERNALPAINT 16
963 #define RDW_VALIDATE 8
964 #define RDW_ERASENOW 512
965 #define RDW_UPDATENOW 256
966 #define RDW_ALLCHILDREN 128
967 #define RDW_NOCHILDREN 64
968 #define SMTO_ABORTIFHUNG 2
969 #define SMTO_BLOCK 1
970 #define SMTO_NORMAL 0
971 #define SIF_ALL 23
972 #define SIF_PAGE 2
973 #define SIF_POS 4
974 #define SIF_RANGE 1
975 #define SIF_DISABLENOSCROLL 8
976 #define SIF_TRACKPOS 16
977 #define SWP_DRAWFRAME 32
978 #define SWP_FRAMECHANGED 32
979 #define SWP_HIDEWINDOW 128
980 #define SWP_NOACTIVATE 16
981 #define SWP_NOCOPYBITS 256
982 #define SWP_NOMOVE 2
983 #define SWP_NOSIZE 1
984 #define SWP_NOREDRAW 8
985 #define SWP_NOZORDER 4
986 #define SWP_SHOWWINDOW 64
987 #define SWP_NOOWNERZORDER 512
988 #define SWP_NOREPOSITION 512
989 #define SWP_NOSENDCHANGING 1024
990 #define SWP_DEFERERASE 8192
991 #define SWP_ASYNCWINDOWPOS 16384
992 #define HSHELL_ACTIVATESHELLWINDOW 3
993 #define HSHELL_GETMINRECT 5
994 #define HSHELL_LANGUAGE 8
995 #define HSHELL_REDRAW 6
996 #define HSHELL_TASKMAN 7
997 #define HSHELL_WINDOWACTIVATED 4
998 #define HSHELL_WINDOWCREATED 1
999 #define HSHELL_WINDOWDESTROYED 2
1000 #define SPI_GETACCESSTIMEOUT 60
1001 #define SPI_GETANIMATION 72
1002 #define SPI_GETBEEP 1
1003 #define SPI_GETBORDER 5
1004 #define SPI_GETDEFAULTINPUTLANG 89
1005 #define SPI_GETDRAGFULLWINDOWS 38
1006 #define SPI_GETFASTTASKSWITCH 35
1007 #define SPI_GETFILTERKEYS 50
1008 #define SPI_GETFONTSMOOTHING 74
1009 #define SPI_GETGRIDGRANULARITY 18
1010 #define SPI_GETHIGHCONTRAST 66
1011 #define SPI_GETICONMETRICS 45
1012 #define SPI_GETICONTITLELOGFONT 31
1013 #define SPI_GETICONTITLEWRAP 25
1014 #define SPI_GETKEYBOARDDELAY 22
1015 #define SPI_GETKEYBOARDPREF 68
1016 #define SPI_GETKEYBOARDSPEED 10
1017 #define SPI_GETLOWPOWERACTIVE 83
1018 #define SPI_GETLOWPOWERTIMEOUT 79
1019 #define SPI_GETMENUDROPALIGNMENT 27
1020 #define SPI_GETMINIMIZEDMETRICS 43
1021 #define SPI_GETMOUSE 3
1022 #define SPI_GETMOUSEKEYS 54
1023 #define SPI_GETMOUSETRAILS 94
1024 #define SPI_GETNONCLIENTMETRICS 41
1025 #define SPI_GETPOWEROFFACTIVE 84
1026 #define SPI_GETPOWEROFFTIMEOUT 80
1027 #define SPI_GETSCREENREADER 70
1028 #define SPI_GETSCREENSAVEACTIVE 16
1029 #define SPI_GETSCREENSAVETIMEOUT 14
1030 #define SPI_GETSERIALKEYS 62
1031 #define SPI_GETSHOWSOUNDS 56
1032 #define SPI_GETSOUNDSENTRY 64
1033 #define SPI_GETSTICKYKEYS 58
1034 #define SPI_GETTOGGLEKEYS 52
1035 #define SPI_GETWINDOWSEXTENSION 92
1036 #define SPI_GETWORKAREA 48
1037 #define SPI_ICONHORIZONTALSPACING 13
1038 #define SPI_ICONVERTICALSPACING 24
1039 #define SPI_LANGDRIVER 12
1040 #define SPI_SCREENSAVERRUNNING 97
1041 #define SPI_SETACCESSTIMEOUT 61
1042 #define SPI_SETANIMATION 73
1043 #define SPI_SETBEEP 2
1044 #define SPI_SETBORDER 6
1045 #define SPI_SETDEFAULTINPUTLANG 90
1046 #define SPI_SETDESKPATTERN 21
1047 #define SPI_SETDESKWALLPAPER 20
1048 #define SPI_SETDOUBLECLICKTIME 32
1049 #define SPI_SETDOUBLECLKHEIGHT 30
1050 #define SPI_SETDOUBLECLKWIDTH 29
1051 #define SPI_SETDRAGFULLWINDOWS 37
1052 #define SPI_SETDRAGHEIGHT 77
1053 #define SPI_SETDRAGWIDTH 76
1054 #define SPI_SETFASTTASKSWITCH 36
1055 #define SPI_SETFILTERKEYS 51
1056 #define SPI_SETFONTSMOOTHING 75
1057 #define SPI_SETGRIDGRANULARITY 19
1058 #define SPI_SETHANDHELD 78
1059 #define SPI_SETHIGHCONTRAST 67
1060 #define SPI_SETICONMETRICS 46
1061 #define SPI_SETICONTITLELOGFONT 34
1062 #define SPI_SETICONTITLEWRAP 26
1063 #define SPI_SETKEYBOARDDELAY 23
1064 #define SPI_SETKEYBOARDPREF 69
1065 #define SPI_SETKEYBOARDSPEED 11
1066 #define SPI_SETLANGTOGGLE 91
1067 #define SPI_SETLOWPOWERACTIVE 85
1068 #define SPI_SETLOWPOWERTIMEOUT 81
1069 #define SPI_SETMENUDROPALIGNMENT 28
1070 #define SPI_SETMINIMIZEDMETRICS 44
1071 #define SPI_SETMOUSE 4
1072 #define SPI_SETMOUSEBUTTONSWAP 33
1073 #define SPI_SETMOUSEKEYS 55
1074 #define SPI_SETMOUSETRAILS 93
1075 #define SPI_SETNONCLIENTMETRICS 42
1076 #define SPI_SETPENWINDOWS 49
1077 #define SPI_SETPOWEROFFACTIVE 86
1078 #define SPI_SETPOWEROFFTIMEOUT 82
1079 #define SPI_SETSCREENREADER 71
1080 #define SPI_SETSCREENSAVEACTIVE 17
1081 #define SPI_SETSCREENSAVERRUNNING 97
1082 #define SPI_SETSCREENSAVETIMEOUT 15
1083 #define SPI_SETSERIALKEYS 63
1084 #define SPI_SETSHOWSOUNDS 57
1085 #define SPI_SETSOUNDSENTRY 65
1086 #define SPI_SETSTICKYKEYS 59
1087 #define SPI_SETTOGGLEKEYS 53
1088 #define SPI_SETWORKAREA 47
1089 #define SPIF_UPDATEINIFILE 1
1090 #define SPIF_SENDWININICHANGE 2
1091 #define SPIF_SENDCHANGE 2
1092 #define ATF_ONOFFFEEDBACK 2
1093 #define ATF_TIMEOUTON 1
1094 #define WM_APP 32768
1095 #define WM_ACTIVATE 6
1096 #define WM_ACTIVATEAPP 28
1097 /* FIXME/CHECK: Are WM_AFX{FIRST,LAST} valid for WINVER < 0x400? */
1098 #define WM_AFXFIRST 864
1099 #define WM_AFXLAST 895
1100 #define WM_ASKCBFORMATNAME 780
1101 #define WM_CANCELJOURNAL 75
1102 #define WM_CANCELMODE 31
1103 #define WM_CAPTURECHANGED 533
1104 #define WM_CHANGECBCHAIN 781
1105 #define WM_CHAR 258
1106 #define WM_CHARTOITEM 47
1107 #define WM_CHILDACTIVATE 34
1108 #define WM_CLEAR 771
1109 #define WM_CLOSE 16
1110 #define WM_COMMAND 273
1111 #define WM_COMMNOTIFY 68 /* obsolete */
1112 #define WM_COMPACTING 65
1113 #define WM_COMPAREITEM 57
1114 #define WM_CONTEXTMENU 123
1115 #define WM_COPY 769
1116 #define WM_COPYDATA 74
1117 #define WM_CREATE 1
1118 #define WM_CTLCOLORBTN 309
1119 #define WM_CTLCOLORDLG 310
1120 #define WM_CTLCOLOREDIT 307
1121 #define WM_CTLCOLORLISTBOX 308
1122 #define WM_CTLCOLORMSGBOX 306
1123 #define WM_CTLCOLORSCROLLBAR 311
1124 #define WM_CTLCOLORSTATIC 312
1125 #define WM_CUT 768
1126 #define WM_DEADCHAR 259
1127 #define WM_DELETEITEM 45
1128 #define WM_DESTROY 2
1129 #define WM_DESTROYCLIPBOARD 775
1130 #define WM_DEVICECHANGE 537
1131 #define WM_DEVMODECHANGE 27
1132 #define WM_DISPLAYCHANGE 126
1133 #define WM_DRAWCLIPBOARD 776
1134 #define WM_DRAWITEM 43
1135 #define WM_DROPFILES 563
1136 #define WM_ENABLE 10
1137 #define WM_ENDSESSION 22
1138 #define WM_ENTERIDLE 289
1139 #define WM_ENTERMENULOOP 529
1140 #define WM_ENTERSIZEMOVE 561
1141 #define WM_ERASEBKGND 20
1142 #define WM_EXITMENULOOP 530
1143 #define WM_EXITSIZEMOVE 562
1144 #define WM_FONTCHANGE 29
1145 #define WM_GETDLGCODE 135
1146 #define WM_GETFONT 49
1147 #define WM_GETHOTKEY 51
1148 #define WM_GETICON 127
1149 #define WM_GETMINMAXINFO 36
1150 #define WM_GETTEXT 13
1151 #define WM_GETTEXTLENGTH 14
1152 /* FIXME/CHECK: Are WM_HANDHEL{FIRST,LAST} valid for WINVER < 0x400? */
1153 #define WM_HANDHELDFIRST 856
1154 #define WM_HANDHELDLAST 863
1155 #define WM_HELP 83
1156 #define WM_HOTKEY 786
1157 #define WM_HSCROLL 276
1158 #define WM_HSCROLLCLIPBOARD 782
1159 #define WM_ICONERASEBKGND 39
1160 #define WM_INITDIALOG 272
1161 #define WM_INITMENU 278
1162 #define WM_INITMENUPOPUP 279
1163 #define WM_INPUTLANGCHANGE 81
1164 #define WM_INPUTLANGCHANGEREQUEST 80
1165 #define WM_KEYDOWN 256
1166 #define WM_KEYUP 257
1167 #define WM_KILLFOCUS 8
1168 #define WM_MDIACTIVATE 546
1169 #define WM_MDICASCADE 551
1170 #define WM_MDICREATE 544
1171 #define WM_MDIDESTROY 545
1172 #define WM_MDIGETACTIVE 553
1173 #define WM_MDIICONARRANGE 552
1174 #define WM_MDIMAXIMIZE 549
1175 #define WM_MDINEXT 548
1176 #define WM_MDIREFRESHMENU 564
1177 #define WM_MDIRESTORE 547
1178 #define WM_MDISETMENU 560
1179 #define WM_MDITILE 550
1180 #define WM_MEASUREITEM 44
1181 #define WM_MENUCHAR 288
1182 #define WM_MENUSELECT 287
1183 #define WM_NEXTMENU 531
1184 #define WM_MOVE 3
1185 #define WM_MOVING 534
1186 #define WM_NCACTIVATE 134
1187 #define WM_NCCALCSIZE 131
1188 #define WM_NCCREATE 129
1189 #define WM_NCDESTROY 130
1190 #define WM_NCHITTEST 132
1191 #define WM_NCLBUTTONDBLCLK 163
1192 #define WM_NCLBUTTONDOWN 161
1193 #define WM_NCLBUTTONUP 162
1194 #define WM_NCMBUTTONDBLCLK 169
1195 #define WM_NCMBUTTONDOWN 167
1196 #define WM_NCMBUTTONUP 168
1197 #define WM_NCMOUSEMOVE 160
1198 #define WM_NCPAINT 133
1199 #define WM_NCRBUTTONDBLCLK 166
1200 #define WM_NCRBUTTONDOWN 164
1201 #define WM_NCRBUTTONUP 165
1202 #define WM_NEXTDLGCTL 40
1203 #define WM_NEXTMENU 531
1204 #define WM_NOTIFY 78
1205 #define WM_NOTIFYFORMAT 85
1206 #define WM_NULL 0
1207 #define WM_PAINT 15
1208 #define WM_PAINTCLIPBOARD 777
1209 #define WM_PAINTICON 38
1210 #define WM_PALETTECHANGED 785
1211 #define WM_PALETTEISCHANGING 784
1212 #define WM_PARENTNOTIFY 528
1213 #define WM_PASTE 770
1214 #define WM_PENWINFIRST 896
1215 #define WM_PENWINLAST 911
1216 #define WM_POWER 72
1217 #define WM_POWERBROADCAST 536
1218 #define WM_PRINT 791
1219 #define WM_PRINTCLIENT 792
1220 #define WM_QUERYDRAGICON 55
1221 #define WM_QUERYENDSESSION 17
1222 #define WM_QUERYNEWPALETTE 783
1223 #define WM_QUERYOPEN 19
1224 #define WM_QUEUESYNC 35
1225 #define WM_QUIT 18
1226 #define WM_RENDERALLFORMATS 774
1227 #define WM_RENDERFORMAT 773
1228 #define WM_SETCURSOR 32
1229 #define WM_SETFOCUS 7
1230 #define WM_SETFONT 48
1231 #define WM_SETHOTKEY 50
1232 #define WM_SETICON 128
1233 #define WM_SETREDRAW 11
1234 #define WM_SETTEXT 12
1235 #define WM_SETTINGCHANGE 26
1236 #define WM_SHOWWINDOW 24
1237 #define WM_SIZE 5
1238 #define WM_SIZECLIPBOARD 779
1239 #define WM_SIZING 532
1240 #define WM_SPOOLERSTATUS 42
1241 #define WM_STYLECHANGED 125
1242 #define WM_STYLECHANGING 124
1243 #define WM_SYSCHAR 262
1244 #define WM_SYSCOLORCHANGE 21
1245 #define WM_SYSCOMMAND 274
1246 #define WM_SYSDEADCHAR 263
1247 #define WM_SYSKEYDOWN 260
1248 #define WM_SYSKEYUP 261
1249 #define WM_TCARD 82
1250 #define WM_TIMECHANGE 30
1251 #define WM_TIMER 275
1252 #define WM_UNDO 772
1253 #define WM_USER 1024
1254 #define WM_USERCHANGED 84
1255 #define WM_VKEYTOITEM 46
1256 #define WM_VSCROLL 277
1257 #define WM_VSCROLLCLIPBOARD 778
1258 #define WM_WINDOWPOSCHANGED 71
1259 #define WM_WINDOWPOSCHANGING 70
1260 #define WM_WININICHANGE 26
1261 #define WM_KEYFIRST 256
1262 #define WM_KEYLAST 264
1263 #define WM_SYNCPAINT 136
1264 #define WM_MOUSEACTIVATE 33
1265 #define WM_MOUSEMOVE 512
1266 #define WM_LBUTTONDOWN 513
1267 #define WM_LBUTTONUP 514
1268 #define WM_LBUTTONDBLCLK 515
1269 #define WM_RBUTTONDOWN 516
1270 #define WM_RBUTTONUP 517
1271 #define WM_RBUTTONDBLCLK 518
1272 #define WM_MBUTTONDOWN 519
1273 #define WM_MBUTTONUP 520
1274 #define WM_MBUTTONDBLCLK 521
1275 #define WM_MOUSEWHEEL 522
1276 #define WM_MOUSEFIRST 512
1277 #define WM_MOUSELAST 522
1278 #define WM_MOUSEHOVER 0x2A1
1279 #define WM_MOUSELEAVE 0x2A3
1280 #if(_WIN32_WINNT >= 0x0400)
1281 #define WHEEL_DELTA 120
1282 #define GET_WHEEL_DELTA_WPARAM(wparam) ((short)HIWORD (wparam))
1283 #endif
1284 #define BM_CLICK 245
1285 #define BM_GETCHECK 240
1286 #define BM_GETIMAGE 246
1287 #define BM_GETSTATE 242
1288 #define BM_SETCHECK 241
1289 #define BM_SETIMAGE 247
1290 #define BM_SETSTATE 243
1291 #define BM_SETSTYLE 244
1292 #define BN_CLICKED 0
1293 #define BN_DBLCLK 5
1294 #define BN_DISABLE 4
1295 #define BN_DOUBLECLICKED 5
1296 #define BN_HILITE 2
1297 #define BN_KILLFOCUS 7
1298 #define BN_PAINT 1
1299 #define BN_PUSHED 2
1300 #define BN_SETFOCUS 6
1301 #define BN_UNHILITE 3
1302 #define BN_UNPUSHED 3
1303 #define CB_ADDSTRING 323
1304 #define CB_DELETESTRING 324
1305 #define CB_DIR 325
1306 #define CB_FINDSTRING 332
1307 #define CB_FINDSTRINGEXACT 344
1308 #define CB_GETCOUNT 326
1309 #define CB_GETCURSEL 327
1310 #define CB_GETDROPPEDCONTROLRECT 338
1311 #define CB_GETDROPPEDSTATE 343
1312 #define CB_GETDROPPEDWIDTH 351
1313 #define CB_GETEDITSEL 320
1314 #define CB_GETEXTENDEDUI 342
1315 #define CB_GETHORIZONTALEXTENT 349
1316 #define CB_GETITEMDATA 336
1317 #define CB_GETITEMHEIGHT 340
1318 #define CB_GETLBTEXT 328
1319 #define CB_GETLBTEXTLEN 329
1320 #define CB_GETLOCALE 346
1321 #define CB_GETTOPINDEX 347
1322 #define CB_INITSTORAGE 353
1323 #define CB_INSERTSTRING 330
1324 #define CB_LIMITTEXT 321
1325 #define CB_RESETCONTENT 331
1326 #define CB_SELECTSTRING 333
1327 #define CB_SETCURSEL 334
1328 #define CB_SETDROPPEDWIDTH 352
1329 #define CB_SETEDITSEL 322
1330 #define CB_SETEXTENDEDUI 341
1331 #define CB_SETHORIZONTALEXTENT 350
1332 #define CB_SETITEMDATA 337
1333 #define CB_SETITEMHEIGHT 339
1334 #define CB_SETLOCALE 345
1335 #define CB_SETTOPINDEX 348
1336 #define CB_SHOWDROPDOWN 335
1337 #define CBN_CLOSEUP 8
1338 #define CBN_DBLCLK 2
1339 #define CBN_DROPDOWN 7
1340 #define CBN_EDITCHANGE 5
1341 #define CBN_EDITUPDATE 6
1342 #define CBN_ERRSPACE (-1)
1343 #define CBN_KILLFOCUS 4
1344 #define CBN_SELCHANGE 1
1345 #define CBN_SELENDCANCEL 10
1346 #define CBN_SELENDOK 9
1347 #define CBN_SETFOCUS 3
1348 #define EM_CANUNDO 198
1349 #define EM_CHARFROMPOS 215
1350 #define EM_EMPTYUNDOBUFFER 205
1351 #define EM_FMTLINES 200
1352 #define EM_GETFIRSTVISIBLELINE 206
1353 #define EM_GETHANDLE 189
1354 #define EM_GETLIMITTEXT 213
1355 #define EM_GETLINE 196
1356 #define EM_GETLINECOUNT 186
1357 #define EM_GETMARGINS 212
1358 #define EM_GETMODIFY 184
1359 #define EM_GETPASSWORDCHAR 210
1360 #define EM_GETRECT 178
1361 #define EM_GETSEL 176
1362 #define EM_GETTHUMB 190
1363 #define EM_GETWORDBREAKPROC 209
1364 #define EM_LIMITTEXT 197
1365 #define EM_LINEFROMCHAR 201
1366 #define EM_LINEINDEX 187
1367 #define EM_LINELENGTH 193
1368 #define EM_LINESCROLL 182
1369 #define EM_POSFROMCHAR 214
1370 #define EM_REPLACESEL 194
1371 #define EM_SCROLL 181
1372 #define EM_SCROLLCARET 183
1373 #define EM_SETHANDLE 188
1374 #define EM_SETLIMITTEXT 197
1375 #define EM_SETMARGINS 211
1376 #define EM_SETMODIFY 185
1377 #define EM_SETPASSWORDCHAR 204
1378 #define EM_SETREADONLY 207
1379 #define EM_SETRECT 179
1380 #define EM_SETRECTNP 180
1381 #define EM_SETSEL 177
1382 #define EM_SETTABSTOPS 203
1383 #define EM_SETWORDBREAKPROC 208
1384 #define EM_UNDO 199
1385 #define EN_CHANGE 768
1386 #define EN_ERRSPACE 1280
1387 #define EN_HSCROLL 1537
1388 #define EN_KILLFOCUS 512
1389 #define EN_MAXTEXT 1281
1390 #define EN_SETFOCUS 256
1391 #define EN_UPDATE 1024
1392 #define EN_VSCROLL 1538
1393 #define LB_ADDFILE 406
1394 #define LB_ADDSTRING 384
1395 #define LB_DELETESTRING 386
1396 #define LB_DIR 397
1397 #define LB_FINDSTRING 399
1398 #define LB_FINDSTRINGEXACT 418
1399 #define LB_GETANCHORINDEX 413
1400 #define LB_GETCARETINDEX 415
1401 #define LB_GETCOUNT 395
1402 #define LB_GETCURSEL 392
1403 #define LB_GETHORIZONTALEXTENT 403
1404 #define LB_GETITEMDATA 409
1405 #define LB_GETITEMHEIGHT 417
1406 #define LB_GETITEMRECT 408
1407 #define LB_GETLOCALE 422
1408 #define LB_GETSEL 391
1409 #define LB_GETSELCOUNT 400
1410 #define LB_GETSELITEMS 401
1411 #define LB_GETTEXT 393
1412 #define LB_GETTEXTLEN 394
1413 #define LB_GETTOPINDEX 398
1414 #define LB_INITSTORAGE 424
1415 #define LB_INSERTSTRING 385
1416 #define LB_ITEMFROMPOINT 425
1417 #define LB_RESETCONTENT 388
1418 #define LB_SELECTSTRING 396
1419 #define LB_SELITEMRANGE 411
1420 #define LB_SELITEMRANGEEX 387
1421 #define LB_SETANCHORINDEX 412
1422 #define LB_SETCARETINDEX 414
1423 #define LB_SETCOLUMNWIDTH 405
1424 #define LB_SETCOUNT 423
1425 #define LB_SETCURSEL 390
1426 #define LB_SETHORIZONTALEXTENT 404
1427 #define LB_SETITEMDATA 410
1428 #define LB_SETITEMHEIGHT 416
1429 #define LB_SETLOCALE 421
1430 #define LB_SETSEL 389
1431 #define LB_SETTABSTOPS 402
1432 #define LB_SETTOPINDEX 407
1433 #define LBN_DBLCLK 2
1434 #define LBN_ERRSPACE (-2)
1435 #define LBN_KILLFOCUS 5
1436 #define LBN_SELCANCEL 3
1437 #define LBN_SELCHANGE 1
1438 #define LBN_SETFOCUS 4
1439 #define SBM_ENABLE_ARROWS 228
1440 #define SBM_GETPOS 225
1441 #define SBM_GETRANGE 227
1442 #define SBM_GETSCROLLINFO 234
1443 #define SBM_SETPOS 224
1444 #define SBM_SETRANGE 226
1445 #define SBM_SETRANGEREDRAW 230
1446 #define SBM_SETSCROLLINFO 233
1447 #define STM_GETICON 369
1448 #define STM_GETIMAGE 371
1449 #define STM_SETICON 368
1450 #define STM_SETIMAGE 370
1451 #define STN_CLICKED 0
1452 #define STN_DBLCLK 1
1453 #define STN_DISABLE 3
1454 #define STN_ENABLE 2
1455 #define DM_GETDEFID WM_USER
1456 #define DM_SETDEFID (WM_USER+1)
1457 #define DM_REPOSITION (WM_USER+2)
1458 #define PSM_PAGEINFO (WM_USER+100)
1459 #define PSM_SHEETINFO (WM_USER+101)
1460 #define PSI_SETACTIVE 1
1461 #define PSI_KILLACTIVE 2
1462 #define PSI_APPLY 3
1463 #define PSI_RESET 4
1464 #define PSI_HASHELP 5
1465 #define PSI_HELP 6
1466 #define PSI_CHANGED 1
1467 #define PSI_GUISTART 2
1468 #define PSI_REBOOT 3
1469 #define PSI_GETSIBLINGS 4
1470 #define DCX_WINDOW 1
1471 #define DCX_CACHE 2
1472 #define DCX_PARENTCLIP 32
1473 #define DCX_CLIPSIBLINGS 16
1474 #define DCX_CLIPCHILDREN 8
1475 #define DCX_NORESETATTRS 4
1476 #define DCX_LOCKWINDOWUPDATE 0x400
1477 #define DCX_EXCLUDERGN 64
1478 #define DCX_INTERSECTRGN 128
1479 #define DCX_VALIDATE 0x200000
1480 #define GMDI_GOINTOPOPUPS 2
1481 #define GMDI_USEDISABLED 1
1482 #define FKF_AVAILABLE 2
1483 #define FKF_CLICKON 64
1484 #define FKF_FILTERKEYSON 1
1485 #define FKF_HOTKEYACTIVE 4
1486 #define FKF_HOTKEYSOUND 16
1487 #define FKF_CONFIRMHOTKEY 8
1488 #define FKF_INDICATOR 32
1489 #define HCF_HIGHCONTRASTON 1
1490 #define HCF_AVAILABLE 2
1491 #define HCF_HOTKEYACTIVE 4
1492 #define HCF_CONFIRMHOTKEY 8
1493 #define HCF_HOTKEYSOUND 16
1494 #define HCF_INDICATOR 32
1495 #define HCF_HOTKEYAVAILABLE 64
1496 #define MKF_AVAILABLE 2
1497 #define MKF_CONFIRMHOTKEY 8
1498 #define MKF_HOTKEYACTIVE 4
1499 #define MKF_HOTKEYSOUND 16
1500 #define MKF_INDICATOR 32
1501 #define MKF_MOUSEKEYSON 1
1502 #define MKF_MODIFIERS 64
1503 #define MKF_REPLACENUMBERS 128
1504 #define SERKF_ACTIVE 8 /* May be obsolete. Not in recent MS docs. */
1505 #define SERKF_AVAILABLE 2
1506 #define SERKF_INDICATOR 4
1507 #define SERKF_SERIALKEYSON 1
1508 #define SSF_AVAILABLE 2
1509 #define SSF_SOUNDSENTRYON 1
1510 #define SSTF_BORDER 2
1511 #define SSTF_CHARS 1
1512 #define SSTF_DISPLAY 3
1513 #define SSTF_NONE 0
1514 #define SSGF_DISPLAY 3
1515 #define SSGF_NONE 0
1516 #define SSWF_CUSTOM 4
1517 #define SSWF_DISPLAY 3
1518 #define SSWF_NONE 0
1519 #define SSWF_TITLE 1
1520 #define SSWF_WINDOW 2
1521 #define SKF_AUDIBLEFEEDBACK 64
1522 #define SKF_AVAILABLE 2
1523 #define SKF_CONFIRMHOTKEY 8
1524 #define SKF_HOTKEYACTIVE 4
1525 #define SKF_HOTKEYSOUND 16
1526 #define SKF_INDICATOR 32
1527 #define SKF_STICKYKEYSON 1
1528 #define SKF_TRISTATE 128
1529 #define SKF_TWOKEYSOFF 256
1530 #define TKF_AVAILABLE 2
1531 #define TKF_CONFIRMHOTKEY 8
1532 #define TKF_HOTKEYACTIVE 4
1533 #define TKF_HOTKEYSOUND 16
1534 #define TKF_TOGGLEKEYSON 1
1535 #define MDITILE_SKIPDISABLED 2
1536 #define MDITILE_HORIZONTAL 1
1537 #define MDITILE_VERTICAL 0
1538 #define VK_LBUTTON 1
1539 #define VK_RBUTTON 2
1540 #define VK_CANCEL 3
1541 #define VK_MBUTTON 4
1542 #define VK_BACK 8
1543 #define VK_TAB 9
1544 #define VK_CLEAR 12
1545 #define VK_RETURN 13
1546 #define VK_KANA 15
1547 #define VK_SHIFT 16
1548 #define VK_CONTROL 17
1549 #define VK_MENU 18
1550 #define VK_PAUSE 19
1551 #define VK_CAPITAL 20
1552 #define VK_ESCAPE 0x1B
1553 #define VK_SPACE 32
1554 #define VK_PRIOR 33
1555 #define VK_NEXT 34
1556 #define VK_END 35
1557 #define VK_HOME 36
1558 #define VK_LEFT 37
1559 #define VK_UP 38
1560 #define VK_RIGHT 39
1561 #define VK_DOWN 40
1562 #define VK_SELECT 41
1563 #define VK_PRINT 42
1564 #define VK_EXECUTE 43
1565 #define VK_SNAPSHOT 44
1566 #define VK_INSERT 45
1567 #define VK_DELETE 46
1568 #define VK_HELP 47
1569 #define VK_LWIN 0x5B
1570 #define VK_RWIN 0x5C
1571 #define VK_APPS 0x5D
1572 #define VK_NUMPAD0 0x60
1573 #define VK_NUMPAD1 0x61
1574 #define VK_NUMPAD2 0x62
1575 #define VK_NUMPAD3 0x63
1576 #define VK_NUMPAD4 0x64
1577 #define VK_NUMPAD5 0x65
1578 #define VK_NUMPAD6 0x66
1579 #define VK_NUMPAD7 0x67
1580 #define VK_NUMPAD8 0x68
1581 #define VK_NUMPAD9 0x69
1582 #define VK_MULTIPLY 0x6A
1583 #define VK_ADD 0x6B
1584 #define VK_SEPARATOR 0x6C
1585 #define VK_SUBTRACT 0x6D
1586 #define VK_DECIMAL 0x6E
1587 #define VK_DIVIDE 0x6F
1588 #define VK_F1 0x70
1589 #define VK_F2 0x71
1590 #define VK_F3 0x72
1591 #define VK_F4 0x73
1592 #define VK_F5 0x74
1593 #define VK_F6 0x75
1594 #define VK_F7 0x76
1595 #define VK_F8 0x77
1596 #define VK_F9 0x78
1597 #define VK_F10 0x79
1598 #define VK_F11 0x7A
1599 #define VK_F12 0x7B
1600 #define VK_F13 0x7C
1601 #define VK_F14 0x7D
1602 #define VK_F15 0x7E
1603 #define VK_F16 0x7F
1604 #define VK_F17 0x80
1605 #define VK_F18 0x81
1606 #define VK_F19 0x82
1607 #define VK_F20 0x83
1608 #define VK_F21 0x84
1609 #define VK_F22 0x85
1610 #define VK_F23 0x86
1611 #define VK_F24 0x87
1612 #define VK_NUMLOCK 0x90
1613 #define VK_SCROLL 0x91
1614 #define VK_LSHIFT 0xA0
1615 #define VK_RSHIFT 0xA1
1616 #define VK_LCONTROL 0xA2
1617 #define VK_RCONTROL 0xA3
1618 #define VK_LMENU 0xA4
1619 #define VK_RMENU 0xA5
1620 #define VK_PROCESSKEY 0xE5
1621 #define VK_ATTN 0xF6
1622 #define VK_CRSEL 0xF7
1623 #define VK_EXSEL 0xF8
1624 #define VK_EREOF 0xF9
1625 #define VK_PLAY 0xFA
1626 #define VK_ZOOM 0xFB
1627 #define VK_NONAME 0xFC
1628 #define VK_PA1 0xFD
1629 #define VK_OEM_CLEAR 0xFE
1630 #define TME_HOVER 1
1631 #define TME_LEAVE 2
1632 #define TME_QUERY 0x40000000
1633 #define TME_CANCEL 0x80000000
1634 #define HOVER_DEFAULT 0xFFFFFFFF
1635 #define MK_LBUTTON 1
1636 #define MK_RBUTTON 2
1637 #define MK_SHIFT 4
1638 #define MK_CONTROL 8
1639 #define MK_MBUTTON 16
1640 #define TPM_CENTERALIGN 4
1641 #define TPM_LEFTALIGN 0
1642 #define TPM_RIGHTALIGN 8
1643 #define TPM_LEFTBUTTON 0
1644 #define TPM_RIGHTBUTTON 2
1645 #define TPM_HORIZONTAL 0
1646 #define TPM_VERTICAL 64
1647 #define TPM_TOPALIGN 0
1648 #define TPM_VCENTERALIGN 16
1649 #define TPM_BOTTOMALIGN 32
1650 #define TPM_NONOTIFY 128
1651 #define TPM_RETURNCMD 256
1652 #define HELP_COMMAND 0x102
1653 #define HELP_CONTENTS 3
1654 #define HELP_CONTEXT 1
1655 #define HELP_CONTEXTPOPUP 8
1656 #define HELP_FORCEFILE 9
1657 #define HELP_HELPONHELP 4
1658 #define HELP_INDEX 3
1659 #define HELP_KEY 0x101
1660 #define HELP_MULTIKEY 0x201
1661 #define HELP_PARTIALKEY 0x105
1662 #define HELP_QUIT 2
1663 #define HELP_SETCONTENTS 5
1664 #define HELP_SETINDEX 5
1665 #define HELP_CONTEXTMENU 0xa
1666 #define HELP_FINDER 0xb
1667 #define HELP_WM_HELP 0xc
1668 #define HELP_TCARD 0x8000
1669 #define HELP_TCARD_DATA 16
1670 #define HELP_TCARD_OTHER_CALLER 0x11
1671 #define IDH_NO_HELP 28440
1672 #define IDH_MISSING_CONTEXT 28441
1673 #define IDH_GENERIC_HELP_BUTTON 28442
1674 #define IDH_OK 28443
1675 #define IDH_CANCEL 28444
1676 #define IDH_HELP 28445
1677 #define LB_CTLCODE 0
1678 #define LB_OKAY 0
1679 #define LB_ERR (-1)
1680 #define LB_ERRSPACE (-2)
1681 #define CB_OKAY 0
1682 #define CB_ERR (-1)
1683 #define CB_ERRSPACE (-2)
1684 #define HIDE_WINDOW 0
1685 #define SHOW_OPENWINDOW 1
1686 #define SHOW_ICONWINDOW 2
1687 #define SHOW_FULLSCREEN 3
1688 #define SHOW_OPENNOACTIVATE 4
1689 #define SW_PARENTCLOSING 1
1690 #define SW_OTHERZOOM 2
1691 #define SW_PARENTOPENING 3
1692 #define SW_OTHERUNZOOM 4
1693 #define KF_EXTENDED 256
1694 #define KF_DLGMODE 2048
1695 #define KF_MENUMODE 4096
1696 #define KF_ALTDOWN 8192
1697 #define KF_REPEAT 16384
1698 #define KF_UP 32768
1699 #define WSF_VISIBLE 1
1700 #define PWR_OK 1
1701 #define PWR_FAIL (-1)
1702 #define PWR_SUSPENDREQUEST 1
1703 #define PWR_SUSPENDRESUME 2
1704 #define PWR_CRITICALRESUME 3
1705 #define NFR_ANSI 1
1706 #define NFR_UNICODE 2
1707 #define NF_QUERY 3
1708 #define NF_REQUERY 4
1709 #define MENULOOP_WINDOW 0
1710 #define MENULOOP_POPUP 1
1711 #define WMSZ_LEFT 1
1712 #define WMSZ_RIGHT 2
1713 #define WMSZ_TOP 3
1714 #define WMSZ_TOPLEFT 4
1715 #define WMSZ_TOPRIGHT 5
1716 #define WMSZ_BOTTOM 6
1717 #define WMSZ_BOTTOMLEFT 7
1718 #define WMSZ_BOTTOMRIGHT 8
1719 #define HTERROR (-2)
1720 #define HTTRANSPARENT (-1)
1721 #define HTNOWHERE 0
1722 #define HTCLIENT 1
1723 #define HTCAPTION 2
1724 #define HTSYSMENU 3
1725 #define HTGROWBOX 4
1726 #define HTSIZE 4
1727 #define HTMENU 5
1728 #define HTHSCROLL 6
1729 #define HTVSCROLL 7
1730 #define HTMINBUTTON 8
1731 #define HTMAXBUTTON 9
1732 #define HTREDUCE 8
1733 #define HTZOOM 9
1734 #define HTLEFT 10
1735 #define HTSIZEFIRST 10
1736 #define HTRIGHT 11
1737 #define HTTOP 12
1738 #define HTTOPLEFT 13
1739 #define HTTOPRIGHT 14
1740 #define HTBOTTOM 15
1741 #define HTBOTTOMLEFT 16
1742 #define HTBOTTOMRIGHT 17
1743 #define HTSIZELAST 17
1744 #define HTBORDER 18
1745 #define HTOBJECT 19
1746 #define HTCLOSE 20
1747 #define HTHELP 21
1748 #define MA_ACTIVATE 1
1749 #define MA_ACTIVATEANDEAT 2
1750 #define MA_NOACTIVATE 3
1751 #define MA_NOACTIVATEANDEAT 4
1752 #define SIZE_RESTORED 0
1753 #define SIZE_MINIMIZED 1
1754 #define SIZE_MAXIMIZED 2
1755 #define SIZE_MAXSHOW 3
1756 #define SIZE_MAXHIDE 4
1757 #define SIZENORMAL 0
1758 #define SIZEICONIC 1
1759 #define SIZEFULLSCREEN 2
1760 #define SIZEZOOMSHOW 3
1761 #define SIZEZOOMHIDE 4
1762 #define WVR_ALIGNTOP 16
1763 #define WVR_ALIGNLEFT 32
1764 #define WVR_ALIGNBOTTOM 64
1765 #define WVR_ALIGNRIGHT 128
1766 #define WVR_HREDRAW 256
1767 #define WVR_VREDRAW 512
1768 #define WVR_REDRAW (WVR_HREDRAW|WVR_VREDRAW)
1769 #define WVR_VALIDRECTS 1024
1770 #define PRF_CHECKVISIBLE 1
1771 #define PRF_NONCLIENT 2
1772 #define PRF_CLIENT 4
1773 #define PRF_ERASEBKGND 8
1774 #define PRF_CHILDREN 16
1775 #define PRF_OWNED 32
1776 #define IDANI_OPEN 1
1777 #define IDANI_CLOSE 2
1778 #define IDANI_CAPTION 3
1779 #define WPF_RESTORETOMAXIMIZED 2
1780 #define WPF_SETMINPOSITION 1
1781 #define ODT_MENU 1
1782 #define ODT_LISTBOX 2
1783 #define ODT_COMBOBOX 3
1784 #define ODT_BUTTON 4
1785 #define ODT_STATIC 5
1786 #define ODA_DRAWENTIRE 1
1787 #define ODA_SELECT 2
1788 #define ODA_FOCUS 4
1789 #define ODS_SELECTED 1
1790 #define ODS_GRAYED 2
1791 #define ODS_DISABLED 4
1792 #define ODS_CHECKED 8
1793 #define ODS_FOCUS 16
1794 #define ODS_DEFAULT 32
1795 #define ODS_COMBOBOXEDIT 4096
1796 #define IDHOT_SNAPWINDOW (-1)
1797 #define IDHOT_SNAPDESKTOP (-2)
1798 #define DBWF_LPARAMPOINTER 0x8000
1799 #define DLGWINDOWEXTRA 30
1800 #define MNC_IGNORE 0
1801 #define MNC_CLOSE 1
1802 #define MNC_EXECUTE 2
1803 #define MNC_SELECT 3
1804 #define DOF_EXECUTABLE 0x8001
1805 #define DOF_DOCUMENT 0x8002
1806 #define DOF_DIRECTORY 0x8003
1807 #define DOF_MULTIPLE 0x8004
1808 #define DOF_PROGMAN 1
1809 #define DOF_SHELLDATA 2
1810 #define DO_DROPFILE 0x454C4946
1811 #define DO_PRINTFILE 0x544E5250
1812 #define SW_SCROLLCHILDREN 1
1813 #define SW_INVALIDATE 2
1814 #define SW_ERASE 4
1815 #define SC_SIZE 0xF000
1816 #define SC_MOVE 0xF010
1817 #define SC_MINIMIZE 0xF020
1818 #define SC_ICON 0xf020
1819 #define SC_MAXIMIZE 0xF030
1820 #define SC_ZOOM 0xF030
1821 #define SC_NEXTWINDOW 0xF040
1822 #define SC_PREVWINDOW 0xF050
1823 #define SC_CLOSE 0xF060
1824 #define SC_VSCROLL 0xF070
1825 #define SC_HSCROLL 0xF080
1826 #define SC_MOUSEMENU 0xF090
1827 #define SC_KEYMENU 0xF100
1828 #define SC_ARRANGE 0xF110
1829 #define SC_RESTORE 0xF120
1830 #define SC_TASKLIST 0xF130
1831 #define SC_SCREENSAVE 0xF140
1832 #define SC_HOTKEY 0xF150
1833 #define SC_DEFAULT 0xF160
1834 #define SC_MONITORPOWER 0xF170
1835 #define SC_CONTEXTHELP 0xF180
1836 #define SC_SEPARATOR 0xF00F
1837 #define EC_LEFTMARGIN 1
1838 #define EC_RIGHTMARGIN 2
1839 #define EC_USEFONTINFO 0xffff
1840 #define DC_HASDEFID 0x534B
1841 #define DLGC_WANTARROWS 1
1842 #define DLGC_WANTTAB 2
1843 #define DLGC_WANTALLKEYS 4
1844 #define DLGC_WANTMESSAGE 4
1845 #define DLGC_HASSETSEL 8
1846 #define DLGC_DEFPUSHBUTTON 16
1847 #define DLGC_UNDEFPUSHBUTTON 32
1848 #define DLGC_RADIOBUTTON 64
1849 #define DLGC_WANTCHARS 128
1850 #define DLGC_STATIC 256
1851 #define DLGC_BUTTON 0x2000
1852 #define LB_CTLCODE 0
1853 #define WA_INACTIVE 0
1854 #define WA_ACTIVE 1
1855 #define WA_CLICKACTIVE 2
1856 #define ICON_SMALL 0
1857 #define ICON_BIG 1
1858 #define HBMMENU_CALLBACK ((HBITMAP) -1)
1859 #define HBMMENU_SYSTEM ((HBITMAP)1)
1860 #define HBMMENU_MBAR_RESTORE ((HBITMAP)2)
1861 #define HBMMENU_MBAR_MINIMIZE ((HBITMAP)3)
1862 #define HBMMENU_MBAR_CLOSE ((HBITMAP)5)
1863 #define HBMMENU_MBAR_CLOSE_D ((HBITMAP)6)
1864 #define HBMMENU_MBAR_MINIMIZE_D ((HBITMAP)7)
1865 #define HBMMENU_POPUP_CLOSE ((HBITMAP)8)
1866 #define HBMMENU_POPUP_RESTORE ((HBITMAP)9)
1867 #define HBMMENU_POPUP_MAXIMIZE ((HBITMAP)10)
1868 #define HBMMENU_POPUP_MINIMIZE ((HBITMAP)11)
1869 #define MOD_ALT 1
1870 #define MOD_CONTROL 2
1871 #define MOD_SHIFT 4
1872 #define MOD_WIN 8
1873 #define MOD_IGNORE_ALL_MODIFIER 1024
1874 #define MOD_ON_KEYUP 2048
1875 #define MOD_RIGHT 16384
1876 #define MOD_LEFT 32768
1877 #define LLKHF_ALTDOWN 0x00000020
1879 #ifndef RC_INVOKED
1880 typedef BOOL(CALLBACK *DLGPROC)(HWND,UINT,WPARAM,LPARAM);
1881 typedef VOID(CALLBACK *TIMERPROC)(HWND,UINT,UINT,DWORD);
1882 typedef BOOL(CALLBACK *GRAYSTRINGPROC)(HDC,LPARAM,int);
1883 typedef LRESULT(CALLBACK *HOOKPROC)(int,WPARAM,LPARAM);
1884 typedef BOOL(CALLBACK *PROPENUMPROCA)(HWND,LPCSTR,HANDLE);
1885 typedef BOOL(CALLBACK *PROPENUMPROCW)(HWND,LPCWSTR,HANDLE);
1886 typedef BOOL(CALLBACK *PROPENUMPROCEXA)(HWND,LPSTR,HANDLE,DWORD);
1887 typedef BOOL(CALLBACK *PROPENUMPROCEXW)(HWND,LPWSTR,HANDLE,DWORD);
1888 typedef int(CALLBACK *EDITWORDBREAKPROCA)(LPSTR,int,int,int);
1889 typedef int(CALLBACK *EDITWORDBREAKPROCW)(LPWSTR,int,int,int);
1890 typedef LRESULT(CALLBACK *WNDPROC)(HWND,UINT,WPARAM,LPARAM);
1891 typedef BOOL(CALLBACK *DRAWSTATEPROC)(HDC,LPARAM,WPARAM,int,int);
1892 typedef BOOL(CALLBACK *WNDENUMPROC)(HWND,LPARAM);
1893 typedef BOOL(CALLBACK *ENUMWINDOWSPROC)(HWND,LPARAM);
1894 typedef BOOL(CALLBACK* MONITORENUMPROC)(HMONITOR,HDC,LPRECT,LPARAM);
1895 typedef BOOL(CALLBACK *NAMEENUMPROCA)(LPSTR,LPARAM);
1896 typedef BOOL(CALLBACK *NAMEENUMPROCW)(LPWSTR,LPARAM);
1897 typedef NAMEENUMPROCA DESKTOPENUMPROCA;
1898 typedef NAMEENUMPROCW DESKTOPENUMPROCW;
1899 typedef NAMEENUMPROCA WINSTAENUMPROCA;
1900 typedef NAMEENUMPROCW WINSTAENUMPROCW;
1901 typedef void(CALLBACK *SENDASYNCPROC)(HWND,UINT,DWORD,LRESULT);
1902 DECLARE_HANDLE(HHOOK);
1903 DECLARE_HANDLE(HDWP);
1904 typedef struct tagACCEL {
1905 BYTE fVirt;
1906 WORD key;
1907 WORD cmd;
1908 } ACCEL,*LPACCEL;
1909 typedef struct tagACCESSTIMEOUT {
1910 UINT cbSize;
1911 DWORD dwFlags;
1912 DWORD iTimeOutMSec;
1913 } ACCESSTIMEOUT, *LPACCESSTIMEOUT;
1914 typedef struct tagANIMATIONINFO {
1915 UINT cbSize;
1916 int iMinAnimate;
1917 } ANIMATIONINFO,*LPANIMATIONINFO;
1918 typedef struct tagCREATESTRUCTA {
1919 LPVOID lpCreateParams;
1920 HINSTANCE hInstance;
1921 HMENU hMenu;
1922 HWND hwndParent;
1923 int cy;
1924 int cx;
1925 int y;
1926 int x;
1927 LONG style;
1928 LPCSTR lpszName;
1929 LPCSTR lpszClass;
1930 DWORD dwExStyle;
1931 } CREATESTRUCTA,*LPCREATESTRUCTA;
1932 typedef struct tagCREATESTRUCTW {
1933 LPVOID lpCreateParams;
1934 HINSTANCE hInstance;
1935 HMENU hMenu;
1936 HWND hwndParent;
1937 int cy;
1938 int cx;
1939 int y;
1940 int x;
1941 LONG style;
1942 LPCWSTR lpszName;
1943 LPCWSTR lpszClass;
1944 DWORD dwExStyle;
1945 } CREATESTRUCTW,*LPCREATESTRUCTW;
1946 typedef struct tagCBT_CREATEWNDA {
1947 LPCREATESTRUCTA lpcs;
1948 HWND hwndInsertAfter;
1949 } CBT_CREATEWNDA, *LPCBT_CREATEWNDA;
1950 typedef struct tagCBT_CREATEWNDW {
1951 LPCREATESTRUCTW lpcs;
1952 HWND hwndInsertAfter;
1953 } CBT_CREATEWNDW, *LPCBT_CREATEWNDW;
1954 typedef struct tagCBTACTIVATESTRUCT {
1955 BOOL fMouse;
1956 HWND hWndActive;
1957 } CBTACTIVATESTRUCT,*LPCBTACTIVATESTRUCT;
1958 typedef struct tagCLIENTCREATESTRUCT {
1959 HANDLE hWindowMenu;
1960 UINT idFirstChild;
1961 } CLIENTCREATESTRUCT,*LPCLIENTCREATESTRUCT;
1962 typedef struct tagCOMPAREITEMSTRUCT {
1963 UINT CtlType;
1964 UINT CtlID;
1965 HWND hwndItem;
1966 UINT itemID1;
1967 DWORD itemData1;
1968 UINT itemID2;
1969 DWORD itemData2;
1970 DWORD dwLocaleId;
1971 } COMPAREITEMSTRUCT,*LPCOMPAREITEMSTRUCT;
1972 typedef struct tagCOPYDATASTRUCT {
1973 DWORD dwData;
1974 DWORD cbData;
1975 PVOID lpData;
1976 } COPYDATASTRUCT,*PCOPYDATASTRUCT;
1977 typedef struct tagCURSORSHAPE {
1978 int xHotSpot;
1979 int yHotSpot;
1980 int cx;
1981 int cy;
1982 int cbWidth;
1983 BYTE Planes;
1984 BYTE BitsPixel;
1985 } CURSORSHAPE,*LPCURSORSHAPE;
1986 typedef struct tagCWPRETSTRUCT {
1987 LRESULT lResult;
1988 LPARAM lParam;
1989 WPARAM wParam;
1990 DWORD message;
1991 HWND hwnd;
1992 } CWPRETSTRUCT;
1993 typedef struct tagCWPSTRUCT {
1994 LPARAM lParam;
1995 WPARAM wParam;
1996 UINT message;
1997 HWND hwnd;
1998 } CWPSTRUCT,*PCWPSTRUCT;
1999 typedef struct tagDEBUGHOOKINFO {
2000 DWORD idThread;
2001 DWORD idThreadInstaller;
2002 LPARAM lParam;
2003 WPARAM wParam;
2004 int code;
2005 } DEBUGHOOKINFO,*PDEBUGHOOKINFO,*LPDEBUGHOOKINFO;
2006 typedef struct tagDELETEITEMSTRUCT {
2007 UINT CtlType;
2008 UINT CtlID;
2009 UINT itemID;
2010 HWND hwndItem;
2011 UINT itemData;
2012 } DELETEITEMSTRUCT,*PDELETEITEMSTRUCT,*LPDELETEITEMSTRUCT;
2013 #pragma pack(push,2)
2014 typedef struct {
2015 DWORD style;
2016 DWORD dwExtendedStyle;
2017 short x;
2018 short y;
2019 short cx;
2020 short cy;
2021 WORD id;
2022 } DLGITEMTEMPLATE,*LPDLGITEMTEMPLATE;
2023 typedef struct {
2024 DWORD style;
2025 DWORD dwExtendedStyle;
2026 WORD cdit;
2027 short x;
2028 short y;
2029 short cx;
2030 short cy;
2031 } DLGTEMPLATE,*LPDLGTEMPLATE;
2032 typedef const DLGTEMPLATE *LPCDLGTEMPLATE;
2033 #pragma pack(pop)
2034 typedef struct tagDRAWITEMSTRUCT {
2035 UINT CtlType;
2036 UINT CtlID;
2037 UINT itemID;
2038 UINT itemAction;
2039 UINT itemState;
2040 HWND hwndItem;
2041 HDC hDC;
2042 RECT rcItem;
2043 DWORD itemData;
2044 } DRAWITEMSTRUCT,*LPDRAWITEMSTRUCT,*PDRAWITEMSTRUCT;
2045 typedef struct {
2046 UINT cbSize;
2047 int iTabLength;
2048 int iLeftMargin;
2049 int iRightMargin;
2050 UINT uiLengthDrawn;
2051 } DRAWTEXTPARAMS,*LPDRAWTEXTPARAMS;
2052 typedef struct tagPAINTSTRUCT {
2053 HDC hdc;
2054 BOOL fErase;
2055 RECT rcPaint;
2056 BOOL fRestore;
2057 BOOL fIncUpdate;
2058 BYTE rgbReserved[32];
2059 } PAINTSTRUCT,*LPPAINTSTRUCT;
2060 typedef struct tagMSG {
2061 HWND hwnd;
2062 UINT message;
2063 WPARAM wParam;
2064 LPARAM lParam;
2065 DWORD time;
2066 POINT pt;
2067 } MSG,*LPMSG,*PMSG;
2068 typedef struct _ICONINFO {
2069 BOOL fIcon;
2070 DWORD xHotspot;
2071 DWORD yHotspot;
2072 HBITMAP hbmMask;
2073 HBITMAP hbmColor;
2074 } ICONINFO,*PICONINFO;
2075 typedef struct tagNMHDR {
2076 HWND hwndFrom;
2077 UINT idFrom;
2078 UINT code;
2079 } NMHDR,*LPNMHDR;
2080 typedef struct _WNDCLASSA {
2081 UINT style;
2082 WNDPROC lpfnWndProc;
2083 int cbClsExtra;
2084 int cbWndExtra;
2085 HANDLE hInstance;
2086 HICON hIcon;
2087 HCURSOR hCursor;
2088 HBRUSH hbrBackground;
2089 LPCSTR lpszMenuName;
2090 LPCSTR lpszClassName;
2091 } WNDCLASSA,*LPWNDCLASSA,*PWNDCLASSA;
2092 typedef struct _WNDCLASSW {
2093 UINT style;
2094 WNDPROC lpfnWndProc;
2095 int cbClsExtra;
2096 int cbWndExtra;
2097 HANDLE hInstance;
2098 HICON hIcon;
2099 HCURSOR hCursor;
2100 HBRUSH hbrBackground;
2101 LPCWSTR lpszMenuName;
2102 LPCWSTR lpszClassName;
2103 } WNDCLASSW,*LPWNDCLASSW,*PWNDCLASSW;
2104 typedef struct _WNDCLASSEXA {
2105 UINT cbSize;
2106 UINT style;
2107 WNDPROC lpfnWndProc;
2108 int cbClsExtra;
2109 int cbWndExtra;
2110 HANDLE hInstance;
2111 HICON hIcon;
2112 HCURSOR hCursor;
2113 HBRUSH hbrBackground;
2114 LPCSTR lpszMenuName;
2115 LPCSTR lpszClassName;
2116 HICON hIconSm;
2117 } WNDCLASSEXA,*LPWNDCLASSEXA,*PWNDCLASSEXA;
2118 typedef struct _WNDCLASSEXW {
2119 UINT cbSize;
2120 UINT style;
2121 WNDPROC lpfnWndProc;
2122 int cbClsExtra;
2123 int cbWndExtra;
2124 HANDLE hInstance;
2125 HICON hIcon;
2126 HCURSOR hCursor;
2127 HBRUSH hbrBackground;
2128 LPCWSTR lpszMenuName;
2129 LPCWSTR lpszClassName;
2130 HICON hIconSm;
2131 } WNDCLASSEXW,*LPWNDCLASSEXW,*PWNDCLASSEXW;
2132 typedef struct tagMENUITEMINFOA {
2133 UINT cbSize;
2134 UINT fMask;
2135 UINT fType;
2136 UINT fState;
2137 UINT wID;
2138 HMENU hSubMenu;
2139 HBITMAP hbmpChecked;
2140 HBITMAP hbmpUnchecked;
2141 DWORD dwItemData;
2142 LPSTR dwTypeData;
2143 UINT cch;
2144 #if (_WIN32_WINNT >= 0x0500)
2145 HBITMAP hbmpItem;
2146 #endif
2147 } MENUITEMINFOA,*LPMENUITEMINFOA;
2148 typedef const MENUITEMINFOA *LPCMENUITEMINFOA;
2149 typedef struct tagMENUITEMINFOW {
2150 UINT cbSize;
2151 UINT fMask;
2152 UINT fType;
2153 UINT fState;
2154 UINT wID;
2155 HMENU hSubMenu;
2156 HBITMAP hbmpChecked;
2157 HBITMAP hbmpUnchecked;
2158 DWORD dwItemData;
2159 LPWSTR dwTypeData;
2160 UINT cch;
2161 #if (_WIN32_WINNT >= 0x0500)
2162 HBITMAP hbmpItem;
2163 #endif
2164 } MENUITEMINFOW,*LPMENUITEMINFOW;
2165 typedef const MENUITEMINFOW *LPCMENUITEMINFOW;
2166 typedef struct tagSCROLLINFO {
2167 UINT cbSize;
2168 UINT fMask;
2169 int nMin;
2170 int nMax;
2171 UINT nPage;
2172 int nPos;
2173 int nTrackPos;
2174 } SCROLLINFO,*LPSCROLLINFO;
2175 typedef const SCROLLINFO *LPCSCROLLINFO;
2176 typedef struct _WINDOWPLACEMENT {
2177 UINT length;
2178 UINT flags;
2179 UINT showCmd;
2180 POINT ptMinPosition;
2181 POINT ptMaxPosition;
2182 RECT rcNormalPosition;
2183 } WINDOWPLACEMENT,*LPWINDOWPLACEMENT,*PWINDOWPLACEMENT;
2184 typedef struct {
2185 WORD versionNumber;
2186 WORD offset;
2187 } MENUITEMTEMPLATEHEADER;
2188 typedef struct {
2189 WORD mtOption;
2190 WORD mtID;
2191 WCHAR mtString[1];
2192 } MENUITEMTEMPLATE;
2193 typedef void MENUTEMPLATE,MENUTEMPLATEA,MENUTEMPLATEW,*LPMENUTEMPLATEA,*LPMENUTEMPLATEW,*LPMENUTEMPLATE;
2194 typedef struct tagHELPINFO {
2195 UINT cbSize;
2196 int iContextType;
2197 int iCtrlId;
2198 HANDLE hItemHandle;
2199 DWORD dwContextId;
2200 POINT MousePos;
2201 } HELPINFO,*LPHELPINFO;
2202 typedef void(CALLBACK *MSGBOXCALLBACK)(LPHELPINFO);
2203 typedef struct {
2204 UINT cbSize;
2205 HWND hwndOwner;
2206 HINSTANCE hInstance;
2207 LPCSTR lpszText;
2208 LPCSTR lpszCaption;
2209 DWORD dwStyle;
2210 LPCSTR lpszIcon;
2211 DWORD dwContextHelpId;
2212 MSGBOXCALLBACK lpfnMsgBoxCallback;
2213 DWORD dwLanguageId;
2214 } MSGBOXPARAMSA,*PMSGBOXPARAMSA,*LPMSGBOXPARAMSA;
2215 typedef struct {
2216 UINT cbSize;
2217 HWND hwndOwner;
2218 HINSTANCE hInstance;
2219 LPCWSTR lpszText;
2220 LPCWSTR lpszCaption;
2221 DWORD dwStyle;
2222 LPCWSTR lpszIcon;
2223 DWORD dwContextHelpId;
2224 MSGBOXCALLBACK lpfnMsgBoxCallback;
2225 DWORD dwLanguageId;
2226 } MSGBOXPARAMSW,*PMSGBOXPARAMSW,*LPMSGBOXPARAMSW;
2227 typedef struct tagUSEROBJECTFLAGS {
2228 BOOL fInherit;
2229 BOOL fReserved;
2230 DWORD dwFlags;
2231 } USEROBJECTFLAGS;
2232 typedef struct tagFILTERKEYS {
2233 UINT cbSize;
2234 DWORD dwFlags;
2235 DWORD iWaitMSec;
2236 DWORD iDelayMSec;
2237 DWORD iRepeatMSec;
2238 DWORD iBounceMSec;
2239 } FILTERKEYS;
2240 typedef struct tagHIGHCONTRASTA {
2241 UINT cbSize;
2242 DWORD dwFlags;
2243 LPSTR lpszDefaultScheme;
2244 } HIGHCONTRASTA,*LPHIGHCONTRASTA;
2245 typedef struct tagHIGHCONTRASTW {
2246 UINT cbSize;
2247 DWORD dwFlags;
2248 LPWSTR lpszDefaultScheme;
2249 } HIGHCONTRASTW,*LPHIGHCONTRASTW;
2250 typedef struct tagICONMETRICSA {
2251 UINT cbSize;
2252 int iHorzSpacing;
2253 int iVertSpacing;
2254 int iTitleWrap;
2255 LOGFONTA lfFont;
2256 } ICONMETRICSA,*LPICONMETRICSA;
2257 typedef struct tagICONMETRICSW {
2258 UINT cbSize;
2259 int iHorzSpacing;
2260 int iVertSpacing;
2261 int iTitleWrap;
2262 LOGFONTW lfFont;
2263 } ICONMETRICSW,*LPICONMETRICSW;
2264 typedef struct tagMINIMIZEDMETRICS {
2265 UINT cbSize;
2266 int iWidth;
2267 int iHorzGap;
2268 int iVertGap;
2269 int iArrange;
2270 } MINIMIZEDMETRICS,*LPMINIMIZEDMETRICS;
2271 typedef struct tagMOUSEKEYS{
2272 UINT cbSize;
2273 DWORD dwFlags;
2274 DWORD iMaxSpeed;
2275 DWORD iTimeToMaxSpeed;
2276 DWORD iCtrlSpeed;
2277 DWORD dwReserved1;
2278 DWORD dwReserved2;
2279 } MOUSEKEYS, *LPMOUSEKEYS;
2280 typedef struct tagNONCLIENTMETRICSA {
2281 UINT cbSize;
2282 int iBorderWidth;
2283 int iScrollWidth;
2284 int iScrollHeight;
2285 int iCaptionWidth;
2286 int iCaptionHeight;
2287 LOGFONTA lfCaptionFont;
2288 int iSmCaptionWidth;
2289 int iSmCaptionHeight;
2290 LOGFONTA lfSmCaptionFont;
2291 int iMenuWidth;
2292 int iMenuHeight;
2293 LOGFONTA lfMenuFont;
2294 LOGFONTA lfStatusFont;
2295 LOGFONTA lfMessageFont;
2296 } NONCLIENTMETRICSA,*LPNONCLIENTMETRICSA;
2297 typedef struct tagNONCLIENTMETRICSW {
2298 UINT cbSize;
2299 int iBorderWidth;
2300 int iScrollWidth;
2301 int iScrollHeight;
2302 int iCaptionWidth;
2303 int iCaptionHeight;
2304 LOGFONTW lfCaptionFont;
2305 int iSmCaptionWidth;
2306 int iSmCaptionHeight;
2307 LOGFONTW lfSmCaptionFont;
2308 int iMenuWidth;
2309 int iMenuHeight;
2310 LOGFONTW lfMenuFont;
2311 LOGFONTW lfStatusFont;
2312 LOGFONTW lfMessageFont;
2313 } NONCLIENTMETRICSW,*LPNONCLIENTMETRICSW;
2314 typedef struct tagSERIALKEYSA {
2315 UINT cbSize;
2316 DWORD dwFlags;
2317 LPSTR lpszActivePort;
2318 LPSTR lpszPort;
2319 UINT iBaudRate;
2320 UINT iPortState;
2321 UINT iActive;
2322 } SERIALKEYSA,*LPSERIALKEYSA;
2323 typedef struct tagSERIALKEYSW {
2324 UINT cbSize;
2325 DWORD dwFlags;
2326 LPWSTR lpszActivePort;
2327 LPWSTR lpszPort;
2328 UINT iBaudRate;
2329 UINT iPortState;
2330 UINT iActive;
2331 } SERIALKEYSW,*LPSERIALKEYSW;
2332 typedef struct tagSOUNDSENTRYA {
2333 UINT cbSize;
2334 DWORD dwFlags;
2335 DWORD iFSTextEffect;
2336 DWORD iFSTextEffectMSec;
2337 DWORD iFSTextEffectColorBits;
2338 DWORD iFSGrafEffect;
2339 DWORD iFSGrafEffectMSec;
2340 DWORD iFSGrafEffectColor;
2341 DWORD iWindowsEffect;
2342 DWORD iWindowsEffectMSec;
2343 LPSTR lpszWindowsEffectDLL;
2344 DWORD iWindowsEffectOrdinal;
2345 } SOUNDSENTRYA,*LPSOUNDSENTRYA;
2346 typedef struct tagSOUNDSENTRYW {
2347 UINT cbSize;
2348 DWORD dwFlags;
2349 DWORD iFSTextEffect;
2350 DWORD iFSTextEffectMSec;
2351 DWORD iFSTextEffectColorBits;
2352 DWORD iFSGrafEffect;
2353 DWORD iFSGrafEffectMSec;
2354 DWORD iFSGrafEffectColor;
2355 DWORD iWindowsEffect;
2356 DWORD iWindowsEffectMSec;
2357 LPWSTR lpszWindowsEffectDLL;
2358 DWORD iWindowsEffectOrdinal;
2359 } SOUNDSENTRYW,*LPSOUNDSENTRYW;
2360 typedef struct tagSTICKYKEYS {
2361 DWORD cbSize;
2362 DWORD dwFlags;
2363 } STICKYKEYS,*LPSTICKYKEYS;
2364 typedef struct tagTOGGLEKEYS {
2365 DWORD cbSize;
2366 DWORD dwFlags;
2367 } TOGGLEKEYS;
2368 typedef struct tagTRACKMOUSEEVENT {
2369 DWORD cbSize;
2370 DWORD dwFlags;
2371 HWND hwndTrack;
2372 DWORD dwHoverTime;
2373 } TRACKMOUSEEVENT,*LPTRACKMOUSEEVENT;
2374 typedef struct tagTPMPARAMS {
2375 UINT cbSize;
2376 RECT rcExclude;
2377 } TPMPARAMS,*LPTPMPARAMS;
2378 typedef struct tagEVENTMSG {
2379 UINT message;
2380 UINT paramL;
2381 UINT paramH;
2382 DWORD time;
2383 HWND hwnd;
2384 } EVENTMSG,*PEVENTMSGMSG,*LPEVENTMSGMSG, *PEVENTMSG, *LPEVENTMSG;
2385 typedef struct _WINDOWPOS {
2386 HWND hwnd;
2387 HWND hwndInsertAfter;
2388 int x;
2389 int y;
2390 int cx;
2391 int cy;
2392 UINT flags;
2393 } WINDOWPOS,*PWINDOWPOS,*LPWINDOWPOS;
2394 typedef struct tagMDICREATESTRUCTA {
2395 LPCSTR szClass;
2396 LPCSTR szTitle;
2397 HANDLE hOwner;
2398 int x;
2399 int y;
2400 int cx;
2401 int cy;
2402 DWORD style;
2403 LPARAM lParam;
2404 } MDICREATESTRUCTA,*LPMDICREATESTRUCTA;
2405 typedef struct tagMDICREATESTRUCTW {
2406 LPCWSTR szClass;
2407 LPCWSTR szTitle;
2408 HANDLE hOwner;
2409 int x;
2410 int y;
2411 int cx;
2412 int cy;
2413 DWORD style;
2414 LPARAM lParam;
2415 } MDICREATESTRUCTW,*LPMDICREATESTRUCTW;
2416 typedef struct tagMINMAXINFO {
2417 POINT ptReserved;
2418 POINT ptMaxSize;
2419 POINT ptMaxPosition;
2420 POINT ptMinTrackSize;
2421 POINT ptMaxTrackSize;
2422 } MINMAXINFO,*PMINMAXINFO,*LPMINMAXINFO;
2423 typedef struct tagMDINEXTMENU {
2424 HMENU hmenuIn;
2425 HMENU hmenuNext;
2426 HWND hwndNext;
2427 } MDINEXTMENU,*PMDINEXTMENU,*LPMDINEXTMENU;
2428 typedef struct tagMEASUREITEMSTRUCT {
2429 UINT CtlType;
2430 UINT CtlID;
2431 UINT itemID;
2432 UINT itemWidth;
2433 UINT itemHeight;
2434 DWORD itemData;
2435 } MEASUREITEMSTRUCT,*PMEASUREITEMSTRUCT,*LPMEASUREITEMSTRUCT;
2436 typedef struct tagDROPSTRUCT {
2437 HWND hwndSource;
2438 HWND hwndSink;
2439 DWORD wFmt;
2440 DWORD dwData;
2441 POINT ptDrop;
2442 DWORD dwControlData;
2443 } DROPSTRUCT,*PDROPSTRUCT,*LPDROPSTRUCT;
2444 typedef DWORD HELPPOLY;
2445 typedef struct tagMULTIKEYHELPA {
2446 DWORD mkSize;
2447 CHAR mkKeylist;
2448 CHAR szKeyphrase[1];
2449 } MULTIKEYHELPA,*PMULTIKEYHELPA,*LPMULTIKEYHELPA;
2450 typedef struct tagMULTIKEYHELPW {
2451 DWORD mkSize;
2452 WCHAR mkKeylist;
2453 WCHAR szKeyphrase[1];
2454 } MULTIKEYHELPW,*PMULTIKEYHELPW,*LPMULTIKEYHELPW;
2455 typedef struct tagHELPWININFOA {
2456 int wStructSize;
2457 int x;
2458 int y;
2459 int dx;
2460 int dy;
2461 int wMax;
2462 CHAR rgchMember[2];
2463 } HELPWININFOA,*PHELPWININFOA,*LPHELPWININFOA;
2464 typedef struct tagHELPWININFOW {
2465 int wStructSize;
2466 int x;
2467 int y;
2468 int dx;
2469 int dy;
2470 int wMax;
2471 WCHAR rgchMember[2];
2472 } HELPWININFOW,*PHELPWININFOW,*LPHELPWININFOW;
2473 typedef struct tagSTYLESTRUCT {
2474 DWORD styleOld;
2475 DWORD styleNew;
2476 } STYLESTRUCT,*LPSTYLESTRUCT;
2477 typedef struct tagALTTABINFO {
2478 DWORD cbSize;
2479 int cItems;
2480 int cColumns;
2481 int cRows;
2482 int iColFocus;
2483 int iRowFocus;
2484 int cxItem;
2485 int cyItem;
2486 POINT ptStart;
2487 } ALTTABINFO, *PALTTABINFO, *LPALTTABINFO;
2488 typedef struct tagCOMBOBOXINFO {
2489 DWORD cbSize;
2490 RECT rcItem;
2491 RECT rcButton;
2492 DWORD stateButton;
2493 HWND hwndCombo;
2494 HWND hwndItem;
2495 HWND hwndList;
2496 } COMBOBOXINFO, *PCOMBOBOXINFO, *LPCOMBOBOXINFO;
2497 typedef struct tagCURSORINFO {
2498 DWORD cbSize;
2499 DWORD flags;
2500 HCURSOR hCursor;
2501 POINT ptScreenPos;
2502 } CURSORINFO,*PCURSORINFO,*LPCURSORINFO;
2503 typedef struct tagMENUBARINFO {
2504 DWORD cbSize;
2505 RECT rcBar;
2506 HMENU hMenu;
2507 HWND hwndMenu;
2508 BOOL fBarFocused:1;
2509 BOOL fFocused:1;
2510 } MENUBARINFO, *PMENUBARINFO;
2511 typedef struct tagMENUINFO {
2512 DWORD cbSize;
2513 DWORD fMask;
2514 DWORD dwStyle;
2515 UINT cyMax;
2516 HBRUSH hbrBack;
2517 DWORD dwContextHelpID;
2518 ULONG_PTR dwMenuData;
2519 } MENUINFO, *LPMENUINFO;
2520 typedef MENUINFO CONST *LPCMENUINFO;
2521 #define CCHILDREN_SCROLLBAR 5
2522 typedef struct tagSCROLLBARINFO {
2523 DWORD cbSize;
2524 RECT rcScrollBar;
2525 int dxyLineButton;
2526 int xyThumbTop;
2527 int xyThumbBottom;
2528 int reserved;
2529 DWORD rgstate[CCHILDREN_SCROLLBAR + 1];
2530 } SCROLLBARINFO, *PSCROLLBARINFO, *LPSCROLLBARINFO;
2531 #define CCHILDREN_TITLEBAR 5
2532 typedef struct tagTITLEBARINFO {
2533 DWORD cbSize;
2534 RECT rcTitleBar;
2535 DWORD rgstate[CCHILDREN_TITLEBAR + 1];
2536 } TITLEBARINFO, *PTITLEBARINFO, *LPTITLEBARINFO;
2537 typedef struct tagWINDOWINFO {
2538 DWORD cbSize;
2539 RECT rcWindow;
2540 RECT rcClient;
2541 DWORD dwStyle;
2542 DWORD dwExStyle;
2543 DWORD dwWindowStatus;
2544 UINT cxWindowBorders;
2545 UINT cyWindowBorders;
2546 ATOM atomWindowType;
2547 WORD wCreatorVersion;
2548 } WINDOWINFO, *PWINDOWINFO, *LPWINDOWINFO;
2549 typedef struct tagLASTINPUTINFO {
2550 UINT cbSize;
2551 DWORD dwTime;
2552 } LASTINPUTINFO, * PLASTINPUTINFO;
2553 typedef struct tagMONITORINFO {
2554 DWORD cbSize;
2555 RECT rcMonitor;
2556 RECT rcWork;
2557 DWORD dwFlags;
2558 } MONITORINFO,*LPMONITORINFO;
2559 typedef struct tagKBDLLHOOKSTRUCT {
2560 DWORD vkCode;
2561 DWORD scanCode;
2562 DWORD flags;
2563 DWORD time;
2564 DWORD dwExtraInfo;
2565 } KBDLLHOOKSTRUCT, FAR *LPKBDLLHOOKSTRUCT, *PKBDLLHOOKSTRUCT;
2568 #define AnsiToOem CharToOemA
2569 #define OemToAnsi OemToCharA
2570 #define AnsiToOemBuff CharToOemBuffA
2571 #define OemToAnsiBuff OemToCharBuffA
2572 #define AnsiUpper CharUpperA
2573 #define AnsiUpperBuff CharUpperBuffA
2574 #define AnsiLower CharLowerA
2575 #define AnsiLowerBuff CharLowerBuffA
2576 #define AnsiNext CharNextA
2577 #define AnsiPrev CharPrevA
2578 #define MAKELPARAM(l,h) ((LPARAM)MAKELONG(l,h))
2579 #define MAKEWPARAM(l,h) ((WPARAM)MAKELONG(l,h))
2580 #define MAKELRESULT(l,h) ((LRESULT)MAKELONG(l,h))
2581 #define POINTSTOPOINT(p,ps) { \
2582 (p).x=LOWORD(*(DWORD *)&ps); \
2583 (p).y=HIWORD(*(DWORD *)&ps); \
2585 #define POINTTOPOINTS(p) ((POINTS)MAKELONG((p).x,(p).y))
2587 HKL WINAPI ActivateKeyboardLayout(HKL,UINT);
2588 BOOL WINAPI AdjustWindowRect(LPRECT,DWORD,BOOL);
2589 BOOL WINAPI AdjustWindowRectEx(LPRECT,DWORD,BOOL,DWORD);
2590 BOOL WINAPI AnyPopup(void);
2591 BOOL WINAPI AppendMenuA(HMENU,UINT,UINT,LPCSTR);
2592 BOOL WINAPI AppendMenuW(HMENU,UINT,UINT,LPCWSTR);
2593 UINT WINAPI ArrangeIconicWindows(HWND);
2594 BOOL WINAPI AttachThreadInput(DWORD,DWORD,BOOL);
2595 HDWP WINAPI BeginDeferWindowPos(int);
2596 HDC WINAPI BeginPaint(HWND,LPPAINTSTRUCT);
2597 BOOL WINAPI BringWindowToTop(HWND);
2598 long WINAPI BroadcastSystemMessage(DWORD,LPDWORD,UINT,WPARAM,LPARAM);
2599 BOOL WINAPI CallMsgFilter(PMSG,int);
2600 LRESULT WINAPI CallNextHookEx(HHOOK,int,WPARAM,LPARAM);
2601 LRESULT WINAPI CallWindowProcA(WNDPROC,HWND,UINT,WPARAM,LPARAM);
2602 LRESULT WINAPI CallWindowProcW(WNDPROC,HWND,UINT,WPARAM,LPARAM);
2603 WORD WINAPI CascadeWindows(HWND,UINT,LPCRECT,UINT,const HWND*);
2604 BOOL WINAPI ChangeClipboardChain(HWND,HWND);
2605 LONG WINAPI ChangeDisplaySettingsA(PDEVMODEA,DWORD);
2606 LONG WINAPI ChangeDisplaySettingsW(PDEVMODEW,DWORD);
2607 BOOL WINAPI ChangeMenuA(HMENU,UINT,LPCSTR,UINT,UINT);
2608 BOOL WINAPI ChangeMenuW(HMENU,UINT,LPCWSTR,UINT,UINT);
2609 LPSTR WINAPI CharLowerA(LPSTR);
2610 LPWSTR WINAPI CharLowerW(LPWSTR);
2611 DWORD WINAPI CharLowerBuffA(LPSTR,DWORD);
2612 DWORD WINAPI CharLowerBuffW(LPWSTR,DWORD);
2613 LPSTR WINAPI CharNextA(LPCSTR);
2614 LPWSTR WINAPI CharNextW(LPCWSTR);
2615 LPSTR WINAPI CharNextExA(WORD,LPCSTR,DWORD);
2616 LPWSTR WINAPI CharNextExW(WORD,LPCWSTR,DWORD);
2617 LPSTR WINAPI CharPrevA(LPCSTR,LPCSTR);
2618 LPWSTR WINAPI CharPrevW(LPCWSTR,LPCWSTR);
2619 LPSTR WINAPI CharPrevExA(WORD,LPCSTR,LPCSTR,DWORD);
2620 LPWSTR WINAPI CharPrevExW(WORD,LPCWSTR,LPCWSTR,DWORD);
2621 BOOL WINAPI CharToOemA(LPCSTR,LPSTR);
2622 BOOL WINAPI CharToOemW(LPCWSTR,LPSTR);
2623 BOOL WINAPI CharToOemBuffA(LPCSTR,LPSTR,DWORD);
2624 BOOL WINAPI CharToOemBuffW(LPCWSTR,LPSTR,DWORD);
2625 LPSTR WINAPI CharUpperA(LPSTR);
2626 LPWSTR WINAPI CharUpperW(LPWSTR);
2627 DWORD WINAPI CharUpperBuffA(LPSTR,DWORD);
2628 DWORD WINAPI CharUpperBuffW(LPWSTR,DWORD);
2629 BOOL WINAPI CheckDlgButton(HWND,int,UINT);
2630 DWORD WINAPI CheckMenuItem(HMENU,UINT,UINT);
2631 BOOL WINAPI CheckMenuRadioItem(HMENU,UINT,UINT,UINT,UINT);
2632 BOOL WINAPI CheckRadioButton(HWND,int,int,int);
2633 HWND WINAPI ChildWindowFromPoint(HWND,POINT);
2634 HWND WINAPI ChildWindowFromPointEx(HWND,POINT,UINT);
2635 BOOL WINAPI ClientToScreen(HWND,LPPOINT);
2636 BOOL WINAPI ClipCursor(LPCRECT);
2637 BOOL WINAPI CloseClipboard(void);
2638 BOOL WINAPI CloseDesktop(HDESK);
2639 BOOL WINAPI CloseWindow(HWND);
2640 BOOL WINAPI CloseWindowStation(HWINSTA);
2641 int WINAPI CopyAcceleratorTableA(HACCEL,LPACCEL,int);
2642 int WINAPI CopyAcceleratorTableW(HACCEL,LPACCEL,int);
2643 HCURSOR WINAPI CopyCursor(HCURSOR);
2644 HICON WINAPI CopyIcon(HICON);
2645 HANDLE WINAPI CopyImage(HANDLE,UINT,int,int,UINT);
2646 BOOL WINAPI CopyRect(LPRECT,LPCRECT);
2647 int WINAPI CountClipboardFormats(void);
2648 HACCEL WINAPI CreateAcceleratorTableA(LPACCEL,int);
2649 HACCEL WINAPI CreateAcceleratorTableW(LPACCEL,int);
2650 BOOL WINAPI CreateCaret(HWND,HBITMAP,int,int);
2651 HCURSOR WINAPI CreateCursor(HINSTANCE,int,int,int,int,PCVOID,PCVOID);
2652 HDESK WINAPI CreateDesktopA(LPSTR,LPSTR,LPDEVMODEA,DWORD,DWORD,LPSECURITY_ATTRIBUTES);
2653 HDESK WINAPI CreateDesktopW(LPWSTR,LPWSTR,LPDEVMODEW,DWORD,DWORD,LPSECURITY_ATTRIBUTES);
2654 #define CreateDialogA(h,n,w,f) CreateDialogParamA(h,n,w,f,0)
2655 #define CreateDialogW(h,n,w,f) CreateDialogParamW(h,n,w,f,0)
2656 #define CreateDialogIndirectA(h,t,w,f) CreateDialogIndirectParamA(h,t,w,f,0)
2657 #define CreateDialogIndirectW(h,t,w,f) CreateDialogIndirectParamW(h,t,w,f,0)
2658 HWND WINAPI CreateDialogIndirectParamA(HINSTANCE,LPCDLGTEMPLATE,HWND,DLGPROC,LPARAM);
2659 HWND WINAPI CreateDialogIndirectParamW(HINSTANCE,LPCDLGTEMPLATE,HWND,DLGPROC,LPARAM);
2660 HWND WINAPI CreateDialogParamA(HINSTANCE,LPCSTR,HWND,DLGPROC,LPARAM);
2661 HWND WINAPI CreateDialogParamW(HINSTANCE,LPCWSTR,HWND,DLGPROC,LPARAM);
2662 HICON WINAPI CreateIcon(HINSTANCE,int,int,BYTE,BYTE,const BYTE*,const BYTE*);
2663 HICON WINAPI CreateIconFromResource(PBYTE,DWORD,BOOL,DWORD);
2664 HICON WINAPI CreateIconFromResourceEx(PBYTE,DWORD,BOOL,DWORD,int,int,UINT);
2665 HICON WINAPI CreateIconIndirect(PICONINFO);
2666 HWND WINAPI CreateMDIWindowA(LPSTR,LPSTR,DWORD,int,int,int,int,HWND,HINSTANCE,LPARAM);
2667 HWND WINAPI CreateMDIWindowW(LPWSTR,LPWSTR,DWORD,int,int,int,int,HWND,HINSTANCE,LPARAM);
2668 HMENU WINAPI CreateMenu(void);
2669 HMENU WINAPI CreatePopupMenu(void);
2670 #define CreateWindowA(a,b,c,d,e,f,g,h,i,j,k) CreateWindowExA(0,a,b,c,d,e,f,g,h,i,j,k)
2671 #define CreateWindowW(a,b,c,d,e,f,g,h,i,j,k) CreateWindowExW(0,a,b,c,d,e,f,g,h,i,j,k)
2672 HWND WINAPI CreateWindowExA(DWORD,LPCSTR,LPCSTR,DWORD,int,int,int,int,HWND,HMENU,HINSTANCE,LPVOID);
2673 HWND WINAPI CreateWindowExW(DWORD,LPCWSTR,LPCWSTR,DWORD,int,int,int,int,HWND,HMENU,HINSTANCE,LPVOID);
2674 HWINSTA WINAPI CreateWindowStationA(LPSTR,DWORD,DWORD,LPSECURITY_ATTRIBUTES);
2675 HWINSTA WINAPI CreateWindowStationW(LPWSTR,DWORD,DWORD,LPSECURITY_ATTRIBUTES);
2676 LRESULT WINAPI DefDlgProcA(HWND,UINT,WPARAM,LPARAM);
2677 LRESULT WINAPI DefDlgProcW(HWND,UINT,WPARAM,LPARAM);
2678 HDWP WINAPI DeferWindowPos(HDWP,HWND,HWND,int,int,int,int,UINT);
2679 LRESULT WINAPI DefFrameProcA(HWND,HWND,UINT,WPARAM,LPARAM);
2680 LRESULT WINAPI DefFrameProcW(HWND,HWND,UINT,WPARAM,LPARAM);
2681 #define DefHookProc(c,p,lp,h) CallNextHookEx((HHOOK)*h,c,p,lp)
2682 LRESULT WINAPI DefMDIChildProcA(HWND,UINT,WPARAM,LPARAM);
2683 LRESULT WINAPI DefMDIChildProcW(HWND,UINT,WPARAM,LPARAM);
2684 LRESULT WINAPI DefWindowProcA(HWND,UINT,WPARAM,LPARAM);
2685 LRESULT WINAPI DefWindowProcW(HWND,UINT,WPARAM,LPARAM);
2686 BOOL WINAPI DeleteMenu(HMENU,UINT,UINT);
2687 BOOL WINAPI DestroyAcceleratorTable(HACCEL);
2688 BOOL WINAPI DestroyCaret(void);
2689 BOOL WINAPI DestroyCursor(HCURSOR);
2690 BOOL WINAPI DestroyIcon(HICON);
2691 BOOL WINAPI DestroyMenu(HMENU);
2692 BOOL WINAPI DestroyWindow(HWND);
2693 #define DialogBoxA(i,t,p,f) DialogBoxParamA(i,t,p,f,0)
2694 #define DialogBoxW(i,t,p,f) DialogBoxParamW(i,t,p,f,0)
2695 #define DialogBoxIndirectA(i,t,p,f) DialogBoxIndirectParamA(i,t,p,f,0)
2696 #define DialogBoxIndirectW(i,t,p,f) DialogBoxIndirectParamW(i,t,p,f,0)
2697 int WINAPI DialogBoxIndirectParamA(HINSTANCE,LPCDLGTEMPLATE,HWND,DLGPROC,LPARAM);
2698 int WINAPI DialogBoxIndirectParamW(HINSTANCE,LPCDLGTEMPLATE,HWND,DLGPROC,LPARAM);
2699 int WINAPI DialogBoxParamA(HINSTANCE,LPCSTR,HWND,DLGPROC,LPARAM);
2700 int WINAPI DialogBoxParamW(HINSTANCE,LPCWSTR,HWND,DLGPROC,LPARAM);
2701 LONG WINAPI DispatchMessageA(const MSG*);
2702 LONG WINAPI DispatchMessageW(const MSG*);
2703 int WINAPI DlgDirListA(HWND,LPSTR,int,int,UINT);
2704 int WINAPI DlgDirListW(HWND,LPWSTR,int,int,UINT);
2705 int WINAPI DlgDirListComboBoxA(HWND,LPSTR,int,int,UINT);
2706 int WINAPI DlgDirListComboBoxW(HWND,LPWSTR,int,int,UINT);
2707 BOOL WINAPI DlgDirSelectComboBoxExA(HWND,LPSTR,int,int);
2708 BOOL WINAPI DlgDirSelectComboBoxExW(HWND,LPWSTR,int,int);
2709 BOOL WINAPI DlgDirSelectExA(HWND,LPSTR,int,int);
2710 BOOL WINAPI DlgDirSelectExW(HWND,LPWSTR,int,int);
2711 BOOL WINAPI DragDetect(HWND,POINT);
2712 DWORD WINAPI DragObject(HWND,HWND,UINT,DWORD,HCURSOR);
2713 BOOL WINAPI DrawAnimatedRects(HWND,int,LPCRECT,LPCRECT);
2714 BOOL WINAPI DrawCaption(HWND,HDC,LPCRECT,UINT);
2715 BOOL WINAPI DrawEdge(HDC,LPRECT,UINT,UINT);
2716 BOOL WINAPI DrawFocusRect(HDC,LPCRECT);
2717 BOOL WINAPI DrawFrameControl(HDC,LPRECT,UINT,UINT);
2718 BOOL WINAPI DrawIcon(HDC,int,int,HICON);
2719 BOOL WINAPI DrawIconEx(HDC,int,int,HICON,int,int,UINT,HBRUSH,UINT);
2720 BOOL WINAPI DrawMenuBar(HWND);
2721 BOOL WINAPI DrawStateA(HDC,HBRUSH,DRAWSTATEPROC,LPARAM,WPARAM,int,int,int,int,UINT);
2722 BOOL WINAPI DrawStateW(HDC,HBRUSH,DRAWSTATEPROC,LPARAM,WPARAM,int,int,int,int,UINT);
2723 int WINAPI DrawTextA(HDC,LPCSTR,int,LPRECT,UINT);
2724 int WINAPI DrawTextW(HDC,LPCWSTR,int,LPRECT,UINT);
2725 int WINAPI DrawTextExA(HDC,LPSTR,int,LPRECT,UINT,LPDRAWTEXTPARAMS);
2726 int WINAPI DrawTextExW(HDC,LPWSTR,int,LPRECT,UINT,LPDRAWTEXTPARAMS);
2727 BOOL WINAPI EmptyClipboard(void);
2728 BOOL WINAPI EnableMenuItem(HMENU,UINT,UINT);
2729 BOOL WINAPI EnableScrollBar(HWND,UINT,UINT);
2730 BOOL WINAPI EnableWindow(HWND,BOOL);
2731 BOOL WINAPI EndDeferWindowPos(HDWP);
2732 BOOL WINAPI EndDialog(HWND,int);
2733 BOOL WINAPI EndMenu(VOID);
2734 BOOL WINAPI EndPaint(HWND,const PAINTSTRUCT*);
2735 BOOL WINAPI EnumChildWindows(HWND,ENUMWINDOWSPROC,LPARAM);
2736 UINT WINAPI EnumClipboardFormats(UINT);
2737 BOOL WINAPI EnumDesktopsA(HWINSTA,DESKTOPENUMPROCA,LPARAM);
2738 BOOL WINAPI EnumDesktopsW(HWINSTA,DESKTOPENUMPROCW,LPARAM);
2739 BOOL WINAPI EnumDesktopWindows(HDESK,ENUMWINDOWSPROC,LPARAM);
2740 BOOL WINAPI EnumDisplayMonitors(HDC,LPCRECT,MONITORENUMPROC,LPARAM);
2741 BOOL WINAPI EnumDisplaySettingsA(LPCSTR,DWORD,PDEVMODEA);
2742 BOOL WINAPI EnumDisplaySettingsW(LPCWSTR,DWORD,PDEVMODEW);
2743 int WINAPI EnumPropsA(HWND,PROPENUMPROCA);
2744 int WINAPI EnumPropsW(HWND,PROPENUMPROCW);
2745 int WINAPI EnumPropsExA(HWND,PROPENUMPROCEXA,LPARAM);
2746 int WINAPI EnumPropsExW(HWND,PROPENUMPROCEXW,LPARAM);
2747 #define EnumTaskWindows(h,f,p) EnumThreadWindows((DWORD)h,f,p)
2748 BOOL WINAPI EnumThreadWindows(DWORD,WNDENUMPROC,LPARAM);
2749 BOOL WINAPI EnumWindows(WNDENUMPROC,LPARAM);
2750 BOOL WINAPI EnumWindowStationsA(WINSTAENUMPROCA,LPARAM);
2751 BOOL WINAPI EnumWindowStationsW(WINSTAENUMPROCW,LPARAM);
2752 BOOL WINAPI EqualRect(LPCRECT,LPCRECT);
2753 #define ExitWindows(r,c) ExitWindowsEx(EWX_LOGOFF,0)
2754 BOOL WINAPI ExitWindowsEx(UINT,DWORD);
2755 HWND WINAPI FindWindowA(LPCSTR,LPCSTR);
2756 HWND WINAPI FindWindowExA(HWND,HWND,LPCSTR,LPCSTR);
2757 HWND WINAPI FindWindowExW(HWND,HWND,LPCWSTR,LPCWSTR);
2758 HWND WINAPI FindWindowW(LPCWSTR,LPCWSTR);
2759 BOOL WINAPI FlashWindow(HWND,BOOL);
2760 int WINAPI FrameRect(HDC,LPCRECT,HBRUSH);
2761 BOOL WINAPI FrameRgn(HDC,HRGN,HBRUSH,int,int);
2762 HWND WINAPI GetActiveWindow(void);
2763 SHORT WINAPI GetAsyncKeyState(int);
2764 HWND WINAPI GetCapture(void);
2765 UINT WINAPI GetCaretBlinkTime(void);
2766 BOOL WINAPI GetCaretPos(LPPOINT);
2767 BOOL WINAPI GetClassInfoA(HINSTANCE,LPCSTR,PWNDCLASSA);
2768 BOOL WINAPI GetClassInfoExA(HINSTANCE,LPCSTR,PWNDCLASSEXA);
2769 BOOL WINAPI GetClassInfoW(HINSTANCE,LPCWSTR,PWNDCLASSW);
2770 BOOL WINAPI GetClassInfoExW(HINSTANCE,LPCWSTR,PWNDCLASSEXW);
2771 DWORD WINAPI GetClassLongA(HWND,int);
2772 DWORD WINAPI GetClassLongW(HWND,int);
2773 int WINAPI GetClassNameA(HWND,LPSTR,int);
2774 int WINAPI GetClassNameW(HWND,LPWSTR,int);
2775 WORD WINAPI GetClassWord(HWND,int);
2776 BOOL WINAPI GetClientRect(HWND,LPRECT);
2777 HANDLE WINAPI GetClipboardData(UINT);
2778 int WINAPI GetClipboardFormatNameA(UINT,LPSTR,int);
2779 int WINAPI GetClipboardFormatNameW(UINT,LPWSTR,int);
2780 HWND WINAPI GetClipboardOwner(void);
2781 HWND WINAPI GetClipboardViewer(void);
2782 BOOL WINAPI GetClipCursor(LPRECT);
2783 BOOL WINAPI GetCursorPos(LPPOINT);
2784 HDC WINAPI GetDC(HWND);
2785 HDC WINAPI GetDCEx(HWND,HRGN,DWORD);
2786 HWND WINAPI GetDesktopWindow(void);
2787 long WINAPI GetDialogBaseUnits(void);
2788 int WINAPI GetDlgCtrlID(HWND);
2789 HWND WINAPI GetDlgItem(HWND,int);
2790 UINT WINAPI GetDlgItemInt(HWND,int,PBOOL,BOOL);
2791 UINT WINAPI GetDlgItemTextA(HWND,int,LPSTR,int);
2792 UINT WINAPI GetDlgItemTextW(HWND,int,LPWSTR,int);
2793 UINT WINAPI GetDoubleClickTime(void);
2794 HWND WINAPI GetFocus(void);
2795 HWND WINAPI GetForegroundWindow(void);
2796 BOOL WINAPI GetIconInfo(HICON,PICONINFO);
2797 BOOL WINAPI GetInputState(void);
2798 UINT WINAPI GetKBCodePage(void);
2799 HKL WINAPI GetKeyboardLayout(DWORD);
2800 int WINAPI GetKeyboardLayoutList(int,HKL*);
2801 BOOL WINAPI GetKeyboardLayoutNameA(LPSTR);
2802 BOOL WINAPI GetKeyboardLayoutNameW(LPWSTR);
2803 BOOL WINAPI GetKeyboardState(PBYTE);
2804 int WINAPI GetKeyboardType(int);
2805 int WINAPI GetKeyNameTextA(LONG,LPSTR,int);
2806 int WINAPI GetKeyNameTextW(LONG,LPWSTR,int);
2807 SHORT WINAPI GetKeyState(int);
2808 HWND WINAPI GetLastActivePopup(HWND);
2809 DWORD WINAPI GetLastError(void);
2810 HMENU WINAPI GetMenu(HWND);
2811 LONG WINAPI GetMenuCheckMarkDimensions(void);
2812 DWORD WINAPI GetMenuContextHelpId(HMENU);
2813 UINT WINAPI GetMenuDefaultItem(HMENU,UINT,UINT);
2814 int WINAPI GetMenuItemCount(HMENU);
2815 UINT WINAPI GetMenuItemID(HMENU,int);
2816 BOOL WINAPI GetMenuItemInfoA(HMENU,UINT,BOOL,LPMENUITEMINFOA);
2817 BOOL WINAPI GetMenuItemInfoW(HMENU,UINT,BOOL,LPMENUITEMINFOW);
2818 BOOL WINAPI GetMenuItemRect(HWND,HMENU,UINT,LPRECT);
2819 UINT WINAPI GetMenuState(HMENU,UINT,UINT);
2820 int WINAPI GetMenuStringA(HMENU,UINT,LPSTR,int,UINT);
2821 int WINAPI GetMenuStringW(HMENU,UINT,LPWSTR,int,UINT);
2822 BOOL WINAPI GetMessageA(LPMSG,HWND,UINT,UINT);
2823 BOOL WINAPI GetMessageW(LPMSG,HWND,UINT,UINT);
2824 LONG WINAPI GetMessageExtraInfo(void);
2825 DWORD WINAPI GetMessagePos(void);
2826 LONG WINAPI GetMessageTime(void);
2827 HWND WINAPI GetNextDlgGroupItem(HWND,HWND,BOOL);
2828 HWND WINAPI GetNextDlgTabItem(HWND,HWND,BOOL);
2829 #define GetNextWindow(h,c) GetWindow(h,c)
2830 HWND WINAPI GetOpenClipboardWindow(void);
2831 HWND WINAPI GetParent(HWND);
2832 int WINAPI GetPriorityClipboardFormat(UINT*,int);
2833 HANDLE WINAPI GetPropA(HWND,LPCSTR);
2834 HANDLE WINAPI GetPropW(HWND,LPCWSTR);
2835 DWORD WINAPI GetQueueStatus(UINT);
2836 BOOL WINAPI GetScrollInfo(HWND,int,LPSCROLLINFO);
2837 int WINAPI GetScrollPos(HWND,int);
2838 BOOL WINAPI GetScrollRange(HWND,int,LPINT,LPINT);
2839 HMENU WINAPI GetSubMenu(HMENU,int);
2840 DWORD WINAPI GetSysColor(int);
2841 HBRUSH WINAPI GetSysColorBrush(int);
2842 #define GetSysModalWindow() (NULL)
2843 HMENU WINAPI GetSystemMenu(HWND,BOOL);
2844 int WINAPI GetSystemMetrics(int);
2845 DWORD WINAPI GetTabbedTextExtentA(HDC,LPCSTR,int,int,LPINT);
2846 DWORD WINAPI GetTabbedTextExtentW(HDC,LPCWSTR,int,int,LPINT);
2847 LONG WINAPI GetWindowLongA(HWND,int);
2848 LONG WINAPI GetWindowLongW(HWND,int);
2849 HDESK WINAPI GetThreadDesktop(DWORD);
2850 HWND WINAPI GetTopWindow(HWND);
2851 BOOL WINAPI GetUpdateRect(HWND,LPRECT,BOOL);
2852 int WINAPI GetUpdateRgn(HWND,HRGN,BOOL);
2853 BOOL WINAPI GetUserObjectInformationA(HANDLE,int,PVOID,DWORD,PDWORD);
2854 BOOL WINAPI GetUserObjectInformationW(HANDLE,int,PVOID,DWORD,PDWORD);
2855 BOOL WINAPI GetUserObjectSecurity(HANDLE,PSECURITY_INFORMATION,PSECURITY_DESCRIPTOR,DWORD,PDWORD);
2856 HWND WINAPI GetWindow(HWND,UINT);
2857 DWORD WINAPI GetWindowContextHelpId(HWND);
2858 HDC WINAPI GetWindowDC(HWND);
2859 BOOL WINAPI GetWindowExtEx(HDC,LPSIZE);
2860 BOOL WINAPI GetWindowPlacement(HWND,WINDOWPLACEMENT*);
2861 BOOL WINAPI GetWindowRect(HWND,LPRECT);
2862 int WINAPI GetWindowRgn(HWND,HRGN);
2863 #define GetWindowTask(hWnd) ((HANDLE)GetWindowThreadProcessId(hWnd, NULL))
2864 int WINAPI GetWindowTextA(HWND,LPSTR,int);
2865 int WINAPI GetWindowTextLengthA(HWND);
2866 int WINAPI GetWindowTextLengthW(HWND);
2867 int WINAPI GetWindowTextW(HWND,LPWSTR,int);
2868 WORD WINAPI GetWindowWord(HWND,int);
2869 BOOL WINAPI GetAltTabInfoA(HWND,int,PALTTABINFO,LPSTR,UINT);
2870 BOOL WINAPI GetAltTabInfoW(HWND,int,PALTTABINFO,LPWSTR,UINT);
2871 BOOL WINAPI GetComboBoxInfo(HWND,PCOMBOBOXINFO);
2872 BOOL WINAPI GetCursorInfo(PCURSORINFO);
2873 BOOL WINAPI GetLastInputInfo(PLASTINPUTINFO);
2874 DWORD WINAPI GetListBoxInfo(HWND);
2875 BOOL WINAPI GetMenuBarInfo(HWND,LONG,LONG,PMENUBARINFO);
2876 BOOL WINAPI GetMenuInfo(HMENU,LPMENUINFO);
2877 BOOL WINAPI GetScrollBarInfo(HWND,LONG,PSCROLLBARINFO);
2878 BOOL WINAPI GetTitleBarInfo(HWND,PTITLEBARINFO);
2879 BOOL WINAPI GetWindowInfo(HWND,PWINDOWINFO);
2880 BOOL WINAPI GetMonitorInfoA(HMONITOR,LPMONITORINFO);
2881 BOOL WINAPI GetMonitorInfoW(HMONITOR,LPMONITORINFO);
2882 UINT WINAPI GetWindowModuleFileNameA(HWND,LPSTR,UINT);
2883 UINT WINAPI GetWindowModuleFileNameW(HWND,LPWSTR,UINT);
2884 BOOL WINAPI GrayStringA(HDC,HBRUSH,GRAYSTRINGPROC,LPARAM,int,int,int,int,int);
2885 BOOL WINAPI GrayStringW(HDC,HBRUSH,GRAYSTRINGPROC,LPARAM,int,int,int,int,int);
2886 BOOL WINAPI HideCaret(HWND);
2887 BOOL WINAPI HiliteMenuItem(HWND,HMENU,UINT,UINT);
2888 BOOL WINAPI InflateRect(LPRECT,int,int);
2889 BOOL WINAPI InSendMessage(VOID);
2890 BOOL WINAPI InsertMenuA(HMENU,UINT,UINT,UINT,LPCSTR);
2891 BOOL WINAPI InsertMenuW(HMENU,UINT,UINT,UINT,LPCWSTR);
2892 BOOL WINAPI InsertMenuItemA(HMENU,UINT,BOOL,LPCMENUITEMINFOA);
2893 BOOL WINAPI InsertMenuItemW(HMENU,UINT,BOOL,LPCMENUITEMINFOW);
2894 BOOL WINAPI IntersectRect(LPRECT,LPCRECT,LPCRECT);
2895 BOOL WINAPI InvalidateRect(HWND,LPCRECT,BOOL);
2896 BOOL WINAPI InvalidateRgn(HWND,HRGN,BOOL);
2897 BOOL WINAPI InvertRect(HDC,LPCRECT);
2898 BOOL WINAPI IsCharAlphaA(CHAR ch);
2899 BOOL WINAPI IsCharAlphaNumericA(CHAR);
2900 BOOL WINAPI IsCharAlphaNumericW(WCHAR);
2901 BOOL WINAPI IsCharAlphaW(WCHAR);
2902 BOOL WINAPI IsCharLowerA(CHAR);
2903 BOOL WINAPI IsCharLowerW(WCHAR);
2904 BOOL WINAPI IsCharUpperA(CHAR);
2905 BOOL WINAPI IsCharUpperW(WCHAR);
2906 BOOL WINAPI IsChild(HWND,HWND);
2907 BOOL WINAPI IsClipboardFormatAvailable(UINT);
2908 BOOL WINAPI IsDialogMessageA(HWND,LPMSG);
2909 BOOL WINAPI IsDialogMessageW(HWND,LPMSG);
2910 UINT WINAPI IsDlgButtonChecked(HWND,int);
2911 BOOL WINAPI IsIconic(HWND);
2912 BOOL WINAPI IsMenu(HMENU);
2913 BOOL WINAPI IsRectEmpty(LPCRECT);
2914 BOOL WINAPI IsWindow(HWND);
2915 BOOL WINAPI IsWindowEnabled(HWND);
2916 BOOL WINAPI IsWindowUnicode(HWND);
2917 BOOL WINAPI IsWindowVisible(HWND);
2918 BOOL WINAPI IsZoomed(HWND);
2919 VOID WINAPI keybd_event(BYTE,BYTE,DWORD,DWORD);
2920 BOOL WINAPI KillTimer(HWND,UINT);
2921 HACCEL WINAPI LoadAcceleratorsA(HINSTANCE,LPCSTR);
2922 HACCEL WINAPI LoadAcceleratorsW(HINSTANCE,LPCWSTR);
2923 HBITMAP WINAPI LoadBitmapA(HINSTANCE,LPCSTR);
2924 HBITMAP WINAPI LoadBitmapW(HINSTANCE,LPCWSTR);
2925 HCURSOR WINAPI LoadCursorA(HINSTANCE,LPCSTR);
2926 HCURSOR WINAPI LoadCursorFromFileA(LPCSTR);
2927 HCURSOR WINAPI LoadCursorFromFileW(LPCWSTR);
2928 HCURSOR WINAPI LoadCursorW(HINSTANCE,LPCWSTR);
2929 HICON WINAPI LoadIconA(HINSTANCE,LPCSTR);
2930 HICON WINAPI LoadIconW(HINSTANCE,LPCWSTR);
2931 HANDLE WINAPI LoadImageA(HINSTANCE,LPCSTR,UINT,int,int,UINT);
2932 HANDLE WINAPI LoadImageW(HINSTANCE,LPCWSTR,UINT,int,int,UINT);
2933 HKL WINAPI LoadKeyboardLayoutA(LPCSTR,UINT);
2934 HKL WINAPI LoadKeyboardLayoutW(LPCWSTR,UINT);
2935 HMENU WINAPI LoadMenuA(HINSTANCE,LPCSTR);
2936 HMENU WINAPI LoadMenuIndirectA(const MENUTEMPLATE*);
2937 HMENU WINAPI LoadMenuIndirectW(const MENUTEMPLATE*);
2938 HMENU WINAPI LoadMenuW(HINSTANCE,LPCWSTR);
2939 int WINAPI LoadStringA(HINSTANCE,UINT,LPSTR,int);
2940 int WINAPI LoadStringW(HINSTANCE,UINT,LPWSTR,int);
2941 BOOL WINAPI LockWindowUpdate(HWND);
2942 int WINAPI LookupIconIdFromDirectory(PBYTE,BOOL);
2943 int WINAPI LookupIconIdFromDirectoryEx(PBYTE,BOOL,int,int,UINT);
2944 BOOL WINAPI MapDialogRect(HWND,LPRECT);
2945 UINT WINAPI MapVirtualKeyA(UINT,UINT);
2946 UINT WINAPI MapVirtualKeyExA(UINT,UINT,HKL);
2947 UINT WINAPI MapVirtualKeyExW(UINT,UINT,HKL);
2948 UINT WINAPI MapVirtualKeyW(UINT,UINT);
2949 int WINAPI MapWindowPoints(HWND,HWND,LPPOINT,UINT);
2950 int WINAPI MenuItemFromPoint(HWND,HMENU,POINT);
2951 BOOL WINAPI MessageBeep(UINT);
2952 int WINAPI MessageBoxA(HWND,LPCSTR,LPCSTR,UINT);
2953 int WINAPI MessageBoxW(HWND,LPCWSTR,LPCWSTR,UINT);
2954 int WINAPI MessageBoxExA(HWND,LPCSTR,LPCSTR,UINT,WORD);
2955 int WINAPI MessageBoxExW(HWND,LPCWSTR,LPCWSTR,UINT,WORD);
2956 int WINAPI MessageBoxIndirectA(LPMSGBOXPARAMSA);
2957 int WINAPI MessageBoxIndirectW(LPMSGBOXPARAMSW);
2958 BOOL WINAPI ModifyMenuA(HMENU,UINT,UINT,UINT,LPCSTR);
2959 BOOL WINAPI ModifyMenuW(HMENU,UINT,UINT,UINT,LPCWSTR);
2960 void WINAPI mouse_event(DWORD,DWORD,DWORD,DWORD,DWORD);
2961 BOOL WINAPI MoveWindow(HWND,int,int,int,int,BOOL);
2962 DWORD WINAPI MsgWaitForMultipleObjects(DWORD,LPHANDLE,BOOL,DWORD,DWORD);
2963 DWORD WINAPI MsgWaitForMultipleObjectsEx(DWORD,LPHANDLE,DWORD,DWORD,DWORD);
2964 DWORD WINAPI OemKeyScan(WORD);
2965 BOOL WINAPI OemToCharA(LPCSTR,LPSTR);
2966 BOOL WINAPI OemToCharBuffA(LPCSTR,LPSTR,DWORD);
2967 BOOL WINAPI OemToCharBuffW(LPCSTR,LPWSTR,DWORD);
2968 BOOL WINAPI OemToCharW(LPCSTR,LPWSTR);
2969 BOOL WINAPI OffsetRect(LPRECT,int,int);
2970 BOOL WINAPI OpenClipboard(HWND);
2971 HDESK WINAPI OpenDesktopA(LPSTR,DWORD,BOOL,DWORD);
2972 HDESK WINAPI OpenDesktopW(LPWSTR,DWORD,BOOL,DWORD);
2973 BOOL WINAPI OpenIcon(HWND);
2974 HDESK WINAPI OpenInputDesktop(DWORD,BOOL,DWORD);
2975 HWINSTA WINAPI OpenWindowStationA(LPSTR,BOOL,DWORD);
2976 HWINSTA WINAPI OpenWindowStationW(LPWSTR,BOOL,DWORD);
2977 BOOL WINAPI PaintDesktop(HDC);
2978 BOOL WINAPI PeekMessageA(LPMSG,HWND,UINT,UINT,UINT);
2979 BOOL WINAPI PeekMessageW(LPMSG,HWND,UINT,UINT,UINT);
2980 #define PostAppMessageA(t,m,w,l) PostThreadMessageA((DWORD)t,m,w,l)
2981 #define PostAppMessageW(t,m,w,l) PostThreadMessageW((DWORD)t,m,w,l)
2982 BOOL WINAPI PostMessageA(HWND,UINT,WPARAM,LPARAM);
2983 BOOL WINAPI PostMessageW(HWND,UINT,WPARAM,LPARAM);
2984 void WINAPI PostQuitMessage(int);
2985 BOOL WINAPI PostThreadMessageA(DWORD,UINT,WPARAM,LPARAM);
2986 BOOL WINAPI PostThreadMessageW(DWORD,UINT,WPARAM,LPARAM);
2987 BOOL WINAPI PtInRect(LPCRECT,POINT);
2988 BOOL WINAPI RedrawWindow(HWND,LPCRECT,HRGN,UINT);
2989 ATOM WINAPI RegisterClassA(const WNDCLASSA*);
2990 ATOM WINAPI RegisterClassW(const WNDCLASSW*);
2991 ATOM WINAPI RegisterClassExA(const WNDCLASSEXA*);
2992 ATOM WINAPI RegisterClassExW(const WNDCLASSEXW*);
2993 UINT WINAPI RegisterClipboardFormatA(LPCSTR);
2994 UINT WINAPI RegisterClipboardFormatW(LPCWSTR);
2995 BOOL WINAPI RegisterHotKey(HWND,int,UINT,UINT);
2996 UINT WINAPI RegisterWindowMessageA(LPCSTR);
2997 UINT WINAPI RegisterWindowMessageW(LPCWSTR);
2998 BOOL WINAPI ReleaseCapture(void);
2999 int WINAPI ReleaseDC(HWND,HDC);
3000 BOOL WINAPI RemoveMenu(HMENU,UINT,UINT);
3001 HANDLE WINAPI RemovePropA(HWND,LPCSTR);
3002 HANDLE WINAPI RemovePropW(HWND,LPCWSTR);
3003 BOOL WINAPI ReplyMessage(LRESULT);
3004 BOOL WINAPI ScreenToClient(HWND,LPPOINT);
3005 BOOL WINAPI ScrollDC(HDC,int,int,LPCRECT,LPCRECT,HRGN,LPRECT);
3006 BOOL WINAPI ScrollWindow(HWND,int,int,LPCRECT,LPCRECT);
3007 int WINAPI ScrollWindowEx(HWND,int,int,LPCRECT,LPCRECT,HRGN,LPRECT,UINT);
3008 LONG WINAPI SendDlgItemMessageA(HWND,int,UINT,WPARAM,LPARAM);
3009 LONG WINAPI SendDlgItemMessageW(HWND,int,UINT,WPARAM,LPARAM);
3010 LRESULT WINAPI SendMessageA(HWND,UINT,WPARAM,LPARAM);
3011 BOOL WINAPI SendMessageCallbackA(HWND,UINT,WPARAM,LPARAM,SENDASYNCPROC,DWORD);
3012 BOOL WINAPI SendMessageCallbackW(HWND,UINT,WPARAM,LPARAM,SENDASYNCPROC,DWORD);
3013 LRESULT WINAPI SendMessageTimeoutA(HWND,UINT,WPARAM,LPARAM,UINT,UINT,PDWORD);
3014 LRESULT WINAPI SendMessageTimeoutW(HWND,UINT,WPARAM,LPARAM,UINT,UINT,PDWORD);
3015 LRESULT WINAPI SendMessageW(HWND,UINT,WPARAM,LPARAM);
3016 BOOL WINAPI SendNotifyMessageA(HWND,UINT,WPARAM,LPARAM);
3017 BOOL WINAPI SendNotifyMessageW(HWND,UINT,WPARAM,LPARAM);
3018 HWND WINAPI SetActiveWindow(HWND);
3019 HWND WINAPI SetCapture(HWND hWnd);
3020 BOOL WINAPI SetCaretBlinkTime(UINT);
3021 BOOL WINAPI SetCaretPos(int,int);
3022 DWORD WINAPI SetClassLongA(HWND,int,LONG);
3023 DWORD WINAPI SetClassLongW(HWND,int,LONG);
3024 WORD WINAPI SetClassWord(HWND,int,WORD);
3025 HANDLE WINAPI SetClipboardData(UINT,HANDLE);
3026 HWND WINAPI SetClipboardViewer(HWND);
3027 HCURSOR WINAPI SetCursor(HCURSOR);
3028 BOOL WINAPI SetCursorPos(int,int);
3029 VOID WINAPI SetDebugErrorLevel(DWORD);
3030 BOOL WINAPI SetDlgItemInt(HWND,int,UINT,BOOL);
3031 BOOL WINAPI SetDlgItemTextA(HWND,int,LPCSTR);
3032 BOOL WINAPI SetDlgItemTextW(HWND,int,LPCWSTR);
3033 BOOL WINAPI SetDoubleClickTime(UINT);
3034 HWND WINAPI SetFocus(HWND);
3035 BOOL WINAPI SetForegroundWindow(HWND);
3036 BOOL WINAPI SetKeyboardState(PBYTE);
3037 BOOL WINAPI SetMenu(HWND,HMENU);
3038 BOOL WINAPI SetMenuContextHelpId(HMENU,DWORD);
3039 BOOL WINAPI SetMenuDefaultItem(HMENU,UINT,UINT);
3040 BOOL WINAPI SetMenuInfo(HMENU,LPCMENUINFO);
3041 BOOL WINAPI SetMenuItemBitmaps(HMENU,UINT,UINT,HBITMAP,HBITMAP);
3042 BOOL WINAPI SetMenuItemInfoA(HMENU,UINT,BOOL,LPCMENUITEMINFOA);
3043 BOOL WINAPI SetMenuItemInfoW( HMENU,UINT,BOOL,LPCMENUITEMINFOW);
3044 LPARAM WINAPI SetMessageExtraInfo(LPARAM);
3045 BOOL WINAPI SetMessageQueue(int);
3046 HWND WINAPI SetParent(HWND,HWND);
3047 BOOL WINAPI SetProcessWindowStation(HWINSTA);
3048 BOOL WINAPI SetPropA(HWND,LPCSTR,HANDLE);
3049 BOOL WINAPI SetPropW(HWND,LPCWSTR,HANDLE);
3050 BOOL WINAPI SetRect(LPRECT,int,int,int,int);
3051 BOOL WINAPI SetRectEmpty(LPRECT);
3052 int WINAPI SetScrollInfo(HWND,int,LPCSCROLLINFO,BOOL);
3053 int WINAPI SetScrollPos(HWND,int,int,BOOL);
3054 BOOL WINAPI SetScrollRange(HWND,int,int,int,BOOL);
3055 BOOL WINAPI SetSysColors(int,const INT *,const COLORREF *);
3056 #define SetSysModalWindow(h) (NULL)
3057 BOOL WINAPI SetSystemCursor(HCURSOR,DWORD);
3058 BOOL WINAPI SetThreadDesktop(HDESK);
3059 UINT WINAPI SetTimer(HWND,UINT,UINT,TIMERPROC);
3060 BOOL WINAPI SetUserObjectInformationA(HANDLE,int,PVOID,DWORD);
3061 BOOL WINAPI SetUserObjectInformationW(HANDLE,int,PVOID,DWORD);
3062 BOOL WINAPI SetUserObjectSecurity(HANDLE,PSECURITY_INFORMATION,PSECURITY_DESCRIPTOR);
3063 BOOL WINAPI SetWindowContextHelpId(HWND,DWORD);
3064 LONG WINAPI SetWindowLongA(HWND,int,LONG);
3065 LONG WINAPI SetWindowLongW(HWND,int,LONG);
3066 BOOL WINAPI SetWindowPlacement(HWND hWnd,const WINDOWPLACEMENT*);
3067 BOOL WINAPI SetWindowPos(HWND,HWND,int,int,int,int,UINT);
3068 int WINAPI SetWindowRgn(HWND,HRGN,BOOL);
3069 HOOKPROC WINAPI SetWindowsHookA(int,HOOKPROC);
3070 HHOOK WINAPI SetWindowsHookExA(int,HOOKPROC,HINSTANCE,DWORD);
3071 HHOOK WINAPI SetWindowsHookExW(int,HOOKPROC,HINSTANCE,DWORD);
3072 BOOL WINAPI SetWindowTextA(HWND,LPCSTR);
3073 BOOL WINAPI SetWindowTextW(HWND,LPCWSTR);
3074 WORD WINAPI SetWindowWord(HWND,int,WORD);
3075 BOOL WINAPI ShowCaret(HWND);
3076 int WINAPI ShowCursor(BOOL);
3077 BOOL WINAPI ShowOwnedPopups(HWND,BOOL);
3078 BOOL WINAPI ShowScrollBar(HWND,int,BOOL);
3079 BOOL WINAPI ShowWindow(HWND,int);
3080 BOOL WINAPI ShowWindowAsync(HWND,int);
3081 BOOL WINAPI SubtractRect(LPRECT,LPCRECT,LPCRECT);
3082 BOOL WINAPI SwapMouseButton(BOOL);
3083 BOOL WINAPI SwitchDesktop(HDESK);
3084 BOOL WINAPI SystemParametersInfoA(UINT,UINT,PVOID,UINT);
3085 BOOL WINAPI SystemParametersInfoW(UINT,UINT,PVOID,UINT);
3086 LONG WINAPI TabbedTextOutA(HDC,int,int,LPCSTR,int,int,LPINT,int);
3087 LONG WINAPI TabbedTextOutW(HDC,int,int,LPCWSTR,int,int,LPINT,int);
3088 WORD WINAPI TileWindows(HWND,UINT,LPCRECT,UINT,const HWND *);
3089 int WINAPI ToAscii(UINT,UINT,PBYTE,LPWORD,UINT);
3090 int WINAPI ToAsciiEx(UINT,UINT,PBYTE,LPWORD,UINT,HKL);
3091 int WINAPI ToUnicode(UINT,UINT,PBYTE,LPWSTR,int,UINT);
3092 int WINAPI ToUnicodeEx(UINT,UINT,PBYTE,LPWSTR,int,UINT,HKL);
3093 BOOL WINAPI TrackMouseEvent(LPTRACKMOUSEEVENT);
3094 BOOL WINAPI TrackPopupMenu(HMENU,UINT,int,int,int,HWND,LPCRECT);
3095 BOOL WINAPI TrackPopupMenuEx(HMENU,UINT,int,int,HWND,LPTPMPARAMS);
3096 int WINAPI TranslateAcceleratorA(HWND,HACCEL,LPMSG);
3097 int WINAPI TranslateAcceleratorW(HWND,HACCEL,LPMSG);
3098 BOOL WINAPI TranslateMDISysAccel(HWND,LPMSG);
3099 BOOL WINAPI TranslateMessage(const MSG*);
3100 BOOL WINAPI UnhookWindowsHook(int,HOOKPROC);
3101 BOOL WINAPI UnhookWindowsHookEx(HHOOK);
3102 BOOL WINAPI UnionRect(LPRECT,LPCRECT,LPCRECT);
3103 BOOL WINAPI UnloadKeyboardLayout(HKL);
3104 BOOL WINAPI UnregisterClassA(LPCSTR,HINSTANCE);
3105 BOOL WINAPI UnregisterClassW(LPCWSTR,HINSTANCE);
3106 BOOL WINAPI UnregisterHotKey(HWND,int);
3107 BOOL WINAPI UpdateWindow(HWND);
3108 BOOL WINAPI ValidateRect(HWND,LPCRECT);
3109 BOOL WINAPI ValidateRgn(HWND,HRGN);
3110 SHORT WINAPI VkKeyScanA(CHAR);
3111 SHORT WINAPI VkKeyScanExA(CHAR,HKL);
3112 SHORT WINAPI VkKeyScanExW(WCHAR,HKL);
3113 SHORT WINAPI VkKeyScanW(WCHAR);
3114 DWORD WINAPI WaitForInputIdle(HANDLE,DWORD);
3115 BOOL WINAPI WaitMessage(void);
3116 HWND WINAPI WindowFromDC(HDC hDC);
3117 HWND WINAPI WindowFromPoint(POINT);
3118 UINT WINAPI WinExec(LPCSTR,UINT);
3119 BOOL WINAPI WinHelpA(HWND,LPCSTR,UINT,DWORD);
3120 BOOL WINAPI WinHelpW(HWND,LPCWSTR,UINT,DWORD);
3121 int WINAPIV wsprintfA(LPSTR,LPCSTR,...);
3122 int WINAPIV wsprintfW(LPWSTR,LPCWSTR,...);
3123 int WINAPI wvsprintfA(LPSTR,LPCSTR,va_list arglist);
3124 int WINAPI wvsprintfW(LPWSTR,LPCWSTR,va_list arglist);
3126 #ifdef UNICODE
3127 #define EDITWORDBREAKPROC EDITWORDBREAKPROCW
3128 #define PROPENUMPROC PROPENUMPROCW
3129 #define PROPENUMPROCEX PROPENUMPROCEXW
3130 #define DEKSTOPENUMPROC DEKSTOPENUMPROCW
3131 #define WINSTAENUMPROC WINSTAENUMPROCW
3132 #define PROPENUMPROC PROPENUMPROCW
3133 #define PROPENUMPROCEX PROPENUMPROCEXW
3134 #define MAKEINTRESOURCE MAKEINTRESOURCEW
3135 typedef WNDCLASSW WNDCLASS,*LPWNDCLASS,*PWNDCLASS;
3136 typedef WNDCLASSEXW WNDCLASSEX,*LPWNDCLASSEX,*PWNDCLASSEX;
3137 typedef MENUITEMINFOW MENUITEMINFO,*LPMENUITEMINFO;
3138 typedef LPCMENUITEMINFOW LPCMENUITEMINFO;
3139 typedef MSGBOXPARAMSW MSGBOXPARAMS,*PMSGBOXPARAMS,*LPMSGBOXPARAMS;
3140 typedef HIGHCONTRASTW HIGHCONTRAST,*LPHIGHCONTRAST;
3141 typedef ICONMETRICSW ICONMETRICS,*LPICONMETRICS;
3142 typedef NONCLIENTMETRICSW NONCLIENTMETRICS,*LPNONCLIENTMETRICS;
3143 typedef SERIALKEYSW SERIALKEYS,*LPSERIALKEYS;
3144 typedef SOUNDSENTRYW SOUNDSENTRY,*LPSOUNDSENTRY;
3145 typedef CREATESTRUCTW CREATESTRUCT, *LPCREATESTRUCT;
3146 typedef CBT_CREATEWNDW CBT_CREATEWND, *LPCBT_CREATEWND;
3147 typedef MDICREATESTRUCTW MDICREATESTRUCT,*LPMDICREATESTRUCT;
3148 typedef MULTIKEYHELPW MULTIKEYHELP,*PMULTIKEYHELP,*LPMULTIKEYHELP;
3149 #define AppendMenu AppendMenuW
3150 #define CallWindowProc CallWindowProcW
3151 #define ChangeDisplaySettings ChangeDisplaySettingsW
3152 #define ChangeMenu ChangeMenuW
3153 #define CharLower CharLowerW
3154 #define CharLowerBuff CharLowerBuffW
3155 #define CharNext CharNextW
3156 #define CharNextEx CharNextExW
3157 #define CharPrev CharPrevW
3158 #define CharPrevEx CharPrevExW
3159 #define CharToOem CharToOemW
3160 #define CharToOemBuff CharToOemBuffW
3161 #define CharUpper CharUpperW
3162 #define CharUpperBuff CharUpperBuffW
3163 #define CopyAcceleratorTable CopyAcceleratorTableW
3164 #define CreateAcceleratorTable CreateAcceleratorTableW
3165 #define CreateDesktop CreateDesktopW
3166 #define CreateDialog CreateDialogW
3167 #define CreateDialogIndirect CreateDialogIndirectW
3168 #define CreateDialogIndirectParam CreateDialogIndirectParamW
3169 #define CreateDialogParam CreateDialogParamW
3170 #define CreateMDIWindow CreateMDIWindowW
3171 #define CreateWindow CreateWindowW
3172 #define CreateWindowEx CreateWindowExW
3173 #define CreateWindowStation CreateWindowStationW
3174 #define DefDlgProc DefDlgProcW
3175 #define DefFrameProc DefFrameProcW
3176 #define DefMDIChildProc DefMDIChildProcW
3177 #define DefWindowProc DefWindowProcW
3178 #define DialogBox DialogBoxW
3179 #define DialogBoxIndirect DialogBoxIndirectW
3180 #define DialogBoxIndirectParam DialogBoxIndirectParamW
3181 #define DialogBoxParam DialogBoxParamW
3182 #define DispatchMessage DispatchMessageW
3183 #define DlgDirList DlgDirListW
3184 #define DlgDirListComboBox DlgDirListComboBoxW
3185 #define DlgDirSelectComboBoxEx DlgDirSelectComboBoxExW
3186 #define DlgDirSelectEx DlgDirSelectExW
3187 #define DrawState DrawStateW
3188 #define DrawText DrawTextW
3189 #define DrawTextEx DrawTextExW
3190 #define EnumDesktops EnumDesktopsW
3191 #define EnumDisplaySettings EnumDisplaySettingsW
3192 #define EnumProps EnumPropsW
3193 #define EnumPropsEx EnumPropsExW
3194 #define EnumWindowStations EnumWindowStationsW
3195 #define FindWindow FindWindowW
3196 #define FindWindowEx FindWindowExW
3197 #define GetClassInfo GetClassInfoW
3198 #define GetClassInfoEx GetClassInfoExW
3199 #define GetClassLong GetClassLongW
3200 #define GetClassName GetClassNameW
3201 #define GetClipboardFormatName GetClipboardFormatNameW
3202 #define GetDlgItemText GetDlgItemTextW
3203 #define GetKeyboardLayoutName GetKeyboardLayoutNameW
3204 #define GetKeyNameText GetKeyNameTextW
3205 #define GetMenuItemInfo GetMenuItemInfoW
3206 #define GetMenuString GetMenuStringW
3207 #define GetMessage GetMessageW
3208 #define GetMonitorInfo GetMonitorInfoW
3209 #define GetProp GetPropW
3210 #define GetTabbedTextExtent GetTabbedTextExtentW
3211 #define GetUserObjectInformation GetUserObjectInformationW
3212 #define GetWindowLong GetWindowLongW
3213 #define GetWindowText GetWindowTextW
3214 #define GetWindowTextLength GetWindowTextLengthW
3215 #define GetAltTabInfo GetAltTabInfoW
3216 #define GetWindowModuleFileName GetWindowModuleFileNameW
3217 #define GrayString GrayStringW
3218 #define InsertMenu InsertMenuW
3219 #define InsertMenuItem InsertMenuItemW
3220 #define IsCharAlpha IsCharAlphaW
3221 #define IsCharAlphaNumeric IsCharAlphaNumericW
3222 #define IsCharLower IsCharLowerW
3223 #define IsCharUpper IsCharUpperW
3224 #define IsDialogMessage IsDialogMessageW
3225 #define LoadAccelerators LoadAcceleratorsW
3226 #define LoadBitmap LoadBitmapW
3227 #define LoadCursor LoadCursorW
3228 #define LoadCursorFromFile LoadCursorFromFileW
3229 #define LoadIcon LoadIconW
3230 #define LoadImage LoadImageW
3231 #define LoadKeyboardLayout LoadKeyboardLayoutW
3232 #define LoadMenu LoadMenuW
3233 #define LoadMenuIndirect LoadMenuIndirectW
3234 #define LoadString LoadStringW
3235 #define MapVirtualKey MapVirtualKeyW
3236 #define MapVirtualKeyEx MapVirtualKeyExW
3237 #define MessageBox MessageBoxW
3238 #define MessageBoxEx MessageBoxExW
3239 #define MessageBoxIndirect MessageBoxIndirectW
3240 #define ModifyMenu ModifyMenuW
3241 #define OemToChar OemToCharW
3242 #define OemToCharBuff OemToCharBuffW
3243 #define OpenDesktop OpenDesktopW
3244 #define OpenWindowStation OpenWindowStationW
3245 #define PeekMessage PeekMessageW
3246 #define PostAppMessage PostAppMessageW
3247 #define PostMessage PostMessageW
3248 #define PostThreadMessage PostThreadMessageW
3249 #define RegisterClass RegisterClassW
3250 #define RegisterClassEx RegisterClassExW
3251 #define RegisterClipboardFormat RegisterClipboardFormatW
3252 #define RegisterWindowMessage RegisterWindowMessageW
3253 #define RemoveProp RemovePropW
3254 #define SendDlgItemMessage SendDlgItemMessageW
3255 #define SendMessage SendMessageW
3256 #define SendMessageCallback SendMessageCallbackW
3257 #define SendMessageTimeout SendMessageTimeoutW
3258 #define SendNotifyMessage SendNotifyMessageW
3259 #define SetClassLong SetClassLongW
3260 #define SetDlgItemText SetDlgItemTextW
3261 #define SetMenuItemInfo SetMenuItemInfoW
3262 #define SetProp SetPropW
3263 #define SetUserObjectInformation SetUserObjectInformationW
3264 #define SetWindowLong SetWindowLongW
3265 #define SetWindowsHook SetWindowsHookW
3266 #define SetWindowsHookEx SetWindowsHookExW
3267 #define SetWindowText SetWindowTextW
3268 #define SystemParametersInfo SystemParametersInfoW
3269 #define TabbedTextOut TabbedTextOutW
3270 #define TranslateAccelerator TranslateAcceleratorW
3271 #define UnregisterClass UnregisterClassW
3272 #define VkKeyScan VkKeyScanW
3273 #define VkKeyScanEx VkKeyScanExW
3274 #define WinHelp WinHelpW
3275 #define wsprintf wsprintfW
3276 #define wvsprintf wvsprintfW
3277 #else
3278 #define EDITWORDBREAKPROC EDITWORDBREAKPROCA
3279 #define PROPENUMPROC PROPENUMPROCA
3280 #define PROPENUMPROCEX PROPENUMPROCEXA
3281 #define DEKSTOPENUMPROC DEKSTOPENUMPROCA
3282 #define WINSTAENUMPROC WINSTAENUMPROCA
3283 #define PROPENUMPROC PROPENUMPROCA
3284 #define PROPENUMPROCEX PROPENUMPROCEXA
3285 #define MAKEINTRESOURCE MAKEINTRESOURCEA
3286 typedef WNDCLASSA WNDCLASS,*LPWNDCLASS,*PWNDCLASS;
3287 typedef WNDCLASSEXA WNDCLASSEX,*LPWNDCLASSEX,*PWNDCLASSEX;
3288 typedef MENUITEMINFOA MENUITEMINFO,*LPMENUITEMINFO;
3289 typedef LPCMENUITEMINFOA LPCMENUITEMINFO;
3290 typedef MSGBOXPARAMSA MSGBOXPARAMS,*PMSGBOXPARAMS,*LPMSGBOXPARAMS;
3291 typedef HIGHCONTRASTA HIGHCONTRAST,*LPHIGHCONTRAST;
3292 typedef ICONMETRICSA ICONMETRICS,*LPICONMETRICS;
3293 typedef NONCLIENTMETRICSA NONCLIENTMETRICS,*LPNONCLIENTMETRICS;
3294 typedef SERIALKEYSA SERIALKEYS,*LPSERIALKEYS;
3295 typedef SOUNDSENTRYA SOUNDSENTRY,*LPSOUNDSENTRY;
3296 typedef CREATESTRUCTA CREATESTRUCT, *LPCREATESTRUCT;
3297 typedef CBT_CREATEWNDA CBT_CREATEWND, *LPCBT_CREATEWND;
3298 typedef MDICREATESTRUCTA MDICREATESTRUCT,*LPMDICREATESTRUCT;
3299 typedef MULTIKEYHELPA MULTIKEYHELP,*PMULTIKEYHELP,*LPMULTIKEYHELP;
3300 #define AppendMenu AppendMenuA
3301 #define CallWindowProc CallWindowProcA
3302 #define ChangeDisplaySettings ChangeDisplaySettingsA
3303 #define ChangeMenu ChangeMenuA
3304 #define CharLower CharLowerA
3305 #define CharLowerBuff CharLowerBuffA
3306 #define CharNext CharNextA
3307 #define CharNextEx CharNextExA
3308 #define CharPrev CharPrevA
3309 #define CharPrevEx CharPrevExA
3310 #define CharToOem CharToOemA
3311 #define CharToOemBuff CharToOemBuffA
3312 #define CharUpper CharUpperA
3313 #define CharUpperBuff CharUpperBuffA
3314 #define CopyAcceleratorTable CopyAcceleratorTableA
3315 #define CreateAcceleratorTable CreateAcceleratorTableA
3316 #define CreateDesktop CreateDesktopA
3317 #define CreateDialog CreateDialogA
3318 #define CreateDialogIndirect CreateDialogIndirectA
3319 #define CreateDialogIndirectParam CreateDialogIndirectParamA
3320 #define CreateDialogParam CreateDialogParamA
3321 #define CreateMDIWindow CreateMDIWindowA
3322 #define CreateWindow CreateWindowA
3323 #define CreateWindowEx CreateWindowExA
3324 #define CreateWindowStation CreateWindowStationA
3325 #define DefDlgProc DefDlgProcA
3326 #define DefFrameProc DefFrameProcA
3327 #define DefMDIChildProc DefMDIChildProcA
3328 #define DefWindowProc DefWindowProcA
3329 #define DialogBox DialogBoxA
3330 #define DialogBoxIndirect DialogBoxIndirectA
3331 #define DialogBoxIndirectParam DialogBoxIndirectParamA
3332 #define DialogBoxParam DialogBoxParamA
3333 #define DispatchMessage DispatchMessageA
3334 #define DlgDirList DlgDirListA
3335 #define DlgDirListComboBox DlgDirListComboBoxA
3336 #define DlgDirSelectComboBoxEx DlgDirSelectComboBoxExA
3337 #define DlgDirSelectEx DlgDirSelectExA
3338 #define DrawState DrawStateA
3339 #define DrawText DrawTextA
3340 #define DrawTextEx DrawTextExA
3341 #define EnumDesktops EnumDesktopsA
3342 #define EnumDisplaySettings EnumDisplaySettingsA
3343 #define EnumProps EnumPropsA
3344 #define EnumPropsEx EnumPropsExA
3345 #define EnumWindowStations EnumWindowStationsA
3346 #define FindWindow FindWindowA
3347 #define FindWindowEx FindWindowExA
3348 #define GetClassInfo GetClassInfoA
3349 #define GetClassInfoEx GetClassInfoExA
3350 #define GetClassLong GetClassLongA
3351 #define GetClassName GetClassNameA
3352 #define GetClipboardFormatName GetClipboardFormatNameA
3353 #define GetDlgItemText GetDlgItemTextA
3354 #define GetKeyboardLayoutName GetKeyboardLayoutNameA
3355 #define GetKeyNameText GetKeyNameTextA
3356 #define GetMenuItemInfo GetMenuItemInfoA
3357 #define GetMenuString GetMenuStringA
3358 #define GetMessage GetMessageA
3359 #define GetMonitorInfo GetMonitorInfoA
3360 #define GetProp GetPropA
3361 #define GetTabbedTextExtent GetTabbedTextExtentA
3362 #define GetUserObjectInformation GetUserObjectInformationA
3363 #define GetWindowLong GetWindowLongA
3364 #define GetWindowText GetWindowTextA
3365 #define GetWindowTextLength GetWindowTextLengthA
3366 #define GetAltTabInfo GetAltTabInfoA
3367 #define GetWindowModuleFileName GetWindowModuleFileNameA
3368 #define GrayString GrayStringA
3369 #define InsertMenu InsertMenuA
3370 #define InsertMenuItem InsertMenuItemA
3371 #define IsCharAlpha IsCharAlphaA
3372 #define IsCharAlphaNumeric IsCharAlphaNumericA
3373 #define IsCharLower IsCharLowerA
3374 #define IsCharUpper IsCharUpperA
3375 #define IsDialogMessage IsDialogMessageA
3376 #define LoadAccelerators LoadAcceleratorsA
3377 #define LoadBitmap LoadBitmapA
3378 #define LoadCursor LoadCursorA
3379 #define LoadIcon LoadIconA
3380 #define LoadCursorFromFile LoadCursorFromFileA
3381 #define LoadImage LoadImageA
3382 #define LoadKeyboardLayout LoadKeyboardLayoutA
3383 #define LoadMenu LoadMenuA
3384 #define LoadMenuIndirect LoadMenuIndirectA
3385 #define LoadString LoadStringA
3386 #define MapVirtualKey MapVirtualKeyA
3387 #define MapVirtualKeyEx MapVirtualKeyExA
3388 #define MessageBox MessageBoxA
3389 #define MessageBoxEx MessageBoxExA
3390 #define MessageBoxIndirect MessageBoxIndirectA
3391 #define ModifyMenu ModifyMenuA
3392 #define OemToChar OemToCharA
3393 #define OemToCharBuff OemToCharBuffA
3394 #define OpenDesktop OpenDesktopA
3395 #define OpenWindowStation OpenWindowStationA
3396 #define PeekMessage PeekMessageA
3397 #define PostAppMessage PostAppMessageA
3398 #define PostMessage PostMessageA
3399 #define PostThreadMessage PostThreadMessageA
3400 #define RegisterClass RegisterClassA
3401 #define RegisterClassEx RegisterClassExA
3402 #define RegisterClipboardFormat RegisterClipboardFormatA
3403 #define RegisterWindowMessage RegisterWindowMessageA
3404 #define RemoveProp RemovePropA
3405 #define SendDlgItemMessage SendDlgItemMessageA
3406 #define SendMessage SendMessageA
3407 #define SendMessageCallback SendMessageCallbackA
3408 #define SendMessageTimeout SendMessageTimeoutA
3409 #define SendNotifyMessage SendNotifyMessageA
3410 #define SetClassLong SetClassLongA
3411 #define SetDlgItemText SetDlgItemTextA
3412 #define SetMenuItemInfo SetMenuItemInfoA
3413 #define SetProp SetPropA
3414 #define SetUserObjectInformation SetUserObjectInformationA
3415 #define SetWindowLong SetWindowLongA
3416 #define SetWindowsHook SetWindowsHookA
3417 #define SetWindowsHookEx SetWindowsHookExA
3418 #define SetWindowText SetWindowTextA
3419 #define SystemParametersInfo SystemParametersInfoA
3420 #define TabbedTextOut TabbedTextOutA
3421 #define TranslateAccelerator TranslateAcceleratorA
3422 #define UnregisterClass UnregisterClassA
3423 #define VkKeyScan VkKeyScanA
3424 #define VkKeyScanEx VkKeyScanExA
3425 #define WinHelp WinHelpA
3426 #define wsprintf wsprintfA
3427 #define wvsprintf wvsprintfA
3428 #endif
3429 #endif
3430 #ifdef __cplusplus
3432 #endif
3433 #endif /* _WINUSER_H */