4 #pragma GCC system_header
12 #ifdef __W32API_USE_DLLIMPORT__
13 #define WINUSERAPI DECLSPEC_IMPORT
19 #define WC_DIALOG MAKEINTATOM(0x8002)
25 #define ATF_TIMEOUTON 1
26 #define ATF_ONOFFFEEDBACK 2
27 #define ATF_AVAILABLE 4 /* May be obsolete. Not in recent MS docs. */
29 #define WH_MSGFILTER (-1)
30 #define WH_JOURNALRECORD 0
31 #define WH_JOURNALPLAYBACK 1
33 #define WH_GETMESSAGE 3
34 #define WH_CALLWNDPROC 4
36 #define WH_SYSMSGFILTER 6
41 #define WH_FOREGROUNDIDLE 11
42 #define WH_CALLWNDPROCRET 12
43 #define WH_KEYBOARD_LL 13
44 #define WH_MOUSE_LL 14
46 #define WH_MINHOOK WH_MIN
47 #define WH_MAXHOOK WH_MAX
53 #define HC_SYSMODALON 4
54 #define HC_SYSMODALOFF 5
55 #define HCBT_MOVESIZE 0
58 #define HCBT_CREATEWND 3
59 #define HCBT_DESTROYWND 4
60 #define HCBT_ACTIVATE 5
61 #define HCBT_CLICKSKIPPED 6
62 #define HCBT_KEYSKIPPED 7
63 #define HCBT_SYSCOMMAND 8
64 #define HCBT_SETFOCUS 9
67 #define CF_METAFILEPICT 3
77 #define CF_UNICODETEXT 13
78 #define CF_ENHMETAFILE 14
82 #define CF_OWNERDISPLAY 128
83 #define CF_DSPTEXT 129
84 #define CF_DSPBITMAP 130
85 #define CF_DSPMETAFILEPICT 131
86 #define CF_DSPENHMETAFILE 142
87 #define CF_PRIVATEFIRST 512
88 #define CF_PRIVATELAST 767
89 #define CF_GDIOBJFIRST 768
90 #define CF_GDIOBJLAST 1023
93 #define KLF_ACTIVATE 1
94 #define KLF_SUBSTITUTE_OK 2
95 #define KLF_UNLOADPREVIOUS 4
97 #define KLF_REPLACELANG 16
98 #define KLF_NOTELLSHELL 128
99 #define KLF_SETFORPROCESS 256
100 #define KL_NAMELENGTH 9
103 #define MF_DISABLED 2
106 #define MF_MENUBARBREAK 32
107 #define MF_MENUBREAK 64
108 #define MF_OWNERDRAW 256
110 #define MF_SEPARATOR 0x800
112 #define MF_UNCHECKED 0
113 #define MF_DEFAULT 4096
114 #define MF_SYSMENU 0x2000
115 #define MF_HELP 0x4000
117 #define MF_RIGHTJUSTIFY 0x4000
118 #define MF_MOUSESELECT 0x8000
120 #define MF_CHANGE 128
121 #define MF_APPEND 256
122 #define MF_DELETE 512
123 #define MF_REMOVE 4096
124 #define MF_USECHECKBITMAPS 512
125 #define MF_UNHILITE 0
126 #define MF_HILITE 128
128 /* Also defined in dbt.h */
129 #define BSM_ALLCOMPONENTS 0
130 #define BSM_APPLICATIONS 8
131 #define BSM_ALLDESKTOPS 16
132 #define BSM_INSTALLABLEDRIVERS 4
133 #define BSM_NETDRIVER 2
135 #define BSF_FLUSHDISK 0x00000004
136 #define BSF_FORCEIFHUNG 0x00000020
137 #define BSF_IGNORECURRENTTASK 0x00000002
138 #define BSF_NOHANG 0x00000008
139 #define BSF_NOTIMEOUTIFNOTHUNG 0x00000040
140 #define BSF_POSTMESSAGE 0x00000010
141 #define BSF_QUERY 0x00000001
142 #if (_WIN32_WINNT >= 0x0500)
143 #define BSF_ALLOWSFW 0x00000080
144 #define BSF_SENDNOTIFYMESSAGE 0x00000100
145 #endif /* (_WIN32_WINNT >= 0x0500) */
146 #if (_WIN32_WINNT >= 0x0501)
147 #define BSF_LUID 0x00000400
148 #define BSF_RETURNHDESK 0x00000200
149 #endif /* (_WIN32_WINNT >= 0x0501) */
151 #define BROADCAST_QUERY_DENY 1112363332
152 #define ENUM_CURRENT_SETTINGS ((DWORD)-1)
153 #define ENUM_REGISTRY_SETTINGS ((DWORD)-2)
154 #define CDS_UPDATEREGISTRY 1
156 #define CDS_FULLSCREEN 4
158 #define CDS_SET_PRIMARY 16
159 #define CDS_RESET 0x40000000
160 #define CDS_SETRECT 0x20000000
161 #define CDS_NORESET 0x10000000
162 #define DISP_CHANGE_SUCCESSFUL 0
163 #define DISP_CHANGE_RESTART 1
164 #define DISP_CHANGE_FAILED (-1)
165 #define DISP_CHANGE_BADMODE (-2)
166 #define DISP_CHANGE_NOTUPDATED (-3)
167 #define DISP_CHANGE_BADFLAGS (-4)
168 #define DISP_CHANGE_BADPARAM (-5)
169 #define DISP_CHANGE_BADDUALVIEW (-6)
170 #define BST_CHECKED 1
171 #define BST_INDETERMINATE 2
172 #define BST_UNCHECKED 0
175 #define MF_BYCOMMAND 0
176 #define MF_BYPOSITION 1024
177 #define MF_UNCHECKED 0
178 #define MF_HILITE 128
179 #define MF_UNHILITE 0
181 #define CWP_SKIPINVISIBLE 1
182 #define CWP_SKIPDISABLED 2
183 #define CWP_SKIPTRANSPARENT 4
184 #define IMAGE_BITMAP 0
186 #define IMAGE_CURSOR 2
187 #define IMAGE_ENHMETAFILE 3
188 #define DF_ALLOWOTHERACCOUNTHOOK 1
189 #define DESKTOP_CREATEMENU 4
190 #define DESKTOP_CREATEWINDOW 2
191 #define DESKTOP_ENUMERATE 64
192 #define DESKTOP_HOOKCONTROL 8
193 #define DESKTOP_JOURNALPLAYBACK 32
194 #define DESKTOP_JOURNALRECORD 16
195 #define DESKTOP_READOBJECTS 1
196 #define DESKTOP_SWITCHDESKTOP 256
197 #define DESKTOP_WRITEOBJECTS 128
198 #define CW_USEDEFAULT 0x80000000
199 #define WS_BORDER 0x800000
200 #define WS_CAPTION 0xc00000
201 #define WS_CHILD 0x40000000
202 #define WS_CHILDWINDOW 0x40000000
203 #define WS_CLIPCHILDREN 0x2000000
204 #define WS_CLIPSIBLINGS 0x4000000
205 #define WS_DISABLED 0x8000000
206 #define WS_DLGFRAME 0x400000
207 #define WS_GROUP 0x20000
208 #define WS_HSCROLL 0x100000
209 #define WS_ICONIC 0x20000000
210 #define WS_MAXIMIZE 0x1000000
211 #define WS_MAXIMIZEBOX 0x10000
212 #define WS_MINIMIZE 0x20000000
213 #define WS_MINIMIZEBOX 0x20000
214 #define WS_OVERLAPPED 0
215 #define WS_OVERLAPPEDWINDOW 0xcf0000
216 #define WS_POPUP 0x80000000
217 #define WS_POPUPWINDOW 0x80880000
218 #define WS_SIZEBOX 0x40000
219 #define WS_SYSMENU 0x80000
220 #define WS_TABSTOP 0x10000
221 #define WS_THICKFRAME 0x40000
223 #define WS_TILEDWINDOW 0xcf0000
224 #define WS_VISIBLE 0x10000000
225 #define WS_VSCROLL 0x200000
226 #define MDIS_ALLCHILDSTYLES 1
228 #define BS_AUTO3STATE 6
229 #define BS_AUTOCHECKBOX 3
230 #define BS_AUTORADIOBUTTON 9
231 #define BS_BITMAP 128
232 #define BS_BOTTOM 0x800
233 #define BS_CENTER 0x300
234 #define BS_CHECKBOX 2
235 #define BS_DEFPUSHBUTTON 1
236 #define BS_GROUPBOX 7
239 #define BS_LEFTTEXT 32
240 #define BS_MULTILINE 0x2000
241 #define BS_NOTIFY 0x4000
242 #define BS_OWNERDRAW 0xb
243 #define BS_PUSHBUTTON 0
244 #define BS_PUSHLIKE 4096
245 #define BS_RADIOBUTTON 4
247 #define BS_RIGHTBUTTON 32
250 #define BS_USERBUTTON 8
251 #define BS_VCENTER 0xc00
252 #define BS_FLAT 0x8000
253 #define CBS_AUTOHSCROLL 64
254 #define CBS_DISABLENOSCROLL 0x800
255 #define CBS_DROPDOWN 2
256 #define CBS_DROPDOWNLIST 3
257 #define CBS_HASSTRINGS 512
258 #define CBS_LOWERCASE 0x4000
259 #define CBS_NOINTEGRALHEIGHT 0x400
260 #define CBS_OEMCONVERT 128
261 #define CBS_OWNERDRAWFIXED 16
262 #define CBS_OWNERDRAWVARIABLE 32
265 #define CBS_UPPERCASE 0x2000
266 #define ES_AUTOHSCROLL 128
267 #define ES_AUTOVSCROLL 64
270 #define ES_LOWERCASE 16
271 #define ES_MULTILINE 4
272 #define ES_NOHIDESEL 256
273 #define ES_NUMBER 0x2000
274 #define ES_OEMCONVERT 0x400
275 #define ES_PASSWORD 32
276 #define ES_READONLY 0x800
278 #define ES_UPPERCASE 8
279 #define ES_WANTRETURN 4096
280 #define LBS_DISABLENOSCROLL 4096
281 #define LBS_EXTENDEDSEL 0x800
282 #define LBS_HASSTRINGS 64
283 #define LBS_MULTICOLUMN 512
284 #define LBS_MULTIPLESEL 8
285 #define LBS_NODATA 0x2000
286 #define LBS_NOINTEGRALHEIGHT 256
287 #define LBS_NOREDRAW 4
288 #define LBS_NOSEL 0x4000
290 #define LBS_OWNERDRAWFIXED 16
291 #define LBS_OWNERDRAWVARIABLE 32
293 #define LBS_STANDARD 0xa00003
294 #define LBS_USETABSTOPS 128
295 #define LBS_WANTKEYBOARDINPUT 0x400
296 #define SBS_BOTTOMALIGN 4
298 #define SBS_LEFTALIGN 2
299 #define SBS_RIGHTALIGN 4
300 #define SBS_SIZEBOX 8
301 #define SBS_SIZEBOXBOTTOMRIGHTALIGN 4
302 #define SBS_SIZEBOXTOPLEFTALIGN 2
303 #define SBS_SIZEGRIP 16
304 #define SBS_TOPALIGN 2
307 #define SS_BLACKFRAME 7
308 #define SS_BLACKRECT 4
310 #define SS_CENTERIMAGE 512
311 #define SS_ENHMETAFILE 15
312 #define SS_ETCHEDFRAME 18
313 #define SS_ETCHEDHORZ 16
314 #define SS_ETCHEDVERT 17
315 #define SS_GRAYFRAME 8
316 #define SS_GRAYRECT 5
319 #define SS_LEFTNOWORDWRAP 0xc
320 #define SS_NOPREFIX 128
321 #define SS_NOTIFY 256
322 #define SS_OWNERDRAW 0xd
323 #define SS_REALSIZEIMAGE 0x800
325 #define SS_RIGHTJUST 0x400
327 #define SS_SUNKEN 4096
328 #define SS_WHITEFRAME 9
329 #define SS_WHITERECT 6
330 #define SS_USERITEM 10
331 #define SS_TYPEMASK 0x0000001FL
332 #define SS_ENDELLIPSIS 0x00004000L
333 #define SS_PATHELLIPSIS 0x00008000L
334 #define SS_WORDELLIPSIS 0x0000C000L
335 #define SS_ELLIPSISMASK 0x0000C000L
337 #define DS_ABSALIGN 1
338 #define DS_CENTER 0x800
339 #define DS_CENTERMOUSE 4096
340 #define DS_CONTEXTHELP 0x2000
341 #define DS_CONTROL 0x400
342 #define DS_FIXEDSYS 8
343 #define DS_LOCALEDIT 32
344 #define DS_MODALFRAME 128
345 #define DS_NOFAILCREATE 16
346 #define DS_NOIDLEMSG 256
347 #define DS_SETFONT 64
348 #define DS_SETFOREGROUND 512
349 #define DS_SYSMODAL 2
350 #define DS_SHELLFONT (DS_SETFONT | DS_FIXEDSYS)
351 #define WS_EX_ACCEPTFILES 16
352 #define WS_EX_APPWINDOW 0x40000
353 #define WS_EX_CLIENTEDGE 512
354 #define WS_EX_COMPOSITED 0x2000000 /* XP */
355 #define WS_EX_CONTEXTHELP 0x400
356 #define WS_EX_CONTROLPARENT 0x10000
357 #define WS_EX_DLGMODALFRAME 1
358 #define WS_EX_LAYERED 0x80000 /* w2k */
359 #define WS_EX_LAYOUTRTL 0x400000 /* w98, w2k */
361 #define WS_EX_LEFTSCROLLBAR 0x4000
362 #define WS_EX_LTRREADING 0
363 #define WS_EX_MDICHILD 64
364 #define WS_EX_NOACTIVATE 0x8000000 /* w2k */
365 #define WS_EX_NOINHERITLAYOUT 0x100000 /* w2k */
366 #define WS_EX_NOPARENTNOTIFY 4
367 #define WS_EX_OVERLAPPEDWINDOW 0x300
368 #define WS_EX_PALETTEWINDOW 0x188
369 #define WS_EX_RIGHT 0x1000
370 #define WS_EX_RIGHTSCROLLBAR 0
371 #define WS_EX_RTLREADING 0x2000
372 #define WS_EX_STATICEDGE 0x20000
373 #define WS_EX_TOOLWINDOW 128
374 #define WS_EX_TOPMOST 8
375 #define WS_EX_TRANSPARENT 32
376 #define WS_EX_WINDOWEDGE 256
377 #define WINSTA_ALL_ACCESS 895
378 #define WINSTA_ACCESSCLIPBOARD 4
379 #define WINSTA_ACCESSGLOBALATOMS 32
380 #define WINSTA_CREATEDESKTOP 8
381 #define WINSTA_ENUMDESKTOPS 1
382 #define WINSTA_ENUMERATE 256
383 #define WINSTA_EXITWINDOWS 64
384 #define WINSTA_READATTRIBUTES 2
385 #define WINSTA_READSCREEN 512
386 #define WINSTA_WRITEATTRIBUTES 16
387 #define DDL_READWRITE 0
388 #define DDL_READONLY 1
391 #define DDL_DIRECTORY 16
392 #define DDL_ARCHIVE 32
393 #define DDL_POSTMSGS 8192
394 #define DDL_DRIVES 16384
395 #define DDL_EXCLUSIVE 32768
396 #define DC_ACTIVE 0x00000001
397 #define DC_SMALLCAP 0x00000002
398 #define DC_ICON 0x00000004
399 #define DC_TEXT 0x00000008
400 #define DC_INBUTTON 0x00000010
401 #if (_WIN32_WINDOWS >= 0x0410 || _WIN32_WINNT >= 0x0500)
402 #define DC_GRADIENT 0x00000020
404 #if (_WIN32_WINNT >= 0x0501)
405 #define DC_BUTTONS 0x00001000
407 /* Where are these documented? */
408 #define DC_CAPTION (DC_ICON|DC_TEXT|DC_BUTTONS)
409 #define DC_NC (DC_CAPTION|DC_FRAME)
411 #define BDR_RAISEDOUTER 1
412 #define BDR_SUNKENOUTER 2
413 #define BDR_RAISEDINNER 4
414 #define BDR_SUNKENINNER 8
416 #define BDR_INNER 0xc
418 #define BDR_SUNKEN 10
419 #define EDGE_RAISED (BDR_RAISEDOUTER|BDR_RAISEDINNER)
420 #define EDGE_SUNKEN (BDR_SUNKENOUTER|BDR_SUNKENINNER)
421 #define EDGE_ETCHED (BDR_SUNKENOUTER|BDR_RAISEDINNER)
422 #define EDGE_BUMP (BDR_RAISEDOUTER|BDR_SUNKENINNER)
427 #define BF_TOPLEFT (BF_TOP|BF_LEFT)
428 #define BF_TOPRIGHT (BF_TOP|BF_RIGHT)
429 #define BF_BOTTOMLEFT (BF_BOTTOM|BF_LEFT)
430 #define BF_BOTTOMRIGHT (BF_BOTTOM|BF_RIGHT)
431 #define BF_RECT (BF_LEFT|BF_TOP|BF_RIGHT|BF_BOTTOM)
432 #define BF_DIAGONAL 16
433 #define BF_DIAGONAL_ENDTOPRIGHT (BF_DIAGONAL|BF_TOP|BF_RIGHT)
434 #define BF_DIAGONAL_ENDTOPLEFT (BF_DIAGONAL|BF_TOP|BF_LEFT)
435 #define BF_DIAGONAL_ENDBOTTOMLEFT (BF_DIAGONAL|BF_BOTTOM|BF_LEFT)
436 #define BF_DIAGONAL_ENDBOTTOMRIGHT (BF_DIAGONAL|BF_BOTTOM|BF_RIGHT)
437 #define BF_MIDDLE 0x800
438 #define BF_SOFT 0x1000
439 #define BF_ADJUST 0x2000
440 #define BF_FLAT 0x4000
441 #define BF_MONO 0x8000
442 #define DFC_CAPTION 1
446 #if (WINVER >= 0x0500)
447 #define DFC_POPUPMENU 5
448 #endif /* WINVER >= 0x0500 */
449 #define DFCS_CAPTIONCLOSE 0
450 #define DFCS_CAPTIONMIN 1
451 #define DFCS_CAPTIONMAX 2
452 #define DFCS_CAPTIONRESTORE 3
453 #define DFCS_CAPTIONHELP 4
454 #define DFCS_MENUARROW 0
455 #define DFCS_MENUCHECK 1
456 #define DFCS_MENUBULLET 2
457 #define DFCS_MENUARROWRIGHT 4
458 #define DFCS_SCROLLUP 0
459 #define DFCS_SCROLLDOWN 1
460 #define DFCS_SCROLLLEFT 2
461 #define DFCS_SCROLLRIGHT 3
462 #define DFCS_SCROLLCOMBOBOX 5
463 #define DFCS_SCROLLSIZEGRIP 8
464 #define DFCS_SCROLLSIZEGRIPRIGHT 16
465 #define DFCS_BUTTONCHECK 0
466 #define DFCS_BUTTONRADIOIMAGE 1
467 #define DFCS_BUTTONRADIOMASK 2
468 #define DFCS_BUTTONRADIO 4
469 #define DFCS_BUTTON3STATE 8
470 #define DFCS_BUTTONPUSH 16
471 #define DFCS_INACTIVE 256
472 #define DFCS_PUSHED 512
473 #define DFCS_CHECKED 1024
474 #if (WINVER >= 0x0500)
475 #define DFCS_TRANSPARENT 0x800
476 #define DFCS_HOT 0x1000
478 #define DFCS_ADJUSTRECT 0x2000
479 #define DFCS_FLAT 0x4000
480 #define DFCS_MONO 0x8000
481 #define DST_COMPLEX 0
483 #define DST_PREFIXTEXT 2
488 #define DSS_DISABLED 32
490 #define DSS_RIGHT 0x8000
492 #define DT_CALCRECT 1024
494 #define DT_EDITCONTROL 8192
495 #define DT_END_ELLIPSIS 32768
496 #define DT_PATH_ELLIPSIS 16384
497 #define DT_WORD_ELLIPSIS 0x40000
498 #define DT_EXPANDTABS 64
499 #define DT_EXTERNALLEADING 512
501 #define DT_MODIFYSTRING 65536
502 #define DT_NOCLIP 256
503 #define DT_NOPREFIX 2048
505 #define DT_RTLREADING 131072
506 #define DT_SINGLELINE 32
507 #define DT_TABSTOP 128
510 #define DT_WORDBREAK 16
511 #define DT_INTERNAL 4096
512 #define WB_ISDELIMITER 2
519 #define ESB_DISABLE_BOTH 3
520 #define ESB_DISABLE_DOWN 2
521 #define ESB_DISABLE_LEFT 1
522 #define ESB_DISABLE_LTUP 1
523 #define ESB_DISABLE_RIGHT 2
524 #define ESB_DISABLE_RTDN 2
525 #define ESB_DISABLE_UP 1
526 #define ESB_ENABLE_BOTH 0
528 #define SB_LINEDOWN 1
529 #define SB_LINELEFT 0
530 #define SB_LINERIGHT 1
532 #define SB_PAGEDOWN 3
533 #define SB_PAGELEFT 2
534 #define SB_PAGERIGHT 3
535 #define SB_THUMBPOSITION 4
536 #define SB_THUMBTRACK 5
537 #define SB_ENDSCROLL 8
542 #define IS_INTRESOURCE(i) (((ULONG_PTR)(i) >> 16) == 0)
543 #define MAKEINTRESOURCEA(i) (LPSTR)((DWORD)((WORD)(i)))
544 #define MAKEINTRESOURCEW(i) (LPWSTR)((DWORD)((WORD)(i)))
545 #ifndef XFree86Server
546 # define RT_CURSOR MAKEINTRESOURCE(1)
547 # define RT_FONT MAKEINTRESOURCE(8)
548 #endif /* ndef XFree86Server */
549 #define RT_BITMAP MAKEINTRESOURCE(2)
550 #define RT_ICON MAKEINTRESOURCE(3)
551 #define RT_MENU MAKEINTRESOURCE(4)
552 #define RT_DIALOG MAKEINTRESOURCE(5)
553 #define RT_STRING MAKEINTRESOURCE(6)
554 #define RT_FONTDIR MAKEINTRESOURCE(7)
555 #define RT_ACCELERATOR MAKEINTRESOURCE(9)
556 #define RT_RCDATA MAKEINTRESOURCE(10)
557 #define RT_MESSAGETABLE MAKEINTRESOURCE(11)
558 #define DIFFERENCE 11
559 #define RT_GROUP_CURSOR MAKEINTRESOURCE((DWORD)RT_CURSOR+DIFFERENCE)
560 #define RT_GROUP_ICON MAKEINTRESOURCE((DWORD)RT_ICON+DIFFERENCE)
561 #define RT_VERSION MAKEINTRESOURCE(16)
562 #define RT_DLGINCLUDE MAKEINTRESOURCE(17)
563 #define RT_PLUGPLAY MAKEINTRESOURCE(19)
564 #define RT_VXD MAKEINTRESOURCE(20)
565 #define RT_ANICURSOR MAKEINTRESOURCE(21)
566 #define RT_ANIICON MAKEINTRESOURCE(22)
567 #define RT_HTML MAKEINTRESOURCE(23)
569 #define RT_MANIFEST MAKEINTRESOURCE(24)
570 #define CREATEPROCESS_MANIFEST_RESOURCE_ID MAKEINTRESOURCE(1)
571 #define ISOLATIONAWARE_MANIFEST_RESOURCE_ID MAKEINTRESOURCE(2)
572 #define ISOLATIONAWARE_NOSTATICIMPORT_MANIFEST_RESOURCE_ID MAKEINTRESOURCE(3)
574 #define RT_MANIFEST 24
575 #define CREATEPROCESS_MANIFEST_RESOURCE_ID 1
576 #define ISOLATIONAWARE_MANIFEST_RESOURCE_ID 2
577 #define ISOLATIONAWARE_NOSTATICIMPORT_MANIFEST_RESOURCE_ID 3
581 #define EWX_POWEROFF 8
583 #define EWX_SHUTDOWN 1
584 #if (_WIN32_WINNT >= 0x0500)
585 #define EWX_FORCEIFHUNG 16
587 #define CS_BYTEALIGNCLIENT 4096
588 #define CS_BYTEALIGNWINDOW 8192
589 #define CS_KEYCVTWINDOW 4
590 #define CS_NOKEYCVT 256
591 #define CS_CLASSDC 64
593 #define CS_GLOBALCLASS 16384
595 #define CS_NOCLOSE 512
597 #define CS_PARENTDC 128
598 #define CS_SAVEBITS 2048
600 #define CS_IME 0x10000
601 #if (_WIN32_WINNT >= 0x0501)
602 #define CS_DROPSHADOW 0x20000
604 #define GCW_ATOM (-32)
605 #define GCL_CBCLSEXTRA (-20)
606 #define GCL_CBWNDEXTRA (-18)
607 #define GCL_HBRBACKGROUND (-10)
608 #define GCL_HCURSOR (-12)
609 #define GCL_HICON (-14)
610 #define GCL_HICONSM (-34)
611 #define GCL_HMODULE (-16)
612 #define GCL_MENUNAME (-8)
613 #define GCL_STYLE (-26)
614 #define GCL_WNDPROC (-24)
615 #define GCLP_MENUNAME (-8)
616 #define GCLP_HBRBACKGROUND (-10)
617 #define GCLP_HCURSOR (-12)
618 #define GCLP_HICON (-14)
619 #define GCLP_HMODULE (-16)
620 #define GCLP_WNDPROC (-24)
621 #define GCLP_HICONSM (-34)
623 /* This is supposed to be defined by the program using it not defined
624 in the w32api headers. I've left it here for documentation purposes.
626 #ifndef IDC_STATIC /* May be predefined by resource compiler. */
627 #define IDC_STATIC (-1)
630 #define IDC_ARROW MAKEINTRESOURCE(32512)
631 #define IDC_IBEAM MAKEINTRESOURCE(32513)
632 #define IDC_WAIT MAKEINTRESOURCE(32514)
633 #define IDC_CROSS MAKEINTRESOURCE(32515)
634 #define IDC_UPARROW MAKEINTRESOURCE(32516)
635 #define IDC_SIZENWSE MAKEINTRESOURCE(32642)
636 #define IDC_SIZENESW MAKEINTRESOURCE(32643)
637 #define IDC_SIZEWE MAKEINTRESOURCE(32644)
638 #define IDC_SIZENS MAKEINTRESOURCE(32645)
639 #define IDC_SIZEALL MAKEINTRESOURCE(32646)
640 #define IDC_NO MAKEINTRESOURCE(32648)
641 #define IDC_HAND MAKEINTRESOURCE(32649)
642 #define IDC_APPSTARTING MAKEINTRESOURCE(32650)
643 #define IDC_HELP MAKEINTRESOURCE(32651)
644 #define IDC_ICON MAKEINTRESOURCE(32641)
645 #define IDC_SIZE MAKEINTRESOURCE(32640)
647 #define IDI_APPLICATION MAKEINTRESOURCE(32512)
648 #define IDI_HAND MAKEINTRESOURCE(32513)
649 #define IDI_QUESTION MAKEINTRESOURCE(32514)
650 #define IDI_EXCLAMATION MAKEINTRESOURCE(32515)
651 #define IDI_ASTERISK MAKEINTRESOURCE(32516)
652 #define IDI_WINLOGO MAKEINTRESOURCE(32517)
654 #define IDI_APPLICATION 32512
655 #define IDI_HAND 32513
656 #define IDI_QUESTION 32514
657 #define IDI_EXCLAMATION 32515
658 #define IDI_ASTERISK 32516
659 #define IDI_WINLOGO 32517
661 #define IDI_WARNING IDI_EXCLAMATION
662 #define IDI_ERROR IDI_HAND
663 #define IDI_INFORMATION IDI_ASTERISK
666 #define MIIM_SUBMENU 4
667 #define MIIM_CHECKMARKS 8
670 #define MIIM_STRING 64
671 #define MIIM_BITMAP 128
672 #define MIIM_FTYPE 256
673 #if (WINVER >= 0x0500)
674 #define MIM_MAXHEIGHT 1
675 #define MIM_BACKGROUND 2
677 #define MIM_MENUDATA 8
679 #define MIM_APPLYTOSUBMENUS 0x80000000L
680 #define MNS_NOCHECK 0x80000000
681 #define MNS_MODELESS 0x40000000
682 #define MNS_DRAGDROP 0x20000000
683 #define MNS_AUTODISMISS 0x10000000
684 #define MNS_NOTIFYBYPOS 0x08000000
685 #define MNS_CHECKORBMP 0x04000000
688 #define MFT_MENUBARBREAK 32
689 #define MFT_MENUBREAK 64
690 #define MFT_OWNERDRAW 256
691 #define MFT_RADIOCHECK 512
692 #define MFT_RIGHTJUSTIFY 0x4000
693 #define MFT_SEPARATOR 0x800
694 #define MFT_RIGHTORDER 0x2000L
696 #define MFS_CHECKED 8
697 #define MFS_DEFAULT 4096
698 #define MFS_DISABLED 3
699 #define MFS_ENABLED 0
701 #define MFS_HILITE 128
702 #define MFS_UNCHECKED 0
703 #define MFS_UNHILITE 0
704 #define GW_HWNDNEXT 2
705 #define GW_HWNDPREV 3
707 #define GW_HWNDFIRST 0
708 #define GW_HWNDLAST 1
712 #define SW_SHOWNORMAL 1
713 #define SW_SHOWMINIMIZED 2
714 #define SW_MAXIMIZE 3
715 #define SW_SHOWMAXIMIZED 3
716 #define SW_SHOWNOACTIVATE 4
718 #define SW_MINIMIZE 6
719 #define SW_SHOWMINNOACTIVE 7
722 #define SW_SHOWDEFAULT 10
723 #define SW_FORCEMINIMIZE 11
725 #define MB_USERICON 128
726 #define MB_ICONASTERISK 64
727 #define MB_ICONEXCLAMATION 0x30
728 #define MB_ICONWARNING 0x30
729 #define MB_ICONERROR 16
730 #define MB_ICONHAND 16
731 #define MB_ICONQUESTION 32
733 #define MB_ABORTRETRYIGNORE 2
734 #define MB_APPLMODAL 0
735 #define MB_DEFAULT_DESKTOP_ONLY 0x20000
736 #define MB_HELP 0x4000
737 #define MB_RIGHT 0x80000
738 #define MB_RTLREADING 0x100000
739 #define MB_TOPMOST 0x40000
740 #define MB_DEFBUTTON1 0
741 #define MB_DEFBUTTON2 256
742 #define MB_DEFBUTTON3 512
743 #define MB_DEFBUTTON4 0x300
744 #define MB_ICONINFORMATION 64
745 #define MB_ICONSTOP 16
746 #define MB_OKCANCEL 1
747 #define MB_RETRYCANCEL 5
749 #if (_WIN32_WINNT >= 0x0400)
750 #define MB_SERVICE_NOTIFICATION 0x00200000
752 #define MB_SERVICE_NOTIFICATION 0x00040000
754 #define MB_SERVICE_NOTIFICATION_NT3X 0x00040000
756 #define MB_SETFOREGROUND 0x10000
757 #define MB_SYSTEMMODAL 4096
758 #define MB_TASKMODAL 0x2000
760 #define MB_YESNOCANCEL 3
761 #define MB_ICONMASK 240
762 #define MB_DEFMASK 3840
763 #define MB_MODEMASK 0x00003000
764 #define MB_MISCMASK 0x0000C000
765 #define MB_NOFOCUS 0x00008000
766 #define MB_TYPEMASK 15
767 #define MB_TOPMOST 0x40000
768 #if (WINVER >= 0x0500)
769 #define MB_CANCELTRYCONTINUE 6
779 #if (WINVER >= 0x0400)
783 #if (WINVER >= 0x0500)
784 #define IDTRYAGAIN 10
785 #define IDCONTINUE 11
788 #define GWL_EXSTYLE (-20)
789 #define GWL_STYLE (-16)
790 #define GWL_WNDPROC (-4)
791 #define GWLP_WNDPROC (-4)
792 #define GWL_HINSTANCE (-6)
793 #define GWLP_HINSTANCE (-6)
794 #define GWL_HWNDPARENT (-8)
795 #define GWLP_HWNDPARENT (-8)
797 #define GWLP_ID (-12)
798 #define GWL_USERDATA (-21)
799 #define GWLP_USERDATA (-21)
800 #define DWL_DLGPROC 4
801 #define DWLP_DLGPROC 4
802 #define DWL_MSGRESULT 0
803 #define DWLP_MSGRESULT 0
806 #if (_WIN32_WINNT >= 0x0501)
807 #define QS_ALLEVENTS 1215
808 #define QS_ALLINPUT 1279
810 #define QS_ALLEVENTS 191
811 #define QS_ALLINPUT 255
813 #define QS_ALLPOSTMESSAGE 256
814 #define QS_HOTKEY 128
815 #if (_WIN32_WINNT >= 0x0501)
816 #define QS_INPUT 1031
822 #define QS_MOUSEBUTTON 4
823 #define QS_MOUSEMOVE 2
825 #define QS_POSTMESSAGE 8
826 #if (_WIN32_WINNT >= 0x0501)
827 #define QS_RAWINPUT 1024
829 #define QS_SENDMESSAGE 64
831 #define MWMO_WAITALL 1
832 #define MWMO_ALERTABLE 2
833 #define MWMO_INPUTAVAILABLE 4
834 #define COLOR_3DDKSHADOW 21
835 #define COLOR_3DFACE 15
836 #define COLOR_3DHILIGHT 20
837 #define COLOR_3DHIGHLIGHT 20
838 #define COLOR_3DLIGHT 22
839 #define COLOR_BTNHILIGHT 20
840 #define COLOR_3DSHADOW 16
841 #define COLOR_ACTIVEBORDER 10
842 #define COLOR_ACTIVECAPTION 2
843 #define COLOR_APPWORKSPACE 12
844 #define COLOR_BACKGROUND 1
845 #define COLOR_DESKTOP 1
846 #define COLOR_BTNFACE 15
847 #define COLOR_BTNHIGHLIGHT 20
848 #define COLOR_BTNSHADOW 16
849 #define COLOR_BTNTEXT 18
850 #define COLOR_CAPTIONTEXT 9
851 #define COLOR_GRAYTEXT 17
852 #define COLOR_HIGHLIGHT 13
853 #define COLOR_HIGHLIGHTTEXT 14
854 #define COLOR_INACTIVEBORDER 11
855 #define COLOR_INACTIVECAPTION 3
856 #define COLOR_INACTIVECAPTIONTEXT 19
857 #define COLOR_INFOBK 24
858 #define COLOR_INFOTEXT 23
860 #define COLOR_MENUTEXT 7
861 #define COLOR_SCROLLBAR 0
862 #define COLOR_WINDOW 5
863 #define COLOR_WINDOWFRAME 6
864 #define COLOR_WINDOWTEXT 8
865 #define COLOR_HOTLIGHT 26
866 #define COLOR_GRADIENTACTIVECAPTION 27
867 #define COLOR_GRADIENTINACTIVECAPTION 28
868 #define CTLCOLOR_MSGBOX 0
869 #define CTLCOLOR_EDIT 1
870 #define CTLCOLOR_LISTBOX 2
871 #define CTLCOLOR_BTN 3
872 #define CTLCOLOR_DLG 4
873 #define CTLCOLOR_SCROLLBAR 5
874 #define CTLCOLOR_STATIC 6
875 #define CTLCOLOR_MAX 7
876 #define SM_CXSCREEN 0
877 #define SM_CYSCREEN 1
878 #define SM_CXVSCROLL 2
879 #define SM_CYHSCROLL 3
880 #define SM_CYCAPTION 4
881 #define SM_CXBORDER 5
882 #define SM_CYBORDER 6
883 #define SM_CXDLGFRAME 7
884 #define SM_CXFIXEDFRAME 7
885 #define SM_CYDLGFRAME 8
886 #define SM_CYFIXEDFRAME 8
887 #define SM_CYVTHUMB 9
888 #define SM_CXHTHUMB 10
891 #define SM_CXCURSOR 13
892 #define SM_CYCURSOR 14
894 #define SM_CXFULLSCREEN 16
895 #define SM_CYFULLSCREEN 17
896 #define SM_CYKANJIWINDOW 18
897 #define SM_MOUSEPRESENT 19
898 #define SM_CYVSCROLL 20
899 #define SM_CXHSCROLL 21
901 #define SM_SWAPBUTTON 23
902 #define SM_RESERVED1 24
903 #define SM_RESERVED2 25
904 #define SM_RESERVED3 26
905 #define SM_RESERVED4 27
910 #define SM_CXSIZEFRAME 32
911 #define SM_CXFRAME 32
912 #define SM_CYSIZEFRAME 33
913 #define SM_CYFRAME 33
914 #define SM_CXMINTRACK 34
915 #define SM_CYMINTRACK 35
916 #define SM_CXDOUBLECLK 36
917 #define SM_CYDOUBLECLK 37
918 #define SM_CXICONSPACING 38
919 #define SM_CYICONSPACING 39
920 #define SM_MENUDROPALIGNMENT 40
921 #define SM_PENWINDOWS 41
922 #define SM_DBCSENABLED 42
923 #define SM_CMOUSEBUTTONS 43
927 #define SM_CXMINSPACING 47
928 #define SM_CYMINSPACING 48
929 #define SM_CXSMICON 49
930 #define SM_CYSMICON 50
931 #define SM_CYSMCAPTION 51
932 #define SM_CXSMSIZE 52
933 #define SM_CYSMSIZE 53
934 #define SM_CXMENUSIZE 54
935 #define SM_CYMENUSIZE 55
936 #define SM_ARRANGE 56
937 #define SM_CXMINIMIZED 57
938 #define SM_CYMINIMIZED 58
939 #define SM_CXMAXTRACK 59
940 #define SM_CYMAXTRACK 60
941 #define SM_CXMAXIMIZED 61
942 #define SM_CYMAXIMIZED 62
943 #define SM_NETWORK 63
944 #define SM_CLEANBOOT 67
947 #define SM_SHOWSOUNDS 70
948 #define SM_CXMENUCHECK 71
949 #define SM_CYMENUCHECK 72
950 #define SM_SLOWMACHINE 73
951 #define SM_MIDEASTENABLED 74
952 #define SM_MOUSEWHEELPRESENT 75
953 #define SM_XVIRTUALSCREEN 76
954 #define SM_YVIRTUALSCREEN 77
955 #define SM_CXVIRTUALSCREEN 78
956 #define SM_CYVIRTUALSCREEN 79
957 #define SM_CMONITORS 80
958 #define SM_SAMEDISPLAYFORMAT 81
959 #define SM_IMMENABLED 82
960 #define SM_CXFOCUSBORDER 83
961 #define SM_CYFOCUSBORDER 84
962 #define SM_TABLETPC 86
963 #define SM_MEDIACENTER 87
964 #define SM_STARTER 88
965 #define SM_SERVERR2 89
966 #if (_WIN32_WINNT < 0x0400)
967 #define SM_CMETRICS 76
969 #define SM_CMETRICS 88
971 #define SM_REMOTESESSION 0X1000
972 #define ARW_BOTTOMLEFT 0
973 #define ARW_BOTTOMRIGHT 1
975 #define ARW_TOPLEFT 2
976 #define ARW_TOPRIGHT 3
984 #define UOI_USER_SID 4
985 #define LR_DEFAULTCOLOR 0
986 #define LR_MONOCHROME 1
988 #define LR_COPYRETURNORG 4
989 #define LR_COPYDELETEORG 8
990 #define LR_LOADFROMFILE 16
991 #define LR_LOADTRANSPARENT 32
992 #define LR_LOADREALSIZE 128
993 #define LR_DEFAULTSIZE 0x0040
994 #define LR_VGACOLOR 0x0080
995 #define LR_LOADMAP3DCOLORS 4096
996 #define LR_CREATEDIBSECTION 8192
997 #define LR_COPYFROMRESOURCE 0x4000
998 #define LR_SHARED 32768
999 #define KEYEVENTF_EXTENDEDKEY 0x00000001
1000 #define KEYEVENTF_KEYUP 00000002
1001 #if (_WIN32_WINNT >= 0x0500)
1002 #define KEYEVENTF_UNICODE 0x00000004
1003 #define KEYEVENTF_SCANCODE 0x00000008
1005 #define OBM_BTNCORNERS 32758
1006 #define OBM_BTSIZE 32761
1007 #define OBM_CHECK 32760
1008 #define OBM_CHECKBOXES 32759
1009 #define OBM_CLOSE 32754
1010 #define OBM_COMBO 32738
1011 #define OBM_DNARROW 32752
1012 #define OBM_DNARROWD 32742
1013 #define OBM_DNARROWI 32736
1014 #define OBM_LFARROW 32750
1015 #define OBM_LFARROWI 32734
1016 #define OBM_LFARROWD 32740
1017 #define OBM_MNARROW 32739
1018 #define OBM_OLD_CLOSE 32767
1019 #define OBM_OLD_DNARROW 32764
1020 #define OBM_OLD_LFARROW 32762
1021 #define OBM_OLD_REDUCE 32757
1022 #define OBM_OLD_RESTORE 32755
1023 #define OBM_OLD_RGARROW 32763
1024 #define OBM_OLD_UPARROW 32765
1025 #define OBM_OLD_ZOOM 32756
1026 #define OBM_REDUCE 32749
1027 #define OBM_REDUCED 32746
1028 #define OBM_RESTORE 32747
1029 #define OBM_RESTORED 32744
1030 #define OBM_RGARROW 32751
1031 #define OBM_RGARROWD 32741
1032 #define OBM_RGARROWI 32735
1033 #define OBM_SIZE 32766
1034 #define OBM_UPARROW 32753
1035 #define OBM_UPARROWD 32743
1036 #define OBM_UPARROWI 32737
1037 #define OBM_ZOOM 32748
1038 #define OBM_ZOOMD 32745
1039 #define OCR_NORMAL 32512
1040 #define OCR_IBEAM 32513
1041 #define OCR_WAIT 32514
1042 #define OCR_CROSS 32515
1043 #define OCR_UP 32516
1044 #define OCR_SIZE 32640
1045 #define OCR_ICON 32641
1046 #define OCR_SIZENWSE 32642
1047 #define OCR_SIZENESW 32643
1048 #define OCR_SIZEWE 32644
1049 #define OCR_SIZENS 32645
1050 #define OCR_SIZEALL 32646
1051 #define OCR_NO 32648
1052 #define OCR_APPSTARTING 32650
1053 #define OIC_SAMPLE 32512
1054 #define OIC_HAND 32513
1055 #define OIC_QUES 32514
1056 #define OIC_BANG 32515
1057 #define OIC_NOTE 32516
1058 #define OIC_WINLOGO 32517
1059 #define OIC_WARNING OIC_BANG
1060 #define OIC_ERROR OIC_HAND
1061 #define OIC_INFORMATION OIC_NOTE
1062 #define HELPINFO_MENUITEM 2
1063 #define HELPINFO_WINDOW 1
1064 #define MSGF_DIALOGBOX 0
1065 #define MSGF_MESSAGEBOX 1
1069 #define MSGF_SCROLLBAR 5
1070 #define MSGF_NEXTWINDOW 6
1071 #define MSGF_MAINLOOP 8
1072 #define MSGF_USER 4096
1073 #define MOUSEEVENTF_MOVE 0x00000001
1074 #define MOUSEEVENTF_LEFTDOWN 0x00000002
1075 #define MOUSEEVENTF_LEFTUP 0x00000004
1076 #define MOUSEEVENTF_RIGHTDOWN 0x00000008
1077 #define MOUSEEVENTF_RIGHTUP 0x00000010
1078 #define MOUSEEVENTF_MIDDLEDOWN 0x00000020
1079 #define MOUSEEVENTF_MIDDLEUP 0x00000040
1080 #define MOUSEEVENTF_ABSOLUTE 0x00008000
1081 #if (_WIN32_WINNT >= 0x0400)
1082 #define MOUSEEVENTF_WHEEL 0x00000800
1084 #if (_WIN32_WINNT >= 0x0500)
1085 #define MOUSEEVENTF_XDOWN 0x00000080
1086 #define MOUSEEVENTF_XUP 0x00000100
1088 #if (_WIN32_WINNT >= 0x0400)
1089 #define PBT_APMQUERYSUSPEND 0x0000
1090 #define PBT_APMQUERYSTANDBY 0x0001
1091 #define PBT_APMQUERYSUSPENDFAILED 0x0002
1092 #define PBT_APMQUERYSTANDBYFAILED 0x0003
1093 #define PBT_APMSUSPEND 0x0004
1094 #define PBT_APMSTANDBY 0x0005
1095 #define PBT_APMRESUMECRITICAL 0x0006
1096 #define PBT_APMRESUMESUSPEND 0x0007
1097 #define PBT_APMRESUMESTANDBY 0x0008
1098 #define PBT_APMBATTERYLOW 0x0009
1099 #define PBT_APMPOWERSTATUSCHANGE 0x000A
1100 #define PBT_APMOEMEVENT 0x000B
1101 #define PBT_APMRESUMEAUTOMATIC 0x0012
1103 #define PM_NOREMOVE 0
1105 #define PM_NOYIELD 2
1106 #if (_WIN32_WINNT >= 0x0500)
1107 # define PM_QS_INPUT (QS_INPUT << 16)
1108 # define PM_QS_POSTMESSAGE ((QS_POSTMESSAGE|QS_HOTKEY|QS_TIMER) << 16)
1109 # define PM_QS_PAINT (QS_PAINT << 16)
1110 # define PM_QS_SENDMESSAGE (QS_SENDMESSAGE << 16)
1112 #define HWND_BROADCAST ((HWND)0xFFFF)
1113 #define HWND_BOTTOM ((HWND)1)
1114 #define HWND_NOTOPMOST ((HWND)(-2))
1115 #define HWND_TOP ((HWND)0)
1116 #define HWND_TOPMOST ((HWND)(-1))
1117 #define HWND_DESKTOP (HWND)0
1118 #if (_WIN32_WINNT >= 0x0500)
1119 #define HWND_MESSAGE ((HWND)(-3))
1122 #define RDW_FRAME 1024
1123 #define RDW_INTERNALPAINT 2
1124 #define RDW_INVALIDATE 1
1125 #define RDW_NOERASE 32
1126 #define RDW_NOFRAME 2048
1127 #define RDW_NOINTERNALPAINT 16
1128 #define RDW_VALIDATE 8
1129 #define RDW_ERASENOW 512
1130 #define RDW_UPDATENOW 256
1131 #define RDW_ALLCHILDREN 128
1132 #define RDW_NOCHILDREN 64
1133 #define SMTO_ABORTIFHUNG 0x0002
1134 #define SMTO_BLOCK 0x0001
1135 #define SMTO_NORMAL 0x0000
1136 #if (_WIN32_WINNT >= 0x0500)
1137 #define SMTO_NOTIMEOUTIFNOTHUNG 0x0008
1139 #define SIF_DISABLENOSCROLL 0x0008
1140 #define SIF_PAGE 0x0002
1141 #define SIF_POS 0x0004
1142 #define SIF_RANGE 0x0001
1143 #define SIF_TRACKPOS 0x0010
1144 #define SIF_ALL (SIF_PAGE|SIF_POS|SIF_RANGE|SIF_TRACKPOS)
1145 #define SWP_DRAWFRAME 0x0020
1146 #define SWP_FRAMECHANGED 0x0020
1147 #define SWP_HIDEWINDOW 0x0080
1148 #define SWP_NOACTIVATE 0x0010
1149 #define SWP_NOCOPYBITS 0x0100
1150 #define SWP_NOMOVE 0x0002
1151 #define SWP_NOSIZE 0x0001
1152 #define SWP_NOREDRAW 0x0008
1153 #define SWP_NOZORDER 0x0004
1154 #define SWP_SHOWWINDOW 0x0040
1155 #define SWP_NOOWNERZORDER 0x0200
1156 #define SWP_NOREPOSITION SWP_NOOWNERZORDER
1157 #define SWP_NOSENDCHANGING 0x0400
1158 #define SWP_DEFERERASE 0x2000
1159 #define SWP_ASYNCWINDOWPOS 0x4000
1160 #define HSHELL_ACTIVATESHELLWINDOW 3
1161 #define HSHELL_ENDTASK 10
1162 #define HSHELL_GETMINRECT 5
1163 #define HSHELL_LANGUAGE 8
1164 #define HSHELL_REDRAW 6
1165 #define HSHELL_TASKMAN 7
1166 #define HSHELL_WINDOWACTIVATED 4
1167 #define HSHELL_WINDOWCREATED 1
1168 #define HSHELL_WINDOWDESTROYED 2
1169 #if (_WIN32_WINNT >= 0x0500)
1170 #define HSHELL_ACCESSIBILITYSTATE 11
1171 #define HSHELL_APPCOMMAND 12
1172 #define HSHELL_RUDEAPPACTIVATED 32772
1173 #define HSHELL_FLASH 32774
1175 #if (_WIN32_WINNT >= 0x0501)
1176 #define HSHELL_WINDOWREPLACED 13
1177 #define HSHELL_WINDOWREPLACING 14
1179 #define SPI_GETACCESSTIMEOUT 0x003C
1180 #define SPI_GETACTIVEWINDOWTRACKING 0x1000
1181 #define SPI_GETACTIVEWNDTRKTIMEOUT 8194
1182 #define SPI_GETACTIVEWNDTRKZORDER 0x100C
1183 #define SPI_GETANIMATION 0x0048
1184 #define SPI_GETBEEP 0x0001
1185 #define SPI_GETBLOCKSENDINPUTRESETS 0x1026
1186 #define SPI_GETBORDER 0x0005
1187 #define SPI_GETCARETWIDTH 0x2006
1188 #define SPI_GETCOMBOBOXANIMATION 0x1004
1189 #define SPI_GETCURSORSHADOW 0x101A
1190 #define SPI_GETDEFAULTINPUTLANG 0x0059
1191 #define SPI_GETDESKWALLPAPER 0x0073
1192 #define SPI_GETDRAGFULLWINDOWS 0x0026
1193 #define SPI_GETFASTTASKSWITCH 0x0023
1194 #define SPI_GETFILTERKEYS 0x0032
1195 #define SPI_GETFONTSMOOTHING 0x004A
1196 #define SPI_GETFOREGROUNDFLASHCOUNT 0x2004
1197 #define SPI_GETFOREGROUNDLOCKTIMEOUT 0x2000
1198 #define SPI_GETGRADIENTCAPTIONS 0x1008
1199 #define SPI_GETGRIDGRANULARITY 0x0012
1200 #define SPI_GETHIGHCONTRAST 0x0042
1201 #define SPI_GETHOTTRACKING 0x100E
1202 #define SPI_GETICONMETRICS 0x002D
1203 #define SPI_GETICONTITLELOGFONT 0x001F
1204 #define SPI_GETICONTITLEWRAP 0x0019
1205 #define SPI_GETKEYBOARDCUES 0x100A
1206 #define SPI_GETKEYBOARDDELAY 0x0016
1207 #define SPI_GETKEYBOARDPREF 0x0044
1208 #define SPI_GETKEYBOARDSPEED 0x000A
1209 #define SPI_GETLISTBOXSMOOTHSCROLLING 0x1006
1210 #define SPI_GETLOWPOWERACTIVE 0x0053
1211 #define SPI_GETLOWPOWERTIMEOUT 0x004F
1212 #define SPI_GETMENUANIMATION 0x1002
1213 #define SPI_GETMENUDROPALIGNMENT 0x001B
1214 #define SPI_GETMENUFADE 0x1012
1215 #define SPI_GETMENUSHOWDELAY 0x006A
1216 #define SPI_GETMENUUNDERLINES SPI_GETKEYBOARDCUES
1217 #define SPI_GETMINIMIZEDMETRICS 0x002B
1218 #define SPI_GETMOUSE 0x0003
1219 #define SPI_GETMOUSEHOVERHEIGHT 0x0064
1220 #define SPI_GETMOUSEHOVERTIME 0x0066
1221 #define SPI_GETMOUSEHOVERWIDTH 0x0062
1222 #define SPI_GETMOUSEKEYS 0x0036
1223 #define SPI_GETMOUSESPEED 0x0070
1224 #define SPI_GETMOUSETRAILS 0x005E
1225 #define SPI_GETNONCLIENTMETRICS 0x0029
1226 #define SPI_GETPOWEROFFACTIVE 0x0054
1227 #define SPI_GETPOWEROFFTIMEOUT 0x0050
1228 #define SPI_GETSCREENREADER 0x0046
1229 #define SPI_GETSCREENSAVEACTIVE 0x0010
1230 #define SPI_GETSCREENSAVERRUNNING 0x0072
1231 #define SPI_GETSCREENSAVETIMEOUT 0x000E
1232 #define SPI_GETSELECTIONFADE 0x1014
1233 #define SPI_GETSERIALKEYS 0x003E
1234 #define SPI_GETSHOWIMEUI 0x006E
1235 #define SPI_GETSHOWSOUNDS 0x0038
1236 #define SPI_GETSNAPTODEFBUTTON 0x005F
1237 #define SPI_GETSOUNDSENTRY 0x0040
1238 #define SPI_GETSTICKYKEYS 0x003A
1239 #define SPI_GETTOGGLEKEYS 0x0034
1240 #define SPI_GETTOOLTIPANIMATION 0x1016
1241 #define SPI_GETTOOLTIPFADE 0x1018
1242 #define SPI_GETUIEFFECTS 0x103E
1243 #define SPI_GETWHEELSCROLLLINES 0x0068
1244 #define SPI_GETWINDOWSEXTENSION 0x005C
1245 #define SPI_GETWORKAREA 0x0030
1246 #define SPI_ICONHORIZONTALSPACING 0x000D
1247 #define SPI_ICONVERTICALSPACING 0x0018
1248 #define SPI_LANGDRIVER 0x000C
1249 #define SPI_SETACCESSTIMEOUT 0x003D
1250 #define SPI_SETACTIVEWINDOWTRACKING 0x1001
1251 #define SPI_SETACTIVEWNDTRKTIMEOUT 8195
1252 #define SPI_SETACTIVEWNDTRKZORDER 0x100D
1253 #define SPI_SETANIMATION 0x0049
1254 #define SPI_SETBEEP 0x0002
1255 #define SPI_SETBLOCKSENDINPUTRESETS 0x1027
1256 #define SPI_SETBORDER 0x0006
1257 #define SPI_SETCARETWIDTH 0x2007
1258 #define SPI_SETCOMBOBOXANIMATION 0x1005
1259 #define SPI_SETCURSORS 0x0057
1260 #define SPI_SETCURSORSHADOW 0x101B
1261 #define SPI_SETDEFAULTINPUTLANG 0x005A
1262 #define SPI_SETDESKPATTERN 0x0015
1263 #define SPI_SETDESKWALLPAPER 0x0014
1264 #define SPI_SETDOUBLECLICKTIME 0x0020
1265 #define SPI_SETDOUBLECLKHEIGHT 0x001E
1266 #define SPI_SETDOUBLECLKWIDTH 0x001D
1267 #define SPI_SETDRAGFULLWINDOWS 0x0025
1268 #define SPI_SETDRAGHEIGHT 0x004D
1269 #define SPI_SETDRAGWIDTH 0x004C
1270 #define SPI_SETFASTTASKSWITCH 0x0024
1271 #define SPI_SETFILTERKEYS 0x0033
1272 #define SPI_SETFONTSMOOTHING 0x004B
1273 #define SPI_SETFOREGROUNDFLASHCOUNT 0x2005
1274 #define SPI_SETFOREGROUNDLOCKTIMEOUT 0x2001
1275 #define SPI_SETGRADIENTCAPTIONS 0x1009
1276 #define SPI_SETGRIDGRANULARITY 0x0013
1277 #define SPI_SETHANDHELD 0x004E
1278 #define SPI_SETHIGHCONTRAST 0x0043
1279 #define SPI_SETHOTTRACKING 0x100F
1280 #define SPI_SETICONMETRICS 0x002E
1281 #define SPI_SETICONS 0x0058
1282 #define SPI_SETICONTITLELOGFONT 0x0022
1283 #define SPI_SETICONTITLEWRAP 0x001A
1284 #define SPI_SETKEYBOARDCUES 0x100B
1285 #define SPI_SETKEYBOARDDELAY 0x0017
1286 #define SPI_SETKEYBOARDPREF 0x0045
1287 #define SPI_SETKEYBOARDSPEED 0x000B
1288 #define SPI_SETLANGTOGGLE 0x005B
1289 #define SPI_SETLISTBOXSMOOTHSCROLLING 0x1007
1290 #define SPI_SETLOWPOWERACTIVE 0x0055
1291 #define SPI_SETLOWPOWERTIMEOUT 0x0051
1292 #define SPI_SETMENUANIMATION 0x1003
1293 #define SPI_SETMENUDROPALIGNMENT 0x001C
1294 #define SPI_SETMENUFADE 0x1013
1295 #define SPI_SETMENUSHOWDELAY 0x006B
1296 #define SPI_SETMENUUNDERLINES SPI_SETKEYBOARDCUES
1297 #define SPI_SETMINIMIZEDMETRICS 0x002C
1298 #define SPI_SETMOUSE 0x0004
1299 #define SPI_SETMOUSEBUTTONSWAP 0x0021
1300 #define SPI_SETMOUSEHOVERHEIGHT 0x0065
1301 #define SPI_SETMOUSEHOVERTIME 0x0067
1302 #define SPI_SETMOUSEHOVERWIDTH 0x0063
1303 #define SPI_SETMOUSEKEYS 0x0037
1304 #define SPI_SETMOUSESPEED 0x0071
1305 #define SPI_SETMOUSETRAILS 0x005D
1306 #define SPI_SETNONCLIENTMETRICS 0x002A
1307 #define SPI_SETPENWINDOWS 0x0031
1308 #define SPI_SETPOWEROFFACTIVE 0x0056
1309 #define SPI_SETPOWEROFFTIMEOUT 0x0052
1310 #define SPI_SETSCREENREADER 0x0047
1311 #define SPI_SETSCREENSAVEACTIVE 0x0011
1312 #define SPI_SETSCREENSAVERRUNNING 0x0061
1313 #define SPI_SETSCREENSAVETIMEOUT 0x000F
1314 #define SPI_SETSELECTIONFADE 0x1015
1315 #define SPI_SETSERIALKEYS 0x003F
1316 #define SPI_SETSHOWIMEUI 0x006F
1317 #define SPI_SETSHOWSOUNDS 0x0039
1318 #define SPI_SETSNAPTODEFBUTTON 0x0060
1319 #define SPI_SETSOUNDSENTRY 0x0041
1320 #define SPI_SETSTICKYKEYS 0x003B
1321 #define SPI_SETTOGGLEKEYS 0x0035
1322 #define SPI_SETTOOLTIPANIMATION 0x1017
1323 #define SPI_SETTOOLTIPFADE 0x1019
1324 #define SPI_SETUIEFFECTS 0x103F
1325 #define SPI_SETWHEELSCROLLLINES 0x0069
1326 #define SPI_SETWORKAREA 0x002F
1327 #if (_WIN32_WINNT >= 0x0501)
1328 #define SPI_GETDROPSHADOW 0x1024
1329 #define SPI_GETFLATMENU 0x1022
1330 #define SPI_GETFOCUSBORDERHEIGHT 0x2010
1331 #define SPI_GETFOCUSBORDERWIDTH 0x200E
1332 #define SPI_GETFONTSMOOTHINGCONTRAST 0x200C
1333 #define SPI_GETFONTSMOOTHINGTYPE 0x200A
1334 #define SPI_GETMOUSECLICKLOCK 0x101E
1335 #define SPI_GETMOUSECLICKLOCKTIME 0x2008
1336 #define SPI_GETMOUSESONAR 0x101C
1337 #define SPI_GETMOUSEVANISH 0x1020
1338 #define SPI_SETDROPSHADOW 0x1025
1339 #define SPI_SETFLATMENU 0x1023
1340 #define SPI_SETFOCUSBORDERHEIGHT 0x2011
1341 #define SPI_SETFOCUSBORDERWIDTH 0x200F
1342 #define SPI_SETFONTSMOOTHINGCONTRAST 0x200D
1343 #define SPI_SETFONTSMOOTHINGTYPE 0x200B
1344 #define SPI_SETMOUSECLICKLOCK 0x101F
1345 #define SPI_SETMOUSECLICKLOCKTIME 0x2009
1346 #define SPI_SETMOUSESONAR 0x101D
1347 #define SPI_SETMOUSEVANISH 0x1021
1349 #define SPIF_UPDATEINIFILE 0x0001
1350 #define SPIF_SENDCHANGE 0x0002
1351 #define SPIF_SENDWININICHANGE SPIF_SENDCHANGE
1352 #define ATF_ONOFFFEEDBACK 2
1353 #define ATF_TIMEOUTON 1
1354 #define WM_APP 32768
1355 #define WM_ACTIVATE 6
1356 #define WM_ACTIVATEAPP 28
1357 /* FIXME/CHECK: Are WM_AFX{FIRST,LAST} valid for WINVER < 0x400? */
1358 #define WM_AFXFIRST 864
1359 #define WM_AFXLAST 895
1360 #define WM_ASKCBFORMATNAME 780
1361 #define WM_CANCELJOURNAL 75
1362 #define WM_CANCELMODE 31
1363 #define WM_CAPTURECHANGED 533
1364 #define WM_CHANGECBCHAIN 781
1366 #define WM_CHARTOITEM 47
1367 #define WM_CHILDACTIVATE 34
1368 #define WM_CLEAR 771
1370 #define WM_COMMAND 273
1371 #define WM_COMMNOTIFY 68 /* obsolete */
1372 #define WM_COMPACTING 65
1373 #define WM_COMPAREITEM 57
1374 #define WM_CONTEXTMENU 123
1376 #define WM_COPYDATA 74
1378 #define WM_CTLCOLORBTN 309
1379 #define WM_CTLCOLORDLG 310
1380 #define WM_CTLCOLOREDIT 307
1381 #define WM_CTLCOLORLISTBOX 308
1382 #define WM_CTLCOLORMSGBOX 306
1383 #define WM_CTLCOLORSCROLLBAR 311
1384 #define WM_CTLCOLORSTATIC 312
1386 #define WM_DEADCHAR 259
1387 #define WM_DELETEITEM 45
1388 #define WM_DESTROY 2
1389 #define WM_DESTROYCLIPBOARD 775
1390 #define WM_DEVICECHANGE 537
1391 #define WM_DEVMODECHANGE 27
1392 #define WM_DISPLAYCHANGE 126
1393 #define WM_DRAWCLIPBOARD 776
1394 #define WM_DRAWITEM 43
1395 #define WM_DROPFILES 563
1396 #define WM_ENABLE 10
1397 #define WM_ENDSESSION 22
1398 #define WM_ENTERIDLE 289
1399 #define WM_ENTERMENULOOP 529
1400 #define WM_ENTERSIZEMOVE 561
1401 #define WM_ERASEBKGND 20
1402 #define WM_EXITMENULOOP 530
1403 #define WM_EXITSIZEMOVE 562
1404 #define WM_FONTCHANGE 29
1405 #define WM_GETDLGCODE 135
1406 #define WM_GETFONT 49
1407 #define WM_GETHOTKEY 51
1408 #define WM_GETICON 127
1409 #define WM_GETMINMAXINFO 36
1410 #define WM_GETTEXT 13
1411 #define WM_GETTEXTLENGTH 14
1412 /* FIXME/CHECK: Are WM_HANDHEL{FIRST,LAST} valid for WINVER < 0x400? */
1413 #define WM_HANDHELDFIRST 856
1414 #define WM_HANDHELDLAST 863
1416 #define WM_HOTKEY 786
1417 #define WM_HSCROLL 276
1418 #define WM_HSCROLLCLIPBOARD 782
1419 #define WM_ICONERASEBKGND 39
1420 #define WM_INITDIALOG 272
1421 #define WM_INITMENU 278
1422 #define WM_INITMENUPOPUP 279
1423 #if (_WIN32_WINNT >= 0x0501)
1424 #define WM_INPUT 0x00FF
1426 #define WM_INPUTLANGCHANGE 81
1427 #define WM_INPUTLANGCHANGEREQUEST 80
1428 #define WM_KEYDOWN 256
1429 #define WM_KEYUP 257
1430 #define WM_KILLFOCUS 8
1431 #define WM_MDIACTIVATE 546
1432 #define WM_MDICASCADE 551
1433 #define WM_MDICREATE 544
1434 #define WM_MDIDESTROY 545
1435 #define WM_MDIGETACTIVE 553
1436 #define WM_MDIICONARRANGE 552
1437 #define WM_MDIMAXIMIZE 549
1438 #define WM_MDINEXT 548
1439 #define WM_MDIREFRESHMENU 564
1440 #define WM_MDIRESTORE 547
1441 #define WM_MDISETMENU 560
1442 #define WM_MDITILE 550
1443 #define WM_MEASUREITEM 44
1444 #if (WINVER >= 0x0500)
1445 #define WM_GETOBJECT 0x003D
1446 #define WM_CHANGEUISTATE 0x0127
1447 #define WM_UPDATEUISTATE 0x0128
1448 #define WM_QUERYUISTATE 0x0129
1449 #define WM_UNINITMENUPOPUP 0x0125
1450 #define WM_MENURBUTTONUP 290
1451 #define WM_MENUCOMMAND 0x0126
1452 #define WM_MENUGETOBJECT 0x0124
1453 #define WM_MENUDRAG 0x0123
1454 #define WM_APPCOMMAND 0x0319
1456 #define WM_MENUCHAR 288
1457 #define WM_MENUSELECT 287
1458 #define WM_NEXTMENU 531
1460 #define WM_MOVING 534
1461 #define WM_NCACTIVATE 134
1462 #define WM_NCCALCSIZE 131
1463 #define WM_NCCREATE 129
1464 #define WM_NCDESTROY 130
1465 #define WM_NCHITTEST 132
1466 #define WM_NCLBUTTONDBLCLK 163
1467 #define WM_NCLBUTTONDOWN 161
1468 #define WM_NCLBUTTONUP 162
1469 #define WM_NCMBUTTONDBLCLK 169
1470 #define WM_NCMBUTTONDOWN 167
1471 #define WM_NCMBUTTONUP 168
1472 #if (_WIN32_WINNT >= 0x0500)
1473 #define WM_NCXBUTTONDOWN 171
1474 #define WM_NCXBUTTONUP 172
1475 #define WM_NCXBUTTONDBLCLK 173
1476 #define WM_NCMOUSEHOVER 0x02A0
1477 #define WM_NCMOUSELEAVE 0x02A2
1479 #define WM_NCMOUSEMOVE 160
1480 #define WM_NCPAINT 133
1481 #define WM_NCRBUTTONDBLCLK 166
1482 #define WM_NCRBUTTONDOWN 164
1483 #define WM_NCRBUTTONUP 165
1484 #define WM_NEXTDLGCTL 40
1485 #define WM_NEXTMENU 531
1486 #define WM_NOTIFY 78
1487 #define WM_NOTIFYFORMAT 85
1490 #define WM_PAINTCLIPBOARD 777
1491 #define WM_PAINTICON 38
1492 #define WM_PALETTECHANGED 785
1493 #define WM_PALETTEISCHANGING 784
1494 #define WM_PARENTNOTIFY 528
1495 #define WM_PASTE 770
1496 #define WM_PENWINFIRST 896
1497 #define WM_PENWINLAST 911
1499 #define WM_POWERBROADCAST 536
1500 #define WM_PRINT 791
1501 #define WM_PRINTCLIENT 792
1502 #define WM_QUERYDRAGICON 55
1503 #define WM_QUERYENDSESSION 17
1504 #define WM_QUERYNEWPALETTE 783
1505 #define WM_QUERYOPEN 19
1506 #define WM_QUEUESYNC 35
1508 #define WM_RENDERALLFORMATS 774
1509 #define WM_RENDERFORMAT 773
1510 #define WM_SETCURSOR 32
1511 #define WM_SETFOCUS 7
1512 #define WM_SETFONT 48
1513 #define WM_SETHOTKEY 50
1514 #define WM_SETICON 128
1515 #define WM_SETREDRAW 11
1516 #define WM_SETTEXT 12
1517 #define WM_SETTINGCHANGE 26
1518 #define WM_SHOWWINDOW 24
1520 #define WM_SIZECLIPBOARD 779
1521 #define WM_SIZING 532
1522 #define WM_SPOOLERSTATUS 42
1523 #define WM_STYLECHANGED 125
1524 #define WM_STYLECHANGING 124
1525 #define WM_SYSCHAR 262
1526 #define WM_SYSCOLORCHANGE 21
1527 #define WM_SYSCOMMAND 274
1528 #define WM_SYSDEADCHAR 263
1529 #define WM_SYSKEYDOWN 260
1530 #define WM_SYSKEYUP 261
1532 #define WM_THEMECHANGED 794
1533 #define WM_TIMECHANGE 30
1534 #define WM_TIMER 275
1536 #define WM_USER 1024
1537 #define WM_USERCHANGED 84
1538 #define WM_VKEYTOITEM 46
1539 #define WM_VSCROLL 277
1540 #define WM_VSCROLLCLIPBOARD 778
1541 #define WM_WINDOWPOSCHANGED 71
1542 #define WM_WINDOWPOSCHANGING 70
1543 #define WM_WININICHANGE 26
1544 #define WM_KEYFIRST 256
1545 #define WM_KEYLAST 264
1546 #define WM_SYNCPAINT 136
1547 #define WM_MOUSEACTIVATE 33
1548 #define WM_MOUSEMOVE 512
1549 #define WM_LBUTTONDOWN 513
1550 #define WM_LBUTTONUP 514
1551 #define WM_LBUTTONDBLCLK 515
1552 #define WM_RBUTTONDOWN 516
1553 #define WM_RBUTTONUP 517
1554 #define WM_RBUTTONDBLCLK 518
1555 #define WM_MBUTTONDOWN 519
1556 #define WM_MBUTTONUP 520
1557 #define WM_MBUTTONDBLCLK 521
1558 #define WM_MOUSEWHEEL 522
1559 #define WM_MOUSEFIRST 512
1560 #if (_WIN32_WINNT >= 0x0500)
1561 #define WM_XBUTTONDOWN 523
1562 #define WM_XBUTTONUP 524
1563 #define WM_XBUTTONDBLCLK 525
1564 #define WM_MOUSELAST 525
1566 #define WM_MOUSELAST 522
1568 #define WM_MOUSEHOVER 0x2A1
1569 #define WM_MOUSELEAVE 0x2A3
1570 #if (_WIN32_WINNT >= 0x0400)
1571 #define WHEEL_DELTA 120
1572 #define GET_WHEEL_DELTA_WPARAM(wparam) ((short)HIWORD (wparam))
1573 #define WHEEL_PAGESCROLL UINT_MAX
1575 #define BM_CLICK 245
1576 #define BM_GETCHECK 240
1577 #define BM_GETIMAGE 246
1578 #define BM_GETSTATE 242
1579 #define BM_SETCHECK 241
1580 #define BM_SETIMAGE 247
1581 #define BM_SETSTATE 243
1582 #define BM_SETSTYLE 244
1583 #define BN_CLICKED 0
1585 #define BN_DISABLE 4
1586 #define BN_DOUBLECLICKED 5
1588 #define BN_KILLFOCUS 7
1591 #define BN_SETFOCUS 6
1592 #define BN_UNHILITE 3
1593 #define BN_UNPUSHED 3
1594 #define CB_ADDSTRING 323
1595 #define CB_DELETESTRING 324
1597 #define CB_FINDSTRING 332
1598 #define CB_FINDSTRINGEXACT 344
1599 #define CB_GETCOUNT 326
1600 #define CB_GETCURSEL 327
1601 #define CB_GETDROPPEDCONTROLRECT 338
1602 #define CB_GETDROPPEDSTATE 343
1603 #define CB_GETDROPPEDWIDTH 351
1604 #define CB_GETEDITSEL 320
1605 #define CB_GETEXTENDEDUI 342
1606 #define CB_GETHORIZONTALEXTENT 349
1607 #define CB_GETITEMDATA 336
1608 #define CB_GETITEMHEIGHT 340
1609 #define CB_GETLBTEXT 328
1610 #define CB_GETLBTEXTLEN 329
1611 #define CB_GETLOCALE 346
1612 #define CB_GETTOPINDEX 347
1613 #define CB_INITSTORAGE 353
1614 #define CB_INSERTSTRING 330
1615 #define CB_LIMITTEXT 321
1616 #define CB_RESETCONTENT 331
1617 #define CB_SELECTSTRING 333
1618 #define CB_SETCURSEL 334
1619 #define CB_SETDROPPEDWIDTH 352
1620 #define CB_SETEDITSEL 322
1621 #define CB_SETEXTENDEDUI 341
1622 #define CB_SETHORIZONTALEXTENT 350
1623 #define CB_SETITEMDATA 337
1624 #define CB_SETITEMHEIGHT 339
1625 #define CB_SETLOCALE 345
1626 #define CB_SETTOPINDEX 348
1627 #define CB_SHOWDROPDOWN 335
1628 #if (_WIN32_WINNT >= 0x0501)
1629 #define CB_SETMINVISIBLE 0x1701
1630 #define CB_GETMINVISIBLE 0x1702
1632 #define CBN_CLOSEUP 8
1633 #define CBN_DBLCLK 2
1634 #define CBN_DROPDOWN 7
1635 #define CBN_EDITCHANGE 5
1636 #define CBN_EDITUPDATE 6
1637 #define CBN_ERRSPACE (-1)
1638 #define CBN_KILLFOCUS 4
1639 #define CBN_SELCHANGE 1
1640 #define CBN_SELENDCANCEL 10
1641 #define CBN_SELENDOK 9
1642 #define CBN_SETFOCUS 3
1643 #define EM_CANUNDO 198
1644 #define EM_CHARFROMPOS 215
1645 #define EM_EMPTYUNDOBUFFER 205
1646 #define EM_FMTLINES 200
1647 #define EM_GETFIRSTVISIBLELINE 206
1648 #define EM_GETHANDLE 189
1649 #define EM_GETLIMITTEXT 213
1650 #define EM_GETLINE 196
1651 #define EM_GETLINECOUNT 186
1652 #define EM_GETMARGINS 212
1653 #define EM_GETMODIFY 184
1654 #define EM_GETPASSWORDCHAR 210
1655 #define EM_GETRECT 178
1656 #define EM_GETSEL 176
1657 #define EM_GETTHUMB 190
1658 #define EM_GETWORDBREAKPROC 209
1659 #define EM_LIMITTEXT 197
1660 #define EM_LINEFROMCHAR 201
1661 #define EM_LINEINDEX 187
1662 #define EM_LINELENGTH 193
1663 #define EM_LINESCROLL 182
1664 #define EM_POSFROMCHAR 214
1665 #define EM_REPLACESEL 194
1666 #define EM_SCROLL 181
1667 #define EM_SCROLLCARET 183
1668 #define EM_SETHANDLE 188
1669 #define EM_SETLIMITTEXT 197
1670 #define EM_SETMARGINS 211
1671 #define EM_SETMODIFY 185
1672 #define EM_SETPASSWORDCHAR 204
1673 #define EM_SETREADONLY 207
1674 #define EM_SETRECT 179
1675 #define EM_SETRECTNP 180
1676 #define EM_SETSEL 177
1677 #define EM_SETTABSTOPS 203
1678 #define EM_SETWORDBREAKPROC 208
1680 #if (WINVER >= 0x0500)
1681 #define EM_GETIMESTATUS 217
1682 #define EM_SETIMESTATUS 216
1684 #define EN_CHANGE 768
1685 #define EN_ERRSPACE 1280
1686 #define EN_HSCROLL 1537
1687 #define EN_KILLFOCUS 512
1688 #define EN_MAXTEXT 1281
1689 #define EN_SETFOCUS 256
1690 #define EN_UPDATE 1024
1691 #define EN_VSCROLL 1538
1692 #define LB_ADDFILE 406
1693 #define LB_ADDSTRING 384
1694 #define LB_DELETESTRING 386
1696 #define LB_FINDSTRING 399
1697 #define LB_FINDSTRINGEXACT 418
1698 #define LB_GETANCHORINDEX 413
1699 #define LB_GETCARETINDEX 415
1700 #define LB_GETCOUNT 395
1701 #define LB_GETCURSEL 392
1702 #define LB_GETHORIZONTALEXTENT 403
1703 #define LB_GETITEMDATA 409
1704 #define LB_GETITEMHEIGHT 417
1705 #define LB_GETITEMRECT 408
1706 #define LB_GETLOCALE 422
1707 #define LB_GETSEL 391
1708 #define LB_GETSELCOUNT 400
1709 #define LB_GETSELITEMS 401
1710 #define LB_GETTEXT 393
1711 #define LB_GETTEXTLEN 394
1712 #define LB_GETTOPINDEX 398
1713 #define LB_INITSTORAGE 424
1714 #define LB_INSERTSTRING 385
1715 #define LB_ITEMFROMPOINT 425
1716 #define LB_RESETCONTENT 388
1717 #define LB_SELECTSTRING 396
1718 #define LB_SELITEMRANGE 411
1719 #define LB_SELITEMRANGEEX 387
1720 #define LB_SETANCHORINDEX 412
1721 #define LB_SETCARETINDEX 414
1722 #define LB_SETCOLUMNWIDTH 405
1723 #define LB_SETCOUNT 423
1724 #define LB_SETCURSEL 390
1725 #define LB_SETHORIZONTALEXTENT 404
1726 #define LB_SETITEMDATA 410
1727 #define LB_SETITEMHEIGHT 416
1728 #define LB_SETLOCALE 421
1729 #define LB_SETSEL 389
1730 #define LB_SETTABSTOPS 402
1731 #define LB_SETTOPINDEX 407
1732 #define LBN_DBLCLK 2
1733 #define LBN_ERRSPACE (-2)
1734 #define LBN_KILLFOCUS 5
1735 #define LBN_SELCANCEL 3
1736 #define LBN_SELCHANGE 1
1737 #define LBN_SETFOCUS 4
1738 #define SBM_ENABLE_ARROWS 228
1739 #define SBM_GETPOS 225
1740 #define SBM_GETRANGE 227
1741 #define SBM_GETSCROLLINFO 234
1742 #define SBM_SETPOS 224
1743 #define SBM_SETRANGE 226
1744 #define SBM_SETRANGEREDRAW 230
1745 #define SBM_SETSCROLLINFO 233
1746 #define STM_GETICON 369
1747 #define STM_GETIMAGE 371
1748 #define STM_SETICON 368
1749 #define STM_SETIMAGE 370
1750 #define STN_CLICKED 0
1751 #define STN_DBLCLK 1
1752 #define STN_DISABLE 3
1753 #define STN_ENABLE 2
1754 #define DM_GETDEFID WM_USER
1755 #define DM_SETDEFID (WM_USER+1)
1756 #define DM_REPOSITION (WM_USER+2)
1757 #define PSM_PAGEINFO (WM_USER+100)
1758 #define PSM_SHEETINFO (WM_USER+101)
1759 #define PSI_SETACTIVE 1
1760 #define PSI_KILLACTIVE 2
1763 #define PSI_HASHELP 5
1765 #define PSI_CHANGED 1
1766 #define PSI_GUISTART 2
1767 #define PSI_REBOOT 3
1768 #define PSI_GETSIBLINGS 4
1769 #define DCX_WINDOW 1
1771 #define DCX_PARENTCLIP 32
1772 #define DCX_CLIPSIBLINGS 16
1773 #define DCX_CLIPCHILDREN 8
1774 #define DCX_NORESETATTRS 4
1775 #define DCX_INTERSECTUPDATE 0x200
1776 #define DCX_LOCKWINDOWUPDATE 0x400
1777 #define DCX_EXCLUDERGN 64
1778 #define DCX_INTERSECTRGN 128
1779 #define DCX_VALIDATE 0x200000
1780 #define GMDI_GOINTOPOPUPS 2
1781 #define GMDI_USEDISABLED 1
1782 #define FKF_AVAILABLE 2
1783 #define FKF_CLICKON 64
1784 #define FKF_FILTERKEYSON 1
1785 #define FKF_HOTKEYACTIVE 4
1786 #define FKF_HOTKEYSOUND 16
1787 #define FKF_CONFIRMHOTKEY 8
1788 #define FKF_INDICATOR 32
1789 #define HCF_HIGHCONTRASTON 1
1790 #define HCF_AVAILABLE 2
1791 #define HCF_HOTKEYACTIVE 4
1792 #define HCF_CONFIRMHOTKEY 8
1793 #define HCF_HOTKEYSOUND 16
1794 #define HCF_INDICATOR 32
1795 #define HCF_HOTKEYAVAILABLE 64
1796 #define MKF_AVAILABLE 2
1797 #define MKF_CONFIRMHOTKEY 8
1798 #define MKF_HOTKEYACTIVE 4
1799 #define MKF_HOTKEYSOUND 16
1800 #define MKF_INDICATOR 32
1801 #define MKF_MOUSEKEYSON 1
1802 #define MKF_MODIFIERS 64
1803 #define MKF_REPLACENUMBERS 128
1804 #define SERKF_ACTIVE 8 /* May be obsolete. Not in recent MS docs. */
1805 #define SERKF_AVAILABLE 2
1806 #define SERKF_INDICATOR 4
1807 #define SERKF_SERIALKEYSON 1
1808 #define SSF_AVAILABLE 2
1809 #define SSF_SOUNDSENTRYON 1
1810 #define SSTF_BORDER 2
1811 #define SSTF_CHARS 1
1812 #define SSTF_DISPLAY 3
1814 #define SSGF_DISPLAY 3
1816 #define SSWF_CUSTOM 4
1817 #define SSWF_DISPLAY 3
1819 #define SSWF_TITLE 1
1820 #define SSWF_WINDOW 2
1821 #define SKF_AUDIBLEFEEDBACK 64
1822 #define SKF_AVAILABLE 2
1823 #define SKF_CONFIRMHOTKEY 8
1824 #define SKF_HOTKEYACTIVE 4
1825 #define SKF_HOTKEYSOUND 16
1826 #define SKF_INDICATOR 32
1827 #define SKF_STICKYKEYSON 1
1828 #define SKF_TRISTATE 128
1829 #define SKF_TWOKEYSOFF 256
1830 #define TKF_AVAILABLE 2
1831 #define TKF_CONFIRMHOTKEY 8
1832 #define TKF_HOTKEYACTIVE 4
1833 #define TKF_HOTKEYSOUND 16
1834 #define TKF_TOGGLEKEYSON 1
1835 #define MDITILE_SKIPDISABLED 2
1836 #define MDITILE_HORIZONTAL 1
1837 #define MDITILE_VERTICAL 0
1838 #define VK_LBUTTON 1
1839 #define VK_RBUTTON 2
1841 #define VK_MBUTTON 4
1842 #if (_WIN32_WINNT >= 0x0500)
1843 #define VK_XBUTTON1 5
1844 #define VK_XBUTTON2 6
1849 #define VK_RETURN 13
1851 #define VK_CONTROL 17
1854 #define VK_CAPITAL 20
1855 #define VK_KANA 0x15
1856 #define VK_HANGEUL 0x15
1857 #define VK_HANGUL 0x15
1858 #define VK_JUNJA 0x17
1859 #define VK_FINAL 0x18
1860 #define VK_HANJA 0x19
1861 #define VK_KANJI 0x19
1862 #define VK_ESCAPE 0x1B
1863 #define VK_CONVERT 0x1C
1864 #define VK_NONCONVERT 0x1D
1865 #define VK_ACCEPT 0x1E
1866 #define VK_MODECHANGE 0x1F
1876 #define VK_SELECT 41
1878 #define VK_EXECUTE 43
1879 #define VK_SNAPSHOT 44
1880 #define VK_INSERT 45
1881 #define VK_DELETE 46
1883 #define VK_LWIN 0x5B
1884 #define VK_RWIN 0x5C
1885 #define VK_APPS 0x5D
1886 #define VK_SLEEP 0x5F
1887 #define VK_NUMPAD0 0x60
1888 #define VK_NUMPAD1 0x61
1889 #define VK_NUMPAD2 0x62
1890 #define VK_NUMPAD3 0x63
1891 #define VK_NUMPAD4 0x64
1892 #define VK_NUMPAD5 0x65
1893 #define VK_NUMPAD6 0x66
1894 #define VK_NUMPAD7 0x67
1895 #define VK_NUMPAD8 0x68
1896 #define VK_NUMPAD9 0x69
1897 #define VK_MULTIPLY 0x6A
1899 #define VK_SEPARATOR 0x6C
1900 #define VK_SUBTRACT 0x6D
1901 #define VK_DECIMAL 0x6E
1902 #define VK_DIVIDE 0x6F
1927 #define VK_NUMLOCK 0x90
1928 #define VK_SCROLL 0x91
1929 #define VK_LSHIFT 0xA0
1930 #define VK_RSHIFT 0xA1
1931 #define VK_LCONTROL 0xA2
1932 #define VK_RCONTROL 0xA3
1933 #define VK_LMENU 0xA4
1934 #define VK_RMENU 0xA5
1935 #if (_WIN32_WINNT >= 0x0500)
1936 #define VK_BROWSER_BACK 0xA6
1937 #define VK_BROWSER_FORWARD 0xA7
1938 #define VK_BROWSER_REFRESH 0xA8
1939 #define VK_BROWSER_STOP 0xA9
1940 #define VK_BROWSER_SEARCH 0xAA
1941 #define VK_BROWSER_FAVORITES 0xAB
1942 #define VK_BROWSER_HOME 0xAC
1943 #define VK_VOLUME_MUTE 0xAD
1944 #define VK_VOLUME_DOWN 0xAE
1945 #define VK_VOLUME_UP 0xAF
1946 #define VK_MEDIA_NEXT_TRACK 0xB0
1947 #define VK_MEDIA_PREV_TRACK 0xB1
1948 #define VK_MEDIA_STOP 0xB2
1949 #define VK_MEDIA_PLAY_PAUSE 0xB3
1950 #define VK_LAUNCH_MAIL 0xB4
1951 #define VK_LAUNCH_MEDIA_SELECT 0xB5
1952 #define VK_LAUNCH_APP1 0xB6
1953 #define VK_LAUNCH_APP2 0xB7
1955 #define VK_OEM_1 0xBA
1956 #if (_WIN32_WINNT >= 0x0500)
1957 #define VK_OEM_PLUS 0xBB
1958 #define VK_OEM_COMMA 0xBC
1959 #define VK_OEM_MINUS 0xBD
1960 #define VK_OEM_PERIOD 0xBE
1962 #define VK_OEM_2 0xBF
1963 #define VK_OEM_3 0xC0
1964 #define VK_OEM_4 0xDB
1965 #define VK_OEM_5 0xDC
1966 #define VK_OEM_6 0xDD
1967 #define VK_OEM_7 0xDE
1968 #define VK_OEM_8 0xDF
1969 #if (_WIN32_WINNT >= 0x0500)
1970 #define VK_OEM_102 0xE2
1972 #define VK_PROCESSKEY 0xE5
1973 #if (_WIN32_WINNT >= 0x0500)
1974 #define VK_PACKET 0xE7
1976 #define VK_ATTN 0xF6
1977 #define VK_CRSEL 0xF7
1978 #define VK_EXSEL 0xF8
1979 #define VK_EREOF 0xF9
1980 #define VK_PLAY 0xFA
1981 #define VK_ZOOM 0xFB
1982 #define VK_NONAME 0xFC
1984 #define VK_OEM_CLEAR 0xFE
1987 #define TME_QUERY 0x40000000
1988 #define TME_CANCEL 0x80000000
1989 #define HOVER_DEFAULT 0xFFFFFFFF
1990 #define MK_LBUTTON 1
1991 #define MK_RBUTTON 2
1993 #define MK_CONTROL 8
1994 #define MK_MBUTTON 16
1995 #if(_WIN32_WINNT >= 0x0500)
1996 #define MK_XBUTTON1 32
1997 #define MK_XBUTTON2 64
1999 #define TPM_CENTERALIGN 4
2000 #define TPM_LEFTALIGN 0
2001 #define TPM_RIGHTALIGN 8
2002 #define TPM_LEFTBUTTON 0
2003 #define TPM_RIGHTBUTTON 2
2004 #define TPM_HORIZONTAL 0
2005 #define TPM_VERTICAL 64
2006 #define TPM_TOPALIGN 0
2007 #define TPM_VCENTERALIGN 16
2008 #define TPM_BOTTOMALIGN 32
2009 #define TPM_NONOTIFY 128
2010 #define TPM_RETURNCMD 256
2011 #if (_WIN32_WINNT >= 0x0500 || _WIN32_WINDOWS >= 0x0410)
2012 #define TPM_RECURSE 1
2014 #define HELP_COMMAND 0x102
2015 #define HELP_CONTENTS 3
2016 #define HELP_CONTEXT 1
2017 #define HELP_CONTEXTPOPUP 8
2018 #define HELP_FORCEFILE 9
2019 #define HELP_HELPONHELP 4
2020 #define HELP_INDEX 3
2021 #define HELP_KEY 0x101
2022 #define HELP_MULTIKEY 0x201
2023 #define HELP_PARTIALKEY 0x105
2025 #define HELP_SETCONTENTS 5
2026 #define HELP_SETINDEX 5
2027 #define HELP_SETWINPOS 0x203
2028 #define HELP_CONTEXTMENU 0xa
2029 #define HELP_FINDER 0xb
2030 #define HELP_WM_HELP 0xc
2031 #define HELP_TCARD 0x8000
2032 #define HELP_TCARD_DATA 16
2033 #define HELP_TCARD_OTHER_CALLER 0x11
2034 #define IDH_NO_HELP 28440
2035 #define IDH_MISSING_CONTEXT 28441
2036 #define IDH_GENERIC_HELP_BUTTON 28442
2037 #define IDH_OK 28443
2038 #define IDH_CANCEL 28444
2039 #define IDH_HELP 28445
2040 #define LB_CTLCODE 0
2043 #define LB_ERRSPACE (-2)
2046 #define CB_ERRSPACE (-2)
2047 #define HIDE_WINDOW 0
2048 #define SHOW_OPENWINDOW 1
2049 #define SHOW_ICONWINDOW 2
2050 #define SHOW_FULLSCREEN 3
2051 #define SHOW_OPENNOACTIVATE 4
2052 #define SW_PARENTCLOSING 1
2053 #define SW_OTHERZOOM 2
2054 #define SW_PARENTOPENING 3
2055 #define SW_OTHERUNZOOM 4
2056 #define KF_EXTENDED 256
2057 #define KF_DLGMODE 2048
2058 #define KF_MENUMODE 4096
2059 #define KF_ALTDOWN 8192
2060 #define KF_REPEAT 16384
2062 #define WSF_VISIBLE 1
2064 #define PWR_FAIL (-1)
2065 #define PWR_SUSPENDREQUEST 1
2066 #define PWR_SUSPENDRESUME 2
2067 #define PWR_CRITICALRESUME 3
2069 #define NFR_UNICODE 2
2071 #define NF_REQUERY 4
2072 #define MENULOOP_WINDOW 0
2073 #define MENULOOP_POPUP 1
2075 #define WMSZ_RIGHT 2
2077 #define WMSZ_TOPLEFT 4
2078 #define WMSZ_TOPRIGHT 5
2079 #define WMSZ_BOTTOM 6
2080 #define WMSZ_BOTTOMLEFT 7
2081 #define WMSZ_BOTTOMRIGHT 8
2082 #define HTERROR (-2)
2083 #define HTTRANSPARENT (-1)
2093 #define HTMINBUTTON 8
2094 #define HTMAXBUTTON 9
2098 #define HTSIZEFIRST 10
2101 #define HTTOPLEFT 13
2102 #define HTTOPRIGHT 14
2104 #define HTBOTTOMLEFT 16
2105 #define HTBOTTOMRIGHT 17
2106 #define HTSIZELAST 17
2111 #define MA_ACTIVATE 1
2112 #define MA_ACTIVATEANDEAT 2
2113 #define MA_NOACTIVATE 3
2114 #define MA_NOACTIVATEANDEAT 4
2115 #define SIZE_RESTORED 0
2116 #define SIZE_MINIMIZED 1
2117 #define SIZE_MAXIMIZED 2
2118 #define SIZE_MAXSHOW 3
2119 #define SIZE_MAXHIDE 4
2120 #define SIZENORMAL 0
2121 #define SIZEICONIC 1
2122 #define SIZEFULLSCREEN 2
2123 #define SIZEZOOMSHOW 3
2124 #define SIZEZOOMHIDE 4
2125 #define WVR_ALIGNTOP 16
2126 #define WVR_ALIGNLEFT 32
2127 #define WVR_ALIGNBOTTOM 64
2128 #define WVR_ALIGNRIGHT 128
2129 #define WVR_HREDRAW 256
2130 #define WVR_VREDRAW 512
2131 #define WVR_REDRAW (WVR_HREDRAW|WVR_VREDRAW)
2132 #define WVR_VALIDRECTS 1024
2133 #define PRF_CHECKVISIBLE 1
2134 #define PRF_NONCLIENT 2
2135 #define PRF_CLIENT 4
2136 #define PRF_ERASEBKGND 8
2137 #define PRF_CHILDREN 16
2138 #define PRF_OWNED 32
2139 #define IDANI_OPEN 1
2140 #define IDANI_CLOSE 2
2141 #define IDANI_CAPTION 3
2142 #define WPF_RESTORETOMAXIMIZED 2
2143 #define WPF_SETMINPOSITION 1
2145 #define ODT_LISTBOX 2
2146 #define ODT_COMBOBOX 3
2147 #define ODT_BUTTON 4
2148 #define ODT_STATIC 5
2149 #define ODA_DRAWENTIRE 1
2150 #define ODA_SELECT 2
2152 #define ODS_SELECTED 1
2153 #define ODS_GRAYED 2
2154 #define ODS_DISABLED 4
2155 #define ODS_CHECKED 8
2156 #define ODS_FOCUS 16
2157 #define ODS_DEFAULT 32
2158 #define ODS_COMBOBOXEDIT 4096
2159 #define IDHOT_SNAPWINDOW (-1)
2160 #define IDHOT_SNAPDESKTOP (-2)
2161 #define DBWF_LPARAMPOINTER 0x8000
2162 #define DLGWINDOWEXTRA 30
2163 #define MNC_IGNORE 0
2165 #define MNC_EXECUTE 2
2166 #define MNC_SELECT 3
2167 #define DOF_EXECUTABLE 0x8001
2168 #define DOF_DOCUMENT 0x8002
2169 #define DOF_DIRECTORY 0x8003
2170 #define DOF_MULTIPLE 0x8004
2171 #define DOF_PROGMAN 1
2172 #define DOF_SHELLDATA 2
2173 #define DO_DROPFILE 0x454C4946
2174 #define DO_PRINTFILE 0x544E5250
2175 #define SW_SCROLLCHILDREN 1
2176 #define SW_INVALIDATE 2
2178 #if (_WIN32_WINDOWS >= 0x0410 || _WIN32_WINNT >= 0x0500)
2179 #define SW_SMOOTHSCROLL 0x0010
2180 #endif /* (_WIN32_WINDOWS >= 0x0410 || _WIN32_WINNT >= 0x0500) */
2181 #define SC_SIZE 0xF000
2182 #define SC_MOVE 0xF010
2183 #define SC_MINIMIZE 0xF020
2184 #define SC_ICON 0xf020
2185 #define SC_MAXIMIZE 0xF030
2186 #define SC_ZOOM 0xF030
2187 #define SC_NEXTWINDOW 0xF040
2188 #define SC_PREVWINDOW 0xF050
2189 #define SC_CLOSE 0xF060
2190 #define SC_VSCROLL 0xF070
2191 #define SC_HSCROLL 0xF080
2192 #define SC_MOUSEMENU 0xF090
2193 #define SC_KEYMENU 0xF100
2194 #define SC_ARRANGE 0xF110
2195 #define SC_RESTORE 0xF120
2196 #define SC_TASKLIST 0xF130
2197 #define SC_SCREENSAVE 0xF140
2198 #define SC_HOTKEY 0xF150
2199 #define SC_DEFAULT 0xF160
2200 #define SC_MONITORPOWER 0xF170
2201 #define SC_CONTEXTHELP 0xF180
2202 #define SC_SEPARATOR 0xF00F
2203 #define EC_LEFTMARGIN 1
2204 #define EC_RIGHTMARGIN 2
2205 #define EC_USEFONTINFO 0xffff
2206 #define DC_HASDEFID 0x534B
2207 #define DLGC_WANTARROWS 1
2208 #define DLGC_WANTTAB 2
2209 #define DLGC_WANTALLKEYS 4
2210 #define DLGC_WANTMESSAGE 4
2211 #define DLGC_HASSETSEL 8
2212 #define DLGC_DEFPUSHBUTTON 16
2213 #define DLGC_UNDEFPUSHBUTTON 32
2214 #define DLGC_RADIOBUTTON 64
2215 #define DLGC_WANTCHARS 128
2216 #define DLGC_STATIC 256
2217 #define DLGC_BUTTON 0x2000
2218 #define LB_CTLCODE 0
2219 #define WA_INACTIVE 0
2221 #define WA_CLICKACTIVE 2
2222 #define ICON_SMALL 0
2224 #if (_WIN32_WINNT >= 0x0501)
2225 #define ICON_SMALL2 2
2227 #define HBMMENU_CALLBACK ((HBITMAP) -1)
2228 #define HBMMENU_SYSTEM ((HBITMAP)1)
2229 #define HBMMENU_MBAR_RESTORE ((HBITMAP)2)
2230 #define HBMMENU_MBAR_MINIMIZE ((HBITMAP)3)
2231 #define HBMMENU_MBAR_CLOSE ((HBITMAP)5)
2232 #define HBMMENU_MBAR_CLOSE_D ((HBITMAP)6)
2233 #define HBMMENU_MBAR_MINIMIZE_D ((HBITMAP)7)
2234 #define HBMMENU_POPUP_CLOSE ((HBITMAP)8)
2235 #define HBMMENU_POPUP_RESTORE ((HBITMAP)9)
2236 #define HBMMENU_POPUP_MAXIMIZE ((HBITMAP)10)
2237 #define HBMMENU_POPUP_MINIMIZE ((HBITMAP)11)
2239 #define MOD_CONTROL 2
2242 #define MOD_IGNORE_ALL_MODIFIER 1024
2243 #define MOD_ON_KEYUP 2048
2244 #define MOD_RIGHT 16384
2245 #define MOD_LEFT 32768
2246 #define LLKHF_EXTENDED (KF_EXTENDED >> 8)
2247 #define LLKHF_INJECTED 0x00000010
2248 #define LLKHF_ALTDOWN (KF_ALTDOWN >> 8)
2249 #define LLKHF_UP (KF_UP >> 8)
2250 #if (WINVER >= 0x0500)
2251 #define FLASHW_STOP 0
2252 #define FLASHW_CAPTION 1
2253 #define FLASHW_TRAY 2
2254 #define FLASHW_ALL (FLASHW_CAPTION|FLASHW_TRAY)
2255 #define FLASHW_TIMER 4
2256 #define FLASHW_TIMERNOFG 12
2257 #endif /* (WINVER >= 0x0500) */
2258 #define CURSOR_SHOWING 0x00000001
2259 #define WS_ACTIVECAPTION 0x00000001
2260 #if (_WIN32_WINNT >= 0x0403)
2261 #define INPUT_MOUSE 0x00000000
2262 #define INPUT_KEYBOARD 0x00000001
2263 #define INPUT_HARDWARE 0x00000002
2264 #endif /* (_WIN32_WINNT >= 0x0403) */
2265 #if (WINVER >= 0x0400)
2266 #define ENDSESSION_LOGOFF 0x80000000
2268 #if (WINVER >= 0x0500)
2269 #define CHILDID_SELF 0
2270 #define OBJID_WINDOW 0x00000000
2271 #define OBJID_SYSMENU 0xFFFFFFFF
2272 #define OBJID_TITLEBAR 0xFFFFFFFE
2273 #define OBJID_MENU 0xFFFFFFFD
2274 #define OBJID_CLIENT 0xFFFFFFFC
2275 #define OBJID_VSCROLL 0xFFFFFFFB
2276 #define OBJID_HSCROLL 0xFFFFFFFA
2277 #define OBJID_SIZEGRIP 0xFFFFFFF9
2278 #define OBJID_CARET 0xFFFFFFF8
2279 #define OBJID_CURSOR 0xFFFFFFF7
2280 #define OBJID_ALERT 0xFFFFFFF6
2281 #define OBJID_SOUND 0xFFFFFFF5
2282 #define GUI_CARETBLINKING 0x00000001
2283 #define GUI_INMOVESIZE 0x00000002
2284 #define GUI_INMENUMODE 0x00000004
2285 #define GUI_SYSTEMMENUMODE 0x00000008
2286 #define GUI_POPUPMENUMODE 0x00000010
2287 #if (_WIN32_WINNT >= 0x0501)
2288 #define GUI_16BITTASK 0x00000020
2290 #define WINEVENT_OUTOFCONTEXT 0x0000
2291 #define WINEVENT_SKIPOWNTHREAD 0x0001
2292 #define WINEVENT_SKIPOWNPROCESS 0x0002
2293 #define WINEVENT_INCONTEXT 0x0004
2294 #define AW_HOR_POSITIVE 0x00000001
2295 #define AW_HOR_NEGATIVE 0x00000002
2296 #define AW_VER_POSITIVE 0x00000004
2297 #define AW_VER_NEGATIVE 0x00000008
2298 #define AW_CENTER 0x00000010
2299 #define AW_HIDE 0x00010000
2300 #define AW_ACTIVATE 0x00020000
2301 #define AW_SLIDE 0x00040000
2302 #define AW_BLEND 0x00080000
2303 #define DEVICE_NOTIFY_WINDOW_HANDLE 0x00000000
2304 #define DEVICE_NOTIFY_SERVICE_HANDLE 0x00000001
2305 #if (_WIN32_WINNT >= 0x0501)
2306 #define DEVICE_NOTIFY_ALL_INTERFACE_CLASSES 0x00000004
2308 #define EVENT_MIN 0x00000001
2309 #define EVENT_SYSTEM_SOUND 0x00000001
2310 #define EVENT_SYSTEM_ALERT 0x00000002
2311 #define EVENT_SYSTEM_FOREGROUND 0x00000003
2312 #define EVENT_SYSTEM_MENUSTART 0x00000004
2313 #define EVENT_SYSTEM_MENUEND 0x00000005
2314 #define EVENT_SYSTEM_MENUPOPUPSTART 0x00000006
2315 #define EVENT_SYSTEM_MENUPOPUPEND 0x00000007
2316 #define EVENT_SYSTEM_CAPTURESTART 0x00000008
2317 #define EVENT_SYSTEM_CAPTUREEND 0x00000009
2318 #define EVENT_SYSTEM_MOVESIZESTART 0x0000000a
2319 #define EVENT_SYSTEM_MOVESIZEEND 0x0000000b
2320 #define EVENT_SYSTEM_CONTEXTHELPSTART 0x0000000c
2321 #define EVENT_SYSTEM_CONTEXTHELPEND 0x0000000d
2322 #define EVENT_SYSTEM_DRAGDROPSTART 0x0000000e
2323 #define EVENT_SYSTEM_DRAGDROPEND 0x0000000f
2324 #define EVENT_SYSTEM_DIALOGSTART 0x00000010
2325 #define EVENT_SYSTEM_DIALOGEND 0x00000011
2326 #define EVENT_SYSTEM_SCROLLINGSTART 0x00000012
2327 #define EVENT_SYSTEM_SCROLLINGEND 0x00000013
2328 #define EVENT_SYSTEM_SWITCHSTART 0x00000014
2329 #define EVENT_SYSTEM_SWITCHEND 0x00000015
2330 #define EVENT_SYSTEM_MINIMIZESTART 0x00000016
2331 #define EVENT_SYSTEM_MINIMIZEEND 0x00000017
2332 #define EVENT_OBJECT_CREATE 0x00008000
2333 #define EVENT_OBJECT_DESTROY 0x00008001
2334 #define EVENT_OBJECT_SHOW 0x00008002
2335 #define EVENT_OBJECT_HIDE 0x00008003
2336 #define EVENT_OBJECT_REORDER 0x00008004
2337 #define EVENT_OBJECT_FOCUS 0x00008005
2338 #define EVENT_OBJECT_SELECTION 0x00008006
2339 #define EVENT_OBJECT_SELECTIONADD 0x00008007
2340 #define EVENT_OBJECT_SELECTIONREMOVE 0x00008008
2341 #define EVENT_OBJECT_SELECTIONWITHIN 0x00008009
2342 #define EVENT_OBJECT_STATECHANGE 0x0000800a
2343 #define EVENT_OBJECT_LOCATIONCHANGE 0x0000800b
2344 #define EVENT_OBJECT_NAMECHANGE 0x0000800c
2345 #define EVENT_OBJECT_DESCRIPTIONCHANGE 0x0000800d
2346 #define EVENT_OBJECT_VALUECHANGE 0x0000800e
2347 #define EVENT_OBJECT_PARENTCHANGE 0x0000800f
2348 #define EVENT_OBJECT_HELPCHANGE 0x00008010
2349 #define EVENT_OBJECT_DEFACTIONCHANGE 0x00008011
2350 #define EVENT_OBJECT_ACCELERATORCHANGE 0x00008012
2351 #if (_WIN32_WINNT >= 0x0501)
2352 #define EVENT_CONSOLE_CARET 0x00004001
2353 #define CONSOLE_CARET_SELECTION 0x00000001
2354 #define CONSOLE_CARET_VISIBLE 0x00000002
2355 #define EVENT_CONSOLE_UPDATE_REGION 0x00004002
2356 #define EVENT_CONSOLE_UPDATE_SIMPLE 0x00004003
2357 #define EVENT_CONSOLE_UPDATE_SCROLL 0x00004004
2358 #define EVENT_CONSOLE_LAYOUT 0x00004005
2359 #define EVENT_CONSOLE_START_APPLICATION 0x00004006
2360 #define CONSOLE_APPLICATION_16BIT 0x00000001
2361 #define EVENT_CONSOLE_END_APPLICATION 0x00004007
2362 #endif /* (_WIN32_WINNT >= 0x0501) */
2363 #define EVENT_MAX 0x7fffffff
2364 #endif /* (WINVER >= 0x0500) */
2365 #if (_WIN32_WINNT >= 0x0500 || _WIN32_WINDOWS >= 0x0490)
2366 #define ASFW_ANY ((DWORD)-1)
2368 #define LSFW_UNLOCK 2
2370 #if (_WIN32_WINNT >= 0x0500)
2371 #define LWA_COLORKEY 0x01
2372 #define LWA_ALPHA 0x02
2373 #define ULW_COLORKEY 0x01
2374 #define ULW_ALPHA 0x02
2375 #define ULW_OPAQUE 0x04
2379 #define GA_ROOTOWNER 3
2380 #if (_WIN32_WINNT >= 0x0500 || _WIN32_WINDOWS >= 0x0410)
2381 #define MONITOR_DEFAULTTONULL 0
2382 #define MONITOR_DEFAULTTOPRIMARY 1
2383 #define MONITOR_DEFAULTTONEAREST 2
2384 #define MONITORINFOF_PRIMARY 1
2385 #define EDS_RAWMODE 0x00000002
2386 #define ISMEX_NOSEND 0x00000000
2387 #define ISMEX_CALLBACK 0x00000004
2388 #define ISMEX_NOTIFY 0x00000002
2389 #define ISMEX_REPLIED 0x00000008
2390 #define ISMEX_SEND 0x00000001
2392 #if (_WIN32_WINNT >= 0x0500)
2393 #define GR_GDIOBJECTS 0
2394 #define GR_USEROBJECTS 1
2396 #if (_WIN32_WINNT >= 0x0500 || _WIN32_WINDOWS >= 0x0490)
2397 #define GMMP_USE_DISPLAY_POINTS 1
2398 #define GMMP_USE_HIGH_RESOLUTION_POINTS 2
2400 #if (_WIN32_WINNT >= 0x0500)
2401 #define XBUTTON1 0x0001
2402 #define XBUTTON2 0x0002
2404 #if (_WIN32_WINNT >= 0x0501)
2405 #define PW_CLIENTONLY 0x00000001
2406 #define RIM_INPUT 0x00000000
2407 #define RIM_INPUTSINK 0x00000001
2408 #define RIM_TYPEMOUSE 0x00000000
2409 #define RIM_TYPEKEYBOARD 0x00000001
2410 #define RIM_TYPEHID 0x00000002
2411 #define MOUSE_MOVE_RELATIVE 0x00000000
2412 #define MOUSE_MOVE_ABSOLUTE 0x00000001
2413 #define MOUSE_VIRTUAL_DESKTOP 0x00000002
2414 #define MOUSE_ATTRIBUTES_CHANGED 0x00000004
2415 #define RI_MOUSE_LEFT_BUTTON_DOWN 0x0001
2416 #define RI_MOUSE_LEFT_BUTTON_UP 0x0002
2417 #define RI_MOUSE_RIGHT_BUTTON_DOWN 0x0004
2418 #define RI_MOUSE_RIGHT_BUTTON_UP 0x0008
2419 #define RI_MOUSE_MIDDLE_BUTTON_DOWN 0x0010
2420 #define RI_MOUSE_MIDDLE_BUTTON_UP 0x0020
2421 #define RI_MOUSE_BUTTON_1_DOWN RI_MOUSE_LEFT_BUTTON_DOWN
2422 #define RI_MOUSE_BUTTON_1_UP RI_MOUSE_LEFT_BUTTON_UP
2423 #define RI_MOUSE_BUTTON_2_DOWN RI_MOUSE_RIGHT_BUTTON_DOWN
2424 #define RI_MOUSE_BUTTON_2_UP RI_MOUSE_RIGHT_BUTTON_UP
2425 #define RI_MOUSE_BUTTON_3_DOWN RI_MOUSE_MIDDLE_BUTTON_DOWN
2426 #define RI_MOUSE_BUTTON_3_UP RI_MOUSE_MIDDLE_BUTTON_UP
2427 #define RI_MOUSE_BUTTON_4_DOWN 0x0040
2428 #define RI_MOUSE_BUTTON_4_UP 0x0080
2429 #define RI_MOUSE_BUTTON_5_DOWN 0x0100
2430 #define RI_MOUSE_BUTTON_5_UP 0x0200
2431 #define RI_MOUSE_WHEEL 0x0400
2432 #define KEYBOARD_OVERRUN_MAKE_CODE 0x00ff
2433 #define RI_KEY_MAKE 0x0000
2434 #define RI_KEY_BREAK 0x0001
2435 #define RI_KEY_E0 0x0002
2436 #define RI_KEY_E1 0x0004
2437 #define RI_KEY_TERMSRV_SET_LED 0x0008
2438 #define RI_KEY_TERMSRV_SHADOW 0x0010
2439 #define RID_INPUT 0x10000003
2440 #define RID_HEADER 0x10000005
2441 #define RIDI_PREPARSEDDATA 0x20000005
2442 #define RIDI_DEVICENAME 0x20000007
2443 #define RIDI_DEVICEINFO 0x2000000b
2444 #define RIDEV_REMOVE 0x00000001
2445 #define RIDEV_EXCLUDE 0x00000010
2446 #define RIDEV_PAGEONLY 0x00000020
2447 #define RIDEV_NOLEGACY 0x00000030
2448 #define RIDEV_INPUTSINK 0x00000100
2449 #define RIDEV_CAPTUREMOUSE 0x00000200
2450 #define RIDEV_NOHOTKEYS 0x00000200
2451 #define RIDEV_APPKEYS 0x00000400
2455 typedef BOOL(CALLBACK
*DLGPROC
)(HWND
,UINT
,WPARAM
,LPARAM
);
2456 typedef VOID(CALLBACK
*TIMERPROC
)(HWND
,UINT
,UINT
,DWORD
);
2457 typedef BOOL(CALLBACK
*GRAYSTRINGPROC
)(HDC
,LPARAM
,int);
2458 typedef LRESULT(CALLBACK
*HOOKPROC
)(int,WPARAM
,LPARAM
);
2459 typedef BOOL(CALLBACK
*PROPENUMPROCA
)(HWND
,LPCSTR
,HANDLE
);
2460 typedef BOOL(CALLBACK
*PROPENUMPROCW
)(HWND
,LPCWSTR
,HANDLE
);
2461 typedef BOOL(CALLBACK
*PROPENUMPROCEXA
)(HWND
,LPSTR
,HANDLE
,DWORD
);
2462 typedef BOOL(CALLBACK
*PROPENUMPROCEXW
)(HWND
,LPWSTR
,HANDLE
,DWORD
);
2463 typedef int(CALLBACK
*EDITWORDBREAKPROCA
)(LPSTR
,int,int,int);
2464 typedef int(CALLBACK
*EDITWORDBREAKPROCW
)(LPWSTR
,int,int,int);
2465 typedef LRESULT(CALLBACK
*WNDPROC
)(HWND
,UINT
,WPARAM
,LPARAM
);
2466 typedef BOOL(CALLBACK
*DRAWSTATEPROC
)(HDC
,LPARAM
,WPARAM
,int,int);
2467 typedef BOOL(CALLBACK
*WNDENUMPROC
)(HWND
,LPARAM
);
2468 typedef BOOL(CALLBACK
*ENUMWINDOWSPROC
)(HWND
,LPARAM
);
2469 typedef BOOL(CALLBACK
* MONITORENUMPROC
)(HMONITOR
,HDC
,LPRECT
,LPARAM
);
2470 typedef BOOL(CALLBACK
*NAMEENUMPROCA
)(LPSTR
,LPARAM
);
2471 typedef BOOL(CALLBACK
*NAMEENUMPROCW
)(LPWSTR
,LPARAM
);
2472 typedef NAMEENUMPROCA DESKTOPENUMPROCA
;
2473 typedef NAMEENUMPROCW DESKTOPENUMPROCW
;
2474 typedef NAMEENUMPROCA WINSTAENUMPROCA
;
2475 typedef NAMEENUMPROCW WINSTAENUMPROCW
;
2476 typedef void(CALLBACK
*SENDASYNCPROC
)(HWND
,UINT
,DWORD
,LRESULT
);
2477 DECLARE_HANDLE(HHOOK
);
2478 DECLARE_HANDLE(HDWP
);
2479 DECLARE_HANDLE(HDEVNOTIFY
);
2480 typedef struct tagACCEL
{
2485 typedef struct tagACCESSTIMEOUT
{
2489 } ACCESSTIMEOUT
, *LPACCESSTIMEOUT
;
2490 typedef struct tagANIMATIONINFO
{
2493 } ANIMATIONINFO
,*LPANIMATIONINFO
;
2494 typedef struct tagCREATESTRUCTA
{
2495 LPVOID lpCreateParams
;
2496 HINSTANCE hInstance
;
2507 } CREATESTRUCTA
,*LPCREATESTRUCTA
;
2508 typedef struct tagCREATESTRUCTW
{
2509 LPVOID lpCreateParams
;
2510 HINSTANCE hInstance
;
2521 } CREATESTRUCTW
,*LPCREATESTRUCTW
;
2522 typedef struct tagCBT_CREATEWNDA
{
2523 LPCREATESTRUCTA lpcs
;
2524 HWND hwndInsertAfter
;
2525 } CBT_CREATEWNDA
, *LPCBT_CREATEWNDA
;
2526 typedef struct tagCBT_CREATEWNDW
{
2527 LPCREATESTRUCTW lpcs
;
2528 HWND hwndInsertAfter
;
2529 } CBT_CREATEWNDW
, *LPCBT_CREATEWNDW
;
2530 typedef struct tagCBTACTIVATESTRUCT
{
2533 } CBTACTIVATESTRUCT
,*LPCBTACTIVATESTRUCT
;
2534 typedef struct tagCLIENTCREATESTRUCT
{
2537 } CLIENTCREATESTRUCT
,*LPCLIENTCREATESTRUCT
;
2538 typedef struct tagCOMPAREITEMSTRUCT
{
2547 } COMPAREITEMSTRUCT
,*LPCOMPAREITEMSTRUCT
;
2548 typedef struct tagCOPYDATASTRUCT
{
2552 } COPYDATASTRUCT
,*PCOPYDATASTRUCT
;
2553 typedef struct tagCURSORSHAPE
{
2561 } CURSORSHAPE
,*LPCURSORSHAPE
;
2562 typedef struct tagCWPRETSTRUCT
{
2569 typedef struct tagCWPSTRUCT
{
2574 } CWPSTRUCT
,*PCWPSTRUCT
;
2575 typedef struct tagDEBUGHOOKINFO
{
2577 DWORD idThreadInstaller
;
2581 } DEBUGHOOKINFO
,*PDEBUGHOOKINFO
,*LPDEBUGHOOKINFO
;
2582 typedef struct tagDELETEITEMSTRUCT
{
2588 } DELETEITEMSTRUCT
,*PDELETEITEMSTRUCT
,*LPDELETEITEMSTRUCT
;
2589 #pragma pack(push,2)
2592 DWORD dwExtendedStyle
;
2598 } DLGITEMTEMPLATE
,*LPDLGITEMTEMPLATE
;
2601 DWORD dwExtendedStyle
;
2607 } DLGTEMPLATE
,*LPDLGTEMPLATE
,*LPDLGTEMPLATEA
,*LPDLGTEMPLATEW
;
2608 typedef const DLGTEMPLATE
*LPCDLGTEMPLATE
;
2610 typedef struct tagDRAWITEMSTRUCT
{
2620 } DRAWITEMSTRUCT
,*LPDRAWITEMSTRUCT
,*PDRAWITEMSTRUCT
;
2627 } DRAWTEXTPARAMS
,*LPDRAWTEXTPARAMS
;
2628 typedef struct tagPAINTSTRUCT
{
2634 BYTE rgbReserved
[32];
2635 } PAINTSTRUCT
,*LPPAINTSTRUCT
;
2636 typedef struct tagMSG
{
2644 typedef struct _ICONINFO
{
2650 } ICONINFO
,*PICONINFO
;
2651 typedef struct tagNMHDR
{
2656 typedef struct _WNDCLASSA
{
2658 WNDPROC lpfnWndProc
;
2661 HINSTANCE hInstance
;
2664 HBRUSH hbrBackground
;
2665 LPCSTR lpszMenuName
;
2666 LPCSTR lpszClassName
;
2667 } WNDCLASSA
,*LPWNDCLASSA
,*PWNDCLASSA
;
2668 typedef struct _WNDCLASSW
{
2670 WNDPROC lpfnWndProc
;
2673 HINSTANCE hInstance
;
2676 HBRUSH hbrBackground
;
2677 LPCWSTR lpszMenuName
;
2678 LPCWSTR lpszClassName
;
2679 } WNDCLASSW
,*LPWNDCLASSW
,*PWNDCLASSW
;
2680 typedef struct _WNDCLASSEXA
{
2683 WNDPROC lpfnWndProc
;
2686 HINSTANCE hInstance
;
2689 HBRUSH hbrBackground
;
2690 LPCSTR lpszMenuName
;
2691 LPCSTR lpszClassName
;
2693 } WNDCLASSEXA
,*LPWNDCLASSEXA
,*PWNDCLASSEXA
;
2694 typedef struct _WNDCLASSEXW
{
2697 WNDPROC lpfnWndProc
;
2700 HINSTANCE hInstance
;
2703 HBRUSH hbrBackground
;
2704 LPCWSTR lpszMenuName
;
2705 LPCWSTR lpszClassName
;
2707 } WNDCLASSEXW
,*LPWNDCLASSEXW
,*PWNDCLASSEXW
;
2708 typedef struct tagMENUITEMINFOA
{
2715 HBITMAP hbmpChecked
;
2716 HBITMAP hbmpUnchecked
;
2720 #if (_WIN32_WINNT >= 0x0500)
2723 } MENUITEMINFOA
,*LPMENUITEMINFOA
;
2724 typedef const MENUITEMINFOA
*LPCMENUITEMINFOA
;
2725 typedef struct tagMENUITEMINFOW
{
2732 HBITMAP hbmpChecked
;
2733 HBITMAP hbmpUnchecked
;
2737 #if (_WIN32_WINNT >= 0x0500)
2740 } MENUITEMINFOW
,*LPMENUITEMINFOW
;
2741 typedef const MENUITEMINFOW
*LPCMENUITEMINFOW
;
2742 typedef struct tagSCROLLINFO
{
2750 } SCROLLINFO
,*LPSCROLLINFO
;
2751 typedef const SCROLLINFO
*LPCSCROLLINFO
;
2752 typedef struct _WINDOWPLACEMENT
{
2756 POINT ptMinPosition
;
2757 POINT ptMaxPosition
;
2758 RECT rcNormalPosition
;
2759 } WINDOWPLACEMENT
,*LPWINDOWPLACEMENT
,*PWINDOWPLACEMENT
;
2763 } MENUITEMTEMPLATEHEADER
;
2769 typedef void MENUTEMPLATE
,MENUTEMPLATEA
,MENUTEMPLATEW
,*LPMENUTEMPLATEA
,*LPMENUTEMPLATEW
,*LPMENUTEMPLATE
;
2770 typedef struct tagHELPINFO
{
2777 } HELPINFO
,*LPHELPINFO
;
2778 typedef void(CALLBACK
*MSGBOXCALLBACK
)(LPHELPINFO
);
2782 HINSTANCE hInstance
;
2787 DWORD dwContextHelpId
;
2788 MSGBOXCALLBACK lpfnMsgBoxCallback
;
2790 } MSGBOXPARAMSA
,*PMSGBOXPARAMSA
,*LPMSGBOXPARAMSA
;
2794 HINSTANCE hInstance
;
2796 LPCWSTR lpszCaption
;
2799 DWORD dwContextHelpId
;
2800 MSGBOXCALLBACK lpfnMsgBoxCallback
;
2802 } MSGBOXPARAMSW
,*PMSGBOXPARAMSW
,*LPMSGBOXPARAMSW
;
2803 typedef struct tagUSEROBJECTFLAGS
{
2808 typedef struct tagFILTERKEYS
{
2816 typedef struct tagHIGHCONTRASTA
{
2819 LPSTR lpszDefaultScheme
;
2820 } HIGHCONTRASTA
,*LPHIGHCONTRASTA
;
2821 typedef struct tagHIGHCONTRASTW
{
2824 LPWSTR lpszDefaultScheme
;
2825 } HIGHCONTRASTW
,*LPHIGHCONTRASTW
;
2827 typedef struct tagICONMETRICSA
{
2833 } ICONMETRICSA
,*LPICONMETRICSA
;
2834 typedef struct tagICONMETRICSW
{
2840 } ICONMETRICSW
,*LPICONMETRICSW
;
2842 typedef struct tagMINIMIZEDMETRICS
{
2848 } MINIMIZEDMETRICS
,*LPMINIMIZEDMETRICS
;
2849 typedef struct tagMOUSEKEYS
{
2853 DWORD iTimeToMaxSpeed
;
2857 } MOUSEKEYS
,*LPMOUSEKEYS
;
2859 typedef struct tagNONCLIENTMETRICSA
{
2866 LOGFONTA lfCaptionFont
;
2867 int iSmCaptionWidth
;
2868 int iSmCaptionHeight
;
2869 LOGFONTA lfSmCaptionFont
;
2872 LOGFONTA lfMenuFont
;
2873 LOGFONTA lfStatusFont
;
2874 LOGFONTA lfMessageFont
;
2875 } NONCLIENTMETRICSA
,*LPNONCLIENTMETRICSA
;
2876 typedef struct tagNONCLIENTMETRICSW
{
2883 LOGFONTW lfCaptionFont
;
2884 int iSmCaptionWidth
;
2885 int iSmCaptionHeight
;
2886 LOGFONTW lfSmCaptionFont
;
2889 LOGFONTW lfMenuFont
;
2890 LOGFONTW lfStatusFont
;
2891 LOGFONTW lfMessageFont
;
2892 } NONCLIENTMETRICSW
,*LPNONCLIENTMETRICSW
;
2894 typedef struct tagSERIALKEYSA
{
2897 LPSTR lpszActivePort
;
2902 } SERIALKEYSA
,*LPSERIALKEYSA
;
2903 typedef struct tagSERIALKEYSW
{
2906 LPWSTR lpszActivePort
;
2911 } SERIALKEYSW
,*LPSERIALKEYSW
;
2912 typedef struct tagSOUNDSENTRYA
{
2915 DWORD iFSTextEffect
;
2916 DWORD iFSTextEffectMSec
;
2917 DWORD iFSTextEffectColorBits
;
2918 DWORD iFSGrafEffect
;
2919 DWORD iFSGrafEffectMSec
;
2920 DWORD iFSGrafEffectColor
;
2921 DWORD iWindowsEffect
;
2922 DWORD iWindowsEffectMSec
;
2923 LPSTR lpszWindowsEffectDLL
;
2924 DWORD iWindowsEffectOrdinal
;
2925 } SOUNDSENTRYA
,*LPSOUNDSENTRYA
;
2926 typedef struct tagSOUNDSENTRYW
{
2929 DWORD iFSTextEffect
;
2930 DWORD iFSTextEffectMSec
;
2931 DWORD iFSTextEffectColorBits
;
2932 DWORD iFSGrafEffect
;
2933 DWORD iFSGrafEffectMSec
;
2934 DWORD iFSGrafEffectColor
;
2935 DWORD iWindowsEffect
;
2936 DWORD iWindowsEffectMSec
;
2937 LPWSTR lpszWindowsEffectDLL
;
2938 DWORD iWindowsEffectOrdinal
;
2939 } SOUNDSENTRYW
,*LPSOUNDSENTRYW
;
2940 typedef struct tagSTICKYKEYS
{
2943 } STICKYKEYS
,*LPSTICKYKEYS
;
2944 typedef struct tagTOGGLEKEYS
{
2948 typedef struct tagMOUSEHOOKSTRUCT
{
2953 } MOUSEHOOKSTRUCT
,*LPMOUSEHOOKSTRUCT
,*PMOUSEHOOKSTRUCT
;
2954 typedef struct tagTRACKMOUSEEVENT
{
2959 } TRACKMOUSEEVENT
,*LPTRACKMOUSEEVENT
;
2960 typedef struct tagTPMPARAMS
{
2963 } TPMPARAMS
,*LPTPMPARAMS
;
2964 typedef struct tagEVENTMSG
{
2970 } EVENTMSG
,*PEVENTMSGMSG
,*LPEVENTMSGMSG
,*PEVENTMSG
,*LPEVENTMSG
;
2971 typedef struct _WINDOWPOS
{
2973 HWND hwndInsertAfter
;
2979 } WINDOWPOS
,*PWINDOWPOS
,*LPWINDOWPOS
;
2980 typedef struct tagNCCALCSIZE_PARAMS
{
2983 } NCCALCSIZE_PARAMS
, *LPNCCALCSIZE_PARAMS
;
2984 typedef struct tagMDICREATESTRUCTA
{
2994 } MDICREATESTRUCTA
,*LPMDICREATESTRUCTA
;
2995 typedef struct tagMDICREATESTRUCTW
{
3005 } MDICREATESTRUCTW
,*LPMDICREATESTRUCTW
;
3006 typedef struct tagMINMAXINFO
{
3009 POINT ptMaxPosition
;
3010 POINT ptMinTrackSize
;
3011 POINT ptMaxTrackSize
;
3012 } MINMAXINFO
,*PMINMAXINFO
,*LPMINMAXINFO
;
3013 typedef struct tagMDINEXTMENU
{
3017 } MDINEXTMENU
,*PMDINEXTMENU
,*LPMDINEXTMENU
;
3018 typedef struct tagMEASUREITEMSTRUCT
{
3025 } MEASUREITEMSTRUCT
,*PMEASUREITEMSTRUCT
,*LPMEASUREITEMSTRUCT
;
3026 typedef struct tagDROPSTRUCT
{
3032 DWORD dwControlData
;
3033 } DROPSTRUCT
,*PDROPSTRUCT
,*LPDROPSTRUCT
;
3034 typedef DWORD HELPPOLY
;
3035 typedef struct tagMULTIKEYHELPA
{
3038 CHAR szKeyphrase
[1];
3039 } MULTIKEYHELPA
,*PMULTIKEYHELPA
,*LPMULTIKEYHELPA
;
3040 typedef struct tagMULTIKEYHELPW
{
3043 WCHAR szKeyphrase
[1];
3044 } MULTIKEYHELPW
,*PMULTIKEYHELPW
,*LPMULTIKEYHELPW
;
3045 typedef struct tagHELPWININFOA
{
3053 } HELPWININFOA
,*PHELPWININFOA
,*LPHELPWININFOA
;
3054 typedef struct tagHELPWININFOW
{
3061 WCHAR rgchMember
[2];
3062 } HELPWININFOW
,*PHELPWININFOW
,*LPHELPWININFOW
;
3063 typedef struct tagSTYLESTRUCT
{
3066 } STYLESTRUCT
,*LPSTYLESTRUCT
;
3067 typedef struct tagALTTABINFO
{
3077 } ALTTABINFO
,*PALTTABINFO
,*LPALTTABINFO
;
3078 typedef struct tagCOMBOBOXINFO
{
3086 } COMBOBOXINFO
,*PCOMBOBOXINFO
,*LPCOMBOBOXINFO
;
3087 typedef struct tagCURSORINFO
{
3092 } CURSORINFO
,*PCURSORINFO
,*LPCURSORINFO
;
3093 typedef struct tagMENUBARINFO
{
3100 } MENUBARINFO
,*PMENUBARINFO
;
3101 typedef struct tagMENUINFO
{
3107 DWORD dwContextHelpID
;
3108 ULONG_PTR dwMenuData
;
3109 } MENUINFO
,*LPMENUINFO
;
3110 typedef MENUINFO CONST
*LPCMENUINFO
;
3111 #define CCHILDREN_SCROLLBAR 5
3112 typedef struct tagSCROLLBARINFO
{
3119 DWORD rgstate
[CCHILDREN_SCROLLBAR
+1];
3120 } SCROLLBARINFO
,*PSCROLLBARINFO
,*LPSCROLLBARINFO
;
3121 #if (_WIN32_WINDOWS >= 0x0410)
3122 #define CCHILDREN_TITLEBAR 5
3123 typedef struct tagTITLEBARINFO
{
3126 DWORD rgstate
[CCHILDREN_TITLEBAR
+1];
3127 } TITLEBARINFO
,*PTITLEBARINFO
,*LPTITLEBARINFO
;
3129 typedef struct tagWINDOWINFO
{
3135 DWORD dwWindowStatus
;
3136 UINT cxWindowBorders
;
3137 UINT cyWindowBorders
;
3138 ATOM atomWindowType
;
3139 WORD wCreatorVersion
;
3140 } WINDOWINFO
,*PWINDOWINFO
,*LPWINDOWINFO
;
3141 typedef struct tagLASTINPUTINFO
{
3144 } LASTINPUTINFO
,*PLASTINPUTINFO
;
3145 typedef struct tagMONITORINFO
{
3150 } MONITORINFO
,*LPMONITORINFO
;
3151 #define CCHDEVICENAME 32
3153 typedef struct tagMONITORINFOEXA
: public tagMONITORINFO
3155 CHAR szDevice
[CCHDEVICENAME
];
3156 } MONITORINFOEXA
, *LPMONITORINFOEXA
;
3157 typedef struct tagMONITORINFOEXW
: public tagMONITORINFO
3159 WCHAR szDevice
[CCHDEVICENAME
];
3160 } MONITORINFOEXW
, *LPMONITORINFOEXW
;
3162 typedef struct tagMONITORINFOEXA
{
3167 CHAR szDevice
[CCHDEVICENAME
];
3168 } MONITORINFOEXA
,*LPMONITORINFOEXA
;
3169 typedef struct tagMONITORINFOEXW
{
3174 WCHAR szDevice
[CCHDEVICENAME
];
3175 } MONITORINFOEXW
,*LPMONITORINFOEXW
;
3176 #endif /* __cplusplus */
3177 typedef struct tagKBDLLHOOKSTRUCT
{
3183 } KBDLLHOOKSTRUCT
,*LPKBDLLHOOKSTRUCT
,*PKBDLLHOOKSTRUCT
;
3184 #if (_WIN32_WINNT >= 0x0500 || _WIN32_WINDOWS >= 0x0410)
3191 } FLASHWINFO
,*PFLASHWINFO
;
3192 #endif /* (WINVER >= 0x0500 || _WIN32_WINDOWS >= 0x0410) */
3193 #if (_WIN32_WINNT >= 0x0500 || _WIN32_WINDOWS >= 0x0490)
3194 typedef struct tagMOUSEMOVEPOINT
{
3198 ULONG_PTR dwExtraInfo
;
3199 } MOUSEMOVEPOINT
,*PMOUSEMOVEPOINT
,*LPMOUSEMOVEPOINT
;
3201 #if (_WIN32_WINNT >= 0x0403)
3202 typedef struct tagMOUSEINPUT
{
3208 ULONG_PTR dwExtraInfo
;
3209 } MOUSEINPUT
,*PMOUSEINPUT
;
3210 typedef struct tagKEYBDINPUT
{
3215 ULONG_PTR dwExtraInfo
;
3216 } KEYBDINPUT
,*PKEYBDINPUT
;
3217 typedef struct tagHARDWAREINPUT
{
3221 } HARDWAREINPUT
,*PHARDWAREINPUT
;
3222 typedef struct tagINPUT
{
3224 _ANONYMOUS_UNION
union {
3229 } INPUT
,*PINPUT
,*LPINPUT
;
3230 #endif /* (_WIN32_WINNT >= 0x0403) */
3231 #if (WINVER >= 0x0500)
3232 typedef struct tagGUITHREADINFO
{
3242 } GUITHREADINFO
,*PGUITHREADINFO
,*LPGUITHREADINFO
;
3243 typedef VOID (*WINEVENTPROC
)(HWINEVENTHOOK
,DWORD
,HWND
,LONG
,LONG
,DWORD
,DWORD
);
3244 #endif /* (WINVER >= 0x0500) */
3245 #if (_WIN32_WINNT >= 0x0501)
3251 } BSMINFO
,*PBSMINFO
;
3252 DECLARE_HANDLE(HRAWINPUT
);
3253 typedef struct tagRAWINPUTHEADER
{
3258 } RAWINPUTHEADER
,*PRAWINPUTHEADER
;
3259 typedef struct tagRAWMOUSE
{
3261 _ANONYMOUS_UNION
union {
3263 _ANONYMOUS_STRUCT
struct {
3264 USHORT usButtonFlags
;
3265 USHORT usButtonData
;
3271 ULONG ulExtraInformation
;
3272 } RAWMOUSE
,*PRAWMOUSE
,*LPRAWMOUSE
;
3273 typedef struct tagRAWKEYBOARD
{
3279 ULONG ExtraInformation
;
3280 } RAWKEYBOARD
,*PRAWKEYBOARD
,*LPRAWKEYBOARD
;
3281 typedef struct tagRAWHID
{
3285 } RAWHID
,*PRAWHID
,*LPRAWHID
;
3286 typedef struct tagRAWINPUT
{
3287 RAWINPUTHEADER header
;
3290 RAWKEYBOARD keyboard
;
3293 } RAWINPUT
,*PRAWINPUT
,*LPRAWINPUT
;
3294 typedef struct tagRAWINPUTDEVICE
{
3299 } RAWINPUTDEVICE
,*PRAWINPUTDEVICE
,*LPRAWINPUTDEVICE
;
3300 typedef const RAWINPUTDEVICE
*PCRAWINPUTDEVICE
;
3301 typedef struct tagRAWINPUTDEVICELIST
{
3304 } RAWINPUTDEVICELIST
,*PRAWINPUTDEVICELIST
;
3305 typedef struct tagRID_DEVICE_INFO_MOUSE
{
3307 DWORD dwNumberOfButtons
;
3309 BOOL fHasHorizontalWheel
;
3310 } RID_DEVICE_INFO_MOUSE
, *PRID_DEVICE_INFO_MOUSE
;
3311 typedef struct tagRID_DEVICE_INFO_KEYBOARD
{
3314 DWORD dwKeyboardMode
;
3315 DWORD dwNumberOfFunctionKeys
;
3316 DWORD dwNumberOfIndicators
;
3317 DWORD dwNumberOfKeysTotal
;
3318 } RID_DEVICE_INFO_KEYBOARD
, *PRID_DEVICE_INFO_KEYBOARD
;
3319 typedef struct tagRID_DEVICE_INFO_HID
{
3322 DWORD dwVersionNumber
;
3325 } RID_DEVICE_INFO_HID
, *PRID_DEVICE_INFO_HID
;
3326 typedef struct tagRID_DEVICE_INFO
{
3329 _ANONYMOUS_UNION
union {
3330 RID_DEVICE_INFO_MOUSE mouse
;
3331 RID_DEVICE_INFO_KEYBOARD keyboard
;
3332 RID_DEVICE_INFO_HID hid
;
3334 } RID_DEVICE_INFO
, *PRID_DEVICE_INFO
, *LPRID_DEVICE_INFO
;
3335 #endif /* (_WIN32_WINNT >= 0x0501) */
3342 ULONG_PTR dwExtraInfo
;
3343 } MSLLHOOKSTRUCT
, *PMSLLHOOKSTRUCT
;
3345 #define AnsiToOem CharToOemA
3346 #define OemToAnsi OemToCharA
3347 #define AnsiToOemBuff CharToOemBuffA
3348 #define OemToAnsiBuff OemToCharBuffA
3349 #define AnsiUpper CharUpperA
3350 #define AnsiUpperBuff CharUpperBuffA
3351 #define AnsiLower CharLowerA
3352 #define AnsiLowerBuff CharLowerBuffA
3353 #define AnsiNext CharNextA
3354 #define AnsiPrev CharPrevA
3355 #define MAKELPARAM(l,h) ((LPARAM)MAKELONG(l,h))
3356 #define MAKEWPARAM(l,h) ((WPARAM)MAKELONG(l,h))
3357 #define MAKELRESULT(l,h) ((LRESULT)MAKELONG(l,h))
3358 #define POINTSTOPOINT(p,ps) { \
3359 (p).x=LOWORD(*(DWORD *)&ps); \
3360 (p).y=HIWORD(*(DWORD *)&ps); \
3362 #define POINTTOPOINTS(p) ((POINTS)MAKELONG((p).x,(p).y))
3364 WINUSERAPI HKL WINAPI
ActivateKeyboardLayout(HKL
,UINT
);
3365 WINUSERAPI BOOL WINAPI
AdjustWindowRect(LPRECT
,DWORD
,BOOL
);
3366 WINUSERAPI BOOL WINAPI
AdjustWindowRectEx(LPRECT
,DWORD
,BOOL
,DWORD
);
3367 #if (_WIN32_WINNT >= 0x0500)
3368 WINUSERAPI BOOL WINAPI
AnimateWindow(HWND
,DWORD
,DWORD
);
3369 #endif /* (_WIN32_WINNT >= 0x0500) */
3370 WINUSERAPI BOOL WINAPI
AnyPopup(void);
3371 WINUSERAPI BOOL WINAPI
AppendMenuA(HMENU
,UINT
,UINT_PTR
,LPCSTR
);
3372 WINUSERAPI BOOL WINAPI
AppendMenuW(HMENU
,UINT
,UINT_PTR
,LPCWSTR
);
3373 WINUSERAPI UINT WINAPI
ArrangeIconicWindows(HWND
);
3374 WINUSERAPI BOOL WINAPI
AttachThreadInput(DWORD
,DWORD
,BOOL
);
3375 WINUSERAPI HDWP WINAPI
BeginDeferWindowPos(int);
3376 WINUSERAPI HDC WINAPI
BeginPaint(HWND
,LPPAINTSTRUCT
);
3377 WINUSERAPI BOOL WINAPI
BringWindowToTop(HWND
);
3378 WINUSERAPI
long WINAPI
BroadcastSystemMessage(DWORD
,LPDWORD
,UINT
,WPARAM
,LPARAM
);
3379 #if (_WIN32_WINNT >= 0x0400)
3380 WINUSERAPI
long WINAPI
BroadcastSystemMessageA(DWORD
,LPDWORD
,UINT
,WPARAM
,LPARAM
);
3381 WINUSERAPI
long WINAPI
BroadcastSystemMessageW(DWORD
,LPDWORD
,UINT
,WPARAM
,LPARAM
);
3382 #endif /* (_WIN32_WINNT >= 0x0400) */
3383 #if (_WIN32_WINNT >= 0x0501)
3384 WINUSERAPI
long WINAPI
BroadcastSystemMessageExA(DWORD
,LPDWORD
,UINT
,WPARAM
,LPARAM
,PBSMINFO
);
3385 WINUSERAPI
long WINAPI
BroadcastSystemMessageExW(DWORD
,LPDWORD
,UINT
,WPARAM
,LPARAM
,PBSMINFO
);
3386 #endif /* (_WIN32_WINNT >= 0x0501) */
3387 WINUSERAPI BOOL WINAPI
CallMsgFilterA(LPMSG
,INT
);
3388 WINUSERAPI BOOL WINAPI
CallMsgFilterW(LPMSG
,INT
);
3389 WINUSERAPI LRESULT WINAPI
CallNextHookEx(HHOOK
,int,WPARAM
,LPARAM
);
3390 WINUSERAPI LRESULT WINAPI
CallWindowProcA(WNDPROC
,HWND
,UINT
,WPARAM
,LPARAM
);
3391 WINUSERAPI LRESULT WINAPI
CallWindowProcW(WNDPROC
,HWND
,UINT
,WPARAM
,LPARAM
);
3392 WINUSERAPI WORD WINAPI
CascadeWindows(HWND
,UINT
,LPCRECT
,UINT
,const HWND
*);
3393 WINUSERAPI BOOL WINAPI
ChangeClipboardChain(HWND
,HWND
);
3395 WINUSERAPI LONG WINAPI
ChangeDisplaySettingsA(PDEVMODEA
,DWORD
);
3396 WINUSERAPI LONG WINAPI
ChangeDisplaySettingsW(PDEVMODEW
,DWORD
);
3397 WINUSERAPI LONG WINAPI
ChangeDisplaySettingsExA(LPCSTR
,LPDEVMODEA
,HWND
,DWORD
,LPVOID
);
3398 WINUSERAPI LONG WINAPI
ChangeDisplaySettingsExW(LPCWSTR
,LPDEVMODEW
,HWND
,DWORD
,LPVOID
);
3400 WINUSERAPI BOOL WINAPI
ChangeMenuA(HMENU
,UINT
,LPCSTR
,UINT
,UINT
);
3401 WINUSERAPI BOOL WINAPI
ChangeMenuW(HMENU
,UINT
,LPCWSTR
,UINT
,UINT
);
3402 WINUSERAPI LPSTR WINAPI
CharLowerA(LPSTR
);
3403 WINUSERAPI LPWSTR WINAPI
CharLowerW(LPWSTR
);
3404 WINUSERAPI DWORD WINAPI
CharLowerBuffA(LPSTR
,DWORD
);
3405 WINUSERAPI DWORD WINAPI
CharLowerBuffW(LPWSTR
,DWORD
);
3406 WINUSERAPI LPSTR WINAPI
CharNextA(LPCSTR
);
3407 WINUSERAPI LPWSTR WINAPI
CharNextW(LPCWSTR
);
3408 WINUSERAPI LPSTR WINAPI
CharNextExA(WORD
,LPCSTR
,DWORD
);
3409 WINUSERAPI LPSTR WINAPI
CharPrevA(LPCSTR
,LPCSTR
);
3410 WINUSERAPI LPWSTR WINAPI
CharPrevW(LPCWSTR
,LPCWSTR
);
3411 WINUSERAPI LPSTR WINAPI
CharPrevExA(WORD
,LPCSTR
,LPCSTR
,DWORD
);
3412 WINUSERAPI BOOL WINAPI
CharToOemA(LPCSTR
,LPSTR
);
3413 WINUSERAPI BOOL WINAPI
CharToOemW(LPCWSTR
,LPSTR
);
3414 WINUSERAPI BOOL WINAPI
CharToOemBuffA(LPCSTR
,LPSTR
,DWORD
);
3415 WINUSERAPI BOOL WINAPI
CharToOemBuffW(LPCWSTR
,LPSTR
,DWORD
);
3416 WINUSERAPI LPSTR WINAPI
CharUpperA(LPSTR
);
3417 WINUSERAPI LPWSTR WINAPI
CharUpperW(LPWSTR
);
3418 WINUSERAPI DWORD WINAPI
CharUpperBuffA(LPSTR
,DWORD
);
3419 WINUSERAPI DWORD WINAPI
CharUpperBuffW(LPWSTR
,DWORD
);
3420 WINUSERAPI BOOL WINAPI
CheckDlgButton(HWND
,int,UINT
);
3421 WINUSERAPI DWORD WINAPI
CheckMenuItem(HMENU
,UINT
,UINT
);
3422 WINUSERAPI BOOL WINAPI
CheckMenuRadioItem(HMENU
,UINT
,UINT
,UINT
,UINT
);
3423 WINUSERAPI BOOL WINAPI
CheckRadioButton(HWND
,int,int,int);
3424 WINUSERAPI HWND WINAPI
ChildWindowFromPoint(HWND
,POINT
);
3425 WINUSERAPI HWND WINAPI
ChildWindowFromPointEx(HWND
,POINT
,UINT
);
3426 WINUSERAPI BOOL WINAPI
ClientToScreen(HWND
,LPPOINT
);
3427 WINUSERAPI BOOL WINAPI
ClipCursor(LPCRECT
);
3428 WINUSERAPI BOOL WINAPI
CloseClipboard(void);
3429 WINUSERAPI BOOL WINAPI
CloseDesktop(HDESK
);
3430 WINUSERAPI BOOL WINAPI
CloseWindow(HWND
);
3431 WINUSERAPI BOOL WINAPI
CloseWindowStation(HWINSTA
);
3432 WINUSERAPI
int WINAPI
CopyAcceleratorTableA(HACCEL
,LPACCEL
,int);
3433 WINUSERAPI
int WINAPI
CopyAcceleratorTableW(HACCEL
,LPACCEL
,int);
3434 #define CopyCursor(c) ((HCURSOR)CopyIcon((HICON)(c)))
3435 WINUSERAPI HICON WINAPI
CopyIcon(HICON
);
3436 WINUSERAPI HANDLE WINAPI
CopyImage(HANDLE
,UINT
,int,int,UINT
);
3437 WINUSERAPI BOOL WINAPI
CopyRect(LPRECT
,LPCRECT
);
3438 WINUSERAPI
int WINAPI
CountClipboardFormats(void);
3439 WINUSERAPI HACCEL WINAPI
CreateAcceleratorTableA(LPACCEL
,int);
3440 WINUSERAPI HACCEL WINAPI
CreateAcceleratorTableW(LPACCEL
,int);
3441 WINUSERAPI BOOL WINAPI
CreateCaret(HWND
,HBITMAP
,int,int);
3442 WINUSERAPI HCURSOR WINAPI
CreateCursor(HINSTANCE
,int,int,int,int,PCVOID
,PCVOID
);
3444 WINUSERAPI HDESK WINAPI
CreateDesktopA(LPCSTR
,LPCSTR
,LPDEVMODEA
,DWORD
,ACCESS_MASK
,LPSECURITY_ATTRIBUTES
);
3445 WINUSERAPI HDESK WINAPI
CreateDesktopW(LPCWSTR
,LPCWSTR
,LPDEVMODEW
,DWORD
,ACCESS_MASK
,LPSECURITY_ATTRIBUTES
);
3447 #define CreateDialogA(h,n,w,f) CreateDialogParamA(h,n,w,f,0)
3448 #define CreateDialogW(h,n,w,f) CreateDialogParamW(h,n,w,f,0)
3449 #define CreateDialogIndirectA(h,t,w,f) CreateDialogIndirectParamA(h,t,w,f,0)
3450 #define CreateDialogIndirectW(h,t,w,f) CreateDialogIndirectParamW(h,t,w,f,0)
3451 WINUSERAPI HWND WINAPI
CreateDialogIndirectParamA(HINSTANCE
,LPCDLGTEMPLATE
,HWND
,DLGPROC
,LPARAM
);
3452 WINUSERAPI HWND WINAPI
CreateDialogIndirectParamW(HINSTANCE
,LPCDLGTEMPLATE
,HWND
,DLGPROC
,LPARAM
);
3453 WINUSERAPI HWND WINAPI
CreateDialogParamA(HINSTANCE
,LPCSTR
,HWND
,DLGPROC
,LPARAM
);
3454 WINUSERAPI HWND WINAPI
CreateDialogParamW(HINSTANCE
,LPCWSTR
,HWND
,DLGPROC
,LPARAM
);
3455 WINUSERAPI HICON WINAPI
CreateIcon(HINSTANCE
,int,int,BYTE
,BYTE
,const BYTE
*,const BYTE
*);
3456 WINUSERAPI HICON WINAPI
CreateIconFromResource(PBYTE
,DWORD
,BOOL
,DWORD
);
3457 WINUSERAPI HICON WINAPI
CreateIconFromResourceEx(PBYTE
,DWORD
,BOOL
,DWORD
,int,int,UINT
);
3458 WINUSERAPI HICON WINAPI
CreateIconIndirect(PICONINFO
);
3459 WINUSERAPI HWND WINAPI
CreateMDIWindowA(LPCSTR
,LPCSTR
,DWORD
,int,int,int,int,HWND
,HINSTANCE
,LPARAM
);
3460 WINUSERAPI HWND WINAPI
CreateMDIWindowW(LPCWSTR
,LPCWSTR
,DWORD
,int,int,int,int,HWND
,HINSTANCE
,LPARAM
);
3461 WINUSERAPI HMENU WINAPI
CreateMenu(void);
3462 WINUSERAPI HMENU WINAPI
CreatePopupMenu(void);
3463 #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)
3464 #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)
3465 WINUSERAPI HWND WINAPI
CreateWindowExA(DWORD
,LPCSTR
,LPCSTR
,DWORD
,int,int,int,int,HWND
,HMENU
,HINSTANCE
,LPVOID
);
3466 WINUSERAPI HWND WINAPI
CreateWindowExW(DWORD
,LPCWSTR
,LPCWSTR
,DWORD
,int,int,int,int,HWND
,HMENU
,HINSTANCE
,LPVOID
);
3467 WINUSERAPI HWINSTA WINAPI
CreateWindowStationA(LPCSTR
,DWORD
,DWORD
,LPSECURITY_ATTRIBUTES
);
3468 WINUSERAPI HWINSTA WINAPI
CreateWindowStationW(LPCWSTR
,DWORD
,DWORD
,LPSECURITY_ATTRIBUTES
);
3469 WINUSERAPI LRESULT WINAPI
DefDlgProcA(HWND
,UINT
,WPARAM
,LPARAM
);
3470 WINUSERAPI LRESULT WINAPI
DefDlgProcW(HWND
,UINT
,WPARAM
,LPARAM
);
3471 WINUSERAPI HDWP WINAPI
DeferWindowPos(HDWP
,HWND
,HWND
,int,int,int,int,UINT
);
3472 WINUSERAPI LRESULT WINAPI
DefFrameProcA(HWND
,HWND
,UINT
,WPARAM
,LPARAM
);
3473 WINUSERAPI LRESULT WINAPI
DefFrameProcW(HWND
,HWND
,UINT
,WPARAM
,LPARAM
);
3474 #define DefHookProc(c,p,lp,h) CallNextHookEx((HHOOK)*h,c,p,lp)
3475 WINUSERAPI LRESULT WINAPI
DefMDIChildProcA(HWND
,UINT
,WPARAM
,LPARAM
);
3476 WINUSERAPI LRESULT WINAPI
DefMDIChildProcW(HWND
,UINT
,WPARAM
,LPARAM
);
3477 #if (_WIN32_WINNT >= 0x0501)
3478 WINUSERAPI LRESULT WINAPI
DefRawInputProc(PRAWINPUT
*,INT
,UINT
);
3480 WINUSERAPI LRESULT WINAPI
DefWindowProcA(HWND
,UINT
,WPARAM
,LPARAM
);
3481 WINUSERAPI LRESULT WINAPI
DefWindowProcW(HWND
,UINT
,WPARAM
,LPARAM
);
3482 WINUSERAPI BOOL WINAPI
DeleteMenu(HMENU
,UINT
,UINT
);
3483 WINUSERAPI BOOL WINAPI
DeregisterShellHookWindow(HWND
);
3484 WINUSERAPI BOOL WINAPI
DestroyAcceleratorTable(HACCEL
);
3485 WINUSERAPI BOOL WINAPI
DestroyCaret(void);
3486 WINUSERAPI BOOL WINAPI
DestroyCursor(HCURSOR
);
3487 WINUSERAPI BOOL WINAPI
DestroyIcon(HICON
);
3488 WINUSERAPI BOOL WINAPI
DestroyMenu(HMENU
);
3489 WINUSERAPI BOOL WINAPI
DestroyWindow(HWND
);
3490 #define DialogBoxA(i,t,p,f) DialogBoxParamA(i,t,p,f,0)
3491 #define DialogBoxW(i,t,p,f) DialogBoxParamW(i,t,p,f,0)
3492 #define DialogBoxIndirectA(i,t,p,f) DialogBoxIndirectParamA(i,t,p,f,0)
3493 #define DialogBoxIndirectW(i,t,p,f) DialogBoxIndirectParamW(i,t,p,f,0)
3494 WINUSERAPI
int WINAPI
DialogBoxIndirectParamA(HINSTANCE
,LPCDLGTEMPLATE
,HWND
,DLGPROC
,LPARAM
);
3495 WINUSERAPI
int WINAPI
DialogBoxIndirectParamW(HINSTANCE
,LPCDLGTEMPLATE
,HWND
,DLGPROC
,LPARAM
);
3497 extern int DialogBoxParamA(HINSTANCE
,LPCSTR
,HWND
,DLGPROC
,LPARAM
);
3498 extern int DialogBoxParamW(HINSTANCE
,LPCWSTR
,HWND
,DLGPROC
,LPARAM
);
3500 WINUSERAPI
int WINAPI
DialogBoxParamA(HINSTANCE
,LPCSTR
,HWND
,DLGPROC
,LPARAM
);
3501 WINUSERAPI
int WINAPI
DialogBoxParamW(HINSTANCE
,LPCWSTR
,HWND
,DLGPROC
,LPARAM
);
3503 WINUSERAPI LONG WINAPI
DispatchMessageA(const MSG
*);
3504 WINUSERAPI LONG WINAPI
DispatchMessageW(const MSG
*);
3505 WINUSERAPI
int WINAPI
DlgDirListA(HWND
,LPSTR
,int,int,UINT
);
3506 WINUSERAPI
int WINAPI
DlgDirListW(HWND
,LPWSTR
,int,int,UINT
);
3507 WINUSERAPI
int WINAPI
DlgDirListComboBoxA(HWND
,LPSTR
,int,int,UINT
);
3508 WINUSERAPI
int WINAPI
DlgDirListComboBoxW(HWND
,LPWSTR
,int,int,UINT
);
3509 WINUSERAPI BOOL WINAPI
DlgDirSelectComboBoxExA(HWND
,LPSTR
,int,int);
3510 WINUSERAPI BOOL WINAPI
DlgDirSelectComboBoxExW(HWND
,LPWSTR
,int,int);
3511 WINUSERAPI BOOL WINAPI
DlgDirSelectExA(HWND
,LPSTR
,int,int);
3512 WINUSERAPI BOOL WINAPI
DlgDirSelectExW(HWND
,LPWSTR
,int,int);
3513 WINUSERAPI BOOL WINAPI
DragDetect(HWND
,POINT
);
3514 WINUSERAPI DWORD WINAPI
DragObject(HWND
,HWND
,UINT
,DWORD
,HCURSOR
);
3515 WINUSERAPI BOOL WINAPI
DrawAnimatedRects(HWND
,int,LPCRECT
,LPCRECT
);
3516 WINUSERAPI BOOL WINAPI
DrawCaption(HWND
,HDC
,LPCRECT
,UINT
);
3517 WINUSERAPI BOOL WINAPI
DrawEdge(HDC
,LPRECT
,UINT
,UINT
);
3518 WINUSERAPI BOOL WINAPI
DrawFocusRect(HDC
,LPCRECT
);
3519 WINUSERAPI BOOL WINAPI
DrawFrameControl(HDC
,LPRECT
,UINT
,UINT
);
3520 WINUSERAPI BOOL WINAPI
DrawIcon(HDC
,int,int,HICON
);
3521 WINUSERAPI BOOL WINAPI
DrawIconEx(HDC
,int,int,HICON
,int,int,UINT
,HBRUSH
,UINT
);
3522 WINUSERAPI BOOL WINAPI
DrawMenuBar(HWND
);
3523 WINUSERAPI BOOL WINAPI
DrawStateA(HDC
,HBRUSH
,DRAWSTATEPROC
,LPARAM
,WPARAM
,int,int,int,int,UINT
);
3524 WINUSERAPI BOOL WINAPI
DrawStateW(HDC
,HBRUSH
,DRAWSTATEPROC
,LPARAM
,WPARAM
,int,int,int,int,UINT
);
3525 WINUSERAPI
int WINAPI
DrawTextA(HDC
,LPCSTR
,int,LPRECT
,UINT
);
3526 WINUSERAPI
int WINAPI
DrawTextW(HDC
,LPCWSTR
,int,LPRECT
,UINT
);
3527 WINUSERAPI
int WINAPI
DrawTextExA(HDC
,LPSTR
,int,LPRECT
,UINT
,LPDRAWTEXTPARAMS
);
3528 WINUSERAPI
int WINAPI
DrawTextExW(HDC
,LPWSTR
,int,LPRECT
,UINT
,LPDRAWTEXTPARAMS
);
3529 WINUSERAPI BOOL WINAPI
EmptyClipboard(void);
3530 WINUSERAPI BOOL WINAPI
EnableMenuItem(HMENU
,UINT
,UINT
);
3531 WINUSERAPI BOOL WINAPI
EnableScrollBar(HWND
,UINT
,UINT
);
3532 WINUSERAPI BOOL WINAPI
EnableWindow(HWND
,BOOL
);
3533 WINUSERAPI BOOL WINAPI
EndDeferWindowPos(HDWP
);
3534 WINUSERAPI BOOL WINAPI
EndDialog(HWND
,int);
3535 WINUSERAPI BOOL WINAPI
EndMenu(void);
3536 WINUSERAPI BOOL WINAPI
EndPaint(HWND
,const PAINTSTRUCT
*);
3537 #if (_WIN32_WINNT >= 0x0500)
3538 WINUSERAPI BOOL WINAPI
EndTask(HWND
,BOOL
,BOOL
);
3540 WINUSERAPI BOOL WINAPI
EnumChildWindows(HWND
,ENUMWINDOWSPROC
,LPARAM
);
3541 WINUSERAPI UINT WINAPI
EnumClipboardFormats(UINT
);
3542 WINUSERAPI BOOL WINAPI
EnumDesktopsA(HWINSTA
,DESKTOPENUMPROCA
,LPARAM
);
3543 WINUSERAPI BOOL WINAPI
EnumDesktopsW(HWINSTA
,DESKTOPENUMPROCW
,LPARAM
);
3544 WINUSERAPI BOOL WINAPI
EnumDesktopWindows(HDESK
,ENUMWINDOWSPROC
,LPARAM
);
3545 WINUSERAPI BOOL WINAPI
EnumDisplayMonitors(HDC
,LPCRECT
,MONITORENUMPROC
,LPARAM
);
3547 WINUSERAPI BOOL WINAPI
EnumDisplaySettingsA(LPCSTR
,DWORD
,PDEVMODEA
);
3548 WINUSERAPI BOOL WINAPI
EnumDisplaySettingsW(LPCWSTR
,DWORD
,PDEVMODEW
);
3549 #if (_WIN32_WINNT >= 0x0500 || _WIN32_WINDOWS >= 0x0410)
3550 WINUSERAPI BOOL WINAPI
EnumDisplaySettingsExA(LPCSTR
,DWORD
,LPDEVMODEA
,DWORD
);
3551 WINUSERAPI BOOL WINAPI
EnumDisplaySettingsExW(LPCWSTR
,DWORD
,LPDEVMODEW
,DWORD
);
3553 WINUSERAPI BOOL WINAPI
EnumDisplayDevicesA(LPCSTR
,DWORD
,PDISPLAY_DEVICEA
,DWORD
);
3554 WINUSERAPI BOOL WINAPI
EnumDisplayDevicesW(LPCWSTR
,DWORD
,PDISPLAY_DEVICEW
,DWORD
);
3556 WINUSERAPI
int WINAPI
EnumPropsA(HWND
,PROPENUMPROCA
);
3557 WINUSERAPI
int WINAPI
EnumPropsW(HWND
,PROPENUMPROCW
);
3558 WINUSERAPI
int WINAPI
EnumPropsExA(HWND
,PROPENUMPROCEXA
,LPARAM
);
3559 WINUSERAPI
int WINAPI
EnumPropsExW(HWND
,PROPENUMPROCEXW
,LPARAM
);
3560 #define EnumTaskWindows(h,f,p) EnumThreadWindows((DWORD)h,f,p)
3561 WINUSERAPI BOOL WINAPI
EnumThreadWindows(DWORD
,WNDENUMPROC
,LPARAM
);
3562 WINUSERAPI BOOL WINAPI
EnumWindows(WNDENUMPROC
,LPARAM
);
3563 WINUSERAPI BOOL WINAPI
EnumWindowStationsA(WINSTAENUMPROCA
,LPARAM
);
3564 WINUSERAPI BOOL WINAPI
EnumWindowStationsW(WINSTAENUMPROCW
,LPARAM
);
3565 WINUSERAPI BOOL WINAPI
EqualRect(LPCRECT
,LPCRECT
);
3566 #define ExitWindows(r,c) ExitWindowsEx(EWX_LOGOFF,0)
3567 WINUSERAPI BOOL WINAPI
ExitWindowsEx(UINT
,DWORD
);
3568 WINUSERAPI HWND WINAPI
FindWindowA(LPCSTR
,LPCSTR
);
3569 WINUSERAPI HWND WINAPI
FindWindowExA(HWND
,HWND
,LPCSTR
,LPCSTR
);
3570 WINUSERAPI HWND WINAPI
FindWindowExW(HWND
,HWND
,LPCWSTR
,LPCWSTR
);
3571 WINUSERAPI HWND WINAPI
FindWindowW(LPCWSTR
,LPCWSTR
);
3572 WINUSERAPI BOOL WINAPI
FlashWindow(HWND
,BOOL
);
3573 #if (_WIN32_WINNT >= 0x0500 || _WIN32_WINDOWS >= 0x0410)
3574 WINUSERAPI BOOL WINAPI
FlashWindowEx(PFLASHWINFO
);
3576 int WINAPI
FrameRect(HDC
,LPCRECT
,HBRUSH
);
3577 WINUSERAPI BOOL WINAPI
FrameRgn(HDC
,HRGN
,HBRUSH
,int,int);
3578 WINUSERAPI HWND WINAPI
GetActiveWindow(void);
3579 WINUSERAPI HWND WINAPI
GetAncestor(HWND
,UINT
);
3580 WINUSERAPI SHORT WINAPI
GetAsyncKeyState(int);
3581 WINUSERAPI HWND WINAPI
GetCapture(void);
3582 WINUSERAPI UINT WINAPI
GetCaretBlinkTime(void);
3583 WINUSERAPI BOOL WINAPI
GetCaretPos(LPPOINT
);
3584 WINUSERAPI BOOL WINAPI
GetClassInfoA(HINSTANCE
,LPCSTR
,LPWNDCLASSA
);
3585 WINUSERAPI BOOL WINAPI
GetClassInfoExA(HINSTANCE
,LPCSTR
,LPWNDCLASSEXA
);
3586 WINUSERAPI BOOL WINAPI
GetClassInfoW(HINSTANCE
,LPCWSTR
,LPWNDCLASSW
);
3587 WINUSERAPI BOOL WINAPI
GetClassInfoExW(HINSTANCE
,LPCWSTR
,LPWNDCLASSEXW
);
3588 WINUSERAPI DWORD WINAPI
GetClassLongA(HWND
,int);
3589 WINUSERAPI DWORD WINAPI
GetClassLongW(HWND
,int);
3591 WINUSERAPI ULONG_PTR WINAPI
GetClassLongPtrA(HWND
,int);
3592 WINUSERAPI ULONG_PTR WINAPI
GetClassLongPtrW(HWND
,int);
3594 #define GetClassLongPtrA GetClassLongA
3595 #define GetClassLongPtrW GetClassLongW
3597 WINUSERAPI
int WINAPI
GetClassNameA(HWND
,LPSTR
,int);
3598 WINUSERAPI
int WINAPI
GetClassNameW(HWND
,LPWSTR
,int);
3599 WINUSERAPI WORD WINAPI
GetClassWord(HWND
,int);
3600 WINUSERAPI BOOL WINAPI
GetClientRect(HWND
,LPRECT
);
3601 WINUSERAPI HANDLE WINAPI
GetClipboardData(UINT
);
3602 WINUSERAPI
int WINAPI
GetClipboardFormatNameA(UINT
,LPSTR
,int);
3603 WINUSERAPI
int WINAPI
GetClipboardFormatNameW(UINT
,LPWSTR
,int);
3604 WINUSERAPI HWND WINAPI
GetClipboardOwner(void);
3605 #if (_WIN32_WINNT >= 0x0500 || _WIN32_WINDOWS >= 0x0410)
3606 WINUSERAPI DWORD WINAPI
GetClipboardSequenceNumber(void);
3608 HWND WINAPI
GetClipboardViewer(void);
3609 WINUSERAPI BOOL WINAPI
GetClipCursor(LPRECT
);
3610 WINUSERAPI BOOL WINAPI
GetCursorPos(LPPOINT
);
3611 WINUSERAPI HDC WINAPI
GetDC(HWND
);
3612 WINUSERAPI HDC WINAPI
GetDCEx(HWND
,HRGN
,DWORD
);
3613 WINUSERAPI HWND WINAPI
GetDesktopWindow(void);
3614 WINUSERAPI
long WINAPI
GetDialogBaseUnits(void);
3615 WINUSERAPI
int WINAPI
GetDlgCtrlID(HWND
);
3616 WINUSERAPI HWND WINAPI
GetDlgItem(HWND
,int);
3617 WINUSERAPI UINT WINAPI
GetDlgItemInt(HWND
,int,PBOOL
,BOOL
);
3618 WINUSERAPI UINT WINAPI
GetDlgItemTextA(HWND
,int,LPSTR
,int);
3619 WINUSERAPI UINT WINAPI
GetDlgItemTextW(HWND
,int,LPWSTR
,int);
3620 WINUSERAPI UINT WINAPI
GetDoubleClickTime(void);
3621 WINUSERAPI HWND WINAPI
GetFocus(void);
3622 WINUSERAPI HWND WINAPI
GetForegroundWindow(void);
3623 #if (_WIN32_WINNT >= 0x0500)
3624 WINUSERAPI DWORD WINAPI
GetGuiResources(HANDLE
,DWORD
);
3626 WINUSERAPI BOOL WINAPI
GetIconInfo(HICON
,PICONINFO
);
3627 WINUSERAPI BOOL WINAPI
GetInputState(void);
3628 WINUSERAPI UINT WINAPI
GetKBCodePage(void);
3629 WINUSERAPI HKL WINAPI
GetKeyboardLayout(DWORD
);
3630 WINUSERAPI UINT WINAPI
GetKeyboardLayoutList(int,HKL
*);
3631 WINUSERAPI BOOL WINAPI
GetKeyboardLayoutNameA(LPSTR
);
3632 WINUSERAPI BOOL WINAPI
GetKeyboardLayoutNameW(LPWSTR
);
3633 WINUSERAPI BOOL WINAPI
GetKeyboardState(PBYTE
);
3634 WINUSERAPI
int WINAPI
GetKeyboardType(int);
3635 WINUSERAPI
int WINAPI
GetKeyNameTextA(LONG
,LPSTR
,int);
3636 WINUSERAPI
int WINAPI
GetKeyNameTextW(LONG
,LPWSTR
,int);
3637 WINUSERAPI SHORT WINAPI
GetKeyState(int);
3638 WINUSERAPI HWND WINAPI
GetLastActivePopup(HWND
);
3639 WINUSERAPI HMENU WINAPI
GetMenu(HWND
);
3640 WINUSERAPI LONG WINAPI
GetMenuCheckMarkDimensions(void);
3641 WINUSERAPI DWORD WINAPI
GetMenuContextHelpId(HMENU
);
3642 WINUSERAPI UINT WINAPI
GetMenuDefaultItem(HMENU
,UINT
,UINT
);
3643 WINUSERAPI
int WINAPI
GetMenuItemCount(HMENU
);
3644 WINUSERAPI UINT WINAPI
GetMenuItemID(HMENU
,int);
3645 WINUSERAPI BOOL WINAPI
GetMenuItemInfoA(HMENU
,UINT
,BOOL
,LPMENUITEMINFOA
);
3646 WINUSERAPI BOOL WINAPI
GetMenuItemInfoW(HMENU
,UINT
,BOOL
,LPMENUITEMINFOW
);
3647 WINUSERAPI BOOL WINAPI
GetMenuItemRect(HWND
,HMENU
,UINT
,LPRECT
);
3648 WINUSERAPI UINT WINAPI
GetMenuState(HMENU
,UINT
,UINT
);
3649 WINUSERAPI
int WINAPI
GetMenuStringA(HMENU
,UINT
,LPSTR
,int,UINT
);
3650 WINUSERAPI
int WINAPI
GetMenuStringW(HMENU
,UINT
,LPWSTR
,int,UINT
);
3651 WINUSERAPI BOOL WINAPI
GetMessageA(LPMSG
,HWND
,UINT
,UINT
);
3652 WINUSERAPI BOOL WINAPI
GetMessageW(LPMSG
,HWND
,UINT
,UINT
);
3653 WINUSERAPI LONG WINAPI
GetMessageExtraInfo(void);
3654 WINUSERAPI DWORD WINAPI
GetMessagePos(void);
3655 WINUSERAPI LONG WINAPI
GetMessageTime(void);
3656 #if (_WIN32_WINNT >= 0x0500 || _WIN32_WINDOWS >= 0x0490)
3657 WINUSERAPI
int WINAPI
GetMouseMovePointsEx(UINT
,LPMOUSEMOVEPOINT
,LPMOUSEMOVEPOINT
,int,DWORD
);
3659 WINUSERAPI HWND WINAPI
GetNextDlgGroupItem(HWND
,HWND
,BOOL
);
3660 WINUSERAPI HWND WINAPI
GetNextDlgTabItem(HWND
,HWND
,BOOL
);
3661 #define GetNextWindow(h,c) GetWindow(h,c)
3662 WINUSERAPI HWND WINAPI
GetOpenClipboardWindow(void);
3663 WINUSERAPI HWND WINAPI
GetParent(HWND
);
3664 WINUSERAPI
int WINAPI
GetPriorityClipboardFormat(UINT
*,int);
3665 WINUSERAPI HANDLE WINAPI
GetPropA(HWND
,LPCSTR
);
3666 WINUSERAPI HANDLE WINAPI
GetPropW(HWND
,LPCWSTR
);
3667 #if (_WIN32_WINNT >= 0x0501)
3668 WINUSERAPI UINT WINAPI
GetRawInputBuffer(PRAWINPUT
,PUINT
,UINT
);
3669 WINUSERAPI UINT WINAPI
GetRawInputData(HRAWINPUT
,UINT
,LPVOID
,PUINT
,UINT
);
3670 WINUSERAPI UINT WINAPI
GetRawInputDeviceInfoA(HANDLE
,UINT
,LPVOID
,PUINT
);
3671 WINUSERAPI UINT WINAPI
GetRawInputDeviceInfoW(HANDLE
,UINT
,LPVOID
,PUINT
);
3672 WINUSERAPI UINT WINAPI
GetRawInputDeviceList(PRAWINPUTDEVICELIST
,PUINT
,UINT
);
3673 WINUSERAPI UINT WINAPI
GetRegisteredRawInputDevices(PRAWINPUTDEVICE
,PUINT
,UINT
);
3675 WINUSERAPI DWORD WINAPI
GetQueueStatus(UINT
);
3676 WINUSERAPI BOOL WINAPI
GetScrollInfo(HWND
,int,LPSCROLLINFO
);
3677 WINUSERAPI
int WINAPI
GetScrollPos(HWND
,int);
3678 WINUSERAPI BOOL WINAPI
GetScrollRange(HWND
,int,LPINT
,LPINT
);
3679 #if (_WIN32_WINNT >= 0x0500)
3680 WINUSERAPI HWND WINAPI
GetShellWindow(void);
3682 WINUSERAPI HMENU WINAPI
GetSubMenu(HMENU
,int);
3683 WINUSERAPI DWORD WINAPI
GetSysColor(int);
3684 WINUSERAPI HBRUSH WINAPI
GetSysColorBrush(int);
3685 #define GetSysModalWindow() (NULL)
3686 WINUSERAPI HMENU WINAPI
GetSystemMenu(HWND
,BOOL
);
3687 WINUSERAPI
int WINAPI
GetSystemMetrics(int);
3688 WINUSERAPI DWORD WINAPI
GetTabbedTextExtentA(HDC
,LPCSTR
,int,int,LPINT
);
3689 WINUSERAPI DWORD WINAPI
GetTabbedTextExtentW(HDC
,LPCWSTR
,int,int,LPINT
);
3690 WINUSERAPI LONG WINAPI
GetWindowLongA(HWND
,int);
3691 WINUSERAPI LONG WINAPI
GetWindowLongW(HWND
,int);
3693 WINUSERAPI LONG_PTR WINAPI
GetWindowLongPtrA(HWND
,int);
3694 WINUSERAPI LONG_PTR WINAPI
GetWindowLongPtrW(HWND
,int);
3696 #define GetWindowLongPtrA GetWindowLongA
3697 #define GetWindowLongPtrW GetWindowLongW
3699 WINUSERAPI HDESK WINAPI
GetThreadDesktop(DWORD
);
3700 WINUSERAPI HWND WINAPI
GetTopWindow(HWND
);
3701 WINUSERAPI BOOL WINAPI
GetUpdateRect(HWND
,LPRECT
,BOOL
);
3702 WINUSERAPI
int WINAPI
GetUpdateRgn(HWND
,HRGN
,BOOL
);
3703 WINUSERAPI BOOL WINAPI
GetUserObjectInformationA(HANDLE
,int,PVOID
,DWORD
,PDWORD
);
3704 WINUSERAPI BOOL WINAPI
GetUserObjectInformationW(HANDLE
,int,PVOID
,DWORD
,PDWORD
);
3705 WINUSERAPI BOOL WINAPI
GetUserObjectSecurity(HANDLE
,PSECURITY_INFORMATION
,PSECURITY_DESCRIPTOR
,DWORD
,PDWORD
);
3706 WINUSERAPI HWND WINAPI
GetWindow(HWND
,UINT
);
3707 WINUSERAPI DWORD WINAPI
GetWindowContextHelpId(HWND
);
3708 WINUSERAPI HDC WINAPI
GetWindowDC(HWND
);
3709 WINUSERAPI BOOL WINAPI
GetWindowPlacement(HWND
,WINDOWPLACEMENT
*);
3710 WINUSERAPI BOOL WINAPI
GetWindowRect(HWND
,LPRECT
);
3711 WINUSERAPI
int WINAPI
GetWindowRgn(HWND
,HRGN
);
3712 #define GetWindowTask(hWnd) ((HANDLE)GetWindowThreadProcessId(hWnd, NULL))
3713 WINUSERAPI
int WINAPI
GetWindowTextA(HWND
,LPSTR
,int);
3714 WINUSERAPI
int WINAPI
GetWindowTextLengthA(HWND
);
3715 WINUSERAPI
int WINAPI
GetWindowTextLengthW(HWND
);
3716 WINUSERAPI
int WINAPI
GetWindowTextW(HWND
,LPWSTR
,int);
3717 WINUSERAPI WORD WINAPI
GetWindowWord(HWND
,int);
3718 WINUSERAPI BOOL WINAPI
GetAltTabInfoA(HWND
,int,PALTTABINFO
,LPSTR
,UINT
);
3719 WINUSERAPI BOOL WINAPI
GetAltTabInfoW(HWND
,int,PALTTABINFO
,LPWSTR
,UINT
);
3720 WINUSERAPI BOOL WINAPI
GetComboBoxInfo(HWND
,PCOMBOBOXINFO
);
3721 WINUSERAPI BOOL WINAPI
GetCursorInfo(PCURSORINFO
);
3722 #if (WINVER >= 0x0500)
3723 WINUSERAPI BOOL WINAPI
GetGUIThreadInfo(DWORD
,LPGUITHREADINFO
);
3725 WINUSERAPI BOOL WINAPI
GetLastInputInfo(PLASTINPUTINFO
);
3726 WINUSERAPI DWORD WINAPI
GetListBoxInfo(HWND
);
3727 WINUSERAPI BOOL WINAPI
GetMenuBarInfo(HWND
,LONG
,LONG
,PMENUBARINFO
);
3728 WINUSERAPI BOOL WINAPI
GetMenuInfo(HMENU
,LPMENUINFO
);
3729 #if (_WIN32_WINNT >= 0x0500)
3730 WINUSERAPI BOOL WINAPI
GetProcessDefaultLayout(DWORD
*);
3732 WINUSERAPI BOOL WINAPI
GetScrollBarInfo(HWND
,LONG
,PSCROLLBARINFO
);
3733 #if (_WIN32_WINDOWS >= 0x0410)
3734 WINUSERAPI BOOL WINAPI
GetTitleBarInfo(HWND
,PTITLEBARINFO
);
3736 WINUSERAPI BOOL WINAPI
GetWindowInfo(HWND
,PWINDOWINFO
);
3737 WINUSERAPI BOOL WINAPI
GetMonitorInfoA(HMONITOR
,LPMONITORINFO
);
3738 WINUSERAPI BOOL WINAPI
GetMonitorInfoW(HMONITOR
,LPMONITORINFO
);
3739 WINUSERAPI UINT WINAPI
GetWindowModuleFileNameA(HWND
,LPSTR
,UINT
);
3740 WINUSERAPI UINT WINAPI
GetWindowModuleFileNameW(HWND
,LPWSTR
,UINT
);
3741 WINUSERAPI BOOL WINAPI
GrayStringA(HDC
,HBRUSH
,GRAYSTRINGPROC
,LPARAM
,int,int,int,int,int);
3742 WINUSERAPI BOOL WINAPI
GrayStringW(HDC
,HBRUSH
,GRAYSTRINGPROC
,LPARAM
,int,int,int,int,int);
3743 WINUSERAPI BOOL WINAPI
HideCaret(HWND
);
3744 WINUSERAPI BOOL WINAPI
HiliteMenuItem(HWND
,HMENU
,UINT
,UINT
);
3745 WINUSERAPI BOOL WINAPI
InflateRect(LPRECT
,int,int);
3746 WINUSERAPI BOOL WINAPI
InSendMessage(void);
3747 #if (_WIN32_WINNT >= 0x0500 || _WIN32_WINDOWS >= 0x0410)
3748 WINUSERAPI DWORD WINAPI
InSendMessageEx(LPVOID
);
3750 WINUSERAPI BOOL WINAPI
InsertMenuA(HMENU
,UINT
,UINT
,UINT
,LPCSTR
);
3751 WINUSERAPI BOOL WINAPI
InsertMenuW(HMENU
,UINT
,UINT
,UINT
,LPCWSTR
);
3752 WINUSERAPI BOOL WINAPI
InsertMenuItemA(HMENU
,UINT
,BOOL
,LPCMENUITEMINFOA
);
3753 WINUSERAPI BOOL WINAPI
InsertMenuItemW(HMENU
,UINT
,BOOL
,LPCMENUITEMINFOW
);
3754 WINUSERAPI INT WINAPI
InternalGetWindowText(HWND
,LPWSTR
,INT
);
3755 WINUSERAPI BOOL WINAPI
IntersectRect(LPRECT
,LPCRECT
,LPCRECT
);
3756 WINUSERAPI BOOL WINAPI
InvalidateRect(HWND
,LPCRECT
,BOOL
);
3757 WINUSERAPI BOOL WINAPI
InvalidateRgn(HWND
,HRGN
,BOOL
);
3758 WINUSERAPI BOOL WINAPI
InvertRect(HDC
,LPCRECT
);
3759 WINUSERAPI BOOL WINAPI
IsCharAlphaA(CHAR ch
);
3760 WINUSERAPI BOOL WINAPI
IsCharAlphaNumericA(CHAR
);
3761 WINUSERAPI BOOL WINAPI
IsCharAlphaNumericW(WCHAR
);
3762 WINUSERAPI BOOL WINAPI
IsCharAlphaW(WCHAR
);
3763 WINUSERAPI BOOL WINAPI
IsCharLowerA(CHAR
);
3764 WINUSERAPI BOOL WINAPI
IsCharLowerW(WCHAR
);
3765 WINUSERAPI BOOL WINAPI
IsCharUpperA(CHAR
);
3766 WINUSERAPI BOOL WINAPI
IsCharUpperW(WCHAR
);
3767 WINUSERAPI BOOL WINAPI
IsChild(HWND
,HWND
);
3768 WINUSERAPI BOOL WINAPI
IsClipboardFormatAvailable(UINT
);
3769 WINUSERAPI BOOL WINAPI
IsDialogMessageA(HWND
,LPMSG
);
3770 WINUSERAPI BOOL WINAPI
IsDialogMessageW(HWND
,LPMSG
);
3771 WINUSERAPI UINT WINAPI
IsDlgButtonChecked(HWND
,int);
3772 #if(_WIN32_WINNT >= 0x0501)
3773 WINUSERAPI BOOL WINAPI
IsGUIThread(BOOL
);
3775 #if(_WIN32_WINNT >= 0x0500)
3776 WINUSERAPI BOOL WINAPI
IsHungAppWindow(HWND
);
3778 WINUSERAPI BOOL WINAPI
IsIconic(HWND
);
3779 WINUSERAPI BOOL WINAPI
IsMenu(HMENU
);
3780 WINUSERAPI BOOL WINAPI
IsRectEmpty(LPCRECT
);
3781 WINUSERAPI BOOL WINAPI
IsWindow(HWND
);
3782 WINUSERAPI BOOL WINAPI
IsWindowEnabled(HWND
);
3783 WINUSERAPI BOOL WINAPI
IsWindowUnicode(HWND
);
3784 WINUSERAPI BOOL WINAPI
IsWindowVisible(HWND
);
3785 #if (_WIN32_WINNT >= 0x0501)
3786 WINUSERAPI BOOL WINAPI
IsWinEventHookInstalled(DWORD
);
3788 WINUSERAPI BOOL WINAPI
IsZoomed(HWND
);
3789 WINUSERAPI VOID WINAPI
keybd_event(BYTE
,BYTE
,DWORD
,DWORD
);
3790 WINUSERAPI BOOL WINAPI
KillTimer(HWND
,UINT
);
3791 WINUSERAPI HACCEL WINAPI
LoadAcceleratorsA(HINSTANCE
,LPCSTR
);
3792 WINUSERAPI HACCEL WINAPI
LoadAcceleratorsW(HINSTANCE
,LPCWSTR
);
3793 WINUSERAPI HBITMAP WINAPI
LoadBitmapA(HINSTANCE
,LPCSTR
);
3794 WINUSERAPI HBITMAP WINAPI
LoadBitmapW(HINSTANCE
,LPCWSTR
);
3795 WINUSERAPI HCURSOR WINAPI
LoadCursorA(HINSTANCE
,LPCSTR
);
3796 WINUSERAPI HCURSOR WINAPI
LoadCursorFromFileA(LPCSTR
);
3797 WINUSERAPI HCURSOR WINAPI
LoadCursorFromFileW(LPCWSTR
);
3798 WINUSERAPI HCURSOR WINAPI
LoadCursorW(HINSTANCE
,LPCWSTR
);
3799 WINUSERAPI HICON WINAPI
LoadIconA(HINSTANCE
,LPCSTR
);
3800 WINUSERAPI HICON WINAPI
LoadIconW(HINSTANCE
,LPCWSTR
);
3801 WINUSERAPI HANDLE WINAPI
LoadImageA(HINSTANCE
,LPCSTR
,UINT
,int,int,UINT
);
3802 WINUSERAPI HANDLE WINAPI
LoadImageW(HINSTANCE
,LPCWSTR
,UINT
,int,int,UINT
);
3803 WINUSERAPI HKL WINAPI
LoadKeyboardLayoutA(LPCSTR
,UINT
);
3804 WINUSERAPI HKL WINAPI
LoadKeyboardLayoutW(LPCWSTR
,UINT
);
3805 WINUSERAPI HMENU WINAPI
LoadMenuA(HINSTANCE
,LPCSTR
);
3806 WINUSERAPI HMENU WINAPI
LoadMenuIndirectA(const MENUTEMPLATE
*);
3807 WINUSERAPI HMENU WINAPI
LoadMenuIndirectW(const MENUTEMPLATE
*);
3808 WINUSERAPI HMENU WINAPI
LoadMenuW(HINSTANCE
,LPCWSTR
);
3809 WINUSERAPI
int WINAPI
LoadStringA(HINSTANCE
,UINT
,LPSTR
,int);
3810 WINUSERAPI
int WINAPI
LoadStringW(HINSTANCE
,UINT
,LPWSTR
,int);
3811 WINUSERAPI BOOL WINAPI
LockWindowUpdate(HWND
);
3812 #if (_WIN32_WINNT >= 0x0500)
3813 WINUSERAPI BOOL WINAPI
LockWorkStation(void);
3815 WINUSERAPI
int WINAPI
LookupIconIdFromDirectory(PBYTE
,BOOL
);
3816 WINUSERAPI
int WINAPI
LookupIconIdFromDirectoryEx(PBYTE
,BOOL
,int,int,UINT
);
3817 WINUSERAPI BOOL WINAPI
MapDialogRect(HWND
,LPRECT
);
3818 WINUSERAPI UINT WINAPI
MapVirtualKeyA(UINT
,UINT
);
3819 WINUSERAPI UINT WINAPI
MapVirtualKeyExA(UINT
,UINT
,HKL
);
3820 WINUSERAPI UINT WINAPI
MapVirtualKeyExW(UINT
,UINT
,HKL
);
3821 WINUSERAPI UINT WINAPI
MapVirtualKeyW(UINT
,UINT
);
3822 WINUSERAPI
int WINAPI
MapWindowPoints(HWND
,HWND
,LPPOINT
,UINT
);
3823 WINUSERAPI
int WINAPI
MenuItemFromPoint(HWND
,HMENU
,POINT
);
3824 WINUSERAPI BOOL WINAPI
MessageBeep(UINT
);
3825 WINUSERAPI
int WINAPI
MessageBoxA(HWND
,LPCSTR
,LPCSTR
,UINT
);
3826 WINUSERAPI
int WINAPI
MessageBoxW(HWND
,LPCWSTR
,LPCWSTR
,UINT
);
3827 WINUSERAPI
int WINAPI
MessageBoxExA(HWND
,LPCSTR
,LPCSTR
,UINT
,WORD
);
3828 WINUSERAPI
int WINAPI
MessageBoxExW(HWND
,LPCWSTR
,LPCWSTR
,UINT
,WORD
);
3829 WINUSERAPI
int WINAPI
MessageBoxIndirectA(CONST MSGBOXPARAMSA
*);
3830 WINUSERAPI
int WINAPI
MessageBoxIndirectW(CONST MSGBOXPARAMSW
*);
3831 WINUSERAPI BOOL WINAPI
ModifyMenuA(HMENU
,UINT
,UINT
,UINT
,LPCSTR
);
3832 WINUSERAPI BOOL WINAPI
ModifyMenuW(HMENU
,UINT
,UINT
,UINT
,LPCWSTR
);
3833 #if (_WIN32_WINNT >= 0x0500 || _WIN32_WINDOWS >= 0x0410)
3834 WINUSERAPI HMONITOR WINAPI
MonitorFromPoint(POINT
,DWORD
);
3835 WINUSERAPI HMONITOR WINAPI
MonitorFromRect(LPCRECT
,DWORD
);
3836 WINUSERAPI HMONITOR WINAPI
MonitorFromWindow(HWND
,DWORD
);
3838 WINUSERAPI
void WINAPI
mouse_event(DWORD
,DWORD
,DWORD
,DWORD
,ULONG_PTR
);
3839 WINUSERAPI BOOL WINAPI
MoveWindow(HWND
,int,int,int,int,BOOL
);
3840 WINUSERAPI DWORD WINAPI
MsgWaitForMultipleObjects(DWORD
,CONST HANDLE
*,BOOL
,DWORD
,DWORD
);
3841 WINUSERAPI DWORD WINAPI
MsgWaitForMultipleObjectsEx(DWORD
,CONST HANDLE
*,DWORD
,DWORD
,DWORD
);
3842 #if (WINVER >= 0x0500)
3843 WINUSERAPI
void WINAPI
NotifyWinEvent(DWORD
,HWND
,LONG
,LONG
);
3845 WINUSERAPI DWORD WINAPI
OemKeyScan(WORD
);
3846 WINUSERAPI BOOL WINAPI
OemToCharA(LPCSTR
,LPSTR
);
3847 WINUSERAPI BOOL WINAPI
OemToCharBuffA(LPCSTR
,LPSTR
,DWORD
);
3848 WINUSERAPI BOOL WINAPI
OemToCharBuffW(LPCSTR
,LPWSTR
,DWORD
);
3849 WINUSERAPI BOOL WINAPI
OemToCharW(LPCSTR
,LPWSTR
);
3850 WINUSERAPI BOOL WINAPI
OffsetRect(LPRECT
,int,int);
3851 WINUSERAPI BOOL WINAPI
OpenClipboard(HWND
);
3852 WINUSERAPI HDESK WINAPI
OpenDesktopA(LPSTR
,DWORD
,BOOL
,DWORD
);
3853 WINUSERAPI HDESK WINAPI
OpenDesktopW(LPWSTR
,DWORD
,BOOL
,DWORD
);
3854 WINUSERAPI BOOL WINAPI
OpenIcon(HWND
);
3855 WINUSERAPI HDESK WINAPI
OpenInputDesktop(DWORD
,BOOL
,DWORD
);
3856 WINUSERAPI HWINSTA WINAPI
OpenWindowStationA(LPSTR
,BOOL
,DWORD
);
3857 WINUSERAPI HWINSTA WINAPI
OpenWindowStationW(LPWSTR
,BOOL
,DWORD
);
3858 WINUSERAPI BOOL WINAPI
PaintDesktop(HDC
);
3859 WINUSERAPI BOOL WINAPI
PeekMessageA(LPMSG
,HWND
,UINT
,UINT
,UINT
);
3860 WINUSERAPI BOOL WINAPI
PeekMessageW(LPMSG
,HWND
,UINT
,UINT
,UINT
);
3861 #define PostAppMessageA(t,m,w,l) PostThreadMessageA((DWORD)t,m,w,l)
3862 #define PostAppMessageW(t,m,w,l) PostThreadMessageW((DWORD)t,m,w,l)
3863 WINUSERAPI BOOL WINAPI
PostMessageA(HWND
,UINT
,WPARAM
,LPARAM
);
3864 WINUSERAPI BOOL WINAPI
PostMessageW(HWND
,UINT
,WPARAM
,LPARAM
);
3865 WINUSERAPI
void WINAPI
PostQuitMessage(int);
3866 WINUSERAPI BOOL WINAPI
PostThreadMessageA(DWORD
,UINT
,WPARAM
,LPARAM
);
3867 WINUSERAPI BOOL WINAPI
PostThreadMessageW(DWORD
,UINT
,WPARAM
,LPARAM
);
3868 #if (_WIN32_WINNT >= 0x0501)
3869 WINUSERAPI BOOL WINAPI
PrintWindow(HWND
,HDC
,UINT
);
3871 WINUSERAPI BOOL WINAPI
PtInRect(LPCRECT
,POINT
);
3872 WINUSERAPI HWND WINAPI
RealChildWindowFromPoint(HWND
,POINT
);
3873 WINUSERAPI UINT WINAPI
RealGetWindowClassA(HWND
,LPSTR
,UINT
);
3874 WINUSERAPI UINT WINAPI
RealGetWindowClassW(HWND
,LPWSTR
,UINT
);
3875 WINUSERAPI BOOL WINAPI
RedrawWindow(HWND
,LPCRECT
,HRGN
,UINT
);
3876 WINUSERAPI ATOM WINAPI
RegisterClassA(CONST WNDCLASSA
*);
3877 WINUSERAPI ATOM WINAPI
RegisterClassW(CONST WNDCLASSW
*);
3878 WINUSERAPI ATOM WINAPI
RegisterClassExA(CONST WNDCLASSEXA
*);
3879 WINUSERAPI ATOM WINAPI
RegisterClassExW(CONST WNDCLASSEXW
*);
3880 WINUSERAPI UINT WINAPI
RegisterClipboardFormatA(LPCSTR
);
3881 WINUSERAPI UINT WINAPI
RegisterClipboardFormatW(LPCWSTR
);
3882 #if (WINVER >= 0x0500)
3883 WINUSERAPI HDEVNOTIFY WINAPI
RegisterDeviceNotificationA(HANDLE
,LPVOID
,DWORD
);
3884 WINUSERAPI HDEVNOTIFY WINAPI
RegisterDeviceNotificationW(HANDLE
,LPVOID
,DWORD
);
3886 WINUSERAPI BOOL WINAPI
RegisterHotKey(HWND
,int,UINT
,UINT
);
3887 #if (_WIN32_WINNT >= 0x0501)
3888 WINUSERAPI BOOL WINAPI
RegisterRawInputDevices(PCRAWINPUTDEVICE
,UINT
,UINT
);
3890 WINUSERAPI UINT WINAPI
RegisterWindowMessageA(LPCSTR
);
3891 WINUSERAPI UINT WINAPI
RegisterWindowMessageW(LPCWSTR
);
3892 WINUSERAPI BOOL WINAPI
ReleaseCapture(void);
3893 WINUSERAPI
int WINAPI
ReleaseDC(HWND
,HDC
);
3894 WINUSERAPI BOOL WINAPI
RemoveMenu(HMENU
,UINT
,UINT
);
3895 WINUSERAPI HANDLE WINAPI
RemovePropA(HWND
,LPCSTR
);
3896 WINUSERAPI HANDLE WINAPI
RemovePropW(HWND
,LPCWSTR
);
3897 WINUSERAPI BOOL WINAPI
ReplyMessage(LRESULT
);
3898 WINUSERAPI BOOL WINAPI
ScreenToClient(HWND
,LPPOINT
);
3899 WINUSERAPI BOOL WINAPI
ScrollDC(HDC
,int,int,LPCRECT
,LPCRECT
,HRGN
,LPRECT
);
3900 WINUSERAPI BOOL WINAPI
ScrollWindow(HWND
,int,int,LPCRECT
,LPCRECT
);
3901 WINUSERAPI
int WINAPI
ScrollWindowEx(HWND
,int,int,LPCRECT
,LPCRECT
,HRGN
,LPRECT
,UINT
);
3902 WINUSERAPI LONG WINAPI
SendDlgItemMessageA(HWND
,int,UINT
,WPARAM
,LPARAM
);
3903 WINUSERAPI LONG WINAPI
SendDlgItemMessageW(HWND
,int,UINT
,WPARAM
,LPARAM
);
3904 #if (_WIN32_WINNT >= 0x0403)
3905 WINUSERAPI UINT WINAPI
SendInput(UINT
,LPINPUT
,int);
3907 WINUSERAPI LRESULT WINAPI
SendMessageA(HWND
,UINT
,WPARAM
,LPARAM
);
3908 WINUSERAPI BOOL WINAPI
SendMessageCallbackA(HWND
,UINT
,WPARAM
,LPARAM
,SENDASYNCPROC
,DWORD
);
3909 WINUSERAPI BOOL WINAPI
SendMessageCallbackW(HWND
,UINT
,WPARAM
,LPARAM
,SENDASYNCPROC
,DWORD
);
3910 WINUSERAPI LRESULT WINAPI
SendMessageTimeoutA(HWND
,UINT
,WPARAM
,LPARAM
,UINT
,UINT
,PDWORD
);
3911 WINUSERAPI LRESULT WINAPI
SendMessageTimeoutW(HWND
,UINT
,WPARAM
,LPARAM
,UINT
,UINT
,PDWORD
);
3912 WINUSERAPI LRESULT WINAPI
SendMessageW(HWND
,UINT
,WPARAM
,LPARAM
);
3913 WINUSERAPI BOOL WINAPI
SendNotifyMessageA(HWND
,UINT
,WPARAM
,LPARAM
);
3914 WINUSERAPI BOOL WINAPI
SendNotifyMessageW(HWND
,UINT
,WPARAM
,LPARAM
);
3915 WINUSERAPI HWND WINAPI
SetActiveWindow(HWND
);
3916 WINUSERAPI HWND WINAPI
SetCapture(HWND hWnd
);
3917 WINUSERAPI BOOL WINAPI
SetCaretBlinkTime(UINT
);
3918 WINUSERAPI BOOL WINAPI
SetCaretPos(int,int);
3919 WINUSERAPI DWORD WINAPI
SetClassLongA(HWND
,int,LONG
);
3920 WINUSERAPI DWORD WINAPI
SetClassLongW(HWND
,int,LONG
);
3922 WINUSERAPI ULONG_PTR WINAPI
SetClassLongPtrA(HWND
,int,LONG_PTR
);
3923 WINUSERAPI ULONG_PTR WINAPI
SetClassLongPtrW(HWND
,int,LONG_PTR
);
3925 #define SetClassLongPtrA SetClassLongA
3926 #define SetClassLongPtrW SetClassLongW
3928 WINUSERAPI WORD WINAPI
SetClassWord(HWND
,int,WORD
);
3929 WINUSERAPI HANDLE WINAPI
SetClipboardData(UINT
,HANDLE
);
3930 WINUSERAPI HWND WINAPI
SetClipboardViewer(HWND
);
3931 WINUSERAPI HCURSOR WINAPI
SetCursor(HCURSOR
);
3932 WINUSERAPI BOOL WINAPI
SetCursorPos(int,int);
3933 WINUSERAPI VOID WINAPI
SetDebugErrorLevel(DWORD
);
3934 WINUSERAPI BOOL WINAPI
SetDlgItemInt(HWND
,int,UINT
,BOOL
);
3935 WINUSERAPI BOOL WINAPI
SetDlgItemTextA(HWND
,int,LPCSTR
);
3936 WINUSERAPI BOOL WINAPI
SetDlgItemTextW(HWND
,int,LPCWSTR
);
3937 WINUSERAPI BOOL WINAPI
SetDoubleClickTime(UINT
);
3938 WINUSERAPI HWND WINAPI
SetFocus(HWND
);
3939 WINUSERAPI BOOL WINAPI
SetForegroundWindow(HWND
);
3940 WINUSERAPI BOOL WINAPI
SetKeyboardState(PBYTE
);
3941 WINUSERAPI BOOL WINAPI
SetMenu(HWND
,HMENU
);
3942 WINUSERAPI BOOL WINAPI
SetMenuContextHelpId(HMENU
,DWORD
);
3943 WINUSERAPI BOOL WINAPI
SetMenuDefaultItem(HMENU
,UINT
,UINT
);
3944 WINUSERAPI BOOL WINAPI
SetMenuInfo(HMENU
,LPCMENUINFO
);
3945 WINUSERAPI BOOL WINAPI
SetMenuItemBitmaps(HMENU
,UINT
,UINT
,HBITMAP
,HBITMAP
);
3946 WINUSERAPI BOOL WINAPI
SetMenuItemInfoA(HMENU
,UINT
,BOOL
,LPCMENUITEMINFOA
);
3947 WINUSERAPI BOOL WINAPI
SetMenuItemInfoW( HMENU
,UINT
,BOOL
,LPCMENUITEMINFOW
);
3948 WINUSERAPI LPARAM WINAPI
SetMessageExtraInfo(LPARAM
);
3949 WINUSERAPI BOOL WINAPI
SetMessageQueue(int);
3950 WINUSERAPI HWND WINAPI
SetParent(HWND
,HWND
);
3951 #if (_WIN32_WINNT >= 0x0500)
3952 WINUSERAPI BOOL WINAPI
SetProcessDefaultLayout(DWORD
);
3953 #endif /* (_WIN32_WINNT >= 0x0500) */
3954 WINUSERAPI BOOL WINAPI
SetProcessWindowStation(HWINSTA
);
3955 WINUSERAPI BOOL WINAPI
SetPropA(HWND
,LPCSTR
,HANDLE
);
3956 WINUSERAPI BOOL WINAPI
SetPropW(HWND
,LPCWSTR
,HANDLE
);
3957 WINUSERAPI BOOL WINAPI
SetRect(LPRECT
,int,int,int,int);
3958 WINUSERAPI BOOL WINAPI
SetRectEmpty(LPRECT
);
3959 WINUSERAPI
int WINAPI
SetScrollInfo(HWND
,int,LPCSCROLLINFO
,BOOL
);
3960 WINUSERAPI
int WINAPI
SetScrollPos(HWND
,int,int,BOOL
);
3961 WINUSERAPI BOOL WINAPI
SetScrollRange(HWND
,int,int,int,BOOL
);
3962 WINUSERAPI BOOL WINAPI
SetSysColors(int,const INT
*,const COLORREF
*);
3963 #define SetSysModalWindow(h) (NULL)
3964 WINUSERAPI BOOL WINAPI
SetSystemCursor(HCURSOR
,DWORD
);
3965 WINUSERAPI BOOL WINAPI
SetThreadDesktop(HDESK
);
3966 WINUSERAPI UINT WINAPI
SetTimer(HWND
,UINT
,UINT
,TIMERPROC
);
3967 WINUSERAPI BOOL WINAPI
SetUserObjectInformationA(HANDLE
,int,PVOID
,DWORD
);
3968 WINUSERAPI BOOL WINAPI
SetUserObjectInformationW(HANDLE
,int,PVOID
,DWORD
);
3969 WINUSERAPI BOOL WINAPI
SetUserObjectSecurity(HANDLE
,PSECURITY_INFORMATION
,PSECURITY_DESCRIPTOR
);
3970 #if (WINVER >= 0x0500)
3971 WINUSERAPI HWINEVENTHOOK WINAPI
SetWinEventHook(UINT
,UINT
,HMODULE
,WINEVENTPROC
,DWORD
,DWORD
,UINT
);
3973 WINUSERAPI BOOL WINAPI
SetWindowContextHelpId(HWND
,DWORD
);
3974 WINUSERAPI LONG WINAPI
SetWindowLongA(HWND
,int,LONG
);
3975 WINUSERAPI LONG WINAPI
SetWindowLongW(HWND
,int,LONG
);
3977 WINUSERAPI LONG_PTR WINAPI
SetWindowLongPtrA(HWND
,int,LONG_PTR
);
3978 WINUSERAPI LONG_PTR WINAPI
SetWindowLongPtrW(HWND
,int,LONG_PTR
);
3980 #define SetWindowLongPtrA SetWindowLongA
3981 #define SetWindowLongPtrW SetWindowLongW
3983 WINUSERAPI BOOL WINAPI
SetWindowPlacement(HWND hWnd
,const WINDOWPLACEMENT
*);
3984 WINUSERAPI BOOL WINAPI
SetWindowPos(HWND
,HWND
,int,int,int,int,UINT
);
3985 WINUSERAPI
int WINAPI
SetWindowRgn(HWND
,HRGN
,BOOL
);
3986 WINUSERAPI HHOOK WINAPI
SetWindowsHookA(int,HOOKPROC
);
3987 WINUSERAPI HHOOK WINAPI
SetWindowsHookW(int,HOOKPROC
);
3988 WINUSERAPI HHOOK WINAPI
SetWindowsHookExA(int,HOOKPROC
,HINSTANCE
,DWORD
);
3989 WINUSERAPI HHOOK WINAPI
SetWindowsHookExW(int,HOOKPROC
,HINSTANCE
,DWORD
);
3990 WINUSERAPI BOOL WINAPI
SetWindowTextA(HWND
,LPCSTR
);
3991 WINUSERAPI BOOL WINAPI
SetWindowTextW(HWND
,LPCWSTR
);
3992 WINUSERAPI WORD WINAPI
SetWindowWord(HWND
,int,WORD
);
3993 WINUSERAPI BOOL WINAPI
ShowCaret(HWND
);
3994 WINUSERAPI
int WINAPI
ShowCursor(BOOL
);
3995 WINUSERAPI BOOL WINAPI
ShowOwnedPopups(HWND
,BOOL
);
3996 WINUSERAPI BOOL WINAPI
ShowScrollBar(HWND
,int,BOOL
);
3997 WINUSERAPI BOOL WINAPI
ShowWindow(HWND
,int);
3998 WINUSERAPI BOOL WINAPI
ShowWindowAsync(HWND
,int);
3999 WINUSERAPI BOOL WINAPI
SubtractRect(LPRECT
,LPCRECT
,LPCRECT
);
4000 WINUSERAPI BOOL WINAPI
SwapMouseButton(BOOL
);
4001 WINUSERAPI BOOL WINAPI
SwitchDesktop(HDESK
);
4002 #if(_WIN32_WINNT >= 0x0500)
4003 WINUSERAPI VOID WINAPI
SwitchToThisWindow(HWND
,BOOL
);
4004 #endif /* (_WIN32_WINNT >= 0x0500) */
4005 WINUSERAPI BOOL WINAPI
SystemParametersInfoA(UINT
,UINT
,PVOID
,UINT
);
4006 WINUSERAPI BOOL WINAPI
SystemParametersInfoW(UINT
,UINT
,PVOID
,UINT
);
4007 WINUSERAPI LONG WINAPI
TabbedTextOutA(HDC
,int,int,LPCSTR
,int,int,LPINT
,int);
4008 WINUSERAPI LONG WINAPI
TabbedTextOutW(HDC
,int,int,LPCWSTR
,int,int,LPINT
,int);
4009 WINUSERAPI WORD WINAPI
TileWindows(HWND
,UINT
,LPCRECT
,UINT
,const HWND
*);
4010 WINUSERAPI
int WINAPI
ToAscii(UINT
,UINT
,PBYTE
,LPWORD
,UINT
);
4011 WINUSERAPI
int WINAPI
ToAsciiEx(UINT
,UINT
,PBYTE
,LPWORD
,UINT
,HKL
);
4012 WINUSERAPI
int WINAPI
ToUnicode(UINT
,UINT
,PBYTE
,LPWSTR
,int,UINT
);
4013 WINUSERAPI
int WINAPI
ToUnicodeEx(UINT
,UINT
,PBYTE
,LPWSTR
,int,UINT
,HKL
);
4014 WINUSERAPI BOOL WINAPI
TrackMouseEvent(LPTRACKMOUSEEVENT
);
4015 WINUSERAPI BOOL WINAPI
TrackPopupMenu(HMENU
,UINT
,int,int,int,HWND
,LPCRECT
);
4016 WINUSERAPI BOOL WINAPI
TrackPopupMenuEx(HMENU
,UINT
,int,int,HWND
,LPTPMPARAMS
);
4017 WINUSERAPI
int WINAPI
TranslateAcceleratorA(HWND
,HACCEL
,LPMSG
);
4018 WINUSERAPI
int WINAPI
TranslateAcceleratorW(HWND
,HACCEL
,LPMSG
);
4019 WINUSERAPI BOOL WINAPI
TranslateMDISysAccel(HWND
,LPMSG
);
4020 WINUSERAPI BOOL WINAPI
TranslateMessage(const MSG
*);
4021 WINUSERAPI BOOL WINAPI
UnhookWindowsHook(int,HOOKPROC
);
4022 WINUSERAPI BOOL WINAPI
UnhookWindowsHookEx(HHOOK
);
4023 #if (WINVER >= 0x0500)
4024 WINUSERAPI BOOL WINAPI
UnhookWinEvent(HWINEVENTHOOK
);
4026 WINUSERAPI BOOL WINAPI
UnionRect(LPRECT
,LPCRECT
,LPCRECT
);
4027 WINUSERAPI BOOL WINAPI
UnloadKeyboardLayout(HKL
);
4028 WINUSERAPI BOOL WINAPI
UnregisterClassA(LPCSTR
,HINSTANCE
);
4029 WINUSERAPI BOOL WINAPI
UnregisterClassW(LPCWSTR
,HINSTANCE
);
4030 #if (_WIN32_WINDOWS >= 0x0410 || _WIN32_WINNT >= 0x0500)
4031 WINUSERAPI BOOL WINAPI
UnregisterDeviceNotification(HANDLE
);
4033 WINUSERAPI BOOL WINAPI
UnregisterHotKey(HWND
,int);
4034 WINUSERAPI BOOL WINAPI
UpdateWindow(HWND
);
4035 #if (_WIN32_WINNT >= 0x0500)
4036 WINUSERAPI BOOL WINAPI
UserHandleGrantAccess(HANDLE
,HANDLE
,BOOL
);
4038 WINUSERAPI BOOL WINAPI
ValidateRect(HWND
,LPCRECT
);
4039 WINUSERAPI BOOL WINAPI
ValidateRgn(HWND
,HRGN
);
4040 WINUSERAPI SHORT WINAPI
VkKeyScanA(CHAR
);
4041 WINUSERAPI SHORT WINAPI
VkKeyScanExA(CHAR
,HKL
);
4042 WINUSERAPI SHORT WINAPI
VkKeyScanExW(WCHAR
,HKL
);
4043 WINUSERAPI SHORT WINAPI
VkKeyScanW(WCHAR
);
4044 WINUSERAPI DWORD WINAPI
WaitForInputIdle(HANDLE
,DWORD
);
4045 WINUSERAPI BOOL WINAPI
WaitMessage(void);
4046 WINUSERAPI HWND WINAPI
WindowFromDC(HDC hDC
);
4047 WINUSERAPI HWND WINAPI
WindowFromPoint(POINT
);
4048 WINUSERAPI UINT WINAPI
WinExec(LPCSTR
,UINT
);
4049 WINUSERAPI BOOL WINAPI
WinHelpA(HWND
,LPCSTR
,UINT
,DWORD
);
4050 WINUSERAPI BOOL WINAPI
WinHelpW(HWND
,LPCWSTR
,UINT
,DWORD
);
4051 WINUSERAPI
int WINAPIV
wsprintfA(LPSTR
,LPCSTR
,...);
4052 WINUSERAPI
int WINAPIV
wsprintfW(LPWSTR
,LPCWSTR
,...);
4053 WINUSERAPI
int WINAPI
wvsprintfA(LPSTR
,LPCSTR
,va_list arglist
);
4054 WINUSERAPI
int WINAPI
wvsprintfW(LPWSTR
,LPCWSTR
,va_list arglist
);
4055 #if (_WIN32_WINNT >= 0x0500 || _WIN32_WINDOWS >= 0x0490)
4056 WINUSERAPI BOOL WINAPI
AllowSetForegroundWindow(DWORD
);
4057 WINUSERAPI BOOL WINAPI
LockSetForegroundWindow(UINT
);
4059 #if (_WIN32_WINNT >= 0x0500)
4060 WINUSERAPI BOOL WINAPI
SetLayeredWindowAttributes(HWND
,COLORREF
,BYTE
,DWORD
);
4062 WINUSERAPI BOOL WINAPI
UpdateLayeredWindow(HWND
,HDC
,POINT
*,SIZE
*,HDC
,POINT
*,COLORREF
,BLENDFUNCTION
*,DWORD
);
4065 #if (_WIN32_WINNT >= 0x0501)
4066 WINUSERAPI BOOL WINAPI
GetLayeredWindowAttributes(HWND
,COLORREF
*,BYTE
*,DWORD
*);
4069 #define EDITWORDBREAKPROC EDITWORDBREAKPROCW
4070 #define PROPENUMPROC PROPENUMPROCW
4071 #define PROPENUMPROCEX PROPENUMPROCEXW
4072 #define DEKSTOPENUMPROC DEKSTOPENUMPROCW
4073 #define WINSTAENUMPROC WINSTAENUMPROCW
4074 #define PROPENUMPROC PROPENUMPROCW
4075 #define PROPENUMPROCEX PROPENUMPROCEXW
4076 #define MAKEINTRESOURCE MAKEINTRESOURCEW
4077 typedef WNDCLASSW WNDCLASS
,*LPWNDCLASS
,*PWNDCLASS
;
4078 typedef WNDCLASSEXW WNDCLASSEX
,*LPWNDCLASSEX
,*PWNDCLASSEX
;
4079 typedef MENUITEMINFOW MENUITEMINFO
,*LPMENUITEMINFO
;
4080 typedef LPCMENUITEMINFOW LPCMENUITEMINFO
;
4081 typedef MSGBOXPARAMSW MSGBOXPARAMS
,*PMSGBOXPARAMS
,*LPMSGBOXPARAMS
;
4082 typedef HIGHCONTRASTW HIGHCONTRAST
,*LPHIGHCONTRAST
;
4083 typedef SERIALKEYSW SERIALKEYS
,*LPSERIALKEYS
;
4084 typedef SOUNDSENTRYW SOUNDSENTRY
,*LPSOUNDSENTRY
;
4085 typedef CREATESTRUCTW CREATESTRUCT
, *LPCREATESTRUCT
;
4086 typedef CBT_CREATEWNDW CBT_CREATEWND
, *LPCBT_CREATEWND
;
4087 typedef MDICREATESTRUCTW MDICREATESTRUCT
,*LPMDICREATESTRUCT
;
4088 typedef MULTIKEYHELPW MULTIKEYHELP
,*PMULTIKEYHELP
,*LPMULTIKEYHELP
;
4089 typedef MONITORINFOEXW MONITORINFOEX
, *LPMONITORINFOEX
;
4090 #define AppendMenu AppendMenuW
4091 #define BroadcastSystemMessage BroadcastSystemMessageW
4092 #define BroadcastSystemMessageEx BroadcastSystemMessageExW
4093 #define CallMsgFilter CallMsgFilterW
4094 #define CallWindowProc CallWindowProcW
4095 #define ChangeMenu ChangeMenuW
4096 #define CharLower CharLowerW
4097 #define CharLowerBuff CharLowerBuffW
4098 #define CharNext CharNextW
4099 #define CharPrev CharPrevW
4100 #define CharToOem CharToOemW
4101 #define CharToOemBuff CharToOemBuffW
4102 #define CharUpper CharUpperW
4103 #define CharUpperBuff CharUpperBuffW
4104 #define CopyAcceleratorTable CopyAcceleratorTableW
4105 #define CreateAcceleratorTable CreateAcceleratorTableW
4106 #define CreateDialog CreateDialogW
4107 #define CreateDialogIndirect CreateDialogIndirectW
4108 #define CreateDialogIndirectParam CreateDialogIndirectParamW
4109 #define CreateDialogParam CreateDialogParamW
4110 #define CreateMDIWindow CreateMDIWindowW
4111 #define CreateWindow CreateWindowW
4112 #define CreateWindowEx CreateWindowExW
4113 #define CreateWindowStation CreateWindowStationW
4114 #define DefDlgProc DefDlgProcW
4115 #define DefFrameProc DefFrameProcW
4116 #define DefMDIChildProc DefMDIChildProcW
4117 #define DefWindowProc DefWindowProcW
4118 #define DialogBox DialogBoxW
4119 #define DialogBoxIndirect DialogBoxIndirectW
4120 #define DialogBoxIndirectParam DialogBoxIndirectParamW
4121 #define DialogBoxParam DialogBoxParamW
4122 #define DispatchMessage DispatchMessageW
4123 #define DlgDirList DlgDirListW
4124 #define DlgDirListComboBox DlgDirListComboBoxW
4125 #define DlgDirSelectComboBoxEx DlgDirSelectComboBoxExW
4126 #define DlgDirSelectEx DlgDirSelectExW
4127 #define DrawState DrawStateW
4128 #define DrawText DrawTextW
4129 #define DrawTextEx DrawTextExW
4130 #define EnumDesktops EnumDesktopsW
4131 #define EnumProps EnumPropsW
4132 #define EnumPropsEx EnumPropsExW
4133 #define EnumWindowStations EnumWindowStationsW
4134 #define FindWindow FindWindowW
4135 #define FindWindowEx FindWindowExW
4136 #define GetClassInfo GetClassInfoW
4137 #define GetClassInfoEx GetClassInfoExW
4138 #define GetClassLong GetClassLongW
4139 #define GetClassLongPtr GetClassLongPtrW
4140 #define GetClassName GetClassNameW
4141 #define GetClipboardFormatName GetClipboardFormatNameW
4142 #define GetDlgItemText GetDlgItemTextW
4143 #define GetKeyboardLayoutName GetKeyboardLayoutNameW
4144 #define GetKeyNameText GetKeyNameTextW
4145 #define GetMenuItemInfo GetMenuItemInfoW
4146 #define GetMenuString GetMenuStringW
4147 #define GetMessage GetMessageW
4148 #define GetMonitorInfo GetMonitorInfoW
4149 #define GetProp GetPropW
4150 #define GetRawInputDeviceInfo GetRawInputDeviceInfoW
4151 #define GetTabbedTextExtent GetTabbedTextExtentW
4152 #define GetUserObjectInformation GetUserObjectInformationW
4153 #define GetWindowLong GetWindowLongW
4154 #define GetWindowLongPtr GetWindowLongPtrW
4155 #define GetWindowText GetWindowTextW
4156 #define GetWindowTextLength GetWindowTextLengthW
4157 #define GetAltTabInfo GetAltTabInfoW
4158 #define GetWindowModuleFileName GetWindowModuleFileNameW
4159 #define GrayString GrayStringW
4160 #define InsertMenu InsertMenuW
4161 #define InsertMenuItem InsertMenuItemW
4162 #define IsCharAlpha IsCharAlphaW
4163 #define IsCharAlphaNumeric IsCharAlphaNumericW
4164 #define IsCharLower IsCharLowerW
4165 #define IsCharUpper IsCharUpperW
4166 #define IsDialogMessage IsDialogMessageW
4167 #define LoadAccelerators LoadAcceleratorsW
4168 #define LoadBitmap LoadBitmapW
4169 #define LoadCursor LoadCursorW
4170 #define LoadCursorFromFile LoadCursorFromFileW
4171 #define LoadIcon LoadIconW
4172 #define LoadImage LoadImageW
4173 #define LoadKeyboardLayout LoadKeyboardLayoutW
4174 #define LoadMenu LoadMenuW
4175 #define LoadMenuIndirect LoadMenuIndirectW
4176 #define LoadString LoadStringW
4177 #define MapVirtualKey MapVirtualKeyW
4178 #define MapVirtualKeyEx MapVirtualKeyExW
4179 #define MessageBox MessageBoxW
4180 #define MessageBoxEx MessageBoxExW
4181 #define MessageBoxIndirect MessageBoxIndirectW
4182 #define ModifyMenu ModifyMenuW
4183 #define OemToChar OemToCharW
4184 #define OemToCharBuff OemToCharBuffW
4185 #define OpenDesktop OpenDesktopW
4186 #define OpenWindowStation OpenWindowStationW
4187 #define PeekMessage PeekMessageW
4188 #define PostAppMessage PostAppMessageW
4189 #define PostMessage PostMessageW
4190 #define PostThreadMessage PostThreadMessageW
4191 #define RealGetWindowClass RealGetWindowClassW
4192 #define RegisterClass RegisterClassW
4193 #define RegisterClassEx RegisterClassExW
4194 #define RegisterClipboardFormat RegisterClipboardFormatW
4195 #define RegisterDeviceNotification RegisterDeviceNotificationW
4196 #define RegisterWindowMessage RegisterWindowMessageW
4197 #define RemoveProp RemovePropW
4198 #define SendDlgItemMessage SendDlgItemMessageW
4199 #define SendMessage SendMessageW
4200 #define SendMessageCallback SendMessageCallbackW
4201 #define SendMessageTimeout SendMessageTimeoutW
4202 #define SendNotifyMessage SendNotifyMessageW
4203 #define SetClassLong SetClassLongW
4204 #define SetClassLongPtr SetClassLongPtrW
4205 #define SetDlgItemText SetDlgItemTextW
4206 #define SetMenuItemInfo SetMenuItemInfoW
4207 #define SetProp SetPropW
4208 #define SetUserObjectInformation SetUserObjectInformationW
4209 #define SetWindowLong SetWindowLongW
4210 #define SetWindowLongPtr SetWindowLongPtrW
4211 #define SetWindowsHook SetWindowsHookW
4212 #define SetWindowsHookEx SetWindowsHookExW
4213 #define SetWindowText SetWindowTextW
4214 #define SystemParametersInfo SystemParametersInfoW
4215 #define TabbedTextOut TabbedTextOutW
4216 #define TranslateAccelerator TranslateAcceleratorW
4217 #define UnregisterClass UnregisterClassW
4218 #define VkKeyScan VkKeyScanW
4219 #define VkKeyScanEx VkKeyScanExW
4220 #define WinHelp WinHelpW
4221 #define wsprintf wsprintfW
4222 #define wvsprintf wvsprintfW
4224 typedef ICONMETRICSW ICONMETRICS
,*LPICONMETRICS
;
4225 typedef NONCLIENTMETRICSW NONCLIENTMETRICS
,*LPNONCLIENTMETRICS
;
4226 #define ChangeDisplaySettings ChangeDisplaySettingsW
4227 #define ChangeDisplaySettingsEx ChangeDisplaySettingsExW
4228 #define CreateDesktop CreateDesktopW
4229 #define EnumDisplaySettings EnumDisplaySettingsW
4230 #define EnumDisplaySettingsEx EnumDisplaySettingsExW
4231 #define EnumDisplayDevices EnumDisplayDevicesW
4234 #define EDITWORDBREAKPROC EDITWORDBREAKPROCA
4235 #define PROPENUMPROC PROPENUMPROCA
4236 #define PROPENUMPROCEX PROPENUMPROCEXA
4237 #define DEKSTOPENUMPROC DEKSTOPENUMPROCA
4238 #define WINSTAENUMPROC WINSTAENUMPROCA
4239 #define PROPENUMPROC PROPENUMPROCA
4240 #define PROPENUMPROCEX PROPENUMPROCEXA
4241 #define MAKEINTRESOURCE MAKEINTRESOURCEA
4242 typedef WNDCLASSA WNDCLASS
,*LPWNDCLASS
,*PWNDCLASS
;
4243 typedef WNDCLASSEXA WNDCLASSEX
,*LPWNDCLASSEX
,*PWNDCLASSEX
;
4244 typedef MENUITEMINFOA MENUITEMINFO
,*LPMENUITEMINFO
;
4245 typedef LPCMENUITEMINFOA LPCMENUITEMINFO
;
4246 typedef MSGBOXPARAMSA MSGBOXPARAMS
,*PMSGBOXPARAMS
,*LPMSGBOXPARAMS
;
4247 typedef HIGHCONTRASTA HIGHCONTRAST
,*LPHIGHCONTRAST
;
4248 typedef SERIALKEYSA SERIALKEYS
,*LPSERIALKEYS
;
4249 typedef SOUNDSENTRYA SOUNDSENTRY
,*LPSOUNDSENTRY
;
4250 typedef CREATESTRUCTA CREATESTRUCT
, *LPCREATESTRUCT
;
4251 typedef CBT_CREATEWNDA CBT_CREATEWND
, *LPCBT_CREATEWND
;
4252 typedef MDICREATESTRUCTA MDICREATESTRUCT
,*LPMDICREATESTRUCT
;
4253 typedef MULTIKEYHELPA MULTIKEYHELP
,*PMULTIKEYHELP
,*LPMULTIKEYHELP
;
4254 typedef MONITORINFOEXA MONITORINFOEX
, *LPMONITORINFOEX
;
4255 #define AppendMenu AppendMenuA
4256 #define BroadcastSystemMessage BroadcastSystemMessageA
4257 #define BroadcastSystemMessageEx BroadcastSystemMessageExA
4258 #define CallMsgFilter CallMsgFilterA
4259 #define CallWindowProc CallWindowProcA
4260 #define ChangeMenu ChangeMenuA
4261 #define CharLower CharLowerA
4262 #define CharLowerBuff CharLowerBuffA
4263 #define CharNext CharNextA
4264 #define CharPrev CharPrevA
4265 #define CharToOem CharToOemA
4266 #define CharToOemBuff CharToOemBuffA
4267 #define CharUpper CharUpperA
4268 #define CharUpperBuff CharUpperBuffA
4269 #define CopyAcceleratorTable CopyAcceleratorTableA
4270 #define CreateAcceleratorTable CreateAcceleratorTableA
4271 #define CreateDialog CreateDialogA
4272 #define CreateDialogIndirect CreateDialogIndirectA
4273 #define CreateDialogIndirectParam CreateDialogIndirectParamA
4274 #define CreateDialogParam CreateDialogParamA
4275 #define CreateMDIWindow CreateMDIWindowA
4276 #define CreateWindow CreateWindowA
4277 #define CreateWindowEx CreateWindowExA
4278 #define CreateWindowStation CreateWindowStationA
4279 #define DefDlgProc DefDlgProcA
4280 #define DefFrameProc DefFrameProcA
4281 #define DefMDIChildProc DefMDIChildProcA
4282 #define DefWindowProc DefWindowProcA
4283 #define DialogBox DialogBoxA
4284 #define DialogBoxIndirect DialogBoxIndirectA
4285 #define DialogBoxIndirectParam DialogBoxIndirectParamA
4286 #define DialogBoxParam DialogBoxParamA
4287 #define DispatchMessage DispatchMessageA
4288 #define DlgDirList DlgDirListA
4289 #define DlgDirListComboBox DlgDirListComboBoxA
4290 #define DlgDirSelectComboBoxEx DlgDirSelectComboBoxExA
4291 #define DlgDirSelectEx DlgDirSelectExA
4292 #define DrawState DrawStateA
4293 #define DrawText DrawTextA
4294 #define DrawTextEx DrawTextExA
4295 #define EnumDesktops EnumDesktopsA
4296 #define EnumProps EnumPropsA
4297 #define EnumPropsEx EnumPropsExA
4298 #define EnumWindowStations EnumWindowStationsA
4299 #define FindWindow FindWindowA
4300 #define FindWindowEx FindWindowExA
4301 #define GetClassInfo GetClassInfoA
4302 #define GetClassInfoEx GetClassInfoExA
4303 #define GetClassLong GetClassLongA
4304 #define GetClassLongPtr GetClassLongPtrA
4305 #define GetClassName GetClassNameA
4306 #define GetClipboardFormatName GetClipboardFormatNameA
4307 #define GetDlgItemText GetDlgItemTextA
4308 #define GetKeyboardLayoutName GetKeyboardLayoutNameA
4309 #define GetKeyNameText GetKeyNameTextA
4310 #define GetMenuItemInfo GetMenuItemInfoA
4311 #define GetMenuString GetMenuStringA
4312 #define GetMessage GetMessageA
4313 #define GetMonitorInfo GetMonitorInfoA
4314 #define GetProp GetPropA
4315 #define GetRawInputDeviceInfo GetRawInputDeviceInfoA
4316 #define GetTabbedTextExtent GetTabbedTextExtentA
4317 #define GetUserObjectInformation GetUserObjectInformationA
4318 #define GetWindowLong GetWindowLongA
4319 #define GetWindowLongPtr GetWindowLongPtrA
4320 #define GetWindowText GetWindowTextA
4321 #define GetWindowTextLength GetWindowTextLengthA
4322 #define GetAltTabInfo GetAltTabInfoA
4323 #define GetWindowModuleFileName GetWindowModuleFileNameA
4324 #define GrayString GrayStringA
4325 #define InsertMenu InsertMenuA
4326 #define InsertMenuItem InsertMenuItemA
4327 #define IsCharAlpha IsCharAlphaA
4328 #define IsCharAlphaNumeric IsCharAlphaNumericA
4329 #define IsCharLower IsCharLowerA
4330 #define IsCharUpper IsCharUpperA
4331 #define IsDialogMessage IsDialogMessageA
4332 #define LoadAccelerators LoadAcceleratorsA
4333 #define LoadBitmap LoadBitmapA
4334 #define LoadCursor LoadCursorA
4335 #define LoadIcon LoadIconA
4336 #define LoadCursorFromFile LoadCursorFromFileA
4337 #define LoadImage LoadImageA
4338 #define LoadKeyboardLayout LoadKeyboardLayoutA
4339 #define LoadMenu LoadMenuA
4340 #define LoadMenuIndirect LoadMenuIndirectA
4341 #define LoadString LoadStringA
4342 #define MapVirtualKey MapVirtualKeyA
4343 #define MapVirtualKeyEx MapVirtualKeyExA
4344 #define MessageBox MessageBoxA
4345 #define MessageBoxEx MessageBoxExA
4346 #define MessageBoxIndirect MessageBoxIndirectA
4347 #define ModifyMenu ModifyMenuA
4348 #define OemToChar OemToCharA
4349 #define OemToCharBuff OemToCharBuffA
4350 #define OpenDesktop OpenDesktopA
4351 #define OpenWindowStation OpenWindowStationA
4352 #define PeekMessage PeekMessageA
4353 #define PostAppMessage PostAppMessageA
4354 #define PostMessage PostMessageA
4355 #define PostThreadMessage PostThreadMessageA
4356 #define RealGetWindowClass RealGetWindowClassA
4357 #define RegisterClass RegisterClassA
4358 #define RegisterClassEx RegisterClassExA
4359 #define RegisterClipboardFormat RegisterClipboardFormatA
4360 #define RegisterDeviceNotification RegisterDeviceNotificationA
4361 #define RegisterWindowMessage RegisterWindowMessageA
4362 #define RemoveProp RemovePropA
4363 #define SendDlgItemMessage SendDlgItemMessageA
4364 #define SendMessage SendMessageA
4365 #define SendMessageCallback SendMessageCallbackA
4366 #define SendMessageTimeout SendMessageTimeoutA
4367 #define SendNotifyMessage SendNotifyMessageA
4368 #define SetClassLong SetClassLongA
4369 #define SetClassLongPtr SetClassLongPtrA
4370 #define SetDlgItemText SetDlgItemTextA
4371 #define SetMenuItemInfo SetMenuItemInfoA
4372 #define SetProp SetPropA
4373 #define SetUserObjectInformation SetUserObjectInformationA
4374 #define SetWindowLong SetWindowLongA
4375 #define SetWindowLongPtr SetWindowLongPtrA
4376 #define SetWindowsHook SetWindowsHookA
4377 #define SetWindowsHookEx SetWindowsHookExA
4378 #define SetWindowText SetWindowTextA
4379 #define SystemParametersInfo SystemParametersInfoA
4380 #define TabbedTextOut TabbedTextOutA
4381 #define TranslateAccelerator TranslateAcceleratorA
4382 #define UnregisterClass UnregisterClassA
4383 #define VkKeyScan VkKeyScanA
4384 #define VkKeyScanEx VkKeyScanExA
4385 #define WinHelp WinHelpA
4386 #define wsprintf wsprintfA
4387 #define wvsprintf wvsprintfA
4389 typedef ICONMETRICSA ICONMETRICS
,*LPICONMETRICS
;
4390 typedef NONCLIENTMETRICSA NONCLIENTMETRICS
,*LPNONCLIENTMETRICS
;
4391 #define ChangeDisplaySettings ChangeDisplaySettingsA
4392 #define ChangeDisplaySettingsEx ChangeDisplaySettingsExA
4393 #define CreateDesktop CreateDesktopA
4394 #define EnumDisplaySettings EnumDisplaySettingsA
4395 #define EnumDisplaySettingsEx EnumDisplaySettingsExA
4396 #define EnumDisplayDevices EnumDisplayDevicesA
4398 #endif /* UNICODE */
4399 #endif /* RC_INVOKED */