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
1089 #if (_WIN32_WINNT >= 0x0400)
1090 #define PBT_APMQUERYSUSPEND 0
1091 #define PBT_APMQUERYSTANDBY 1
1092 #define PBT_APMQUERYSUSPENDFAILED 2
1093 #define PBT_APMQUERYSTANDBYFAILED 3
1094 #define PBT_APMSUSPEND 4
1095 #define PBT_APMSTANDBY 5
1096 #define PBT_APMRESUMECRITICAL 6
1097 #define PBT_APMRESUMESUSPEND 7
1098 #define PBT_APMRESUMESTANDBY 8
1099 #define PBT_APMBATTERYLOW 9
1100 #define PBT_APMPOWERSTATUSCHANGE 10
1101 #define PBT_APMOEMEVENT 11
1102 #define PBT_APMRESUMEAUTOMATIC 18
1104 #define PBTF_APMRESUMEFROMFAILURE 1
1108 #define PM_NOREMOVE 0
1110 #define PM_NOYIELD 2
1111 #if (_WIN32_WINNT >= 0x0500)
1112 # define PM_QS_INPUT (QS_INPUT << 16)
1113 # define PM_QS_POSTMESSAGE ((QS_POSTMESSAGE|QS_HOTKEY|QS_TIMER) << 16)
1114 # define PM_QS_PAINT (QS_PAINT << 16)
1115 # define PM_QS_SENDMESSAGE (QS_SENDMESSAGE << 16)
1117 #define HWND_BROADCAST ((HWND)0xFFFF)
1118 #define HWND_BOTTOM ((HWND)1)
1119 #define HWND_NOTOPMOST ((HWND)(-2))
1120 #define HWND_TOP ((HWND)0)
1121 #define HWND_TOPMOST ((HWND)(-1))
1122 #define HWND_DESKTOP (HWND)0
1123 #if (_WIN32_WINNT >= 0x0500)
1124 #define HWND_MESSAGE ((HWND)(-3))
1127 #define RDW_FRAME 1024
1128 #define RDW_INTERNALPAINT 2
1129 #define RDW_INVALIDATE 1
1130 #define RDW_NOERASE 32
1131 #define RDW_NOFRAME 2048
1132 #define RDW_NOINTERNALPAINT 16
1133 #define RDW_VALIDATE 8
1134 #define RDW_ERASENOW 512
1135 #define RDW_UPDATENOW 256
1136 #define RDW_ALLCHILDREN 128
1137 #define RDW_NOCHILDREN 64
1138 #define SMTO_ABORTIFHUNG 0x0002
1139 #define SMTO_BLOCK 0x0001
1140 #define SMTO_NORMAL 0x0000
1141 #if (_WIN32_WINNT >= 0x0500)
1142 #define SMTO_NOTIMEOUTIFNOTHUNG 0x0008
1144 #define SIF_DISABLENOSCROLL 0x0008
1145 #define SIF_PAGE 0x0002
1146 #define SIF_POS 0x0004
1147 #define SIF_RANGE 0x0001
1148 #define SIF_TRACKPOS 0x0010
1149 #define SIF_ALL (SIF_PAGE|SIF_POS|SIF_RANGE|SIF_TRACKPOS)
1150 #define SWP_DRAWFRAME 0x0020
1151 #define SWP_FRAMECHANGED 0x0020
1152 #define SWP_HIDEWINDOW 0x0080
1153 #define SWP_NOACTIVATE 0x0010
1154 #define SWP_NOCOPYBITS 0x0100
1155 #define SWP_NOMOVE 0x0002
1156 #define SWP_NOSIZE 0x0001
1157 #define SWP_NOREDRAW 0x0008
1158 #define SWP_NOZORDER 0x0004
1159 #define SWP_SHOWWINDOW 0x0040
1160 #define SWP_NOOWNERZORDER 0x0200
1161 #define SWP_NOREPOSITION SWP_NOOWNERZORDER
1162 #define SWP_NOSENDCHANGING 0x0400
1163 #define SWP_DEFERERASE 0x2000
1164 #define SWP_ASYNCWINDOWPOS 0x4000
1165 #define HSHELL_ACTIVATESHELLWINDOW 3
1166 #define HSHELL_ENDTASK 10
1167 #define HSHELL_GETMINRECT 5
1168 #define HSHELL_LANGUAGE 8
1169 #define HSHELL_REDRAW 6
1170 #define HSHELL_TASKMAN 7
1171 #define HSHELL_WINDOWACTIVATED 4
1172 #define HSHELL_WINDOWCREATED 1
1173 #define HSHELL_WINDOWDESTROYED 2
1174 #if (_WIN32_WINNT >= 0x0500)
1175 #define HSHELL_ACCESSIBILITYSTATE 11
1176 #define HSHELL_APPCOMMAND 12
1177 #define HSHELL_RUDEAPPACTIVATED 32772
1178 #define HSHELL_FLASH 32774
1180 #if (_WIN32_WINNT >= 0x0501)
1181 #define HSHELL_WINDOWREPLACED 13
1182 #define HSHELL_WINDOWREPLACING 14
1184 #define SPI_GETACCESSTIMEOUT 0x003C
1185 #define SPI_GETACTIVEWINDOWTRACKING 0x1000
1186 #define SPI_GETACTIVEWNDTRKTIMEOUT 8194
1187 #define SPI_GETACTIVEWNDTRKZORDER 0x100C
1188 #define SPI_GETANIMATION 0x0048
1189 #define SPI_GETBEEP 0x0001
1190 #define SPI_GETBLOCKSENDINPUTRESETS 0x1026
1191 #define SPI_GETBORDER 0x0005
1192 #define SPI_GETCARETWIDTH 0x2006
1193 #define SPI_GETCOMBOBOXANIMATION 0x1004
1194 #define SPI_GETCURSORSHADOW 0x101A
1195 #define SPI_GETDEFAULTINPUTLANG 0x0059
1196 #define SPI_GETDESKWALLPAPER 0x0073
1197 #define SPI_GETDRAGFULLWINDOWS 0x0026
1198 #define SPI_GETFASTTASKSWITCH 0x0023
1199 #define SPI_GETFILTERKEYS 0x0032
1200 #define SPI_GETFONTSMOOTHING 0x004A
1201 #define SPI_GETFOREGROUNDFLASHCOUNT 0x2004
1202 #define SPI_GETFOREGROUNDLOCKTIMEOUT 0x2000
1203 #define SPI_GETGRADIENTCAPTIONS 0x1008
1204 #define SPI_GETGRIDGRANULARITY 0x0012
1205 #define SPI_GETHIGHCONTRAST 0x0042
1206 #define SPI_GETHOTTRACKING 0x100E
1207 #define SPI_GETICONMETRICS 0x002D
1208 #define SPI_GETICONTITLELOGFONT 0x001F
1209 #define SPI_GETICONTITLEWRAP 0x0019
1210 #define SPI_GETKEYBOARDCUES 0x100A
1211 #define SPI_GETKEYBOARDDELAY 0x0016
1212 #define SPI_GETKEYBOARDPREF 0x0044
1213 #define SPI_GETKEYBOARDSPEED 0x000A
1214 #define SPI_GETLISTBOXSMOOTHSCROLLING 0x1006
1215 #define SPI_GETLOWPOWERACTIVE 0x0053
1216 #define SPI_GETLOWPOWERTIMEOUT 0x004F
1217 #define SPI_GETMENUANIMATION 0x1002
1218 #define SPI_GETMENUDROPALIGNMENT 0x001B
1219 #define SPI_GETMENUFADE 0x1012
1220 #define SPI_GETMENUSHOWDELAY 0x006A
1221 #define SPI_GETMENUUNDERLINES SPI_GETKEYBOARDCUES
1222 #define SPI_GETMINIMIZEDMETRICS 0x002B
1223 #define SPI_GETMOUSE 0x0003
1224 #define SPI_GETMOUSEHOVERHEIGHT 0x0064
1225 #define SPI_GETMOUSEHOVERTIME 0x0066
1226 #define SPI_GETMOUSEHOVERWIDTH 0x0062
1227 #define SPI_GETMOUSEKEYS 0x0036
1228 #define SPI_GETMOUSESPEED 0x0070
1229 #define SPI_GETMOUSETRAILS 0x005E
1230 #define SPI_GETNONCLIENTMETRICS 0x0029
1231 #define SPI_GETPOWEROFFACTIVE 0x0054
1232 #define SPI_GETPOWEROFFTIMEOUT 0x0050
1233 #define SPI_GETSCREENREADER 0x0046
1234 #define SPI_GETSCREENSAVEACTIVE 0x0010
1235 #define SPI_GETSCREENSAVERRUNNING 0x0072
1236 #define SPI_GETSCREENSAVETIMEOUT 0x000E
1237 #define SPI_GETSELECTIONFADE 0x1014
1238 #define SPI_GETSERIALKEYS 0x003E
1239 #define SPI_GETSHOWIMEUI 0x006E
1240 #define SPI_GETSHOWSOUNDS 0x0038
1241 #define SPI_GETSNAPTODEFBUTTON 0x005F
1242 #define SPI_GETSOUNDSENTRY 0x0040
1243 #define SPI_GETSTICKYKEYS 0x003A
1244 #define SPI_GETTOGGLEKEYS 0x0034
1245 #define SPI_GETTOOLTIPANIMATION 0x1016
1246 #define SPI_GETTOOLTIPFADE 0x1018
1247 #define SPI_GETUIEFFECTS 0x103E
1248 #define SPI_GETWHEELSCROLLLINES 0x0068
1249 #define SPI_GETWINDOWSEXTENSION 0x005C
1250 #define SPI_GETWORKAREA 0x0030
1251 #define SPI_ICONHORIZONTALSPACING 0x000D
1252 #define SPI_ICONVERTICALSPACING 0x0018
1253 #define SPI_LANGDRIVER 0x000C
1254 #define SPI_SETACCESSTIMEOUT 0x003D
1255 #define SPI_SETACTIVEWINDOWTRACKING 0x1001
1256 #define SPI_SETACTIVEWNDTRKTIMEOUT 8195
1257 #define SPI_SETACTIVEWNDTRKZORDER 0x100D
1258 #define SPI_SETANIMATION 0x0049
1259 #define SPI_SETBEEP 0x0002
1260 #define SPI_SETBLOCKSENDINPUTRESETS 0x1027
1261 #define SPI_SETBORDER 0x0006
1262 #define SPI_SETCARETWIDTH 0x2007
1263 #define SPI_SETCOMBOBOXANIMATION 0x1005
1264 #define SPI_SETCURSORS 0x0057
1265 #define SPI_SETCURSORSHADOW 0x101B
1266 #define SPI_SETDEFAULTINPUTLANG 0x005A
1267 #define SPI_SETDESKPATTERN 0x0015
1268 #define SPI_SETDESKWALLPAPER 0x0014
1269 #define SPI_SETDOUBLECLICKTIME 0x0020
1270 #define SPI_SETDOUBLECLKHEIGHT 0x001E
1271 #define SPI_SETDOUBLECLKWIDTH 0x001D
1272 #define SPI_SETDRAGFULLWINDOWS 0x0025
1273 #define SPI_SETDRAGHEIGHT 0x004D
1274 #define SPI_SETDRAGWIDTH 0x004C
1275 #define SPI_SETFASTTASKSWITCH 0x0024
1276 #define SPI_SETFILTERKEYS 0x0033
1277 #define SPI_SETFONTSMOOTHING 0x004B
1278 #define SPI_SETFOREGROUNDFLASHCOUNT 0x2005
1279 #define SPI_SETFOREGROUNDLOCKTIMEOUT 0x2001
1280 #define SPI_SETGRADIENTCAPTIONS 0x1009
1281 #define SPI_SETGRIDGRANULARITY 0x0013
1282 #define SPI_SETHANDHELD 0x004E
1283 #define SPI_SETHIGHCONTRAST 0x0043
1284 #define SPI_SETHOTTRACKING 0x100F
1285 #define SPI_SETICONMETRICS 0x002E
1286 #define SPI_SETICONS 0x0058
1287 #define SPI_SETICONTITLELOGFONT 0x0022
1288 #define SPI_SETICONTITLEWRAP 0x001A
1289 #define SPI_SETKEYBOARDCUES 0x100B
1290 #define SPI_SETKEYBOARDDELAY 0x0017
1291 #define SPI_SETKEYBOARDPREF 0x0045
1292 #define SPI_SETKEYBOARDSPEED 0x000B
1293 #define SPI_SETLANGTOGGLE 0x005B
1294 #define SPI_SETLISTBOXSMOOTHSCROLLING 0x1007
1295 #define SPI_SETLOWPOWERACTIVE 0x0055
1296 #define SPI_SETLOWPOWERTIMEOUT 0x0051
1297 #define SPI_SETMENUANIMATION 0x1003
1298 #define SPI_SETMENUDROPALIGNMENT 0x001C
1299 #define SPI_SETMENUFADE 0x1013
1300 #define SPI_SETMENUSHOWDELAY 0x006B
1301 #define SPI_SETMENUUNDERLINES SPI_SETKEYBOARDCUES
1302 #define SPI_SETMINIMIZEDMETRICS 0x002C
1303 #define SPI_SETMOUSE 0x0004
1304 #define SPI_SETMOUSEBUTTONSWAP 0x0021
1305 #define SPI_SETMOUSEHOVERHEIGHT 0x0065
1306 #define SPI_SETMOUSEHOVERTIME 0x0067
1307 #define SPI_SETMOUSEHOVERWIDTH 0x0063
1308 #define SPI_SETMOUSEKEYS 0x0037
1309 #define SPI_SETMOUSESPEED 0x0071
1310 #define SPI_SETMOUSETRAILS 0x005D
1311 #define SPI_SETNONCLIENTMETRICS 0x002A
1312 #define SPI_SETPENWINDOWS 0x0031
1313 #define SPI_SETPOWEROFFACTIVE 0x0056
1314 #define SPI_SETPOWEROFFTIMEOUT 0x0052
1315 #define SPI_SETSCREENREADER 0x0047
1316 #define SPI_SETSCREENSAVEACTIVE 0x0011
1317 #define SPI_SETSCREENSAVERRUNNING 0x0061
1318 #define SPI_SETSCREENSAVETIMEOUT 0x000F
1319 #define SPI_SETSELECTIONFADE 0x1015
1320 #define SPI_SETSERIALKEYS 0x003F
1321 #define SPI_SETSHOWIMEUI 0x006F
1322 #define SPI_SETSHOWSOUNDS 0x0039
1323 #define SPI_SETSNAPTODEFBUTTON 0x0060
1324 #define SPI_SETSOUNDSENTRY 0x0041
1325 #define SPI_SETSTICKYKEYS 0x003B
1326 #define SPI_SETTOGGLEKEYS 0x0035
1327 #define SPI_SETTOOLTIPANIMATION 0x1017
1328 #define SPI_SETTOOLTIPFADE 0x1019
1329 #define SPI_SETUIEFFECTS 0x103F
1330 #define SPI_SETWHEELSCROLLLINES 0x0069
1331 #define SPI_SETWORKAREA 0x002F
1332 #if (_WIN32_WINNT >= 0x0501)
1333 #define SPI_GETDROPSHADOW 0x1024
1334 #define SPI_GETFLATMENU 0x1022
1335 #define SPI_GETFOCUSBORDERHEIGHT 0x2010
1336 #define SPI_GETFOCUSBORDERWIDTH 0x200E
1337 #define SPI_GETFONTSMOOTHINGCONTRAST 0x200C
1338 #define SPI_GETFONTSMOOTHINGTYPE 0x200A
1339 #define SPI_GETMOUSECLICKLOCK 0x101E
1340 #define SPI_GETMOUSECLICKLOCKTIME 0x2008
1341 #define SPI_GETMOUSESONAR 0x101C
1342 #define SPI_GETMOUSEVANISH 0x1020
1343 #define SPI_SETDROPSHADOW 0x1025
1344 #define SPI_SETFLATMENU 0x1023
1345 #define SPI_SETFOCUSBORDERHEIGHT 0x2011
1346 #define SPI_SETFOCUSBORDERWIDTH 0x200F
1347 #define SPI_SETFONTSMOOTHINGCONTRAST 0x200D
1348 #define SPI_SETFONTSMOOTHINGTYPE 0x200B
1349 #define SPI_SETMOUSECLICKLOCK 0x101F
1350 #define SPI_SETMOUSECLICKLOCKTIME 0x2009
1351 #define SPI_SETMOUSESONAR 0x101D
1352 #define SPI_SETMOUSEVANISH 0x1021
1354 #define SPIF_UPDATEINIFILE 0x0001
1355 #define SPIF_SENDCHANGE 0x0002
1356 #define SPIF_SENDWININICHANGE SPIF_SENDCHANGE
1357 #define ATF_ONOFFFEEDBACK 2
1358 #define ATF_TIMEOUTON 1
1359 #define WM_APP 32768
1360 #define WM_ACTIVATE 6
1361 #define WM_ACTIVATEAPP 28
1362 /* FIXME/CHECK: Are WM_AFX{FIRST,LAST} valid for WINVER < 0x400? */
1363 #define WM_AFXFIRST 864
1364 #define WM_AFXLAST 895
1365 #define WM_ASKCBFORMATNAME 780
1366 #define WM_CANCELJOURNAL 75
1367 #define WM_CANCELMODE 31
1368 #define WM_CAPTURECHANGED 533
1369 #define WM_CHANGECBCHAIN 781
1371 #define WM_CHARTOITEM 47
1372 #define WM_CHILDACTIVATE 34
1373 #define WM_CLEAR 771
1375 #define WM_COMMAND 273
1376 #define WM_COMMNOTIFY 68 /* obsolete */
1377 #define WM_COMPACTING 65
1378 #define WM_COMPAREITEM 57
1379 #define WM_CONTEXTMENU 123
1381 #define WM_COPYDATA 74
1383 #define WM_CTLCOLORBTN 309
1384 #define WM_CTLCOLORDLG 310
1385 #define WM_CTLCOLOREDIT 307
1386 #define WM_CTLCOLORLISTBOX 308
1387 #define WM_CTLCOLORMSGBOX 306
1388 #define WM_CTLCOLORSCROLLBAR 311
1389 #define WM_CTLCOLORSTATIC 312
1391 #define WM_DEADCHAR 259
1392 #define WM_DELETEITEM 45
1393 #define WM_DESTROY 2
1394 #define WM_DESTROYCLIPBOARD 775
1395 #define WM_DEVICECHANGE 537
1396 #define WM_DEVMODECHANGE 27
1397 #define WM_DISPLAYCHANGE 126
1398 #define WM_DRAWCLIPBOARD 776
1399 #define WM_DRAWITEM 43
1400 #define WM_DROPFILES 563
1401 #define WM_ENABLE 10
1402 #define WM_ENDSESSION 22
1403 #define WM_ENTERIDLE 289
1404 #define WM_ENTERMENULOOP 529
1405 #define WM_ENTERSIZEMOVE 561
1406 #define WM_ERASEBKGND 20
1407 #define WM_EXITMENULOOP 530
1408 #define WM_EXITSIZEMOVE 562
1409 #define WM_FONTCHANGE 29
1410 #define WM_GETDLGCODE 135
1411 #define WM_GETFONT 49
1412 #define WM_GETHOTKEY 51
1413 #define WM_GETICON 127
1414 #define WM_GETMINMAXINFO 36
1415 #define WM_GETTEXT 13
1416 #define WM_GETTEXTLENGTH 14
1417 /* FIXME/CHECK: Are WM_HANDHEL{FIRST,LAST} valid for WINVER < 0x400? */
1418 #define WM_HANDHELDFIRST 856
1419 #define WM_HANDHELDLAST 863
1421 #define WM_HOTKEY 786
1422 #define WM_HSCROLL 276
1423 #define WM_HSCROLLCLIPBOARD 782
1424 #define WM_ICONERASEBKGND 39
1425 #define WM_INITDIALOG 272
1426 #define WM_INITMENU 278
1427 #define WM_INITMENUPOPUP 279
1428 #if (_WIN32_WINNT >= 0x0501)
1429 #define WM_INPUT 0x00FF
1431 #define WM_INPUTLANGCHANGE 81
1432 #define WM_INPUTLANGCHANGEREQUEST 80
1433 #define WM_KEYDOWN 256
1434 #define WM_KEYUP 257
1435 #define WM_KILLFOCUS 8
1436 #define WM_MDIACTIVATE 546
1437 #define WM_MDICASCADE 551
1438 #define WM_MDICREATE 544
1439 #define WM_MDIDESTROY 545
1440 #define WM_MDIGETACTIVE 553
1441 #define WM_MDIICONARRANGE 552
1442 #define WM_MDIMAXIMIZE 549
1443 #define WM_MDINEXT 548
1444 #define WM_MDIREFRESHMENU 564
1445 #define WM_MDIRESTORE 547
1446 #define WM_MDISETMENU 560
1447 #define WM_MDITILE 550
1448 #define WM_MEASUREITEM 44
1449 #if (WINVER >= 0x0500)
1450 #define WM_GETOBJECT 0x003D
1451 #define WM_CHANGEUISTATE 0x0127
1452 #define WM_UPDATEUISTATE 0x0128
1453 #define WM_QUERYUISTATE 0x0129
1454 #define WM_UNINITMENUPOPUP 0x0125
1455 #define WM_MENURBUTTONUP 290
1456 #define WM_MENUCOMMAND 0x0126
1457 #define WM_MENUGETOBJECT 0x0124
1458 #define WM_MENUDRAG 0x0123
1459 #define WM_APPCOMMAND 0x0319
1461 #define WM_MENUCHAR 288
1462 #define WM_MENUSELECT 287
1463 #define WM_NEXTMENU 531
1465 #define WM_MOVING 534
1466 #define WM_NCACTIVATE 134
1467 #define WM_NCCALCSIZE 131
1468 #define WM_NCCREATE 129
1469 #define WM_NCDESTROY 130
1470 #define WM_NCHITTEST 132
1471 #define WM_NCLBUTTONDBLCLK 163
1472 #define WM_NCLBUTTONDOWN 161
1473 #define WM_NCLBUTTONUP 162
1474 #define WM_NCMBUTTONDBLCLK 169
1475 #define WM_NCMBUTTONDOWN 167
1476 #define WM_NCMBUTTONUP 168
1477 #if (_WIN32_WINNT >= 0x0500)
1478 #define WM_NCXBUTTONDOWN 171
1479 #define WM_NCXBUTTONUP 172
1480 #define WM_NCXBUTTONDBLCLK 173
1481 #define WM_NCMOUSEHOVER 0x02A0
1482 #define WM_NCMOUSELEAVE 0x02A2
1484 #define WM_NCMOUSEMOVE 160
1485 #define WM_NCPAINT 133
1486 #define WM_NCRBUTTONDBLCLK 166
1487 #define WM_NCRBUTTONDOWN 164
1488 #define WM_NCRBUTTONUP 165
1489 #define WM_NEXTDLGCTL 40
1490 #define WM_NEXTMENU 531
1491 #define WM_NOTIFY 78
1492 #define WM_NOTIFYFORMAT 85
1495 #define WM_PAINTCLIPBOARD 777
1496 #define WM_PAINTICON 38
1497 #define WM_PALETTECHANGED 785
1498 #define WM_PALETTEISCHANGING 784
1499 #define WM_PARENTNOTIFY 528
1500 #define WM_PASTE 770
1501 #define WM_PENWINFIRST 896
1502 #define WM_PENWINLAST 911
1504 #define WM_POWERBROADCAST 536
1505 #define WM_PRINT 791
1506 #define WM_PRINTCLIENT 792
1507 #define WM_QUERYDRAGICON 55
1508 #define WM_QUERYENDSESSION 17
1509 #define WM_QUERYNEWPALETTE 783
1510 #define WM_QUERYOPEN 19
1511 #define WM_QUEUESYNC 35
1513 #define WM_RENDERALLFORMATS 774
1514 #define WM_RENDERFORMAT 773
1515 #define WM_SETCURSOR 32
1516 #define WM_SETFOCUS 7
1517 #define WM_SETFONT 48
1518 #define WM_SETHOTKEY 50
1519 #define WM_SETICON 128
1520 #define WM_SETREDRAW 11
1521 #define WM_SETTEXT 12
1522 #define WM_SETTINGCHANGE 26
1523 #define WM_SHOWWINDOW 24
1525 #define WM_SIZECLIPBOARD 779
1526 #define WM_SIZING 532
1527 #define WM_SPOOLERSTATUS 42
1528 #define WM_STYLECHANGED 125
1529 #define WM_STYLECHANGING 124
1530 #define WM_SYSCHAR 262
1531 #define WM_SYSCOLORCHANGE 21
1532 #define WM_SYSCOMMAND 274
1533 #define WM_SYSDEADCHAR 263
1534 #define WM_SYSKEYDOWN 260
1535 #define WM_SYSKEYUP 261
1537 #define WM_THEMECHANGED 794
1538 #define WM_TIMECHANGE 30
1539 #define WM_TIMER 275
1541 #define WM_USER 1024
1542 #define WM_USERCHANGED 84
1543 #define WM_VKEYTOITEM 46
1544 #define WM_VSCROLL 277
1545 #define WM_VSCROLLCLIPBOARD 778
1546 #define WM_WINDOWPOSCHANGED 71
1547 #define WM_WINDOWPOSCHANGING 70
1548 #define WM_WININICHANGE 26
1549 #define WM_KEYFIRST 256
1550 #define WM_KEYLAST 264
1551 #define WM_SYNCPAINT 136
1552 #define WM_MOUSEACTIVATE 33
1553 #define WM_MOUSEMOVE 512
1554 #define WM_LBUTTONDOWN 513
1555 #define WM_LBUTTONUP 514
1556 #define WM_LBUTTONDBLCLK 515
1557 #define WM_RBUTTONDOWN 516
1558 #define WM_RBUTTONUP 517
1559 #define WM_RBUTTONDBLCLK 518
1560 #define WM_MBUTTONDOWN 519
1561 #define WM_MBUTTONUP 520
1562 #define WM_MBUTTONDBLCLK 521
1563 #define WM_MOUSEWHEEL 522
1564 #define WM_MOUSEFIRST 512
1565 #if (_WIN32_WINNT >= 0x0500)
1566 #define WM_XBUTTONDOWN 523
1567 #define WM_XBUTTONUP 524
1568 #define WM_XBUTTONDBLCLK 525
1569 #define WM_MOUSELAST 525
1571 #define WM_MOUSELAST 522
1573 #define WM_MOUSEHOVER 0x2A1
1574 #define WM_MOUSELEAVE 0x2A3
1575 #if (_WIN32_WINNT >= 0x0400)
1576 #define WHEEL_DELTA 120
1577 #define GET_WHEEL_DELTA_WPARAM(wparam) ((short)HIWORD (wparam))
1578 #define WHEEL_PAGESCROLL UINT_MAX
1580 #define BM_CLICK 245
1581 #define BM_GETCHECK 240
1582 #define BM_GETIMAGE 246
1583 #define BM_GETSTATE 242
1584 #define BM_SETCHECK 241
1585 #define BM_SETIMAGE 247
1586 #define BM_SETSTATE 243
1587 #define BM_SETSTYLE 244
1588 #define BN_CLICKED 0
1590 #define BN_DISABLE 4
1591 #define BN_DOUBLECLICKED 5
1593 #define BN_KILLFOCUS 7
1596 #define BN_SETFOCUS 6
1597 #define BN_UNHILITE 3
1598 #define BN_UNPUSHED 3
1599 #define CB_ADDSTRING 323
1600 #define CB_DELETESTRING 324
1602 #define CB_FINDSTRING 332
1603 #define CB_FINDSTRINGEXACT 344
1604 #define CB_GETCOUNT 326
1605 #define CB_GETCURSEL 327
1606 #define CB_GETDROPPEDCONTROLRECT 338
1607 #define CB_GETDROPPEDSTATE 343
1608 #define CB_GETDROPPEDWIDTH 351
1609 #define CB_GETEDITSEL 320
1610 #define CB_GETEXTENDEDUI 342
1611 #define CB_GETHORIZONTALEXTENT 349
1612 #define CB_GETITEMDATA 336
1613 #define CB_GETITEMHEIGHT 340
1614 #define CB_GETLBTEXT 328
1615 #define CB_GETLBTEXTLEN 329
1616 #define CB_GETLOCALE 346
1617 #define CB_GETTOPINDEX 347
1618 #define CB_INITSTORAGE 353
1619 #define CB_INSERTSTRING 330
1620 #define CB_LIMITTEXT 321
1621 #define CB_RESETCONTENT 331
1622 #define CB_SELECTSTRING 333
1623 #define CB_SETCURSEL 334
1624 #define CB_SETDROPPEDWIDTH 352
1625 #define CB_SETEDITSEL 322
1626 #define CB_SETEXTENDEDUI 341
1627 #define CB_SETHORIZONTALEXTENT 350
1628 #define CB_SETITEMDATA 337
1629 #define CB_SETITEMHEIGHT 339
1630 #define CB_SETLOCALE 345
1631 #define CB_SETTOPINDEX 348
1632 #define CB_SHOWDROPDOWN 335
1633 #if (_WIN32_WINNT >= 0x0501)
1634 #define CB_SETMINVISIBLE 0x1701
1635 #define CB_GETMINVISIBLE 0x1702
1637 #define CBN_CLOSEUP 8
1638 #define CBN_DBLCLK 2
1639 #define CBN_DROPDOWN 7
1640 #define CBN_EDITCHANGE 5
1641 #define CBN_EDITUPDATE 6
1642 #define CBN_ERRSPACE (-1)
1643 #define CBN_KILLFOCUS 4
1644 #define CBN_SELCHANGE 1
1645 #define CBN_SELENDCANCEL 10
1646 #define CBN_SELENDOK 9
1647 #define CBN_SETFOCUS 3
1648 #define EM_CANUNDO 198
1649 #define EM_CHARFROMPOS 215
1650 #define EM_EMPTYUNDOBUFFER 205
1651 #define EM_FMTLINES 200
1652 #define EM_GETFIRSTVISIBLELINE 206
1653 #define EM_GETHANDLE 189
1654 #define EM_GETLIMITTEXT 213
1655 #define EM_GETLINE 196
1656 #define EM_GETLINECOUNT 186
1657 #define EM_GETMARGINS 212
1658 #define EM_GETMODIFY 184
1659 #define EM_GETPASSWORDCHAR 210
1660 #define EM_GETRECT 178
1661 #define EM_GETSEL 176
1662 #define EM_GETTHUMB 190
1663 #define EM_GETWORDBREAKPROC 209
1664 #define EM_LIMITTEXT 197
1665 #define EM_LINEFROMCHAR 201
1666 #define EM_LINEINDEX 187
1667 #define EM_LINELENGTH 193
1668 #define EM_LINESCROLL 182
1669 #define EM_POSFROMCHAR 214
1670 #define EM_REPLACESEL 194
1671 #define EM_SCROLL 181
1672 #define EM_SCROLLCARET 183
1673 #define EM_SETHANDLE 188
1674 #define EM_SETLIMITTEXT 197
1675 #define EM_SETMARGINS 211
1676 #define EM_SETMODIFY 185
1677 #define EM_SETPASSWORDCHAR 204
1678 #define EM_SETREADONLY 207
1679 #define EM_SETRECT 179
1680 #define EM_SETRECTNP 180
1681 #define EM_SETSEL 177
1682 #define EM_SETTABSTOPS 203
1683 #define EM_SETWORDBREAKPROC 208
1685 #if (WINVER >= 0x0500)
1686 #define EM_GETIMESTATUS 217
1687 #define EM_SETIMESTATUS 216
1689 #define EN_CHANGE 768
1690 #define EN_ERRSPACE 1280
1691 #define EN_HSCROLL 1537
1692 #define EN_KILLFOCUS 512
1693 #define EN_MAXTEXT 1281
1694 #define EN_SETFOCUS 256
1695 #define EN_UPDATE 1024
1696 #define EN_VSCROLL 1538
1697 #define LB_ADDFILE 406
1698 #define LB_ADDSTRING 384
1699 #define LB_DELETESTRING 386
1701 #define LB_FINDSTRING 399
1702 #define LB_FINDSTRINGEXACT 418
1703 #define LB_GETANCHORINDEX 413
1704 #define LB_GETCARETINDEX 415
1705 #define LB_GETCOUNT 395
1706 #define LB_GETCURSEL 392
1707 #define LB_GETHORIZONTALEXTENT 403
1708 #define LB_GETITEMDATA 409
1709 #define LB_GETITEMHEIGHT 417
1710 #define LB_GETITEMRECT 408
1711 #define LB_GETLOCALE 422
1712 #define LB_GETSEL 391
1713 #define LB_GETSELCOUNT 400
1714 #define LB_GETSELITEMS 401
1715 #define LB_GETTEXT 393
1716 #define LB_GETTEXTLEN 394
1717 #define LB_GETTOPINDEX 398
1718 #define LB_INITSTORAGE 424
1719 #define LB_INSERTSTRING 385
1720 #define LB_ITEMFROMPOINT 425
1721 #define LB_RESETCONTENT 388
1722 #define LB_SELECTSTRING 396
1723 #define LB_SELITEMRANGE 411
1724 #define LB_SELITEMRANGEEX 387
1725 #define LB_SETANCHORINDEX 412
1726 #define LB_SETCARETINDEX 414
1727 #define LB_SETCOLUMNWIDTH 405
1728 #define LB_SETCOUNT 423
1729 #define LB_SETCURSEL 390
1730 #define LB_SETHORIZONTALEXTENT 404
1731 #define LB_SETITEMDATA 410
1732 #define LB_SETITEMHEIGHT 416
1733 #define LB_SETLOCALE 421
1734 #define LB_SETSEL 389
1735 #define LB_SETTABSTOPS 402
1736 #define LB_SETTOPINDEX 407
1737 #define LBN_DBLCLK 2
1738 #define LBN_ERRSPACE (-2)
1739 #define LBN_KILLFOCUS 5
1740 #define LBN_SELCANCEL 3
1741 #define LBN_SELCHANGE 1
1742 #define LBN_SETFOCUS 4
1743 #define SBM_ENABLE_ARROWS 228
1744 #define SBM_GETPOS 225
1745 #define SBM_GETRANGE 227
1746 #define SBM_GETSCROLLINFO 234
1747 #define SBM_SETPOS 224
1748 #define SBM_SETRANGE 226
1749 #define SBM_SETRANGEREDRAW 230
1750 #define SBM_SETSCROLLINFO 233
1751 #define STM_GETICON 369
1752 #define STM_GETIMAGE 371
1753 #define STM_SETICON 368
1754 #define STM_SETIMAGE 370
1755 #define STN_CLICKED 0
1756 #define STN_DBLCLK 1
1757 #define STN_DISABLE 3
1758 #define STN_ENABLE 2
1759 #define DM_GETDEFID WM_USER
1760 #define DM_SETDEFID (WM_USER+1)
1761 #define DM_REPOSITION (WM_USER+2)
1762 #define PSM_PAGEINFO (WM_USER+100)
1763 #define PSM_SHEETINFO (WM_USER+101)
1764 #define PSI_SETACTIVE 1
1765 #define PSI_KILLACTIVE 2
1768 #define PSI_HASHELP 5
1770 #define PSI_CHANGED 1
1771 #define PSI_GUISTART 2
1772 #define PSI_REBOOT 3
1773 #define PSI_GETSIBLINGS 4
1774 #define DCX_WINDOW 1
1776 #define DCX_PARENTCLIP 32
1777 #define DCX_CLIPSIBLINGS 16
1778 #define DCX_CLIPCHILDREN 8
1779 #define DCX_NORESETATTRS 4
1780 #define DCX_INTERSECTUPDATE 0x200
1781 #define DCX_LOCKWINDOWUPDATE 0x400
1782 #define DCX_EXCLUDERGN 64
1783 #define DCX_INTERSECTRGN 128
1784 #define DCX_VALIDATE 0x200000
1785 #define GMDI_GOINTOPOPUPS 2
1786 #define GMDI_USEDISABLED 1
1787 #define FKF_AVAILABLE 2
1788 #define FKF_CLICKON 64
1789 #define FKF_FILTERKEYSON 1
1790 #define FKF_HOTKEYACTIVE 4
1791 #define FKF_HOTKEYSOUND 16
1792 #define FKF_CONFIRMHOTKEY 8
1793 #define FKF_INDICATOR 32
1794 #define HCF_HIGHCONTRASTON 1
1795 #define HCF_AVAILABLE 2
1796 #define HCF_HOTKEYACTIVE 4
1797 #define HCF_CONFIRMHOTKEY 8
1798 #define HCF_HOTKEYSOUND 16
1799 #define HCF_INDICATOR 32
1800 #define HCF_HOTKEYAVAILABLE 64
1801 #define MKF_AVAILABLE 2
1802 #define MKF_CONFIRMHOTKEY 8
1803 #define MKF_HOTKEYACTIVE 4
1804 #define MKF_HOTKEYSOUND 16
1805 #define MKF_INDICATOR 32
1806 #define MKF_MOUSEKEYSON 1
1807 #define MKF_MODIFIERS 64
1808 #define MKF_REPLACENUMBERS 128
1809 #define SERKF_ACTIVE 8 /* May be obsolete. Not in recent MS docs. */
1810 #define SERKF_AVAILABLE 2
1811 #define SERKF_INDICATOR 4
1812 #define SERKF_SERIALKEYSON 1
1813 #define SSF_AVAILABLE 2
1814 #define SSF_SOUNDSENTRYON 1
1815 #define SSTF_BORDER 2
1816 #define SSTF_CHARS 1
1817 #define SSTF_DISPLAY 3
1819 #define SSGF_DISPLAY 3
1821 #define SSWF_CUSTOM 4
1822 #define SSWF_DISPLAY 3
1824 #define SSWF_TITLE 1
1825 #define SSWF_WINDOW 2
1826 #define SKF_AUDIBLEFEEDBACK 64
1827 #define SKF_AVAILABLE 2
1828 #define SKF_CONFIRMHOTKEY 8
1829 #define SKF_HOTKEYACTIVE 4
1830 #define SKF_HOTKEYSOUND 16
1831 #define SKF_INDICATOR 32
1832 #define SKF_STICKYKEYSON 1
1833 #define SKF_TRISTATE 128
1834 #define SKF_TWOKEYSOFF 256
1835 #define TKF_AVAILABLE 2
1836 #define TKF_CONFIRMHOTKEY 8
1837 #define TKF_HOTKEYACTIVE 4
1838 #define TKF_HOTKEYSOUND 16
1839 #define TKF_TOGGLEKEYSON 1
1840 #define MDITILE_SKIPDISABLED 2
1841 #define MDITILE_HORIZONTAL 1
1842 #define MDITILE_VERTICAL 0
1843 #define VK_LBUTTON 1
1844 #define VK_RBUTTON 2
1846 #define VK_MBUTTON 4
1847 #if (_WIN32_WINNT >= 0x0500)
1848 #define VK_XBUTTON1 5
1849 #define VK_XBUTTON2 6
1854 #define VK_RETURN 13
1856 #define VK_CONTROL 17
1859 #define VK_CAPITAL 20
1860 #define VK_KANA 0x15
1861 #define VK_HANGEUL 0x15
1862 #define VK_HANGUL 0x15
1863 #define VK_JUNJA 0x17
1864 #define VK_FINAL 0x18
1865 #define VK_HANJA 0x19
1866 #define VK_KANJI 0x19
1867 #define VK_ESCAPE 0x1B
1868 #define VK_CONVERT 0x1C
1869 #define VK_NONCONVERT 0x1D
1870 #define VK_ACCEPT 0x1E
1871 #define VK_MODECHANGE 0x1F
1881 #define VK_SELECT 41
1883 #define VK_EXECUTE 43
1884 #define VK_SNAPSHOT 44
1885 #define VK_INSERT 45
1886 #define VK_DELETE 46
1888 #define VK_LWIN 0x5B
1889 #define VK_RWIN 0x5C
1890 #define VK_APPS 0x5D
1891 #define VK_SLEEP 0x5F
1892 #define VK_NUMPAD0 0x60
1893 #define VK_NUMPAD1 0x61
1894 #define VK_NUMPAD2 0x62
1895 #define VK_NUMPAD3 0x63
1896 #define VK_NUMPAD4 0x64
1897 #define VK_NUMPAD5 0x65
1898 #define VK_NUMPAD6 0x66
1899 #define VK_NUMPAD7 0x67
1900 #define VK_NUMPAD8 0x68
1901 #define VK_NUMPAD9 0x69
1902 #define VK_MULTIPLY 0x6A
1904 #define VK_SEPARATOR 0x6C
1905 #define VK_SUBTRACT 0x6D
1906 #define VK_DECIMAL 0x6E
1907 #define VK_DIVIDE 0x6F
1932 #define VK_NUMLOCK 0x90
1933 #define VK_SCROLL 0x91
1934 #define VK_LSHIFT 0xA0
1935 #define VK_RSHIFT 0xA1
1936 #define VK_LCONTROL 0xA2
1937 #define VK_RCONTROL 0xA3
1938 #define VK_LMENU 0xA4
1939 #define VK_RMENU 0xA5
1940 #if (_WIN32_WINNT >= 0x0500)
1941 #define VK_BROWSER_BACK 0xA6
1942 #define VK_BROWSER_FORWARD 0xA7
1943 #define VK_BROWSER_REFRESH 0xA8
1944 #define VK_BROWSER_STOP 0xA9
1945 #define VK_BROWSER_SEARCH 0xAA
1946 #define VK_BROWSER_FAVORITES 0xAB
1947 #define VK_BROWSER_HOME 0xAC
1948 #define VK_VOLUME_MUTE 0xAD
1949 #define VK_VOLUME_DOWN 0xAE
1950 #define VK_VOLUME_UP 0xAF
1951 #define VK_MEDIA_NEXT_TRACK 0xB0
1952 #define VK_MEDIA_PREV_TRACK 0xB1
1953 #define VK_MEDIA_STOP 0xB2
1954 #define VK_MEDIA_PLAY_PAUSE 0xB3
1955 #define VK_LAUNCH_MAIL 0xB4
1956 #define VK_LAUNCH_MEDIA_SELECT 0xB5
1957 #define VK_LAUNCH_APP1 0xB6
1958 #define VK_LAUNCH_APP2 0xB7
1960 #define VK_OEM_1 0xBA
1961 #if (_WIN32_WINNT >= 0x0500)
1962 #define VK_OEM_PLUS 0xBB
1963 #define VK_OEM_COMMA 0xBC
1964 #define VK_OEM_MINUS 0xBD
1965 #define VK_OEM_PERIOD 0xBE
1967 #define VK_OEM_2 0xBF
1968 #define VK_OEM_3 0xC0
1969 #define VK_OEM_4 0xDB
1970 #define VK_OEM_5 0xDC
1971 #define VK_OEM_6 0xDD
1972 #define VK_OEM_7 0xDE
1973 #define VK_OEM_8 0xDF
1974 #if (_WIN32_WINNT >= 0x0500)
1975 #define VK_OEM_102 0xE2
1977 #define VK_PROCESSKEY 0xE5
1978 #if (_WIN32_WINNT >= 0x0500)
1979 #define VK_PACKET 0xE7
1981 #define VK_ATTN 0xF6
1982 #define VK_CRSEL 0xF7
1983 #define VK_EXSEL 0xF8
1984 #define VK_EREOF 0xF9
1985 #define VK_PLAY 0xFA
1986 #define VK_ZOOM 0xFB
1987 #define VK_NONAME 0xFC
1989 #define VK_OEM_CLEAR 0xFE
1992 #define TME_QUERY 0x40000000
1993 #define TME_CANCEL 0x80000000
1994 #define HOVER_DEFAULT 0xFFFFFFFF
1995 #define MK_LBUTTON 1
1996 #define MK_RBUTTON 2
1998 #define MK_CONTROL 8
1999 #define MK_MBUTTON 16
2000 #if(_WIN32_WINNT >= 0x0500)
2001 #define MK_XBUTTON1 32
2002 #define MK_XBUTTON2 64
2004 #define TPM_CENTERALIGN 4
2005 #define TPM_LEFTALIGN 0
2006 #define TPM_RIGHTALIGN 8
2007 #define TPM_LEFTBUTTON 0
2008 #define TPM_RIGHTBUTTON 2
2009 #define TPM_HORIZONTAL 0
2010 #define TPM_VERTICAL 64
2011 #define TPM_TOPALIGN 0
2012 #define TPM_VCENTERALIGN 16
2013 #define TPM_BOTTOMALIGN 32
2014 #define TPM_NONOTIFY 128
2015 #define TPM_RETURNCMD 256
2016 #if (_WIN32_WINNT >= 0x0500 || _WIN32_WINDOWS >= 0x0410)
2017 #define TPM_RECURSE 1
2019 #define HELP_COMMAND 0x102
2020 #define HELP_CONTENTS 3
2021 #define HELP_CONTEXT 1
2022 #define HELP_CONTEXTPOPUP 8
2023 #define HELP_FORCEFILE 9
2024 #define HELP_HELPONHELP 4
2025 #define HELP_INDEX 3
2026 #define HELP_KEY 0x101
2027 #define HELP_MULTIKEY 0x201
2028 #define HELP_PARTIALKEY 0x105
2030 #define HELP_SETCONTENTS 5
2031 #define HELP_SETINDEX 5
2032 #define HELP_SETWINPOS 0x203
2033 #define HELP_CONTEXTMENU 0xa
2034 #define HELP_FINDER 0xb
2035 #define HELP_WM_HELP 0xc
2036 #define HELP_TCARD 0x8000
2037 #define HELP_TCARD_DATA 16
2038 #define HELP_TCARD_OTHER_CALLER 0x11
2039 #define IDH_NO_HELP 28440
2040 #define IDH_MISSING_CONTEXT 28441
2041 #define IDH_GENERIC_HELP_BUTTON 28442
2042 #define IDH_OK 28443
2043 #define IDH_CANCEL 28444
2044 #define IDH_HELP 28445
2045 #define LB_CTLCODE 0
2048 #define LB_ERRSPACE (-2)
2051 #define CB_ERRSPACE (-2)
2052 #define HIDE_WINDOW 0
2053 #define SHOW_OPENWINDOW 1
2054 #define SHOW_ICONWINDOW 2
2055 #define SHOW_FULLSCREEN 3
2056 #define SHOW_OPENNOACTIVATE 4
2057 #define SW_PARENTCLOSING 1
2058 #define SW_OTHERZOOM 2
2059 #define SW_PARENTOPENING 3
2060 #define SW_OTHERUNZOOM 4
2061 #define KF_EXTENDED 256
2062 #define KF_DLGMODE 2048
2063 #define KF_MENUMODE 4096
2064 #define KF_ALTDOWN 8192
2065 #define KF_REPEAT 16384
2067 #define WSF_VISIBLE 1
2069 #define PWR_FAIL (-1)
2070 #define PWR_SUSPENDREQUEST 1
2071 #define PWR_SUSPENDRESUME 2
2072 #define PWR_CRITICALRESUME 3
2074 #define NFR_UNICODE 2
2076 #define NF_REQUERY 4
2077 #define MENULOOP_WINDOW 0
2078 #define MENULOOP_POPUP 1
2080 #define WMSZ_RIGHT 2
2082 #define WMSZ_TOPLEFT 4
2083 #define WMSZ_TOPRIGHT 5
2084 #define WMSZ_BOTTOM 6
2085 #define WMSZ_BOTTOMLEFT 7
2086 #define WMSZ_BOTTOMRIGHT 8
2087 #define HTERROR (-2)
2088 #define HTTRANSPARENT (-1)
2098 #define HTMINBUTTON 8
2099 #define HTMAXBUTTON 9
2103 #define HTSIZEFIRST 10
2106 #define HTTOPLEFT 13
2107 #define HTTOPRIGHT 14
2109 #define HTBOTTOMLEFT 16
2110 #define HTBOTTOMRIGHT 17
2111 #define HTSIZELAST 17
2116 #define MA_ACTIVATE 1
2117 #define MA_ACTIVATEANDEAT 2
2118 #define MA_NOACTIVATE 3
2119 #define MA_NOACTIVATEANDEAT 4
2120 #define SIZE_RESTORED 0
2121 #define SIZE_MINIMIZED 1
2122 #define SIZE_MAXIMIZED 2
2123 #define SIZE_MAXSHOW 3
2124 #define SIZE_MAXHIDE 4
2125 #define SIZENORMAL 0
2126 #define SIZEICONIC 1
2127 #define SIZEFULLSCREEN 2
2128 #define SIZEZOOMSHOW 3
2129 #define SIZEZOOMHIDE 4
2130 #define WVR_ALIGNTOP 16
2131 #define WVR_ALIGNLEFT 32
2132 #define WVR_ALIGNBOTTOM 64
2133 #define WVR_ALIGNRIGHT 128
2134 #define WVR_HREDRAW 256
2135 #define WVR_VREDRAW 512
2136 #define WVR_REDRAW (WVR_HREDRAW|WVR_VREDRAW)
2137 #define WVR_VALIDRECTS 1024
2138 #define PRF_CHECKVISIBLE 1
2139 #define PRF_NONCLIENT 2
2140 #define PRF_CLIENT 4
2141 #define PRF_ERASEBKGND 8
2142 #define PRF_CHILDREN 16
2143 #define PRF_OWNED 32
2144 #define IDANI_OPEN 1
2145 #define IDANI_CLOSE 2
2146 #define IDANI_CAPTION 3
2147 #define WPF_RESTORETOMAXIMIZED 2
2148 #define WPF_SETMINPOSITION 1
2150 #define ODT_LISTBOX 2
2151 #define ODT_COMBOBOX 3
2152 #define ODT_BUTTON 4
2153 #define ODT_STATIC 5
2154 #define ODA_DRAWENTIRE 1
2155 #define ODA_SELECT 2
2157 #define ODS_SELECTED 1
2158 #define ODS_GRAYED 2
2159 #define ODS_DISABLED 4
2160 #define ODS_CHECKED 8
2161 #define ODS_FOCUS 16
2162 #define ODS_DEFAULT 32
2163 #define ODS_COMBOBOXEDIT 4096
2164 #define IDHOT_SNAPWINDOW (-1)
2165 #define IDHOT_SNAPDESKTOP (-2)
2166 #define DBWF_LPARAMPOINTER 0x8000
2167 #define DLGWINDOWEXTRA 30
2168 #define MNC_IGNORE 0
2170 #define MNC_EXECUTE 2
2171 #define MNC_SELECT 3
2172 #define DOF_EXECUTABLE 0x8001
2173 #define DOF_DOCUMENT 0x8002
2174 #define DOF_DIRECTORY 0x8003
2175 #define DOF_MULTIPLE 0x8004
2176 #define DOF_PROGMAN 1
2177 #define DOF_SHELLDATA 2
2178 #define DO_DROPFILE 0x454C4946
2179 #define DO_PRINTFILE 0x544E5250
2180 #define SW_SCROLLCHILDREN 1
2181 #define SW_INVALIDATE 2
2183 #if (_WIN32_WINDOWS >= 0x0410 || _WIN32_WINNT >= 0x0500)
2184 #define SW_SMOOTHSCROLL 0x0010
2185 #endif /* (_WIN32_WINDOWS >= 0x0410 || _WIN32_WINNT >= 0x0500) */
2186 #define SC_SIZE 0xF000
2187 #define SC_MOVE 0xF010
2188 #define SC_MINIMIZE 0xF020
2189 #define SC_ICON 0xf020
2190 #define SC_MAXIMIZE 0xF030
2191 #define SC_ZOOM 0xF030
2192 #define SC_NEXTWINDOW 0xF040
2193 #define SC_PREVWINDOW 0xF050
2194 #define SC_CLOSE 0xF060
2195 #define SC_VSCROLL 0xF070
2196 #define SC_HSCROLL 0xF080
2197 #define SC_MOUSEMENU 0xF090
2198 #define SC_KEYMENU 0xF100
2199 #define SC_ARRANGE 0xF110
2200 #define SC_RESTORE 0xF120
2201 #define SC_TASKLIST 0xF130
2202 #define SC_SCREENSAVE 0xF140
2203 #define SC_HOTKEY 0xF150
2204 #define SC_DEFAULT 0xF160
2205 #define SC_MONITORPOWER 0xF170
2206 #define SC_CONTEXTHELP 0xF180
2207 #define SC_SEPARATOR 0xF00F
2208 #define EC_LEFTMARGIN 1
2209 #define EC_RIGHTMARGIN 2
2210 #define EC_USEFONTINFO 0xffff
2211 #define DC_HASDEFID 0x534B
2212 #define DLGC_WANTARROWS 1
2213 #define DLGC_WANTTAB 2
2214 #define DLGC_WANTALLKEYS 4
2215 #define DLGC_WANTMESSAGE 4
2216 #define DLGC_HASSETSEL 8
2217 #define DLGC_DEFPUSHBUTTON 16
2218 #define DLGC_UNDEFPUSHBUTTON 32
2219 #define DLGC_RADIOBUTTON 64
2220 #define DLGC_WANTCHARS 128
2221 #define DLGC_STATIC 256
2222 #define DLGC_BUTTON 0x2000
2223 #define LB_CTLCODE 0
2224 #define WA_INACTIVE 0
2226 #define WA_CLICKACTIVE 2
2227 #define ICON_SMALL 0
2229 #if (_WIN32_WINNT >= 0x0501)
2230 #define ICON_SMALL2 2
2232 #define HBMMENU_CALLBACK ((HBITMAP) -1)
2233 #define HBMMENU_SYSTEM ((HBITMAP)1)
2234 #define HBMMENU_MBAR_RESTORE ((HBITMAP)2)
2235 #define HBMMENU_MBAR_MINIMIZE ((HBITMAP)3)
2236 #define HBMMENU_MBAR_CLOSE ((HBITMAP)5)
2237 #define HBMMENU_MBAR_CLOSE_D ((HBITMAP)6)
2238 #define HBMMENU_MBAR_MINIMIZE_D ((HBITMAP)7)
2239 #define HBMMENU_POPUP_CLOSE ((HBITMAP)8)
2240 #define HBMMENU_POPUP_RESTORE ((HBITMAP)9)
2241 #define HBMMENU_POPUP_MAXIMIZE ((HBITMAP)10)
2242 #define HBMMENU_POPUP_MINIMIZE ((HBITMAP)11)
2244 #define MOD_CONTROL 2
2247 #define MOD_IGNORE_ALL_MODIFIER 1024
2248 #define MOD_ON_KEYUP 2048
2249 #define MOD_RIGHT 16384
2250 #define MOD_LEFT 32768
2251 #define LLKHF_EXTENDED (KF_EXTENDED >> 8)
2252 #define LLKHF_INJECTED 0x00000010
2253 #define LLKHF_ALTDOWN (KF_ALTDOWN >> 8)
2254 #define LLKHF_UP (KF_UP >> 8)
2255 #if (WINVER >= 0x0500)
2256 #define FLASHW_STOP 0
2257 #define FLASHW_CAPTION 1
2258 #define FLASHW_TRAY 2
2259 #define FLASHW_ALL (FLASHW_CAPTION|FLASHW_TRAY)
2260 #define FLASHW_TIMER 4
2261 #define FLASHW_TIMERNOFG 12
2262 #endif /* (WINVER >= 0x0500) */
2263 #define CURSOR_SHOWING 0x00000001
2264 #define WS_ACTIVECAPTION 0x00000001
2265 #if (_WIN32_WINNT >= 0x0403)
2266 #define INPUT_MOUSE 0x00000000
2267 #define INPUT_KEYBOARD 0x00000001
2268 #define INPUT_HARDWARE 0x00000002
2269 #endif /* (_WIN32_WINNT >= 0x0403) */
2270 #if (WINVER >= 0x0400)
2271 #define ENDSESSION_LOGOFF 0x80000000
2273 #if (WINVER >= 0x0500)
2274 #define CHILDID_SELF 0
2275 #define OBJID_WINDOW 0x00000000
2276 #define OBJID_SYSMENU 0xFFFFFFFF
2277 #define OBJID_TITLEBAR 0xFFFFFFFE
2278 #define OBJID_MENU 0xFFFFFFFD
2279 #define OBJID_CLIENT 0xFFFFFFFC
2280 #define OBJID_VSCROLL 0xFFFFFFFB
2281 #define OBJID_HSCROLL 0xFFFFFFFA
2282 #define OBJID_SIZEGRIP 0xFFFFFFF9
2283 #define OBJID_CARET 0xFFFFFFF8
2284 #define OBJID_CURSOR 0xFFFFFFF7
2285 #define OBJID_ALERT 0xFFFFFFF6
2286 #define OBJID_SOUND 0xFFFFFFF5
2287 #define GUI_CARETBLINKING 0x00000001
2288 #define GUI_INMOVESIZE 0x00000002
2289 #define GUI_INMENUMODE 0x00000004
2290 #define GUI_SYSTEMMENUMODE 0x00000008
2291 #define GUI_POPUPMENUMODE 0x00000010
2292 #if (_WIN32_WINNT >= 0x0501)
2293 #define GUI_16BITTASK 0x00000020
2295 #define WINEVENT_OUTOFCONTEXT 0x0000
2296 #define WINEVENT_SKIPOWNTHREAD 0x0001
2297 #define WINEVENT_SKIPOWNPROCESS 0x0002
2298 #define WINEVENT_INCONTEXT 0x0004
2299 #define AW_HOR_POSITIVE 0x00000001
2300 #define AW_HOR_NEGATIVE 0x00000002
2301 #define AW_VER_POSITIVE 0x00000004
2302 #define AW_VER_NEGATIVE 0x00000008
2303 #define AW_CENTER 0x00000010
2304 #define AW_HIDE 0x00010000
2305 #define AW_ACTIVATE 0x00020000
2306 #define AW_SLIDE 0x00040000
2307 #define AW_BLEND 0x00080000
2308 #define DEVICE_NOTIFY_WINDOW_HANDLE 0x00000000
2309 #define DEVICE_NOTIFY_SERVICE_HANDLE 0x00000001
2310 #if (_WIN32_WINNT >= 0x0501)
2311 #define DEVICE_NOTIFY_ALL_INTERFACE_CLASSES 0x00000004
2313 #define EVENT_MIN 0x00000001
2314 #define EVENT_SYSTEM_SOUND 0x00000001
2315 #define EVENT_SYSTEM_ALERT 0x00000002
2316 #define EVENT_SYSTEM_FOREGROUND 0x00000003
2317 #define EVENT_SYSTEM_MENUSTART 0x00000004
2318 #define EVENT_SYSTEM_MENUEND 0x00000005
2319 #define EVENT_SYSTEM_MENUPOPUPSTART 0x00000006
2320 #define EVENT_SYSTEM_MENUPOPUPEND 0x00000007
2321 #define EVENT_SYSTEM_CAPTURESTART 0x00000008
2322 #define EVENT_SYSTEM_CAPTUREEND 0x00000009
2323 #define EVENT_SYSTEM_MOVESIZESTART 0x0000000a
2324 #define EVENT_SYSTEM_MOVESIZEEND 0x0000000b
2325 #define EVENT_SYSTEM_CONTEXTHELPSTART 0x0000000c
2326 #define EVENT_SYSTEM_CONTEXTHELPEND 0x0000000d
2327 #define EVENT_SYSTEM_DRAGDROPSTART 0x0000000e
2328 #define EVENT_SYSTEM_DRAGDROPEND 0x0000000f
2329 #define EVENT_SYSTEM_DIALOGSTART 0x00000010
2330 #define EVENT_SYSTEM_DIALOGEND 0x00000011
2331 #define EVENT_SYSTEM_SCROLLINGSTART 0x00000012
2332 #define EVENT_SYSTEM_SCROLLINGEND 0x00000013
2333 #define EVENT_SYSTEM_SWITCHSTART 0x00000014
2334 #define EVENT_SYSTEM_SWITCHEND 0x00000015
2335 #define EVENT_SYSTEM_MINIMIZESTART 0x00000016
2336 #define EVENT_SYSTEM_MINIMIZEEND 0x00000017
2337 #define EVENT_OBJECT_CREATE 0x00008000
2338 #define EVENT_OBJECT_DESTROY 0x00008001
2339 #define EVENT_OBJECT_SHOW 0x00008002
2340 #define EVENT_OBJECT_HIDE 0x00008003
2341 #define EVENT_OBJECT_REORDER 0x00008004
2342 #define EVENT_OBJECT_FOCUS 0x00008005
2343 #define EVENT_OBJECT_SELECTION 0x00008006
2344 #define EVENT_OBJECT_SELECTIONADD 0x00008007
2345 #define EVENT_OBJECT_SELECTIONREMOVE 0x00008008
2346 #define EVENT_OBJECT_SELECTIONWITHIN 0x00008009
2347 #define EVENT_OBJECT_STATECHANGE 0x0000800a
2348 #define EVENT_OBJECT_LOCATIONCHANGE 0x0000800b
2349 #define EVENT_OBJECT_NAMECHANGE 0x0000800c
2350 #define EVENT_OBJECT_DESCRIPTIONCHANGE 0x0000800d
2351 #define EVENT_OBJECT_VALUECHANGE 0x0000800e
2352 #define EVENT_OBJECT_PARENTCHANGE 0x0000800f
2353 #define EVENT_OBJECT_HELPCHANGE 0x00008010
2354 #define EVENT_OBJECT_DEFACTIONCHANGE 0x00008011
2355 #define EVENT_OBJECT_ACCELERATORCHANGE 0x00008012
2356 #if (_WIN32_WINNT >= 0x0501)
2357 #define EVENT_CONSOLE_CARET 0x00004001
2358 #define CONSOLE_CARET_SELECTION 0x00000001
2359 #define CONSOLE_CARET_VISIBLE 0x00000002
2360 #define EVENT_CONSOLE_UPDATE_REGION 0x00004002
2361 #define EVENT_CONSOLE_UPDATE_SIMPLE 0x00004003
2362 #define EVENT_CONSOLE_UPDATE_SCROLL 0x00004004
2363 #define EVENT_CONSOLE_LAYOUT 0x00004005
2364 #define EVENT_CONSOLE_START_APPLICATION 0x00004006
2365 #define CONSOLE_APPLICATION_16BIT 0x00000001
2366 #define EVENT_CONSOLE_END_APPLICATION 0x00004007
2367 #endif /* (_WIN32_WINNT >= 0x0501) */
2368 #define EVENT_MAX 0x7fffffff
2369 #endif /* (WINVER >= 0x0500) */
2370 #if (_WIN32_WINNT >= 0x0500 || _WIN32_WINDOWS >= 0x0490)
2371 #define ASFW_ANY ((DWORD)-1)
2373 #define LSFW_UNLOCK 2
2375 #if (_WIN32_WINNT >= 0x0500)
2376 #define LWA_COLORKEY 0x01
2377 #define LWA_ALPHA 0x02
2378 #define ULW_COLORKEY 0x01
2379 #define ULW_ALPHA 0x02
2380 #define ULW_OPAQUE 0x04
2384 #define GA_ROOTOWNER 3
2385 #if (_WIN32_WINNT >= 0x0500 || _WIN32_WINDOWS >= 0x0410)
2386 #define MONITOR_DEFAULTTONULL 0
2387 #define MONITOR_DEFAULTTOPRIMARY 1
2388 #define MONITOR_DEFAULTTONEAREST 2
2389 #define MONITORINFOF_PRIMARY 1
2390 #define EDS_RAWMODE 0x00000002
2391 #define ISMEX_NOSEND 0x00000000
2392 #define ISMEX_CALLBACK 0x00000004
2393 #define ISMEX_NOTIFY 0x00000002
2394 #define ISMEX_REPLIED 0x00000008
2395 #define ISMEX_SEND 0x00000001
2397 #if (_WIN32_WINNT >= 0x0500)
2398 #define GR_GDIOBJECTS 0
2399 #define GR_USEROBJECTS 1
2401 #if (_WIN32_WINNT >= 0x0500 || _WIN32_WINDOWS >= 0x0490)
2402 #define GMMP_USE_DISPLAY_POINTS 1
2403 #define GMMP_USE_HIGH_RESOLUTION_POINTS 2
2405 #if (_WIN32_WINNT >= 0x0500)
2406 #define XBUTTON1 0x0001
2407 #define XBUTTON2 0x0002
2409 #if (_WIN32_WINNT >= 0x0501)
2410 #define FE_FONTSMOOTHINGSTANDARD 0x0001
2411 #define FE_FONTSMOOTHINGCLEARTYPE 0x0002
2412 #define PW_CLIENTONLY 0x00000001
2413 #define RIM_INPUT 0x00000000
2414 #define RIM_INPUTSINK 0x00000001
2415 #define RIM_TYPEMOUSE 0x00000000
2416 #define RIM_TYPEKEYBOARD 0x00000001
2417 #define RIM_TYPEHID 0x00000002
2418 #define MOUSE_MOVE_RELATIVE 0x00000000
2419 #define MOUSE_MOVE_ABSOLUTE 0x00000001
2420 #define MOUSE_VIRTUAL_DESKTOP 0x00000002
2421 #define MOUSE_ATTRIBUTES_CHANGED 0x00000004
2422 #define RI_MOUSE_LEFT_BUTTON_DOWN 0x0001
2423 #define RI_MOUSE_LEFT_BUTTON_UP 0x0002
2424 #define RI_MOUSE_RIGHT_BUTTON_DOWN 0x0004
2425 #define RI_MOUSE_RIGHT_BUTTON_UP 0x0008
2426 #define RI_MOUSE_MIDDLE_BUTTON_DOWN 0x0010
2427 #define RI_MOUSE_MIDDLE_BUTTON_UP 0x0020
2428 #define RI_MOUSE_BUTTON_1_DOWN RI_MOUSE_LEFT_BUTTON_DOWN
2429 #define RI_MOUSE_BUTTON_1_UP RI_MOUSE_LEFT_BUTTON_UP
2430 #define RI_MOUSE_BUTTON_2_DOWN RI_MOUSE_RIGHT_BUTTON_DOWN
2431 #define RI_MOUSE_BUTTON_2_UP RI_MOUSE_RIGHT_BUTTON_UP
2432 #define RI_MOUSE_BUTTON_3_DOWN RI_MOUSE_MIDDLE_BUTTON_DOWN
2433 #define RI_MOUSE_BUTTON_3_UP RI_MOUSE_MIDDLE_BUTTON_UP
2434 #define RI_MOUSE_BUTTON_4_DOWN 0x0040
2435 #define RI_MOUSE_BUTTON_4_UP 0x0080
2436 #define RI_MOUSE_BUTTON_5_DOWN 0x0100
2437 #define RI_MOUSE_BUTTON_5_UP 0x0200
2438 #define RI_MOUSE_WHEEL 0x0400
2439 #define KEYBOARD_OVERRUN_MAKE_CODE 0x00ff
2440 #define RI_KEY_MAKE 0x0000
2441 #define RI_KEY_BREAK 0x0001
2442 #define RI_KEY_E0 0x0002
2443 #define RI_KEY_E1 0x0004
2444 #define RI_KEY_TERMSRV_SET_LED 0x0008
2445 #define RI_KEY_TERMSRV_SHADOW 0x0010
2446 #define RID_INPUT 0x10000003
2447 #define RID_HEADER 0x10000005
2448 #define RIDI_PREPARSEDDATA 0x20000005
2449 #define RIDI_DEVICENAME 0x20000007
2450 #define RIDI_DEVICEINFO 0x2000000b
2451 #define RIDEV_REMOVE 0x00000001
2452 #define RIDEV_EXCLUDE 0x00000010
2453 #define RIDEV_PAGEONLY 0x00000020
2454 #define RIDEV_NOLEGACY 0x00000030
2455 #define RIDEV_INPUTSINK 0x00000100
2456 #define RIDEV_CAPTUREMOUSE 0x00000200
2457 #define RIDEV_NOHOTKEYS 0x00000200
2458 #define RIDEV_APPKEYS 0x00000400
2462 typedef BOOL(CALLBACK
*DLGPROC
)(HWND
,UINT
,WPARAM
,LPARAM
);
2463 typedef VOID(CALLBACK
*TIMERPROC
)(HWND
,UINT
,UINT
,DWORD
);
2464 typedef BOOL(CALLBACK
*GRAYSTRINGPROC
)(HDC
,LPARAM
,int);
2465 typedef LRESULT(CALLBACK
*HOOKPROC
)(int,WPARAM
,LPARAM
);
2466 typedef BOOL(CALLBACK
*PROPENUMPROCA
)(HWND
,LPCSTR
,HANDLE
);
2467 typedef BOOL(CALLBACK
*PROPENUMPROCW
)(HWND
,LPCWSTR
,HANDLE
);
2468 typedef BOOL(CALLBACK
*PROPENUMPROCEXA
)(HWND
,LPSTR
,HANDLE
,DWORD
);
2469 typedef BOOL(CALLBACK
*PROPENUMPROCEXW
)(HWND
,LPWSTR
,HANDLE
,DWORD
);
2470 typedef int(CALLBACK
*EDITWORDBREAKPROCA
)(LPSTR
,int,int,int);
2471 typedef int(CALLBACK
*EDITWORDBREAKPROCW
)(LPWSTR
,int,int,int);
2472 typedef LRESULT(CALLBACK
*WNDPROC
)(HWND
,UINT
,WPARAM
,LPARAM
);
2473 typedef BOOL(CALLBACK
*DRAWSTATEPROC
)(HDC
,LPARAM
,WPARAM
,int,int);
2474 typedef BOOL(CALLBACK
*WNDENUMPROC
)(HWND
,LPARAM
);
2475 typedef BOOL(CALLBACK
*ENUMWINDOWSPROC
)(HWND
,LPARAM
);
2476 typedef BOOL(CALLBACK
* MONITORENUMPROC
)(HMONITOR
,HDC
,LPRECT
,LPARAM
);
2477 typedef BOOL(CALLBACK
*NAMEENUMPROCA
)(LPSTR
,LPARAM
);
2478 typedef BOOL(CALLBACK
*NAMEENUMPROCW
)(LPWSTR
,LPARAM
);
2479 typedef NAMEENUMPROCA DESKTOPENUMPROCA
;
2480 typedef NAMEENUMPROCW DESKTOPENUMPROCW
;
2481 typedef NAMEENUMPROCA WINSTAENUMPROCA
;
2482 typedef NAMEENUMPROCW WINSTAENUMPROCW
;
2483 typedef void(CALLBACK
*SENDASYNCPROC
)(HWND
,UINT
,DWORD
,LRESULT
);
2484 DECLARE_HANDLE(HHOOK
);
2485 DECLARE_HANDLE(HDWP
);
2486 DECLARE_HANDLE(HDEVNOTIFY
);
2487 typedef struct tagACCEL
{
2492 typedef struct tagACCESSTIMEOUT
{
2496 } ACCESSTIMEOUT
, *LPACCESSTIMEOUT
;
2497 typedef struct tagANIMATIONINFO
{
2500 } ANIMATIONINFO
,*LPANIMATIONINFO
;
2501 typedef struct tagCREATESTRUCTA
{
2502 LPVOID lpCreateParams
;
2503 HINSTANCE hInstance
;
2514 } CREATESTRUCTA
,*LPCREATESTRUCTA
;
2515 typedef struct tagCREATESTRUCTW
{
2516 LPVOID lpCreateParams
;
2517 HINSTANCE hInstance
;
2528 } CREATESTRUCTW
,*LPCREATESTRUCTW
;
2529 typedef struct tagCBT_CREATEWNDA
{
2530 LPCREATESTRUCTA lpcs
;
2531 HWND hwndInsertAfter
;
2532 } CBT_CREATEWNDA
, *LPCBT_CREATEWNDA
;
2533 typedef struct tagCBT_CREATEWNDW
{
2534 LPCREATESTRUCTW lpcs
;
2535 HWND hwndInsertAfter
;
2536 } CBT_CREATEWNDW
, *LPCBT_CREATEWNDW
;
2537 typedef struct tagCBTACTIVATESTRUCT
{
2540 } CBTACTIVATESTRUCT
,*LPCBTACTIVATESTRUCT
;
2541 typedef struct tagCLIENTCREATESTRUCT
{
2544 } CLIENTCREATESTRUCT
,*LPCLIENTCREATESTRUCT
;
2545 typedef struct tagCOMPAREITEMSTRUCT
{
2554 } COMPAREITEMSTRUCT
,*LPCOMPAREITEMSTRUCT
;
2555 typedef struct tagCOPYDATASTRUCT
{
2559 } COPYDATASTRUCT
,*PCOPYDATASTRUCT
;
2560 typedef struct tagCURSORSHAPE
{
2568 } CURSORSHAPE
,*LPCURSORSHAPE
;
2569 typedef struct tagCWPRETSTRUCT
{
2576 typedef struct tagCWPSTRUCT
{
2581 } CWPSTRUCT
,*PCWPSTRUCT
;
2582 typedef struct tagDEBUGHOOKINFO
{
2584 DWORD idThreadInstaller
;
2588 } DEBUGHOOKINFO
,*PDEBUGHOOKINFO
,*LPDEBUGHOOKINFO
;
2589 typedef struct tagDELETEITEMSTRUCT
{
2595 } DELETEITEMSTRUCT
,*PDELETEITEMSTRUCT
,*LPDELETEITEMSTRUCT
;
2596 #pragma pack(push,2)
2599 DWORD dwExtendedStyle
;
2605 } DLGITEMTEMPLATE
,*LPDLGITEMTEMPLATE
;
2608 DWORD dwExtendedStyle
;
2614 } DLGTEMPLATE
,*LPDLGTEMPLATE
,*LPDLGTEMPLATEA
,*LPDLGTEMPLATEW
;
2615 typedef const DLGTEMPLATE
*LPCDLGTEMPLATE
;
2617 typedef struct tagDRAWITEMSTRUCT
{
2627 } DRAWITEMSTRUCT
,*LPDRAWITEMSTRUCT
,*PDRAWITEMSTRUCT
;
2634 } DRAWTEXTPARAMS
,*LPDRAWTEXTPARAMS
;
2635 typedef struct tagPAINTSTRUCT
{
2641 BYTE rgbReserved
[32];
2642 } PAINTSTRUCT
,*LPPAINTSTRUCT
;
2643 typedef struct tagMSG
{
2651 typedef struct _ICONINFO
{
2657 } ICONINFO
,*PICONINFO
;
2658 typedef struct tagNMHDR
{
2663 typedef struct _WNDCLASSA
{
2665 WNDPROC lpfnWndProc
;
2668 HINSTANCE hInstance
;
2671 HBRUSH hbrBackground
;
2672 LPCSTR lpszMenuName
;
2673 LPCSTR lpszClassName
;
2674 } WNDCLASSA
,*LPWNDCLASSA
,*PWNDCLASSA
;
2675 typedef struct _WNDCLASSW
{
2677 WNDPROC lpfnWndProc
;
2680 HINSTANCE hInstance
;
2683 HBRUSH hbrBackground
;
2684 LPCWSTR lpszMenuName
;
2685 LPCWSTR lpszClassName
;
2686 } WNDCLASSW
,*LPWNDCLASSW
,*PWNDCLASSW
;
2687 typedef struct _WNDCLASSEXA
{
2690 WNDPROC lpfnWndProc
;
2693 HINSTANCE hInstance
;
2696 HBRUSH hbrBackground
;
2697 LPCSTR lpszMenuName
;
2698 LPCSTR lpszClassName
;
2700 } WNDCLASSEXA
,*LPWNDCLASSEXA
,*PWNDCLASSEXA
;
2701 typedef struct _WNDCLASSEXW
{
2704 WNDPROC lpfnWndProc
;
2707 HINSTANCE hInstance
;
2710 HBRUSH hbrBackground
;
2711 LPCWSTR lpszMenuName
;
2712 LPCWSTR lpszClassName
;
2714 } WNDCLASSEXW
,*LPWNDCLASSEXW
,*PWNDCLASSEXW
;
2715 typedef struct tagMENUITEMINFOA
{
2722 HBITMAP hbmpChecked
;
2723 HBITMAP hbmpUnchecked
;
2727 #if (_WIN32_WINNT >= 0x0500)
2730 } MENUITEMINFOA
,*LPMENUITEMINFOA
;
2731 typedef const MENUITEMINFOA
*LPCMENUITEMINFOA
;
2732 typedef struct tagMENUITEMINFOW
{
2739 HBITMAP hbmpChecked
;
2740 HBITMAP hbmpUnchecked
;
2744 #if (_WIN32_WINNT >= 0x0500)
2747 } MENUITEMINFOW
,*LPMENUITEMINFOW
;
2748 typedef const MENUITEMINFOW
*LPCMENUITEMINFOW
;
2749 typedef struct tagSCROLLINFO
{
2757 } SCROLLINFO
,*LPSCROLLINFO
;
2758 typedef const SCROLLINFO
*LPCSCROLLINFO
;
2759 typedef struct _WINDOWPLACEMENT
{
2763 POINT ptMinPosition
;
2764 POINT ptMaxPosition
;
2765 RECT rcNormalPosition
;
2766 } WINDOWPLACEMENT
,*LPWINDOWPLACEMENT
,*PWINDOWPLACEMENT
;
2770 } MENUITEMTEMPLATEHEADER
;
2776 typedef void MENUTEMPLATE
,MENUTEMPLATEA
,MENUTEMPLATEW
,*LPMENUTEMPLATEA
,*LPMENUTEMPLATEW
,*LPMENUTEMPLATE
;
2777 typedef struct tagHELPINFO
{
2784 } HELPINFO
,*LPHELPINFO
;
2785 typedef void(CALLBACK
*MSGBOXCALLBACK
)(LPHELPINFO
);
2789 HINSTANCE hInstance
;
2794 DWORD dwContextHelpId
;
2795 MSGBOXCALLBACK lpfnMsgBoxCallback
;
2797 } MSGBOXPARAMSA
,*PMSGBOXPARAMSA
,*LPMSGBOXPARAMSA
;
2801 HINSTANCE hInstance
;
2803 LPCWSTR lpszCaption
;
2806 DWORD dwContextHelpId
;
2807 MSGBOXCALLBACK lpfnMsgBoxCallback
;
2809 } MSGBOXPARAMSW
,*PMSGBOXPARAMSW
,*LPMSGBOXPARAMSW
;
2810 typedef struct tagUSEROBJECTFLAGS
{
2815 typedef struct tagFILTERKEYS
{
2823 typedef struct tagHIGHCONTRASTA
{
2826 LPSTR lpszDefaultScheme
;
2827 } HIGHCONTRASTA
,*LPHIGHCONTRASTA
;
2828 typedef struct tagHIGHCONTRASTW
{
2831 LPWSTR lpszDefaultScheme
;
2832 } HIGHCONTRASTW
,*LPHIGHCONTRASTW
;
2834 typedef struct tagICONMETRICSA
{
2840 } ICONMETRICSA
,*LPICONMETRICSA
;
2841 typedef struct tagICONMETRICSW
{
2847 } ICONMETRICSW
,*LPICONMETRICSW
;
2849 typedef struct tagMINIMIZEDMETRICS
{
2855 } MINIMIZEDMETRICS
,*LPMINIMIZEDMETRICS
;
2856 typedef struct tagMOUSEKEYS
{
2860 DWORD iTimeToMaxSpeed
;
2864 } MOUSEKEYS
,*LPMOUSEKEYS
;
2866 typedef struct tagNONCLIENTMETRICSA
{
2873 LOGFONTA lfCaptionFont
;
2874 int iSmCaptionWidth
;
2875 int iSmCaptionHeight
;
2876 LOGFONTA lfSmCaptionFont
;
2879 LOGFONTA lfMenuFont
;
2880 LOGFONTA lfStatusFont
;
2881 LOGFONTA lfMessageFont
;
2882 } NONCLIENTMETRICSA
,*LPNONCLIENTMETRICSA
;
2883 typedef struct tagNONCLIENTMETRICSW
{
2890 LOGFONTW lfCaptionFont
;
2891 int iSmCaptionWidth
;
2892 int iSmCaptionHeight
;
2893 LOGFONTW lfSmCaptionFont
;
2896 LOGFONTW lfMenuFont
;
2897 LOGFONTW lfStatusFont
;
2898 LOGFONTW lfMessageFont
;
2899 } NONCLIENTMETRICSW
,*LPNONCLIENTMETRICSW
;
2901 typedef struct tagSERIALKEYSA
{
2904 LPSTR lpszActivePort
;
2909 } SERIALKEYSA
,*LPSERIALKEYSA
;
2910 typedef struct tagSERIALKEYSW
{
2913 LPWSTR lpszActivePort
;
2918 } SERIALKEYSW
,*LPSERIALKEYSW
;
2919 typedef struct tagSOUNDSENTRYA
{
2922 DWORD iFSTextEffect
;
2923 DWORD iFSTextEffectMSec
;
2924 DWORD iFSTextEffectColorBits
;
2925 DWORD iFSGrafEffect
;
2926 DWORD iFSGrafEffectMSec
;
2927 DWORD iFSGrafEffectColor
;
2928 DWORD iWindowsEffect
;
2929 DWORD iWindowsEffectMSec
;
2930 LPSTR lpszWindowsEffectDLL
;
2931 DWORD iWindowsEffectOrdinal
;
2932 } SOUNDSENTRYA
,*LPSOUNDSENTRYA
;
2933 typedef struct tagSOUNDSENTRYW
{
2936 DWORD iFSTextEffect
;
2937 DWORD iFSTextEffectMSec
;
2938 DWORD iFSTextEffectColorBits
;
2939 DWORD iFSGrafEffect
;
2940 DWORD iFSGrafEffectMSec
;
2941 DWORD iFSGrafEffectColor
;
2942 DWORD iWindowsEffect
;
2943 DWORD iWindowsEffectMSec
;
2944 LPWSTR lpszWindowsEffectDLL
;
2945 DWORD iWindowsEffectOrdinal
;
2946 } SOUNDSENTRYW
,*LPSOUNDSENTRYW
;
2947 typedef struct tagSTICKYKEYS
{
2950 } STICKYKEYS
,*LPSTICKYKEYS
;
2951 typedef struct tagTOGGLEKEYS
{
2955 typedef struct tagMOUSEHOOKSTRUCT
{
2960 } MOUSEHOOKSTRUCT
,*LPMOUSEHOOKSTRUCT
,*PMOUSEHOOKSTRUCT
;
2961 typedef struct tagTRACKMOUSEEVENT
{
2966 } TRACKMOUSEEVENT
,*LPTRACKMOUSEEVENT
;
2967 typedef struct tagTPMPARAMS
{
2970 } TPMPARAMS
,*LPTPMPARAMS
;
2971 typedef struct tagEVENTMSG
{
2977 } EVENTMSG
,*PEVENTMSGMSG
,*LPEVENTMSGMSG
,*PEVENTMSG
,*LPEVENTMSG
;
2978 typedef struct _WINDOWPOS
{
2980 HWND hwndInsertAfter
;
2986 } WINDOWPOS
,*PWINDOWPOS
,*LPWINDOWPOS
;
2987 typedef struct tagNCCALCSIZE_PARAMS
{
2990 } NCCALCSIZE_PARAMS
, *LPNCCALCSIZE_PARAMS
;
2991 typedef struct tagMDICREATESTRUCTA
{
3001 } MDICREATESTRUCTA
,*LPMDICREATESTRUCTA
;
3002 typedef struct tagMDICREATESTRUCTW
{
3012 } MDICREATESTRUCTW
,*LPMDICREATESTRUCTW
;
3013 typedef struct tagMINMAXINFO
{
3016 POINT ptMaxPosition
;
3017 POINT ptMinTrackSize
;
3018 POINT ptMaxTrackSize
;
3019 } MINMAXINFO
,*PMINMAXINFO
,*LPMINMAXINFO
;
3020 typedef struct tagMDINEXTMENU
{
3024 } MDINEXTMENU
,*PMDINEXTMENU
,*LPMDINEXTMENU
;
3025 typedef struct tagMEASUREITEMSTRUCT
{
3032 } MEASUREITEMSTRUCT
,*PMEASUREITEMSTRUCT
,*LPMEASUREITEMSTRUCT
;
3033 typedef struct tagDROPSTRUCT
{
3039 DWORD dwControlData
;
3040 } DROPSTRUCT
,*PDROPSTRUCT
,*LPDROPSTRUCT
;
3041 typedef DWORD HELPPOLY
;
3042 typedef struct tagMULTIKEYHELPA
{
3045 CHAR szKeyphrase
[1];
3046 } MULTIKEYHELPA
,*PMULTIKEYHELPA
,*LPMULTIKEYHELPA
;
3047 typedef struct tagMULTIKEYHELPW
{
3050 WCHAR szKeyphrase
[1];
3051 } MULTIKEYHELPW
,*PMULTIKEYHELPW
,*LPMULTIKEYHELPW
;
3052 typedef struct tagHELPWININFOA
{
3060 } HELPWININFOA
,*PHELPWININFOA
,*LPHELPWININFOA
;
3061 typedef struct tagHELPWININFOW
{
3068 WCHAR rgchMember
[2];
3069 } HELPWININFOW
,*PHELPWININFOW
,*LPHELPWININFOW
;
3070 typedef struct tagSTYLESTRUCT
{
3073 } STYLESTRUCT
,*LPSTYLESTRUCT
;
3074 typedef struct tagALTTABINFO
{
3084 } ALTTABINFO
,*PALTTABINFO
,*LPALTTABINFO
;
3085 typedef struct tagCOMBOBOXINFO
{
3093 } COMBOBOXINFO
,*PCOMBOBOXINFO
,*LPCOMBOBOXINFO
;
3094 typedef struct tagCURSORINFO
{
3099 } CURSORINFO
,*PCURSORINFO
,*LPCURSORINFO
;
3100 typedef struct tagMENUBARINFO
{
3107 } MENUBARINFO
,*PMENUBARINFO
;
3108 typedef struct tagMENUINFO
{
3114 DWORD dwContextHelpID
;
3115 ULONG_PTR dwMenuData
;
3116 } MENUINFO
,*LPMENUINFO
;
3117 typedef MENUINFO CONST
*LPCMENUINFO
;
3118 #define CCHILDREN_SCROLLBAR 5
3119 typedef struct tagSCROLLBARINFO
{
3126 DWORD rgstate
[CCHILDREN_SCROLLBAR
+1];
3127 } SCROLLBARINFO
,*PSCROLLBARINFO
,*LPSCROLLBARINFO
;
3128 #if (_WIN32_WINDOWS >= 0x0410)
3129 #define CCHILDREN_TITLEBAR 5
3130 typedef struct tagTITLEBARINFO
{
3133 DWORD rgstate
[CCHILDREN_TITLEBAR
+1];
3134 } TITLEBARINFO
,*PTITLEBARINFO
,*LPTITLEBARINFO
;
3136 typedef struct tagWINDOWINFO
{
3142 DWORD dwWindowStatus
;
3143 UINT cxWindowBorders
;
3144 UINT cyWindowBorders
;
3145 ATOM atomWindowType
;
3146 WORD wCreatorVersion
;
3147 } WINDOWINFO
,*PWINDOWINFO
,*LPWINDOWINFO
;
3148 typedef struct tagLASTINPUTINFO
{
3151 } LASTINPUTINFO
,*PLASTINPUTINFO
;
3152 typedef struct tagMONITORINFO
{
3157 } MONITORINFO
,*LPMONITORINFO
;
3158 #define CCHDEVICENAME 32
3160 typedef struct tagMONITORINFOEXA
: public tagMONITORINFO
3162 CHAR szDevice
[CCHDEVICENAME
];
3163 } MONITORINFOEXA
, *LPMONITORINFOEXA
;
3164 typedef struct tagMONITORINFOEXW
: public tagMONITORINFO
3166 WCHAR szDevice
[CCHDEVICENAME
];
3167 } MONITORINFOEXW
, *LPMONITORINFOEXW
;
3169 typedef struct tagMONITORINFOEXA
{
3174 CHAR szDevice
[CCHDEVICENAME
];
3175 } MONITORINFOEXA
,*LPMONITORINFOEXA
;
3176 typedef struct tagMONITORINFOEXW
{
3181 WCHAR szDevice
[CCHDEVICENAME
];
3182 } MONITORINFOEXW
,*LPMONITORINFOEXW
;
3183 #endif /* __cplusplus */
3184 typedef struct tagKBDLLHOOKSTRUCT
{
3190 } KBDLLHOOKSTRUCT
,*LPKBDLLHOOKSTRUCT
,*PKBDLLHOOKSTRUCT
;
3191 #if (_WIN32_WINNT >= 0x0500 || _WIN32_WINDOWS >= 0x0410)
3198 } FLASHWINFO
,*PFLASHWINFO
;
3199 #endif /* (WINVER >= 0x0500 || _WIN32_WINDOWS >= 0x0410) */
3200 #if (_WIN32_WINNT >= 0x0500 || _WIN32_WINDOWS >= 0x0490)
3201 typedef struct tagMOUSEMOVEPOINT
{
3205 ULONG_PTR dwExtraInfo
;
3206 } MOUSEMOVEPOINT
,*PMOUSEMOVEPOINT
,*LPMOUSEMOVEPOINT
;
3208 #if (_WIN32_WINNT >= 0x0403)
3209 typedef struct tagMOUSEINPUT
{
3215 ULONG_PTR dwExtraInfo
;
3216 } MOUSEINPUT
,*PMOUSEINPUT
;
3217 typedef struct tagKEYBDINPUT
{
3222 ULONG_PTR dwExtraInfo
;
3223 } KEYBDINPUT
,*PKEYBDINPUT
;
3224 typedef struct tagHARDWAREINPUT
{
3228 } HARDWAREINPUT
,*PHARDWAREINPUT
;
3229 typedef struct tagINPUT
{
3231 _ANONYMOUS_UNION
union {
3236 } INPUT
,*PINPUT
,*LPINPUT
;
3237 #endif /* (_WIN32_WINNT >= 0x0403) */
3238 #if (WINVER >= 0x0500)
3239 typedef struct tagGUITHREADINFO
{
3249 } GUITHREADINFO
,*PGUITHREADINFO
,*LPGUITHREADINFO
;
3250 typedef VOID (*WINEVENTPROC
)(HWINEVENTHOOK
,DWORD
,HWND
,LONG
,LONG
,DWORD
,DWORD
);
3251 #endif /* (WINVER >= 0x0500) */
3252 #if (_WIN32_WINNT >= 0x0501)
3258 } BSMINFO
,*PBSMINFO
;
3259 DECLARE_HANDLE(HRAWINPUT
);
3260 typedef struct tagRAWINPUTHEADER
{
3265 } RAWINPUTHEADER
,*PRAWINPUTHEADER
;
3266 typedef struct tagRAWMOUSE
{
3268 _ANONYMOUS_UNION
union {
3270 _ANONYMOUS_STRUCT
struct {
3271 USHORT usButtonFlags
;
3272 USHORT usButtonData
;
3278 ULONG ulExtraInformation
;
3279 } RAWMOUSE
,*PRAWMOUSE
,*LPRAWMOUSE
;
3280 typedef struct tagRAWKEYBOARD
{
3286 ULONG ExtraInformation
;
3287 } RAWKEYBOARD
,*PRAWKEYBOARD
,*LPRAWKEYBOARD
;
3288 typedef struct tagRAWHID
{
3292 } RAWHID
,*PRAWHID
,*LPRAWHID
;
3293 typedef struct tagRAWINPUT
{
3294 RAWINPUTHEADER header
;
3297 RAWKEYBOARD keyboard
;
3300 } RAWINPUT
,*PRAWINPUT
,*LPRAWINPUT
;
3301 typedef struct tagRAWINPUTDEVICE
{
3306 } RAWINPUTDEVICE
,*PRAWINPUTDEVICE
,*LPRAWINPUTDEVICE
;
3307 typedef const RAWINPUTDEVICE
*PCRAWINPUTDEVICE
;
3308 typedef struct tagRAWINPUTDEVICELIST
{
3311 } RAWINPUTDEVICELIST
,*PRAWINPUTDEVICELIST
;
3312 typedef struct tagRID_DEVICE_INFO_MOUSE
{
3314 DWORD dwNumberOfButtons
;
3316 BOOL fHasHorizontalWheel
;
3317 } RID_DEVICE_INFO_MOUSE
, *PRID_DEVICE_INFO_MOUSE
;
3318 typedef struct tagRID_DEVICE_INFO_KEYBOARD
{
3321 DWORD dwKeyboardMode
;
3322 DWORD dwNumberOfFunctionKeys
;
3323 DWORD dwNumberOfIndicators
;
3324 DWORD dwNumberOfKeysTotal
;
3325 } RID_DEVICE_INFO_KEYBOARD
, *PRID_DEVICE_INFO_KEYBOARD
;
3326 typedef struct tagRID_DEVICE_INFO_HID
{
3329 DWORD dwVersionNumber
;
3332 } RID_DEVICE_INFO_HID
, *PRID_DEVICE_INFO_HID
;
3333 typedef struct tagRID_DEVICE_INFO
{
3336 _ANONYMOUS_UNION
union {
3337 RID_DEVICE_INFO_MOUSE mouse
;
3338 RID_DEVICE_INFO_KEYBOARD keyboard
;
3339 RID_DEVICE_INFO_HID hid
;
3341 } RID_DEVICE_INFO
, *PRID_DEVICE_INFO
, *LPRID_DEVICE_INFO
;
3342 #endif /* (_WIN32_WINNT >= 0x0501) */
3349 ULONG_PTR dwExtraInfo
;
3350 } MSLLHOOKSTRUCT
, *PMSLLHOOKSTRUCT
;
3352 #define AnsiToOem CharToOemA
3353 #define OemToAnsi OemToCharA
3354 #define AnsiToOemBuff CharToOemBuffA
3355 #define OemToAnsiBuff OemToCharBuffA
3356 #define AnsiUpper CharUpperA
3357 #define AnsiUpperBuff CharUpperBuffA
3358 #define AnsiLower CharLowerA
3359 #define AnsiLowerBuff CharLowerBuffA
3360 #define AnsiNext CharNextA
3361 #define AnsiPrev CharPrevA
3362 #define MAKELPARAM(l,h) ((LPARAM)MAKELONG(l,h))
3363 #define MAKEWPARAM(l,h) ((WPARAM)MAKELONG(l,h))
3364 #define MAKELRESULT(l,h) ((LRESULT)MAKELONG(l,h))
3365 #define POINTSTOPOINT(p,ps) { \
3366 (p).x=LOWORD(*(DWORD *)&ps); \
3367 (p).y=HIWORD(*(DWORD *)&ps); \
3369 #define POINTTOPOINTS(p) ((POINTS)MAKELONG((p).x,(p).y))
3371 WINUSERAPI HKL WINAPI
ActivateKeyboardLayout(HKL
,UINT
);
3372 WINUSERAPI BOOL WINAPI
AdjustWindowRect(LPRECT
,DWORD
,BOOL
);
3373 WINUSERAPI BOOL WINAPI
AdjustWindowRectEx(LPRECT
,DWORD
,BOOL
,DWORD
);
3374 #if (_WIN32_WINNT >= 0x0500)
3375 WINUSERAPI BOOL WINAPI
AnimateWindow(HWND
,DWORD
,DWORD
);
3376 #endif /* (_WIN32_WINNT >= 0x0500) */
3377 WINUSERAPI BOOL WINAPI
AnyPopup(void);
3378 WINUSERAPI BOOL WINAPI
AppendMenuA(HMENU
,UINT
,UINT_PTR
,LPCSTR
);
3379 WINUSERAPI BOOL WINAPI
AppendMenuW(HMENU
,UINT
,UINT_PTR
,LPCWSTR
);
3380 WINUSERAPI UINT WINAPI
ArrangeIconicWindows(HWND
);
3381 WINUSERAPI BOOL WINAPI
AttachThreadInput(DWORD
,DWORD
,BOOL
);
3382 WINUSERAPI HDWP WINAPI
BeginDeferWindowPos(int);
3383 WINUSERAPI HDC WINAPI
BeginPaint(HWND
,LPPAINTSTRUCT
);
3384 WINUSERAPI BOOL WINAPI
BringWindowToTop(HWND
);
3385 WINUSERAPI
long WINAPI
BroadcastSystemMessage(DWORD
,LPDWORD
,UINT
,WPARAM
,LPARAM
);
3386 #if (_WIN32_WINNT >= 0x0400)
3387 WINUSERAPI
long WINAPI
BroadcastSystemMessageA(DWORD
,LPDWORD
,UINT
,WPARAM
,LPARAM
);
3388 WINUSERAPI
long WINAPI
BroadcastSystemMessageW(DWORD
,LPDWORD
,UINT
,WPARAM
,LPARAM
);
3389 #endif /* (_WIN32_WINNT >= 0x0400) */
3390 #if (_WIN32_WINNT >= 0x0501)
3391 WINUSERAPI
long WINAPI
BroadcastSystemMessageExA(DWORD
,LPDWORD
,UINT
,WPARAM
,LPARAM
,PBSMINFO
);
3392 WINUSERAPI
long WINAPI
BroadcastSystemMessageExW(DWORD
,LPDWORD
,UINT
,WPARAM
,LPARAM
,PBSMINFO
);
3393 #endif /* (_WIN32_WINNT >= 0x0501) */
3394 WINUSERAPI BOOL WINAPI
CallMsgFilterA(LPMSG
,INT
);
3395 WINUSERAPI BOOL WINAPI
CallMsgFilterW(LPMSG
,INT
);
3396 WINUSERAPI LRESULT WINAPI
CallNextHookEx(HHOOK
,int,WPARAM
,LPARAM
);
3397 WINUSERAPI LRESULT WINAPI
CallWindowProcA(WNDPROC
,HWND
,UINT
,WPARAM
,LPARAM
);
3398 WINUSERAPI LRESULT WINAPI
CallWindowProcW(WNDPROC
,HWND
,UINT
,WPARAM
,LPARAM
);
3399 WINUSERAPI WORD WINAPI
CascadeWindows(HWND
,UINT
,LPCRECT
,UINT
,const HWND
*);
3400 WINUSERAPI BOOL WINAPI
ChangeClipboardChain(HWND
,HWND
);
3402 WINUSERAPI LONG WINAPI
ChangeDisplaySettingsA(PDEVMODEA
,DWORD
);
3403 WINUSERAPI LONG WINAPI
ChangeDisplaySettingsW(PDEVMODEW
,DWORD
);
3404 WINUSERAPI LONG WINAPI
ChangeDisplaySettingsExA(LPCSTR
,LPDEVMODEA
,HWND
,DWORD
,LPVOID
);
3405 WINUSERAPI LONG WINAPI
ChangeDisplaySettingsExW(LPCWSTR
,LPDEVMODEW
,HWND
,DWORD
,LPVOID
);
3407 WINUSERAPI BOOL WINAPI
ChangeMenuA(HMENU
,UINT
,LPCSTR
,UINT
,UINT
);
3408 WINUSERAPI BOOL WINAPI
ChangeMenuW(HMENU
,UINT
,LPCWSTR
,UINT
,UINT
);
3409 WINUSERAPI LPSTR WINAPI
CharLowerA(LPSTR
);
3410 WINUSERAPI LPWSTR WINAPI
CharLowerW(LPWSTR
);
3411 WINUSERAPI DWORD WINAPI
CharLowerBuffA(LPSTR
,DWORD
);
3412 WINUSERAPI DWORD WINAPI
CharLowerBuffW(LPWSTR
,DWORD
);
3413 WINUSERAPI LPSTR WINAPI
CharNextA(LPCSTR
);
3414 WINUSERAPI LPWSTR WINAPI
CharNextW(LPCWSTR
);
3415 WINUSERAPI LPSTR WINAPI
CharNextExA(WORD
,LPCSTR
,DWORD
);
3416 WINUSERAPI LPSTR WINAPI
CharPrevA(LPCSTR
,LPCSTR
);
3417 WINUSERAPI LPWSTR WINAPI
CharPrevW(LPCWSTR
,LPCWSTR
);
3418 WINUSERAPI LPSTR WINAPI
CharPrevExA(WORD
,LPCSTR
,LPCSTR
,DWORD
);
3419 WINUSERAPI BOOL WINAPI
CharToOemA(LPCSTR
,LPSTR
);
3420 WINUSERAPI BOOL WINAPI
CharToOemW(LPCWSTR
,LPSTR
);
3421 WINUSERAPI BOOL WINAPI
CharToOemBuffA(LPCSTR
,LPSTR
,DWORD
);
3422 WINUSERAPI BOOL WINAPI
CharToOemBuffW(LPCWSTR
,LPSTR
,DWORD
);
3423 WINUSERAPI LPSTR WINAPI
CharUpperA(LPSTR
);
3424 WINUSERAPI LPWSTR WINAPI
CharUpperW(LPWSTR
);
3425 WINUSERAPI DWORD WINAPI
CharUpperBuffA(LPSTR
,DWORD
);
3426 WINUSERAPI DWORD WINAPI
CharUpperBuffW(LPWSTR
,DWORD
);
3427 WINUSERAPI BOOL WINAPI
CheckDlgButton(HWND
,int,UINT
);
3428 WINUSERAPI DWORD WINAPI
CheckMenuItem(HMENU
,UINT
,UINT
);
3429 WINUSERAPI BOOL WINAPI
CheckMenuRadioItem(HMENU
,UINT
,UINT
,UINT
,UINT
);
3430 WINUSERAPI BOOL WINAPI
CheckRadioButton(HWND
,int,int,int);
3431 WINUSERAPI HWND WINAPI
ChildWindowFromPoint(HWND
,POINT
);
3432 WINUSERAPI HWND WINAPI
ChildWindowFromPointEx(HWND
,POINT
,UINT
);
3433 WINUSERAPI BOOL WINAPI
ClientToScreen(HWND
,LPPOINT
);
3434 WINUSERAPI BOOL WINAPI
ClipCursor(LPCRECT
);
3435 WINUSERAPI BOOL WINAPI
CloseClipboard(void);
3436 WINUSERAPI BOOL WINAPI
CloseDesktop(HDESK
);
3437 WINUSERAPI BOOL WINAPI
CloseWindow(HWND
);
3438 WINUSERAPI BOOL WINAPI
CloseWindowStation(HWINSTA
);
3439 WINUSERAPI
int WINAPI
CopyAcceleratorTableA(HACCEL
,LPACCEL
,int);
3440 WINUSERAPI
int WINAPI
CopyAcceleratorTableW(HACCEL
,LPACCEL
,int);
3441 #define CopyCursor(c) ((HCURSOR)CopyIcon((HICON)(c)))
3442 WINUSERAPI HICON WINAPI
CopyIcon(HICON
);
3443 WINUSERAPI HANDLE WINAPI
CopyImage(HANDLE
,UINT
,int,int,UINT
);
3444 WINUSERAPI BOOL WINAPI
CopyRect(LPRECT
,LPCRECT
);
3445 WINUSERAPI
int WINAPI
CountClipboardFormats(void);
3446 WINUSERAPI HACCEL WINAPI
CreateAcceleratorTableA(LPACCEL
,int);
3447 WINUSERAPI HACCEL WINAPI
CreateAcceleratorTableW(LPACCEL
,int);
3448 WINUSERAPI BOOL WINAPI
CreateCaret(HWND
,HBITMAP
,int,int);
3449 WINUSERAPI HCURSOR WINAPI
CreateCursor(HINSTANCE
,int,int,int,int,PCVOID
,PCVOID
);
3451 WINUSERAPI HDESK WINAPI
CreateDesktopA(LPCSTR
,LPCSTR
,LPDEVMODEA
,DWORD
,ACCESS_MASK
,LPSECURITY_ATTRIBUTES
);
3452 WINUSERAPI HDESK WINAPI
CreateDesktopW(LPCWSTR
,LPCWSTR
,LPDEVMODEW
,DWORD
,ACCESS_MASK
,LPSECURITY_ATTRIBUTES
);
3454 #define CreateDialogA(h,n,w,f) CreateDialogParamA(h,n,w,f,0)
3455 #define CreateDialogW(h,n,w,f) CreateDialogParamW(h,n,w,f,0)
3456 #define CreateDialogIndirectA(h,t,w,f) CreateDialogIndirectParamA(h,t,w,f,0)
3457 #define CreateDialogIndirectW(h,t,w,f) CreateDialogIndirectParamW(h,t,w,f,0)
3458 WINUSERAPI HWND WINAPI
CreateDialogIndirectParamA(HINSTANCE
,LPCDLGTEMPLATE
,HWND
,DLGPROC
,LPARAM
);
3459 WINUSERAPI HWND WINAPI
CreateDialogIndirectParamW(HINSTANCE
,LPCDLGTEMPLATE
,HWND
,DLGPROC
,LPARAM
);
3460 WINUSERAPI HWND WINAPI
CreateDialogParamA(HINSTANCE
,LPCSTR
,HWND
,DLGPROC
,LPARAM
);
3461 WINUSERAPI HWND WINAPI
CreateDialogParamW(HINSTANCE
,LPCWSTR
,HWND
,DLGPROC
,LPARAM
);
3462 WINUSERAPI HICON WINAPI
CreateIcon(HINSTANCE
,int,int,BYTE
,BYTE
,const BYTE
*,const BYTE
*);
3463 WINUSERAPI HICON WINAPI
CreateIconFromResource(PBYTE
,DWORD
,BOOL
,DWORD
);
3464 WINUSERAPI HICON WINAPI
CreateIconFromResourceEx(PBYTE
,DWORD
,BOOL
,DWORD
,int,int,UINT
);
3465 WINUSERAPI HICON WINAPI
CreateIconIndirect(PICONINFO
);
3466 WINUSERAPI HWND WINAPI
CreateMDIWindowA(LPCSTR
,LPCSTR
,DWORD
,int,int,int,int,HWND
,HINSTANCE
,LPARAM
);
3467 WINUSERAPI HWND WINAPI
CreateMDIWindowW(LPCWSTR
,LPCWSTR
,DWORD
,int,int,int,int,HWND
,HINSTANCE
,LPARAM
);
3468 WINUSERAPI HMENU WINAPI
CreateMenu(void);
3469 WINUSERAPI HMENU WINAPI
CreatePopupMenu(void);
3470 #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)
3471 #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)
3472 WINUSERAPI HWND WINAPI
CreateWindowExA(DWORD
,LPCSTR
,LPCSTR
,DWORD
,int,int,int,int,HWND
,HMENU
,HINSTANCE
,LPVOID
);
3473 WINUSERAPI HWND WINAPI
CreateWindowExW(DWORD
,LPCWSTR
,LPCWSTR
,DWORD
,int,int,int,int,HWND
,HMENU
,HINSTANCE
,LPVOID
);
3474 WINUSERAPI HWINSTA WINAPI
CreateWindowStationA(LPCSTR
,DWORD
,DWORD
,LPSECURITY_ATTRIBUTES
);
3475 WINUSERAPI HWINSTA WINAPI
CreateWindowStationW(LPCWSTR
,DWORD
,DWORD
,LPSECURITY_ATTRIBUTES
);
3476 WINUSERAPI LRESULT WINAPI
DefDlgProcA(HWND
,UINT
,WPARAM
,LPARAM
);
3477 WINUSERAPI LRESULT WINAPI
DefDlgProcW(HWND
,UINT
,WPARAM
,LPARAM
);
3478 WINUSERAPI HDWP WINAPI
DeferWindowPos(HDWP
,HWND
,HWND
,int,int,int,int,UINT
);
3479 WINUSERAPI LRESULT WINAPI
DefFrameProcA(HWND
,HWND
,UINT
,WPARAM
,LPARAM
);
3480 WINUSERAPI LRESULT WINAPI
DefFrameProcW(HWND
,HWND
,UINT
,WPARAM
,LPARAM
);
3481 #define DefHookProc(c,p,lp,h) CallNextHookEx((HHOOK)*h,c,p,lp)
3482 WINUSERAPI LRESULT WINAPI
DefMDIChildProcA(HWND
,UINT
,WPARAM
,LPARAM
);
3483 WINUSERAPI LRESULT WINAPI
DefMDIChildProcW(HWND
,UINT
,WPARAM
,LPARAM
);
3484 #if (_WIN32_WINNT >= 0x0501)
3485 WINUSERAPI LRESULT WINAPI
DefRawInputProc(PRAWINPUT
*,INT
,UINT
);
3487 WINUSERAPI LRESULT WINAPI
DefWindowProcA(HWND
,UINT
,WPARAM
,LPARAM
);
3488 WINUSERAPI LRESULT WINAPI
DefWindowProcW(HWND
,UINT
,WPARAM
,LPARAM
);
3489 WINUSERAPI BOOL WINAPI
DeleteMenu(HMENU
,UINT
,UINT
);
3490 WINUSERAPI BOOL WINAPI
DeregisterShellHookWindow(HWND
);
3491 WINUSERAPI BOOL WINAPI
DestroyAcceleratorTable(HACCEL
);
3492 WINUSERAPI BOOL WINAPI
DestroyCaret(void);
3493 WINUSERAPI BOOL WINAPI
DestroyCursor(HCURSOR
);
3494 WINUSERAPI BOOL WINAPI
DestroyIcon(HICON
);
3495 WINUSERAPI BOOL WINAPI
DestroyMenu(HMENU
);
3496 WINUSERAPI BOOL WINAPI
DestroyWindow(HWND
);
3497 #define DialogBoxA(i,t,p,f) DialogBoxParamA(i,t,p,f,0)
3498 #define DialogBoxW(i,t,p,f) DialogBoxParamW(i,t,p,f,0)
3499 #define DialogBoxIndirectA(i,t,p,f) DialogBoxIndirectParamA(i,t,p,f,0)
3500 #define DialogBoxIndirectW(i,t,p,f) DialogBoxIndirectParamW(i,t,p,f,0)
3501 WINUSERAPI
int WINAPI
DialogBoxIndirectParamA(HINSTANCE
,LPCDLGTEMPLATE
,HWND
,DLGPROC
,LPARAM
);
3502 WINUSERAPI
int WINAPI
DialogBoxIndirectParamW(HINSTANCE
,LPCDLGTEMPLATE
,HWND
,DLGPROC
,LPARAM
);
3504 extern int DialogBoxParamA(HINSTANCE
,LPCSTR
,HWND
,DLGPROC
,LPARAM
);
3505 extern int DialogBoxParamW(HINSTANCE
,LPCWSTR
,HWND
,DLGPROC
,LPARAM
);
3507 WINUSERAPI
int WINAPI
DialogBoxParamA(HINSTANCE
,LPCSTR
,HWND
,DLGPROC
,LPARAM
);
3508 WINUSERAPI
int WINAPI
DialogBoxParamW(HINSTANCE
,LPCWSTR
,HWND
,DLGPROC
,LPARAM
);
3510 WINUSERAPI LONG WINAPI
DispatchMessageA(const MSG
*);
3511 WINUSERAPI LONG WINAPI
DispatchMessageW(const MSG
*);
3512 WINUSERAPI
int WINAPI
DlgDirListA(HWND
,LPSTR
,int,int,UINT
);
3513 WINUSERAPI
int WINAPI
DlgDirListW(HWND
,LPWSTR
,int,int,UINT
);
3514 WINUSERAPI
int WINAPI
DlgDirListComboBoxA(HWND
,LPSTR
,int,int,UINT
);
3515 WINUSERAPI
int WINAPI
DlgDirListComboBoxW(HWND
,LPWSTR
,int,int,UINT
);
3516 WINUSERAPI BOOL WINAPI
DlgDirSelectComboBoxExA(HWND
,LPSTR
,int,int);
3517 WINUSERAPI BOOL WINAPI
DlgDirSelectComboBoxExW(HWND
,LPWSTR
,int,int);
3518 WINUSERAPI BOOL WINAPI
DlgDirSelectExA(HWND
,LPSTR
,int,int);
3519 WINUSERAPI BOOL WINAPI
DlgDirSelectExW(HWND
,LPWSTR
,int,int);
3520 WINUSERAPI BOOL WINAPI
DragDetect(HWND
,POINT
);
3521 WINUSERAPI DWORD WINAPI
DragObject(HWND
,HWND
,UINT
,DWORD
,HCURSOR
);
3522 WINUSERAPI BOOL WINAPI
DrawAnimatedRects(HWND
,int,LPCRECT
,LPCRECT
);
3523 WINUSERAPI BOOL WINAPI
DrawCaption(HWND
,HDC
,LPCRECT
,UINT
);
3524 WINUSERAPI BOOL WINAPI
DrawEdge(HDC
,LPRECT
,UINT
,UINT
);
3525 WINUSERAPI BOOL WINAPI
DrawFocusRect(HDC
,LPCRECT
);
3526 WINUSERAPI BOOL WINAPI
DrawFrameControl(HDC
,LPRECT
,UINT
,UINT
);
3527 WINUSERAPI BOOL WINAPI
DrawIcon(HDC
,int,int,HICON
);
3528 WINUSERAPI BOOL WINAPI
DrawIconEx(HDC
,int,int,HICON
,int,int,UINT
,HBRUSH
,UINT
);
3529 WINUSERAPI BOOL WINAPI
DrawMenuBar(HWND
);
3530 WINUSERAPI BOOL WINAPI
DrawStateA(HDC
,HBRUSH
,DRAWSTATEPROC
,LPARAM
,WPARAM
,int,int,int,int,UINT
);
3531 WINUSERAPI BOOL WINAPI
DrawStateW(HDC
,HBRUSH
,DRAWSTATEPROC
,LPARAM
,WPARAM
,int,int,int,int,UINT
);
3532 WINUSERAPI
int WINAPI
DrawTextA(HDC
,LPCSTR
,int,LPRECT
,UINT
);
3533 WINUSERAPI
int WINAPI
DrawTextW(HDC
,LPCWSTR
,int,LPRECT
,UINT
);
3534 WINUSERAPI
int WINAPI
DrawTextExA(HDC
,LPSTR
,int,LPRECT
,UINT
,LPDRAWTEXTPARAMS
);
3535 WINUSERAPI
int WINAPI
DrawTextExW(HDC
,LPWSTR
,int,LPRECT
,UINT
,LPDRAWTEXTPARAMS
);
3536 WINUSERAPI BOOL WINAPI
EmptyClipboard(void);
3537 WINUSERAPI BOOL WINAPI
EnableMenuItem(HMENU
,UINT
,UINT
);
3538 WINUSERAPI BOOL WINAPI
EnableScrollBar(HWND
,UINT
,UINT
);
3539 WINUSERAPI BOOL WINAPI
EnableWindow(HWND
,BOOL
);
3540 WINUSERAPI BOOL WINAPI
EndDeferWindowPos(HDWP
);
3541 WINUSERAPI BOOL WINAPI
EndDialog(HWND
,int);
3542 WINUSERAPI BOOL WINAPI
EndMenu(void);
3543 WINUSERAPI BOOL WINAPI
EndPaint(HWND
,const PAINTSTRUCT
*);
3544 #if (_WIN32_WINNT >= 0x0500)
3545 WINUSERAPI BOOL WINAPI
EndTask(HWND
,BOOL
,BOOL
);
3547 WINUSERAPI BOOL WINAPI
EnumChildWindows(HWND
,ENUMWINDOWSPROC
,LPARAM
);
3548 WINUSERAPI UINT WINAPI
EnumClipboardFormats(UINT
);
3549 WINUSERAPI BOOL WINAPI
EnumDesktopsA(HWINSTA
,DESKTOPENUMPROCA
,LPARAM
);
3550 WINUSERAPI BOOL WINAPI
EnumDesktopsW(HWINSTA
,DESKTOPENUMPROCW
,LPARAM
);
3551 WINUSERAPI BOOL WINAPI
EnumDesktopWindows(HDESK
,ENUMWINDOWSPROC
,LPARAM
);
3552 WINUSERAPI BOOL WINAPI
EnumDisplayMonitors(HDC
,LPCRECT
,MONITORENUMPROC
,LPARAM
);
3554 WINUSERAPI BOOL WINAPI
EnumDisplaySettingsA(LPCSTR
,DWORD
,PDEVMODEA
);
3555 WINUSERAPI BOOL WINAPI
EnumDisplaySettingsW(LPCWSTR
,DWORD
,PDEVMODEW
);
3556 #if (_WIN32_WINNT >= 0x0500 || _WIN32_WINDOWS >= 0x0410)
3557 WINUSERAPI BOOL WINAPI
EnumDisplaySettingsExA(LPCSTR
,DWORD
,LPDEVMODEA
,DWORD
);
3558 WINUSERAPI BOOL WINAPI
EnumDisplaySettingsExW(LPCWSTR
,DWORD
,LPDEVMODEW
,DWORD
);
3560 WINUSERAPI BOOL WINAPI
EnumDisplayDevicesA(LPCSTR
,DWORD
,PDISPLAY_DEVICEA
,DWORD
);
3561 WINUSERAPI BOOL WINAPI
EnumDisplayDevicesW(LPCWSTR
,DWORD
,PDISPLAY_DEVICEW
,DWORD
);
3563 WINUSERAPI
int WINAPI
EnumPropsA(HWND
,PROPENUMPROCA
);
3564 WINUSERAPI
int WINAPI
EnumPropsW(HWND
,PROPENUMPROCW
);
3565 WINUSERAPI
int WINAPI
EnumPropsExA(HWND
,PROPENUMPROCEXA
,LPARAM
);
3566 WINUSERAPI
int WINAPI
EnumPropsExW(HWND
,PROPENUMPROCEXW
,LPARAM
);
3567 #define EnumTaskWindows(h,f,p) EnumThreadWindows((DWORD)h,f,p)
3568 WINUSERAPI BOOL WINAPI
EnumThreadWindows(DWORD
,WNDENUMPROC
,LPARAM
);
3569 WINUSERAPI BOOL WINAPI
EnumWindows(WNDENUMPROC
,LPARAM
);
3570 WINUSERAPI BOOL WINAPI
EnumWindowStationsA(WINSTAENUMPROCA
,LPARAM
);
3571 WINUSERAPI BOOL WINAPI
EnumWindowStationsW(WINSTAENUMPROCW
,LPARAM
);
3572 WINUSERAPI BOOL WINAPI
EqualRect(LPCRECT
,LPCRECT
);
3573 #define ExitWindows(r,c) ExitWindowsEx(EWX_LOGOFF,0)
3574 WINUSERAPI BOOL WINAPI
ExitWindowsEx(UINT
,DWORD
);
3575 WINUSERAPI HWND WINAPI
FindWindowA(LPCSTR
,LPCSTR
);
3576 WINUSERAPI HWND WINAPI
FindWindowExA(HWND
,HWND
,LPCSTR
,LPCSTR
);
3577 WINUSERAPI HWND WINAPI
FindWindowExW(HWND
,HWND
,LPCWSTR
,LPCWSTR
);
3578 WINUSERAPI HWND WINAPI
FindWindowW(LPCWSTR
,LPCWSTR
);
3579 WINUSERAPI BOOL WINAPI
FlashWindow(HWND
,BOOL
);
3580 #if (_WIN32_WINNT >= 0x0500 || _WIN32_WINDOWS >= 0x0410)
3581 WINUSERAPI BOOL WINAPI
FlashWindowEx(PFLASHWINFO
);
3583 int WINAPI
FrameRect(HDC
,LPCRECT
,HBRUSH
);
3584 WINUSERAPI BOOL WINAPI
FrameRgn(HDC
,HRGN
,HBRUSH
,int,int);
3585 WINUSERAPI HWND WINAPI
GetActiveWindow(void);
3586 WINUSERAPI HWND WINAPI
GetAncestor(HWND
,UINT
);
3587 WINUSERAPI SHORT WINAPI
GetAsyncKeyState(int);
3588 WINUSERAPI HWND WINAPI
GetCapture(void);
3589 WINUSERAPI UINT WINAPI
GetCaretBlinkTime(void);
3590 WINUSERAPI BOOL WINAPI
GetCaretPos(LPPOINT
);
3591 WINUSERAPI BOOL WINAPI
GetClassInfoA(HINSTANCE
,LPCSTR
,LPWNDCLASSA
);
3592 WINUSERAPI BOOL WINAPI
GetClassInfoExA(HINSTANCE
,LPCSTR
,LPWNDCLASSEXA
);
3593 WINUSERAPI BOOL WINAPI
GetClassInfoW(HINSTANCE
,LPCWSTR
,LPWNDCLASSW
);
3594 WINUSERAPI BOOL WINAPI
GetClassInfoExW(HINSTANCE
,LPCWSTR
,LPWNDCLASSEXW
);
3595 WINUSERAPI DWORD WINAPI
GetClassLongA(HWND
,int);
3596 WINUSERAPI DWORD WINAPI
GetClassLongW(HWND
,int);
3598 WINUSERAPI ULONG_PTR WINAPI
GetClassLongPtrA(HWND
,int);
3599 WINUSERAPI ULONG_PTR WINAPI
GetClassLongPtrW(HWND
,int);
3601 #define GetClassLongPtrA GetClassLongA
3602 #define GetClassLongPtrW GetClassLongW
3604 WINUSERAPI
int WINAPI
GetClassNameA(HWND
,LPSTR
,int);
3605 WINUSERAPI
int WINAPI
GetClassNameW(HWND
,LPWSTR
,int);
3606 WINUSERAPI WORD WINAPI
GetClassWord(HWND
,int);
3607 WINUSERAPI BOOL WINAPI
GetClientRect(HWND
,LPRECT
);
3608 WINUSERAPI HANDLE WINAPI
GetClipboardData(UINT
);
3609 WINUSERAPI
int WINAPI
GetClipboardFormatNameA(UINT
,LPSTR
,int);
3610 WINUSERAPI
int WINAPI
GetClipboardFormatNameW(UINT
,LPWSTR
,int);
3611 WINUSERAPI HWND WINAPI
GetClipboardOwner(void);
3612 #if (_WIN32_WINNT >= 0x0500 || _WIN32_WINDOWS >= 0x0410)
3613 WINUSERAPI DWORD WINAPI
GetClipboardSequenceNumber(void);
3615 HWND WINAPI
GetClipboardViewer(void);
3616 WINUSERAPI BOOL WINAPI
GetClipCursor(LPRECT
);
3617 WINUSERAPI BOOL WINAPI
GetCursorPos(LPPOINT
);
3618 WINUSERAPI HDC WINAPI
GetDC(HWND
);
3619 WINUSERAPI HDC WINAPI
GetDCEx(HWND
,HRGN
,DWORD
);
3620 WINUSERAPI HWND WINAPI
GetDesktopWindow(void);
3621 WINUSERAPI
long WINAPI
GetDialogBaseUnits(void);
3622 WINUSERAPI
int WINAPI
GetDlgCtrlID(HWND
);
3623 WINUSERAPI HWND WINAPI
GetDlgItem(HWND
,int);
3624 WINUSERAPI UINT WINAPI
GetDlgItemInt(HWND
,int,PBOOL
,BOOL
);
3625 WINUSERAPI UINT WINAPI
GetDlgItemTextA(HWND
,int,LPSTR
,int);
3626 WINUSERAPI UINT WINAPI
GetDlgItemTextW(HWND
,int,LPWSTR
,int);
3627 WINUSERAPI UINT WINAPI
GetDoubleClickTime(void);
3628 WINUSERAPI HWND WINAPI
GetFocus(void);
3629 WINUSERAPI HWND WINAPI
GetForegroundWindow(void);
3630 #if (_WIN32_WINNT >= 0x0500)
3631 WINUSERAPI DWORD WINAPI
GetGuiResources(HANDLE
,DWORD
);
3633 WINUSERAPI BOOL WINAPI
GetIconInfo(HICON
,PICONINFO
);
3634 WINUSERAPI BOOL WINAPI
GetInputState(void);
3635 WINUSERAPI UINT WINAPI
GetKBCodePage(void);
3636 WINUSERAPI HKL WINAPI
GetKeyboardLayout(DWORD
);
3637 WINUSERAPI UINT WINAPI
GetKeyboardLayoutList(int,HKL
*);
3638 WINUSERAPI BOOL WINAPI
GetKeyboardLayoutNameA(LPSTR
);
3639 WINUSERAPI BOOL WINAPI
GetKeyboardLayoutNameW(LPWSTR
);
3640 WINUSERAPI BOOL WINAPI
GetKeyboardState(PBYTE
);
3641 WINUSERAPI
int WINAPI
GetKeyboardType(int);
3642 WINUSERAPI
int WINAPI
GetKeyNameTextA(LONG
,LPSTR
,int);
3643 WINUSERAPI
int WINAPI
GetKeyNameTextW(LONG
,LPWSTR
,int);
3644 WINUSERAPI SHORT WINAPI
GetKeyState(int);
3645 WINUSERAPI HWND WINAPI
GetLastActivePopup(HWND
);
3646 WINUSERAPI HMENU WINAPI
GetMenu(HWND
);
3647 WINUSERAPI LONG WINAPI
GetMenuCheckMarkDimensions(void);
3648 WINUSERAPI DWORD WINAPI
GetMenuContextHelpId(HMENU
);
3649 WINUSERAPI UINT WINAPI
GetMenuDefaultItem(HMENU
,UINT
,UINT
);
3650 WINUSERAPI
int WINAPI
GetMenuItemCount(HMENU
);
3651 WINUSERAPI UINT WINAPI
GetMenuItemID(HMENU
,int);
3652 WINUSERAPI BOOL WINAPI
GetMenuItemInfoA(HMENU
,UINT
,BOOL
,LPMENUITEMINFOA
);
3653 WINUSERAPI BOOL WINAPI
GetMenuItemInfoW(HMENU
,UINT
,BOOL
,LPMENUITEMINFOW
);
3654 WINUSERAPI BOOL WINAPI
GetMenuItemRect(HWND
,HMENU
,UINT
,LPRECT
);
3655 WINUSERAPI UINT WINAPI
GetMenuState(HMENU
,UINT
,UINT
);
3656 WINUSERAPI
int WINAPI
GetMenuStringA(HMENU
,UINT
,LPSTR
,int,UINT
);
3657 WINUSERAPI
int WINAPI
GetMenuStringW(HMENU
,UINT
,LPWSTR
,int,UINT
);
3658 WINUSERAPI BOOL WINAPI
GetMessageA(LPMSG
,HWND
,UINT
,UINT
);
3659 WINUSERAPI BOOL WINAPI
GetMessageW(LPMSG
,HWND
,UINT
,UINT
);
3660 WINUSERAPI LONG WINAPI
GetMessageExtraInfo(void);
3661 WINUSERAPI DWORD WINAPI
GetMessagePos(void);
3662 WINUSERAPI LONG WINAPI
GetMessageTime(void);
3663 #if (_WIN32_WINNT >= 0x0500 || _WIN32_WINDOWS >= 0x0490)
3664 WINUSERAPI
int WINAPI
GetMouseMovePointsEx(UINT
,LPMOUSEMOVEPOINT
,LPMOUSEMOVEPOINT
,int,DWORD
);
3666 WINUSERAPI HWND WINAPI
GetNextDlgGroupItem(HWND
,HWND
,BOOL
);
3667 WINUSERAPI HWND WINAPI
GetNextDlgTabItem(HWND
,HWND
,BOOL
);
3668 #define GetNextWindow(h,c) GetWindow(h,c)
3669 WINUSERAPI HWND WINAPI
GetOpenClipboardWindow(void);
3670 WINUSERAPI HWND WINAPI
GetParent(HWND
);
3671 WINUSERAPI
int WINAPI
GetPriorityClipboardFormat(UINT
*,int);
3672 WINUSERAPI HANDLE WINAPI
GetPropA(HWND
,LPCSTR
);
3673 WINUSERAPI HANDLE WINAPI
GetPropW(HWND
,LPCWSTR
);
3674 #if (_WIN32_WINNT >= 0x0501)
3675 WINUSERAPI UINT WINAPI
GetRawInputBuffer(PRAWINPUT
,PUINT
,UINT
);
3676 WINUSERAPI UINT WINAPI
GetRawInputData(HRAWINPUT
,UINT
,LPVOID
,PUINT
,UINT
);
3677 WINUSERAPI UINT WINAPI
GetRawInputDeviceInfoA(HANDLE
,UINT
,LPVOID
,PUINT
);
3678 WINUSERAPI UINT WINAPI
GetRawInputDeviceInfoW(HANDLE
,UINT
,LPVOID
,PUINT
);
3679 WINUSERAPI UINT WINAPI
GetRawInputDeviceList(PRAWINPUTDEVICELIST
,PUINT
,UINT
);
3680 WINUSERAPI UINT WINAPI
GetRegisteredRawInputDevices(PRAWINPUTDEVICE
,PUINT
,UINT
);
3682 WINUSERAPI DWORD WINAPI
GetQueueStatus(UINT
);
3683 WINUSERAPI BOOL WINAPI
GetScrollInfo(HWND
,int,LPSCROLLINFO
);
3684 WINUSERAPI
int WINAPI
GetScrollPos(HWND
,int);
3685 WINUSERAPI BOOL WINAPI
GetScrollRange(HWND
,int,LPINT
,LPINT
);
3686 #if (_WIN32_WINNT >= 0x0500)
3687 WINUSERAPI HWND WINAPI
GetShellWindow(void);
3689 WINUSERAPI HMENU WINAPI
GetSubMenu(HMENU
,int);
3690 WINUSERAPI DWORD WINAPI
GetSysColor(int);
3691 WINUSERAPI HBRUSH WINAPI
GetSysColorBrush(int);
3692 #define GetSysModalWindow() (NULL)
3693 WINUSERAPI HMENU WINAPI
GetSystemMenu(HWND
,BOOL
);
3694 WINUSERAPI
int WINAPI
GetSystemMetrics(int);
3695 WINUSERAPI DWORD WINAPI
GetTabbedTextExtentA(HDC
,LPCSTR
,int,int,LPINT
);
3696 WINUSERAPI DWORD WINAPI
GetTabbedTextExtentW(HDC
,LPCWSTR
,int,int,LPINT
);
3697 WINUSERAPI LONG WINAPI
GetWindowLongA(HWND
,int);
3698 WINUSERAPI LONG WINAPI
GetWindowLongW(HWND
,int);
3700 WINUSERAPI LONG_PTR WINAPI
GetWindowLongPtrA(HWND
,int);
3701 WINUSERAPI LONG_PTR WINAPI
GetWindowLongPtrW(HWND
,int);
3703 #define GetWindowLongPtrA GetWindowLongA
3704 #define GetWindowLongPtrW GetWindowLongW
3706 WINUSERAPI HDESK WINAPI
GetThreadDesktop(DWORD
);
3707 WINUSERAPI HWND WINAPI
GetTopWindow(HWND
);
3708 WINUSERAPI BOOL WINAPI
GetUpdateRect(HWND
,LPRECT
,BOOL
);
3709 WINUSERAPI
int WINAPI
GetUpdateRgn(HWND
,HRGN
,BOOL
);
3710 WINUSERAPI BOOL WINAPI
GetUserObjectInformationA(HANDLE
,int,PVOID
,DWORD
,PDWORD
);
3711 WINUSERAPI BOOL WINAPI
GetUserObjectInformationW(HANDLE
,int,PVOID
,DWORD
,PDWORD
);
3712 WINUSERAPI BOOL WINAPI
GetUserObjectSecurity(HANDLE
,PSECURITY_INFORMATION
,PSECURITY_DESCRIPTOR
,DWORD
,PDWORD
);
3713 WINUSERAPI HWND WINAPI
GetWindow(HWND
,UINT
);
3714 WINUSERAPI DWORD WINAPI
GetWindowContextHelpId(HWND
);
3715 WINUSERAPI HDC WINAPI
GetWindowDC(HWND
);
3716 WINUSERAPI BOOL WINAPI
GetWindowPlacement(HWND
,WINDOWPLACEMENT
*);
3717 WINUSERAPI BOOL WINAPI
GetWindowRect(HWND
,LPRECT
);
3718 WINUSERAPI
int WINAPI
GetWindowRgn(HWND
,HRGN
);
3719 #define GetWindowTask(hWnd) ((HANDLE)GetWindowThreadProcessId(hWnd, NULL))
3720 WINUSERAPI
int WINAPI
GetWindowTextA(HWND
,LPSTR
,int);
3721 WINUSERAPI
int WINAPI
GetWindowTextLengthA(HWND
);
3722 WINUSERAPI
int WINAPI
GetWindowTextLengthW(HWND
);
3723 WINUSERAPI
int WINAPI
GetWindowTextW(HWND
,LPWSTR
,int);
3724 WINUSERAPI WORD WINAPI
GetWindowWord(HWND
,int);
3725 WINUSERAPI BOOL WINAPI
GetAltTabInfoA(HWND
,int,PALTTABINFO
,LPSTR
,UINT
);
3726 WINUSERAPI BOOL WINAPI
GetAltTabInfoW(HWND
,int,PALTTABINFO
,LPWSTR
,UINT
);
3727 WINUSERAPI BOOL WINAPI
GetComboBoxInfo(HWND
,PCOMBOBOXINFO
);
3728 WINUSERAPI BOOL WINAPI
GetCursorInfo(PCURSORINFO
);
3729 #if (WINVER >= 0x0500)
3730 WINUSERAPI BOOL WINAPI
GetGUIThreadInfo(DWORD
,LPGUITHREADINFO
);
3732 WINUSERAPI BOOL WINAPI
GetLastInputInfo(PLASTINPUTINFO
);
3733 WINUSERAPI DWORD WINAPI
GetListBoxInfo(HWND
);
3734 WINUSERAPI BOOL WINAPI
GetMenuBarInfo(HWND
,LONG
,LONG
,PMENUBARINFO
);
3735 WINUSERAPI BOOL WINAPI
GetMenuInfo(HMENU
,LPMENUINFO
);
3736 #if (_WIN32_WINNT >= 0x0500)
3737 WINUSERAPI BOOL WINAPI
GetProcessDefaultLayout(DWORD
*);
3739 WINUSERAPI BOOL WINAPI
GetScrollBarInfo(HWND
,LONG
,PSCROLLBARINFO
);
3740 #if (_WIN32_WINDOWS >= 0x0410)
3741 WINUSERAPI BOOL WINAPI
GetTitleBarInfo(HWND
,PTITLEBARINFO
);
3743 WINUSERAPI BOOL WINAPI
GetWindowInfo(HWND
,PWINDOWINFO
);
3744 WINUSERAPI BOOL WINAPI
GetMonitorInfoA(HMONITOR
,LPMONITORINFO
);
3745 WINUSERAPI BOOL WINAPI
GetMonitorInfoW(HMONITOR
,LPMONITORINFO
);
3746 WINUSERAPI UINT WINAPI
GetWindowModuleFileNameA(HWND
,LPSTR
,UINT
);
3747 WINUSERAPI UINT WINAPI
GetWindowModuleFileNameW(HWND
,LPWSTR
,UINT
);
3748 WINUSERAPI BOOL WINAPI
GrayStringA(HDC
,HBRUSH
,GRAYSTRINGPROC
,LPARAM
,int,int,int,int,int);
3749 WINUSERAPI BOOL WINAPI
GrayStringW(HDC
,HBRUSH
,GRAYSTRINGPROC
,LPARAM
,int,int,int,int,int);
3750 WINUSERAPI BOOL WINAPI
HideCaret(HWND
);
3751 WINUSERAPI BOOL WINAPI
HiliteMenuItem(HWND
,HMENU
,UINT
,UINT
);
3752 WINUSERAPI BOOL WINAPI
InflateRect(LPRECT
,int,int);
3753 WINUSERAPI BOOL WINAPI
InSendMessage(void);
3754 #if (_WIN32_WINNT >= 0x0500 || _WIN32_WINDOWS >= 0x0410)
3755 WINUSERAPI DWORD WINAPI
InSendMessageEx(LPVOID
);
3757 WINUSERAPI BOOL WINAPI
InsertMenuA(HMENU
,UINT
,UINT
,UINT
,LPCSTR
);
3758 WINUSERAPI BOOL WINAPI
InsertMenuW(HMENU
,UINT
,UINT
,UINT
,LPCWSTR
);
3759 WINUSERAPI BOOL WINAPI
InsertMenuItemA(HMENU
,UINT
,BOOL
,LPCMENUITEMINFOA
);
3760 WINUSERAPI BOOL WINAPI
InsertMenuItemW(HMENU
,UINT
,BOOL
,LPCMENUITEMINFOW
);
3761 WINUSERAPI INT WINAPI
InternalGetWindowText(HWND
,LPWSTR
,INT
);
3762 WINUSERAPI BOOL WINAPI
IntersectRect(LPRECT
,LPCRECT
,LPCRECT
);
3763 WINUSERAPI BOOL WINAPI
InvalidateRect(HWND
,LPCRECT
,BOOL
);
3764 WINUSERAPI BOOL WINAPI
InvalidateRgn(HWND
,HRGN
,BOOL
);
3765 WINUSERAPI BOOL WINAPI
InvertRect(HDC
,LPCRECT
);
3766 WINUSERAPI BOOL WINAPI
IsCharAlphaA(CHAR ch
);
3767 WINUSERAPI BOOL WINAPI
IsCharAlphaNumericA(CHAR
);
3768 WINUSERAPI BOOL WINAPI
IsCharAlphaNumericW(WCHAR
);
3769 WINUSERAPI BOOL WINAPI
IsCharAlphaW(WCHAR
);
3770 WINUSERAPI BOOL WINAPI
IsCharLowerA(CHAR
);
3771 WINUSERAPI BOOL WINAPI
IsCharLowerW(WCHAR
);
3772 WINUSERAPI BOOL WINAPI
IsCharUpperA(CHAR
);
3773 WINUSERAPI BOOL WINAPI
IsCharUpperW(WCHAR
);
3774 WINUSERAPI BOOL WINAPI
IsChild(HWND
,HWND
);
3775 WINUSERAPI BOOL WINAPI
IsClipboardFormatAvailable(UINT
);
3776 WINUSERAPI BOOL WINAPI
IsDialogMessageA(HWND
,LPMSG
);
3777 WINUSERAPI BOOL WINAPI
IsDialogMessageW(HWND
,LPMSG
);
3778 WINUSERAPI UINT WINAPI
IsDlgButtonChecked(HWND
,int);
3779 #if(_WIN32_WINNT >= 0x0501)
3780 WINUSERAPI BOOL WINAPI
IsGUIThread(BOOL
);
3782 #if(_WIN32_WINNT >= 0x0500)
3783 WINUSERAPI BOOL WINAPI
IsHungAppWindow(HWND
);
3785 WINUSERAPI BOOL WINAPI
IsIconic(HWND
);
3786 WINUSERAPI BOOL WINAPI
IsMenu(HMENU
);
3787 WINUSERAPI BOOL WINAPI
IsRectEmpty(LPCRECT
);
3788 WINUSERAPI BOOL WINAPI
IsWindow(HWND
);
3789 WINUSERAPI BOOL WINAPI
IsWindowEnabled(HWND
);
3790 WINUSERAPI BOOL WINAPI
IsWindowUnicode(HWND
);
3791 WINUSERAPI BOOL WINAPI
IsWindowVisible(HWND
);
3792 #if (_WIN32_WINNT >= 0x0501)
3793 WINUSERAPI BOOL WINAPI
IsWinEventHookInstalled(DWORD
);
3795 WINUSERAPI BOOL WINAPI
IsZoomed(HWND
);
3796 WINUSERAPI VOID WINAPI
keybd_event(BYTE
,BYTE
,DWORD
,DWORD
);
3797 WINUSERAPI BOOL WINAPI
KillTimer(HWND
,UINT
);
3798 WINUSERAPI HACCEL WINAPI
LoadAcceleratorsA(HINSTANCE
,LPCSTR
);
3799 WINUSERAPI HACCEL WINAPI
LoadAcceleratorsW(HINSTANCE
,LPCWSTR
);
3800 WINUSERAPI HBITMAP WINAPI
LoadBitmapA(HINSTANCE
,LPCSTR
);
3801 WINUSERAPI HBITMAP WINAPI
LoadBitmapW(HINSTANCE
,LPCWSTR
);
3802 WINUSERAPI HCURSOR WINAPI
LoadCursorA(HINSTANCE
,LPCSTR
);
3803 WINUSERAPI HCURSOR WINAPI
LoadCursorFromFileA(LPCSTR
);
3804 WINUSERAPI HCURSOR WINAPI
LoadCursorFromFileW(LPCWSTR
);
3805 WINUSERAPI HCURSOR WINAPI
LoadCursorW(HINSTANCE
,LPCWSTR
);
3806 WINUSERAPI HICON WINAPI
LoadIconA(HINSTANCE
,LPCSTR
);
3807 WINUSERAPI HICON WINAPI
LoadIconW(HINSTANCE
,LPCWSTR
);
3808 WINUSERAPI HANDLE WINAPI
LoadImageA(HINSTANCE
,LPCSTR
,UINT
,int,int,UINT
);
3809 WINUSERAPI HANDLE WINAPI
LoadImageW(HINSTANCE
,LPCWSTR
,UINT
,int,int,UINT
);
3810 WINUSERAPI HKL WINAPI
LoadKeyboardLayoutA(LPCSTR
,UINT
);
3811 WINUSERAPI HKL WINAPI
LoadKeyboardLayoutW(LPCWSTR
,UINT
);
3812 WINUSERAPI HMENU WINAPI
LoadMenuA(HINSTANCE
,LPCSTR
);
3813 WINUSERAPI HMENU WINAPI
LoadMenuIndirectA(const MENUTEMPLATE
*);
3814 WINUSERAPI HMENU WINAPI
LoadMenuIndirectW(const MENUTEMPLATE
*);
3815 WINUSERAPI HMENU WINAPI
LoadMenuW(HINSTANCE
,LPCWSTR
);
3816 WINUSERAPI
int WINAPI
LoadStringA(HINSTANCE
,UINT
,LPSTR
,int);
3817 WINUSERAPI
int WINAPI
LoadStringW(HINSTANCE
,UINT
,LPWSTR
,int);
3818 WINUSERAPI BOOL WINAPI
LockWindowUpdate(HWND
);
3819 #if (_WIN32_WINNT >= 0x0500)
3820 WINUSERAPI BOOL WINAPI
LockWorkStation(void);
3822 WINUSERAPI
int WINAPI
LookupIconIdFromDirectory(PBYTE
,BOOL
);
3823 WINUSERAPI
int WINAPI
LookupIconIdFromDirectoryEx(PBYTE
,BOOL
,int,int,UINT
);
3824 WINUSERAPI BOOL WINAPI
MapDialogRect(HWND
,LPRECT
);
3825 WINUSERAPI UINT WINAPI
MapVirtualKeyA(UINT
,UINT
);
3826 WINUSERAPI UINT WINAPI
MapVirtualKeyExA(UINT
,UINT
,HKL
);
3827 WINUSERAPI UINT WINAPI
MapVirtualKeyExW(UINT
,UINT
,HKL
);
3828 WINUSERAPI UINT WINAPI
MapVirtualKeyW(UINT
,UINT
);
3829 WINUSERAPI
int WINAPI
MapWindowPoints(HWND
,HWND
,LPPOINT
,UINT
);
3830 WINUSERAPI
int WINAPI
MenuItemFromPoint(HWND
,HMENU
,POINT
);
3831 WINUSERAPI BOOL WINAPI
MessageBeep(UINT
);
3832 WINUSERAPI
int WINAPI
MessageBoxA(HWND
,LPCSTR
,LPCSTR
,UINT
);
3833 WINUSERAPI
int WINAPI
MessageBoxW(HWND
,LPCWSTR
,LPCWSTR
,UINT
);
3834 WINUSERAPI
int WINAPI
MessageBoxExA(HWND
,LPCSTR
,LPCSTR
,UINT
,WORD
);
3835 WINUSERAPI
int WINAPI
MessageBoxExW(HWND
,LPCWSTR
,LPCWSTR
,UINT
,WORD
);
3836 WINUSERAPI
int WINAPI
MessageBoxIndirectA(CONST MSGBOXPARAMSA
*);
3837 WINUSERAPI
int WINAPI
MessageBoxIndirectW(CONST MSGBOXPARAMSW
*);
3838 WINUSERAPI BOOL WINAPI
ModifyMenuA(HMENU
,UINT
,UINT
,UINT
,LPCSTR
);
3839 WINUSERAPI BOOL WINAPI
ModifyMenuW(HMENU
,UINT
,UINT
,UINT
,LPCWSTR
);
3840 #if (_WIN32_WINNT >= 0x0500 || _WIN32_WINDOWS >= 0x0410)
3841 WINUSERAPI HMONITOR WINAPI
MonitorFromPoint(POINT
,DWORD
);
3842 WINUSERAPI HMONITOR WINAPI
MonitorFromRect(LPCRECT
,DWORD
);
3843 WINUSERAPI HMONITOR WINAPI
MonitorFromWindow(HWND
,DWORD
);
3845 WINUSERAPI
void WINAPI
mouse_event(DWORD
,DWORD
,DWORD
,DWORD
,ULONG_PTR
);
3846 WINUSERAPI BOOL WINAPI
MoveWindow(HWND
,int,int,int,int,BOOL
);
3847 WINUSERAPI DWORD WINAPI
MsgWaitForMultipleObjects(DWORD
,CONST HANDLE
*,BOOL
,DWORD
,DWORD
);
3848 WINUSERAPI DWORD WINAPI
MsgWaitForMultipleObjectsEx(DWORD
,CONST HANDLE
*,DWORD
,DWORD
,DWORD
);
3849 #if (WINVER >= 0x0500)
3850 WINUSERAPI
void WINAPI
NotifyWinEvent(DWORD
,HWND
,LONG
,LONG
);
3852 WINUSERAPI DWORD WINAPI
OemKeyScan(WORD
);
3853 WINUSERAPI BOOL WINAPI
OemToCharA(LPCSTR
,LPSTR
);
3854 WINUSERAPI BOOL WINAPI
OemToCharBuffA(LPCSTR
,LPSTR
,DWORD
);
3855 WINUSERAPI BOOL WINAPI
OemToCharBuffW(LPCSTR
,LPWSTR
,DWORD
);
3856 WINUSERAPI BOOL WINAPI
OemToCharW(LPCSTR
,LPWSTR
);
3857 WINUSERAPI BOOL WINAPI
OffsetRect(LPRECT
,int,int);
3858 WINUSERAPI BOOL WINAPI
OpenClipboard(HWND
);
3859 WINUSERAPI HDESK WINAPI
OpenDesktopA(LPSTR
,DWORD
,BOOL
,DWORD
);
3860 WINUSERAPI HDESK WINAPI
OpenDesktopW(LPWSTR
,DWORD
,BOOL
,DWORD
);
3861 WINUSERAPI BOOL WINAPI
OpenIcon(HWND
);
3862 WINUSERAPI HDESK WINAPI
OpenInputDesktop(DWORD
,BOOL
,DWORD
);
3863 WINUSERAPI HWINSTA WINAPI
OpenWindowStationA(LPSTR
,BOOL
,DWORD
);
3864 WINUSERAPI HWINSTA WINAPI
OpenWindowStationW(LPWSTR
,BOOL
,DWORD
);
3865 WINUSERAPI BOOL WINAPI
PaintDesktop(HDC
);
3866 WINUSERAPI BOOL WINAPI
PeekMessageA(LPMSG
,HWND
,UINT
,UINT
,UINT
);
3867 WINUSERAPI BOOL WINAPI
PeekMessageW(LPMSG
,HWND
,UINT
,UINT
,UINT
);
3868 #define PostAppMessageA(t,m,w,l) PostThreadMessageA((DWORD)t,m,w,l)
3869 #define PostAppMessageW(t,m,w,l) PostThreadMessageW((DWORD)t,m,w,l)
3870 WINUSERAPI BOOL WINAPI
PostMessageA(HWND
,UINT
,WPARAM
,LPARAM
);
3871 WINUSERAPI BOOL WINAPI
PostMessageW(HWND
,UINT
,WPARAM
,LPARAM
);
3872 WINUSERAPI
void WINAPI
PostQuitMessage(int);
3873 WINUSERAPI BOOL WINAPI
PostThreadMessageA(DWORD
,UINT
,WPARAM
,LPARAM
);
3874 WINUSERAPI BOOL WINAPI
PostThreadMessageW(DWORD
,UINT
,WPARAM
,LPARAM
);
3875 #if (_WIN32_WINNT >= 0x0501)
3876 WINUSERAPI BOOL WINAPI
PrintWindow(HWND
,HDC
,UINT
);
3878 WINUSERAPI BOOL WINAPI
PtInRect(LPCRECT
,POINT
);
3879 WINUSERAPI HWND WINAPI
RealChildWindowFromPoint(HWND
,POINT
);
3880 WINUSERAPI UINT WINAPI
RealGetWindowClassA(HWND
,LPSTR
,UINT
);
3881 WINUSERAPI UINT WINAPI
RealGetWindowClassW(HWND
,LPWSTR
,UINT
);
3882 WINUSERAPI BOOL WINAPI
RedrawWindow(HWND
,LPCRECT
,HRGN
,UINT
);
3883 WINUSERAPI ATOM WINAPI
RegisterClassA(CONST WNDCLASSA
*);
3884 WINUSERAPI ATOM WINAPI
RegisterClassW(CONST WNDCLASSW
*);
3885 WINUSERAPI ATOM WINAPI
RegisterClassExA(CONST WNDCLASSEXA
*);
3886 WINUSERAPI ATOM WINAPI
RegisterClassExW(CONST WNDCLASSEXW
*);
3887 WINUSERAPI UINT WINAPI
RegisterClipboardFormatA(LPCSTR
);
3888 WINUSERAPI UINT WINAPI
RegisterClipboardFormatW(LPCWSTR
);
3889 #if (WINVER >= 0x0500)
3890 WINUSERAPI HDEVNOTIFY WINAPI
RegisterDeviceNotificationA(HANDLE
,LPVOID
,DWORD
);
3891 WINUSERAPI HDEVNOTIFY WINAPI
RegisterDeviceNotificationW(HANDLE
,LPVOID
,DWORD
);
3893 WINUSERAPI BOOL WINAPI
RegisterHotKey(HWND
,int,UINT
,UINT
);
3894 #if (_WIN32_WINNT >= 0x0501)
3895 WINUSERAPI BOOL WINAPI
RegisterRawInputDevices(PCRAWINPUTDEVICE
,UINT
,UINT
);
3897 WINUSERAPI UINT WINAPI
RegisterWindowMessageA(LPCSTR
);
3898 WINUSERAPI UINT WINAPI
RegisterWindowMessageW(LPCWSTR
);
3899 WINUSERAPI BOOL WINAPI
ReleaseCapture(void);
3900 WINUSERAPI
int WINAPI
ReleaseDC(HWND
,HDC
);
3901 WINUSERAPI BOOL WINAPI
RemoveMenu(HMENU
,UINT
,UINT
);
3902 WINUSERAPI HANDLE WINAPI
RemovePropA(HWND
,LPCSTR
);
3903 WINUSERAPI HANDLE WINAPI
RemovePropW(HWND
,LPCWSTR
);
3904 WINUSERAPI BOOL WINAPI
ReplyMessage(LRESULT
);
3905 WINUSERAPI BOOL WINAPI
ScreenToClient(HWND
,LPPOINT
);
3906 WINUSERAPI BOOL WINAPI
ScrollDC(HDC
,int,int,LPCRECT
,LPCRECT
,HRGN
,LPRECT
);
3907 WINUSERAPI BOOL WINAPI
ScrollWindow(HWND
,int,int,LPCRECT
,LPCRECT
);
3908 WINUSERAPI
int WINAPI
ScrollWindowEx(HWND
,int,int,LPCRECT
,LPCRECT
,HRGN
,LPRECT
,UINT
);
3909 WINUSERAPI LONG WINAPI
SendDlgItemMessageA(HWND
,int,UINT
,WPARAM
,LPARAM
);
3910 WINUSERAPI LONG WINAPI
SendDlgItemMessageW(HWND
,int,UINT
,WPARAM
,LPARAM
);
3911 #if (_WIN32_WINNT >= 0x0403)
3912 WINUSERAPI UINT WINAPI
SendInput(UINT
,LPINPUT
,int);
3914 WINUSERAPI LRESULT WINAPI
SendMessageA(HWND
,UINT
,WPARAM
,LPARAM
);
3915 WINUSERAPI BOOL WINAPI
SendMessageCallbackA(HWND
,UINT
,WPARAM
,LPARAM
,SENDASYNCPROC
,DWORD
);
3916 WINUSERAPI BOOL WINAPI
SendMessageCallbackW(HWND
,UINT
,WPARAM
,LPARAM
,SENDASYNCPROC
,DWORD
);
3917 WINUSERAPI LRESULT WINAPI
SendMessageTimeoutA(HWND
,UINT
,WPARAM
,LPARAM
,UINT
,UINT
,PDWORD
);
3918 WINUSERAPI LRESULT WINAPI
SendMessageTimeoutW(HWND
,UINT
,WPARAM
,LPARAM
,UINT
,UINT
,PDWORD
);
3919 WINUSERAPI LRESULT WINAPI
SendMessageW(HWND
,UINT
,WPARAM
,LPARAM
);
3920 WINUSERAPI BOOL WINAPI
SendNotifyMessageA(HWND
,UINT
,WPARAM
,LPARAM
);
3921 WINUSERAPI BOOL WINAPI
SendNotifyMessageW(HWND
,UINT
,WPARAM
,LPARAM
);
3922 WINUSERAPI HWND WINAPI
SetActiveWindow(HWND
);
3923 WINUSERAPI HWND WINAPI
SetCapture(HWND hWnd
);
3924 WINUSERAPI BOOL WINAPI
SetCaretBlinkTime(UINT
);
3925 WINUSERAPI BOOL WINAPI
SetCaretPos(int,int);
3926 WINUSERAPI DWORD WINAPI
SetClassLongA(HWND
,int,LONG
);
3927 WINUSERAPI DWORD WINAPI
SetClassLongW(HWND
,int,LONG
);
3929 WINUSERAPI ULONG_PTR WINAPI
SetClassLongPtrA(HWND
,int,LONG_PTR
);
3930 WINUSERAPI ULONG_PTR WINAPI
SetClassLongPtrW(HWND
,int,LONG_PTR
);
3932 #define SetClassLongPtrA SetClassLongA
3933 #define SetClassLongPtrW SetClassLongW
3935 WINUSERAPI WORD WINAPI
SetClassWord(HWND
,int,WORD
);
3936 WINUSERAPI HANDLE WINAPI
SetClipboardData(UINT
,HANDLE
);
3937 WINUSERAPI HWND WINAPI
SetClipboardViewer(HWND
);
3938 WINUSERAPI HCURSOR WINAPI
SetCursor(HCURSOR
);
3939 WINUSERAPI BOOL WINAPI
SetCursorPos(int,int);
3940 WINUSERAPI VOID WINAPI
SetDebugErrorLevel(DWORD
);
3941 WINUSERAPI BOOL WINAPI
SetDlgItemInt(HWND
,int,UINT
,BOOL
);
3942 WINUSERAPI BOOL WINAPI
SetDlgItemTextA(HWND
,int,LPCSTR
);
3943 WINUSERAPI BOOL WINAPI
SetDlgItemTextW(HWND
,int,LPCWSTR
);
3944 WINUSERAPI BOOL WINAPI
SetDoubleClickTime(UINT
);
3945 WINUSERAPI HWND WINAPI
SetFocus(HWND
);
3946 WINUSERAPI BOOL WINAPI
SetForegroundWindow(HWND
);
3947 WINUSERAPI BOOL WINAPI
SetKeyboardState(PBYTE
);
3948 WINUSERAPI BOOL WINAPI
SetMenu(HWND
,HMENU
);
3949 WINUSERAPI BOOL WINAPI
SetMenuContextHelpId(HMENU
,DWORD
);
3950 WINUSERAPI BOOL WINAPI
SetMenuDefaultItem(HMENU
,UINT
,UINT
);
3951 WINUSERAPI BOOL WINAPI
SetMenuInfo(HMENU
,LPCMENUINFO
);
3952 WINUSERAPI BOOL WINAPI
SetMenuItemBitmaps(HMENU
,UINT
,UINT
,HBITMAP
,HBITMAP
);
3953 WINUSERAPI BOOL WINAPI
SetMenuItemInfoA(HMENU
,UINT
,BOOL
,LPCMENUITEMINFOA
);
3954 WINUSERAPI BOOL WINAPI
SetMenuItemInfoW( HMENU
,UINT
,BOOL
,LPCMENUITEMINFOW
);
3955 WINUSERAPI LPARAM WINAPI
SetMessageExtraInfo(LPARAM
);
3956 WINUSERAPI BOOL WINAPI
SetMessageQueue(int);
3957 WINUSERAPI HWND WINAPI
SetParent(HWND
,HWND
);
3958 #if (_WIN32_WINNT >= 0x0500)
3959 WINUSERAPI BOOL WINAPI
SetProcessDefaultLayout(DWORD
);
3960 #endif /* (_WIN32_WINNT >= 0x0500) */
3961 WINUSERAPI BOOL WINAPI
SetProcessWindowStation(HWINSTA
);
3962 WINUSERAPI BOOL WINAPI
SetPropA(HWND
,LPCSTR
,HANDLE
);
3963 WINUSERAPI BOOL WINAPI
SetPropW(HWND
,LPCWSTR
,HANDLE
);
3964 WINUSERAPI BOOL WINAPI
SetRect(LPRECT
,int,int,int,int);
3965 WINUSERAPI BOOL WINAPI
SetRectEmpty(LPRECT
);
3966 WINUSERAPI
int WINAPI
SetScrollInfo(HWND
,int,LPCSCROLLINFO
,BOOL
);
3967 WINUSERAPI
int WINAPI
SetScrollPos(HWND
,int,int,BOOL
);
3968 WINUSERAPI BOOL WINAPI
SetScrollRange(HWND
,int,int,int,BOOL
);
3969 WINUSERAPI BOOL WINAPI
SetSysColors(int,const INT
*,const COLORREF
*);
3970 #define SetSysModalWindow(h) (NULL)
3971 WINUSERAPI BOOL WINAPI
SetSystemCursor(HCURSOR
,DWORD
);
3972 WINUSERAPI BOOL WINAPI
SetThreadDesktop(HDESK
);
3973 WINUSERAPI UINT WINAPI
SetTimer(HWND
,UINT
,UINT
,TIMERPROC
);
3974 WINUSERAPI BOOL WINAPI
SetUserObjectInformationA(HANDLE
,int,PVOID
,DWORD
);
3975 WINUSERAPI BOOL WINAPI
SetUserObjectInformationW(HANDLE
,int,PVOID
,DWORD
);
3976 WINUSERAPI BOOL WINAPI
SetUserObjectSecurity(HANDLE
,PSECURITY_INFORMATION
,PSECURITY_DESCRIPTOR
);
3977 #if (WINVER >= 0x0500)
3978 WINUSERAPI HWINEVENTHOOK WINAPI
SetWinEventHook(UINT
,UINT
,HMODULE
,WINEVENTPROC
,DWORD
,DWORD
,UINT
);
3980 WINUSERAPI BOOL WINAPI
SetWindowContextHelpId(HWND
,DWORD
);
3981 WINUSERAPI LONG WINAPI
SetWindowLongA(HWND
,int,LONG
);
3982 WINUSERAPI LONG WINAPI
SetWindowLongW(HWND
,int,LONG
);
3984 WINUSERAPI LONG_PTR WINAPI
SetWindowLongPtrA(HWND
,int,LONG_PTR
);
3985 WINUSERAPI LONG_PTR WINAPI
SetWindowLongPtrW(HWND
,int,LONG_PTR
);
3987 #define SetWindowLongPtrA SetWindowLongA
3988 #define SetWindowLongPtrW SetWindowLongW
3990 WINUSERAPI BOOL WINAPI
SetWindowPlacement(HWND hWnd
,const WINDOWPLACEMENT
*);
3991 WINUSERAPI BOOL WINAPI
SetWindowPos(HWND
,HWND
,int,int,int,int,UINT
);
3992 WINUSERAPI
int WINAPI
SetWindowRgn(HWND
,HRGN
,BOOL
);
3993 WINUSERAPI HHOOK WINAPI
SetWindowsHookA(int,HOOKPROC
);
3994 WINUSERAPI HHOOK WINAPI
SetWindowsHookW(int,HOOKPROC
);
3995 WINUSERAPI HHOOK WINAPI
SetWindowsHookExA(int,HOOKPROC
,HINSTANCE
,DWORD
);
3996 WINUSERAPI HHOOK WINAPI
SetWindowsHookExW(int,HOOKPROC
,HINSTANCE
,DWORD
);
3997 WINUSERAPI BOOL WINAPI
SetWindowTextA(HWND
,LPCSTR
);
3998 WINUSERAPI BOOL WINAPI
SetWindowTextW(HWND
,LPCWSTR
);
3999 WINUSERAPI WORD WINAPI
SetWindowWord(HWND
,int,WORD
);
4000 WINUSERAPI BOOL WINAPI
ShowCaret(HWND
);
4001 WINUSERAPI
int WINAPI
ShowCursor(BOOL
);
4002 WINUSERAPI BOOL WINAPI
ShowOwnedPopups(HWND
,BOOL
);
4003 WINUSERAPI BOOL WINAPI
ShowScrollBar(HWND
,int,BOOL
);
4004 WINUSERAPI BOOL WINAPI
ShowWindow(HWND
,int);
4005 WINUSERAPI BOOL WINAPI
ShowWindowAsync(HWND
,int);
4006 WINUSERAPI BOOL WINAPI
SubtractRect(LPRECT
,LPCRECT
,LPCRECT
);
4007 WINUSERAPI BOOL WINAPI
SwapMouseButton(BOOL
);
4008 WINUSERAPI BOOL WINAPI
SwitchDesktop(HDESK
);
4009 #if(_WIN32_WINNT >= 0x0500)
4010 WINUSERAPI VOID WINAPI
SwitchToThisWindow(HWND
,BOOL
);
4011 #endif /* (_WIN32_WINNT >= 0x0500) */
4012 WINUSERAPI BOOL WINAPI
SystemParametersInfoA(UINT
,UINT
,PVOID
,UINT
);
4013 WINUSERAPI BOOL WINAPI
SystemParametersInfoW(UINT
,UINT
,PVOID
,UINT
);
4014 WINUSERAPI LONG WINAPI
TabbedTextOutA(HDC
,int,int,LPCSTR
,int,int,LPINT
,int);
4015 WINUSERAPI LONG WINAPI
TabbedTextOutW(HDC
,int,int,LPCWSTR
,int,int,LPINT
,int);
4016 WINUSERAPI WORD WINAPI
TileWindows(HWND
,UINT
,LPCRECT
,UINT
,const HWND
*);
4017 WINUSERAPI
int WINAPI
ToAscii(UINT
,UINT
,PBYTE
,LPWORD
,UINT
);
4018 WINUSERAPI
int WINAPI
ToAsciiEx(UINT
,UINT
,PBYTE
,LPWORD
,UINT
,HKL
);
4019 WINUSERAPI
int WINAPI
ToUnicode(UINT
,UINT
,PBYTE
,LPWSTR
,int,UINT
);
4020 WINUSERAPI
int WINAPI
ToUnicodeEx(UINT
,UINT
,PBYTE
,LPWSTR
,int,UINT
,HKL
);
4021 WINUSERAPI BOOL WINAPI
TrackMouseEvent(LPTRACKMOUSEEVENT
);
4022 WINUSERAPI BOOL WINAPI
TrackPopupMenu(HMENU
,UINT
,int,int,int,HWND
,LPCRECT
);
4023 WINUSERAPI BOOL WINAPI
TrackPopupMenuEx(HMENU
,UINT
,int,int,HWND
,LPTPMPARAMS
);
4024 WINUSERAPI
int WINAPI
TranslateAcceleratorA(HWND
,HACCEL
,LPMSG
);
4025 WINUSERAPI
int WINAPI
TranslateAcceleratorW(HWND
,HACCEL
,LPMSG
);
4026 WINUSERAPI BOOL WINAPI
TranslateMDISysAccel(HWND
,LPMSG
);
4027 WINUSERAPI BOOL WINAPI
TranslateMessage(const MSG
*);
4028 WINUSERAPI BOOL WINAPI
UnhookWindowsHook(int,HOOKPROC
);
4029 WINUSERAPI BOOL WINAPI
UnhookWindowsHookEx(HHOOK
);
4030 #if (WINVER >= 0x0500)
4031 WINUSERAPI BOOL WINAPI
UnhookWinEvent(HWINEVENTHOOK
);
4033 WINUSERAPI BOOL WINAPI
UnionRect(LPRECT
,LPCRECT
,LPCRECT
);
4034 WINUSERAPI BOOL WINAPI
UnloadKeyboardLayout(HKL
);
4035 WINUSERAPI BOOL WINAPI
UnregisterClassA(LPCSTR
,HINSTANCE
);
4036 WINUSERAPI BOOL WINAPI
UnregisterClassW(LPCWSTR
,HINSTANCE
);
4037 #if (_WIN32_WINDOWS >= 0x0410 || _WIN32_WINNT >= 0x0500)
4038 WINUSERAPI BOOL WINAPI
UnregisterDeviceNotification(HANDLE
);
4040 WINUSERAPI BOOL WINAPI
UnregisterHotKey(HWND
,int);
4041 WINUSERAPI BOOL WINAPI
UpdateWindow(HWND
);
4042 #if (_WIN32_WINNT >= 0x0500)
4043 WINUSERAPI BOOL WINAPI
UserHandleGrantAccess(HANDLE
,HANDLE
,BOOL
);
4045 WINUSERAPI BOOL WINAPI
ValidateRect(HWND
,LPCRECT
);
4046 WINUSERAPI BOOL WINAPI
ValidateRgn(HWND
,HRGN
);
4047 WINUSERAPI SHORT WINAPI
VkKeyScanA(CHAR
);
4048 WINUSERAPI SHORT WINAPI
VkKeyScanExA(CHAR
,HKL
);
4049 WINUSERAPI SHORT WINAPI
VkKeyScanExW(WCHAR
,HKL
);
4050 WINUSERAPI SHORT WINAPI
VkKeyScanW(WCHAR
);
4051 WINUSERAPI DWORD WINAPI
WaitForInputIdle(HANDLE
,DWORD
);
4052 WINUSERAPI BOOL WINAPI
WaitMessage(void);
4053 WINUSERAPI HWND WINAPI
WindowFromDC(HDC hDC
);
4054 WINUSERAPI HWND WINAPI
WindowFromPoint(POINT
);
4055 WINUSERAPI UINT WINAPI
WinExec(LPCSTR
,UINT
);
4056 WINUSERAPI BOOL WINAPI
WinHelpA(HWND
,LPCSTR
,UINT
,DWORD
);
4057 WINUSERAPI BOOL WINAPI
WinHelpW(HWND
,LPCWSTR
,UINT
,DWORD
);
4058 WINUSERAPI
int WINAPIV
wsprintfA(LPSTR
,LPCSTR
,...);
4059 WINUSERAPI
int WINAPIV
wsprintfW(LPWSTR
,LPCWSTR
,...);
4060 WINUSERAPI
int WINAPI
wvsprintfA(LPSTR
,LPCSTR
,va_list arglist
);
4061 WINUSERAPI
int WINAPI
wvsprintfW(LPWSTR
,LPCWSTR
,va_list arglist
);
4062 #if (_WIN32_WINNT >= 0x0500 || _WIN32_WINDOWS >= 0x0490)
4063 WINUSERAPI BOOL WINAPI
AllowSetForegroundWindow(DWORD
);
4064 WINUSERAPI BOOL WINAPI
LockSetForegroundWindow(UINT
);
4066 #if (_WIN32_WINNT >= 0x0500)
4067 WINUSERAPI BOOL WINAPI
SetLayeredWindowAttributes(HWND
,COLORREF
,BYTE
,DWORD
);
4069 WINUSERAPI BOOL WINAPI
UpdateLayeredWindow(HWND
,HDC
,POINT
*,SIZE
*,HDC
,POINT
*,COLORREF
,BLENDFUNCTION
*,DWORD
);
4072 #if (_WIN32_WINNT >= 0x0501)
4073 WINUSERAPI BOOL WINAPI
GetLayeredWindowAttributes(HWND
,COLORREF
*,BYTE
*,DWORD
*);
4076 #define EDITWORDBREAKPROC EDITWORDBREAKPROCW
4077 #define PROPENUMPROC PROPENUMPROCW
4078 #define PROPENUMPROCEX PROPENUMPROCEXW
4079 #define DEKSTOPENUMPROC DEKSTOPENUMPROCW
4080 #define WINSTAENUMPROC WINSTAENUMPROCW
4081 #define PROPENUMPROC PROPENUMPROCW
4082 #define PROPENUMPROCEX PROPENUMPROCEXW
4083 #define MAKEINTRESOURCE MAKEINTRESOURCEW
4084 typedef WNDCLASSW WNDCLASS
,*LPWNDCLASS
,*PWNDCLASS
;
4085 typedef WNDCLASSEXW WNDCLASSEX
,*LPWNDCLASSEX
,*PWNDCLASSEX
;
4086 typedef MENUITEMINFOW MENUITEMINFO
,*LPMENUITEMINFO
;
4087 typedef LPCMENUITEMINFOW LPCMENUITEMINFO
;
4088 typedef MSGBOXPARAMSW MSGBOXPARAMS
,*PMSGBOXPARAMS
,*LPMSGBOXPARAMS
;
4089 typedef HIGHCONTRASTW HIGHCONTRAST
,*LPHIGHCONTRAST
;
4090 typedef SERIALKEYSW SERIALKEYS
,*LPSERIALKEYS
;
4091 typedef SOUNDSENTRYW SOUNDSENTRY
,*LPSOUNDSENTRY
;
4092 typedef CREATESTRUCTW CREATESTRUCT
, *LPCREATESTRUCT
;
4093 typedef CBT_CREATEWNDW CBT_CREATEWND
, *LPCBT_CREATEWND
;
4094 typedef MDICREATESTRUCTW MDICREATESTRUCT
,*LPMDICREATESTRUCT
;
4095 typedef MULTIKEYHELPW MULTIKEYHELP
,*PMULTIKEYHELP
,*LPMULTIKEYHELP
;
4096 typedef MONITORINFOEXW MONITORINFOEX
, *LPMONITORINFOEX
;
4097 #define AppendMenu AppendMenuW
4098 #define BroadcastSystemMessage BroadcastSystemMessageW
4099 #define BroadcastSystemMessageEx BroadcastSystemMessageExW
4100 #define CallMsgFilter CallMsgFilterW
4101 #define CallWindowProc CallWindowProcW
4102 #define ChangeMenu ChangeMenuW
4103 #define CharLower CharLowerW
4104 #define CharLowerBuff CharLowerBuffW
4105 #define CharNext CharNextW
4106 #define CharPrev CharPrevW
4107 #define CharToOem CharToOemW
4108 #define CharToOemBuff CharToOemBuffW
4109 #define CharUpper CharUpperW
4110 #define CharUpperBuff CharUpperBuffW
4111 #define CopyAcceleratorTable CopyAcceleratorTableW
4112 #define CreateAcceleratorTable CreateAcceleratorTableW
4113 #define CreateDialog CreateDialogW
4114 #define CreateDialogIndirect CreateDialogIndirectW
4115 #define CreateDialogIndirectParam CreateDialogIndirectParamW
4116 #define CreateDialogParam CreateDialogParamW
4117 #define CreateMDIWindow CreateMDIWindowW
4118 #define CreateWindow CreateWindowW
4119 #define CreateWindowEx CreateWindowExW
4120 #define CreateWindowStation CreateWindowStationW
4121 #define DefDlgProc DefDlgProcW
4122 #define DefFrameProc DefFrameProcW
4123 #define DefMDIChildProc DefMDIChildProcW
4124 #define DefWindowProc DefWindowProcW
4125 #define DialogBox DialogBoxW
4126 #define DialogBoxIndirect DialogBoxIndirectW
4127 #define DialogBoxIndirectParam DialogBoxIndirectParamW
4128 #define DialogBoxParam DialogBoxParamW
4129 #define DispatchMessage DispatchMessageW
4130 #define DlgDirList DlgDirListW
4131 #define DlgDirListComboBox DlgDirListComboBoxW
4132 #define DlgDirSelectComboBoxEx DlgDirSelectComboBoxExW
4133 #define DlgDirSelectEx DlgDirSelectExW
4134 #define DrawState DrawStateW
4135 #define DrawText DrawTextW
4136 #define DrawTextEx DrawTextExW
4137 #define EnumDesktops EnumDesktopsW
4138 #define EnumProps EnumPropsW
4139 #define EnumPropsEx EnumPropsExW
4140 #define EnumWindowStations EnumWindowStationsW
4141 #define FindWindow FindWindowW
4142 #define FindWindowEx FindWindowExW
4143 #define GetClassInfo GetClassInfoW
4144 #define GetClassInfoEx GetClassInfoExW
4145 #define GetClassLong GetClassLongW
4146 #define GetClassLongPtr GetClassLongPtrW
4147 #define GetClassName GetClassNameW
4148 #define GetClipboardFormatName GetClipboardFormatNameW
4149 #define GetDlgItemText GetDlgItemTextW
4150 #define GetKeyboardLayoutName GetKeyboardLayoutNameW
4151 #define GetKeyNameText GetKeyNameTextW
4152 #define GetMenuItemInfo GetMenuItemInfoW
4153 #define GetMenuString GetMenuStringW
4154 #define GetMessage GetMessageW
4155 #define GetMonitorInfo GetMonitorInfoW
4156 #define GetProp GetPropW
4157 #define GetRawInputDeviceInfo GetRawInputDeviceInfoW
4158 #define GetTabbedTextExtent GetTabbedTextExtentW
4159 #define GetUserObjectInformation GetUserObjectInformationW
4160 #define GetWindowLong GetWindowLongW
4161 #define GetWindowLongPtr GetWindowLongPtrW
4162 #define GetWindowText GetWindowTextW
4163 #define GetWindowTextLength GetWindowTextLengthW
4164 #define GetAltTabInfo GetAltTabInfoW
4165 #define GetWindowModuleFileName GetWindowModuleFileNameW
4166 #define GrayString GrayStringW
4167 #define InsertMenu InsertMenuW
4168 #define InsertMenuItem InsertMenuItemW
4169 #define IsCharAlpha IsCharAlphaW
4170 #define IsCharAlphaNumeric IsCharAlphaNumericW
4171 #define IsCharLower IsCharLowerW
4172 #define IsCharUpper IsCharUpperW
4173 #define IsDialogMessage IsDialogMessageW
4174 #define LoadAccelerators LoadAcceleratorsW
4175 #define LoadBitmap LoadBitmapW
4176 #define LoadCursor LoadCursorW
4177 #define LoadCursorFromFile LoadCursorFromFileW
4178 #define LoadIcon LoadIconW
4179 #define LoadImage LoadImageW
4180 #define LoadKeyboardLayout LoadKeyboardLayoutW
4181 #define LoadMenu LoadMenuW
4182 #define LoadMenuIndirect LoadMenuIndirectW
4183 #define LoadString LoadStringW
4184 #define MapVirtualKey MapVirtualKeyW
4185 #define MapVirtualKeyEx MapVirtualKeyExW
4186 #define MessageBox MessageBoxW
4187 #define MessageBoxEx MessageBoxExW
4188 #define MessageBoxIndirect MessageBoxIndirectW
4189 #define ModifyMenu ModifyMenuW
4190 #define OemToChar OemToCharW
4191 #define OemToCharBuff OemToCharBuffW
4192 #define OpenDesktop OpenDesktopW
4193 #define OpenWindowStation OpenWindowStationW
4194 #define PeekMessage PeekMessageW
4195 #define PostAppMessage PostAppMessageW
4196 #define PostMessage PostMessageW
4197 #define PostThreadMessage PostThreadMessageW
4198 #define RealGetWindowClass RealGetWindowClassW
4199 #define RegisterClass RegisterClassW
4200 #define RegisterClassEx RegisterClassExW
4201 #define RegisterClipboardFormat RegisterClipboardFormatW
4202 #define RegisterDeviceNotification RegisterDeviceNotificationW
4203 #define RegisterWindowMessage RegisterWindowMessageW
4204 #define RemoveProp RemovePropW
4205 #define SendDlgItemMessage SendDlgItemMessageW
4206 #define SendMessage SendMessageW
4207 #define SendMessageCallback SendMessageCallbackW
4208 #define SendMessageTimeout SendMessageTimeoutW
4209 #define SendNotifyMessage SendNotifyMessageW
4210 #define SetClassLong SetClassLongW
4211 #define SetClassLongPtr SetClassLongPtrW
4212 #define SetDlgItemText SetDlgItemTextW
4213 #define SetMenuItemInfo SetMenuItemInfoW
4214 #define SetProp SetPropW
4215 #define SetUserObjectInformation SetUserObjectInformationW
4216 #define SetWindowLong SetWindowLongW
4217 #define SetWindowLongPtr SetWindowLongPtrW
4218 #define SetWindowsHook SetWindowsHookW
4219 #define SetWindowsHookEx SetWindowsHookExW
4220 #define SetWindowText SetWindowTextW
4221 #define SystemParametersInfo SystemParametersInfoW
4222 #define TabbedTextOut TabbedTextOutW
4223 #define TranslateAccelerator TranslateAcceleratorW
4224 #define UnregisterClass UnregisterClassW
4225 #define VkKeyScan VkKeyScanW
4226 #define VkKeyScanEx VkKeyScanExW
4227 #define WinHelp WinHelpW
4228 #define wsprintf wsprintfW
4229 #define wvsprintf wvsprintfW
4231 typedef ICONMETRICSW ICONMETRICS
,*LPICONMETRICS
;
4232 typedef NONCLIENTMETRICSW NONCLIENTMETRICS
,*LPNONCLIENTMETRICS
;
4233 #define ChangeDisplaySettings ChangeDisplaySettingsW
4234 #define ChangeDisplaySettingsEx ChangeDisplaySettingsExW
4235 #define CreateDesktop CreateDesktopW
4236 #define EnumDisplaySettings EnumDisplaySettingsW
4237 #define EnumDisplaySettingsEx EnumDisplaySettingsExW
4238 #define EnumDisplayDevices EnumDisplayDevicesW
4241 #define EDITWORDBREAKPROC EDITWORDBREAKPROCA
4242 #define PROPENUMPROC PROPENUMPROCA
4243 #define PROPENUMPROCEX PROPENUMPROCEXA
4244 #define DEKSTOPENUMPROC DEKSTOPENUMPROCA
4245 #define WINSTAENUMPROC WINSTAENUMPROCA
4246 #define PROPENUMPROC PROPENUMPROCA
4247 #define PROPENUMPROCEX PROPENUMPROCEXA
4248 #define MAKEINTRESOURCE MAKEINTRESOURCEA
4249 typedef WNDCLASSA WNDCLASS
,*LPWNDCLASS
,*PWNDCLASS
;
4250 typedef WNDCLASSEXA WNDCLASSEX
,*LPWNDCLASSEX
,*PWNDCLASSEX
;
4251 typedef MENUITEMINFOA MENUITEMINFO
,*LPMENUITEMINFO
;
4252 typedef LPCMENUITEMINFOA LPCMENUITEMINFO
;
4253 typedef MSGBOXPARAMSA MSGBOXPARAMS
,*PMSGBOXPARAMS
,*LPMSGBOXPARAMS
;
4254 typedef HIGHCONTRASTA HIGHCONTRAST
,*LPHIGHCONTRAST
;
4255 typedef SERIALKEYSA SERIALKEYS
,*LPSERIALKEYS
;
4256 typedef SOUNDSENTRYA SOUNDSENTRY
,*LPSOUNDSENTRY
;
4257 typedef CREATESTRUCTA CREATESTRUCT
, *LPCREATESTRUCT
;
4258 typedef CBT_CREATEWNDA CBT_CREATEWND
, *LPCBT_CREATEWND
;
4259 typedef MDICREATESTRUCTA MDICREATESTRUCT
,*LPMDICREATESTRUCT
;
4260 typedef MULTIKEYHELPA MULTIKEYHELP
,*PMULTIKEYHELP
,*LPMULTIKEYHELP
;
4261 typedef MONITORINFOEXA MONITORINFOEX
, *LPMONITORINFOEX
;
4262 #define AppendMenu AppendMenuA
4263 #define BroadcastSystemMessage BroadcastSystemMessageA
4264 #define BroadcastSystemMessageEx BroadcastSystemMessageExA
4265 #define CallMsgFilter CallMsgFilterA
4266 #define CallWindowProc CallWindowProcA
4267 #define ChangeMenu ChangeMenuA
4268 #define CharLower CharLowerA
4269 #define CharLowerBuff CharLowerBuffA
4270 #define CharNext CharNextA
4271 #define CharPrev CharPrevA
4272 #define CharToOem CharToOemA
4273 #define CharToOemBuff CharToOemBuffA
4274 #define CharUpper CharUpperA
4275 #define CharUpperBuff CharUpperBuffA
4276 #define CopyAcceleratorTable CopyAcceleratorTableA
4277 #define CreateAcceleratorTable CreateAcceleratorTableA
4278 #define CreateDialog CreateDialogA
4279 #define CreateDialogIndirect CreateDialogIndirectA
4280 #define CreateDialogIndirectParam CreateDialogIndirectParamA
4281 #define CreateDialogParam CreateDialogParamA
4282 #define CreateMDIWindow CreateMDIWindowA
4283 #define CreateWindow CreateWindowA
4284 #define CreateWindowEx CreateWindowExA
4285 #define CreateWindowStation CreateWindowStationA
4286 #define DefDlgProc DefDlgProcA
4287 #define DefFrameProc DefFrameProcA
4288 #define DefMDIChildProc DefMDIChildProcA
4289 #define DefWindowProc DefWindowProcA
4290 #define DialogBox DialogBoxA
4291 #define DialogBoxIndirect DialogBoxIndirectA
4292 #define DialogBoxIndirectParam DialogBoxIndirectParamA
4293 #define DialogBoxParam DialogBoxParamA
4294 #define DispatchMessage DispatchMessageA
4295 #define DlgDirList DlgDirListA
4296 #define DlgDirListComboBox DlgDirListComboBoxA
4297 #define DlgDirSelectComboBoxEx DlgDirSelectComboBoxExA
4298 #define DlgDirSelectEx DlgDirSelectExA
4299 #define DrawState DrawStateA
4300 #define DrawText DrawTextA
4301 #define DrawTextEx DrawTextExA
4302 #define EnumDesktops EnumDesktopsA
4303 #define EnumProps EnumPropsA
4304 #define EnumPropsEx EnumPropsExA
4305 #define EnumWindowStations EnumWindowStationsA
4306 #define FindWindow FindWindowA
4307 #define FindWindowEx FindWindowExA
4308 #define GetClassInfo GetClassInfoA
4309 #define GetClassInfoEx GetClassInfoExA
4310 #define GetClassLong GetClassLongA
4311 #define GetClassLongPtr GetClassLongPtrA
4312 #define GetClassName GetClassNameA
4313 #define GetClipboardFormatName GetClipboardFormatNameA
4314 #define GetDlgItemText GetDlgItemTextA
4315 #define GetKeyboardLayoutName GetKeyboardLayoutNameA
4316 #define GetKeyNameText GetKeyNameTextA
4317 #define GetMenuItemInfo GetMenuItemInfoA
4318 #define GetMenuString GetMenuStringA
4319 #define GetMessage GetMessageA
4320 #define GetMonitorInfo GetMonitorInfoA
4321 #define GetProp GetPropA
4322 #define GetRawInputDeviceInfo GetRawInputDeviceInfoA
4323 #define GetTabbedTextExtent GetTabbedTextExtentA
4324 #define GetUserObjectInformation GetUserObjectInformationA
4325 #define GetWindowLong GetWindowLongA
4326 #define GetWindowLongPtr GetWindowLongPtrA
4327 #define GetWindowText GetWindowTextA
4328 #define GetWindowTextLength GetWindowTextLengthA
4329 #define GetAltTabInfo GetAltTabInfoA
4330 #define GetWindowModuleFileName GetWindowModuleFileNameA
4331 #define GrayString GrayStringA
4332 #define InsertMenu InsertMenuA
4333 #define InsertMenuItem InsertMenuItemA
4334 #define IsCharAlpha IsCharAlphaA
4335 #define IsCharAlphaNumeric IsCharAlphaNumericA
4336 #define IsCharLower IsCharLowerA
4337 #define IsCharUpper IsCharUpperA
4338 #define IsDialogMessage IsDialogMessageA
4339 #define LoadAccelerators LoadAcceleratorsA
4340 #define LoadBitmap LoadBitmapA
4341 #define LoadCursor LoadCursorA
4342 #define LoadIcon LoadIconA
4343 #define LoadCursorFromFile LoadCursorFromFileA
4344 #define LoadImage LoadImageA
4345 #define LoadKeyboardLayout LoadKeyboardLayoutA
4346 #define LoadMenu LoadMenuA
4347 #define LoadMenuIndirect LoadMenuIndirectA
4348 #define LoadString LoadStringA
4349 #define MapVirtualKey MapVirtualKeyA
4350 #define MapVirtualKeyEx MapVirtualKeyExA
4351 #define MessageBox MessageBoxA
4352 #define MessageBoxEx MessageBoxExA
4353 #define MessageBoxIndirect MessageBoxIndirectA
4354 #define ModifyMenu ModifyMenuA
4355 #define OemToChar OemToCharA
4356 #define OemToCharBuff OemToCharBuffA
4357 #define OpenDesktop OpenDesktopA
4358 #define OpenWindowStation OpenWindowStationA
4359 #define PeekMessage PeekMessageA
4360 #define PostAppMessage PostAppMessageA
4361 #define PostMessage PostMessageA
4362 #define PostThreadMessage PostThreadMessageA
4363 #define RealGetWindowClass RealGetWindowClassA
4364 #define RegisterClass RegisterClassA
4365 #define RegisterClassEx RegisterClassExA
4366 #define RegisterClipboardFormat RegisterClipboardFormatA
4367 #define RegisterDeviceNotification RegisterDeviceNotificationA
4368 #define RegisterWindowMessage RegisterWindowMessageA
4369 #define RemoveProp RemovePropA
4370 #define SendDlgItemMessage SendDlgItemMessageA
4371 #define SendMessage SendMessageA
4372 #define SendMessageCallback SendMessageCallbackA
4373 #define SendMessageTimeout SendMessageTimeoutA
4374 #define SendNotifyMessage SendNotifyMessageA
4375 #define SetClassLong SetClassLongA
4376 #define SetClassLongPtr SetClassLongPtrA
4377 #define SetDlgItemText SetDlgItemTextA
4378 #define SetMenuItemInfo SetMenuItemInfoA
4379 #define SetProp SetPropA
4380 #define SetUserObjectInformation SetUserObjectInformationA
4381 #define SetWindowLong SetWindowLongA
4382 #define SetWindowLongPtr SetWindowLongPtrA
4383 #define SetWindowsHook SetWindowsHookA
4384 #define SetWindowsHookEx SetWindowsHookExA
4385 #define SetWindowText SetWindowTextA
4386 #define SystemParametersInfo SystemParametersInfoA
4387 #define TabbedTextOut TabbedTextOutA
4388 #define TranslateAccelerator TranslateAcceleratorA
4389 #define UnregisterClass UnregisterClassA
4390 #define VkKeyScan VkKeyScanA
4391 #define VkKeyScanEx VkKeyScanExA
4392 #define WinHelp WinHelpA
4393 #define wsprintf wsprintfA
4394 #define wvsprintf wvsprintfA
4396 typedef ICONMETRICSA ICONMETRICS
,*LPICONMETRICS
;
4397 typedef NONCLIENTMETRICSA NONCLIENTMETRICS
,*LPNONCLIENTMETRICS
;
4398 #define ChangeDisplaySettings ChangeDisplaySettingsA
4399 #define ChangeDisplaySettingsEx ChangeDisplaySettingsExA
4400 #define CreateDesktop CreateDesktopA
4401 #define EnumDisplaySettings EnumDisplaySettingsA
4402 #define EnumDisplaySettingsEx EnumDisplaySettingsExA
4403 #define EnumDisplayDevices EnumDisplayDevicesA
4405 #endif /* UNICODE */
4406 #endif /* RC_INVOKED */