10#pragma warning(disable:4201)
11#pragma warning(disable:4820)
15#define WINUSERAPI DECLSPEC_IMPORT
25#define ATF_TIMEOUTON 1
26#define ATF_ONOFFFEEDBACK 2
27#define ATF_AVAILABLE 4
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
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
69#define CF_METAFILEPICT 3
79#define CF_UNICODETEXT 13
80#define CF_ENHMETAFILE 14
93#elif(WINVER >= 0x0400)
99#define CF_OWNERDISPLAY 128
100#define CF_DSPTEXT 129
101#define CF_DSPBITMAP 130
102#define CF_DSPMETAFILEPICT 131
103#define CF_DSPENHMETAFILE 142
104#define CF_PRIVATEFIRST 512
105#define CF_PRIVATELAST 767
106#define CF_GDIOBJFIRST 768
107#define CF_GDIOBJLAST 1023
111#define KLF_ACTIVATE 1
112#define KLF_SUBSTITUTE_OK 2
113#define KLF_UNLOADPREVIOUS 4
115#define KLF_REPLACELANG 16
116#define KLF_NOTELLSHELL 128
117#define KLF_SETFORPROCESS 256
118#if (_WIN32_WINNT >= 0x0500)
119#define KLF_SHIFTLOCK 0x00010000
120#define KLF_RESET 0x40000000
122#define KL_NAMELENGTH 9
123#if (WINVER >= 0x0500)
124#define INPUTLANGCHANGE_BACKWARD 4
125#define INPUTLANGCHANGE_FORWARD 2
126#define INPUTLANGCHANGE_SYSCHARSET 1
133#define MF_MENUBARBREAK 32
134#define MF_MENUBREAK 64
135#define MF_OWNERDRAW 256
137#define MF_SEPARATOR 0x800
139#define MF_UNCHECKED 0
140#define MF_DEFAULT 4096
141#define MF_SYSMENU 0x2000
142#define MF_HELP 0x4000
144#define MF_RIGHTJUSTIFY 0x4000
145#define MF_MOUSESELECT 0x8000
150#define MF_REMOVE 4096
151#define MF_USECHECKBITMAPS 512
156#define BSM_ALLCOMPONENTS 0
157#define BSM_APPLICATIONS 8
158#define BSM_ALLDESKTOPS 16
159#define BSM_INSTALLABLEDRIVERS 4
160#define BSM_NETDRIVER 2
162#define BSF_FLUSHDISK 0x00000004
163#define BSF_FORCEIFHUNG 0x00000020
164#define BSF_IGNORECURRENTTASK 0x00000002
165#define BSF_NOHANG 0x00000008
166#define BSF_NOTIMEOUTIFNOTHUNG 0x00000040
167#define BSF_POSTMESSAGE 0x00000010
168#define BSF_QUERY 0x00000001
169#if (_WIN32_WINNT >= 0x0500)
170#define BSF_ALLOWSFW 0x00000080
171#define BSF_SENDNOTIFYMESSAGE 0x00000100
173#if (_WIN32_WINNT >= 0x0501)
174#define BSF_LUID 0x00000400
175#define BSF_RETURNHDESK 0x00000200
178#define BROADCAST_QUERY_DENY 1112363332
179#define ENUM_CURRENT_SETTINGS ((DWORD)-1)
180#define ENUM_REGISTRY_SETTINGS ((DWORD)-2)
181#define CDS_UPDATEREGISTRY 1
183#define CDS_FULLSCREEN 4
185#define CDS_SET_PRIMARY 16
186#define CDS_VIDEOPARAMETERS 20
187#define CDS_RESET 0x40000000
188#define CDS_SETRECT 0x20000000
189#define CDS_NORESET 0x10000000
190#define DISP_CHANGE_SUCCESSFUL 0
191#define DISP_CHANGE_RESTART 1
192#define DISP_CHANGE_BADFLAGS (-4)
193#define DISP_CHANGE_BADPARAM (-5)
194#define DISP_CHANGE_FAILED (-1)
195#define DISP_CHANGE_BADMODE (-2)
196#define DISP_CHANGE_NOTUPDATED (-3)
198#define BST_INDETERMINATE 2
199#define BST_UNCHECKED 0
202#define MF_BYCOMMAND 0
203#define MF_BYPOSITION 1024
204#define MF_UNCHECKED 0
208#define CWP_SKIPINVISIBLE 1
209#define CWP_SKIPDISABLED 2
210#define CWP_SKIPTRANSPARENT 4
211#define IMAGE_BITMAP 0
213#define IMAGE_CURSOR 2
214#define IMAGE_ENHMETAFILE 3
215#define DF_ALLOWOTHERACCOUNTHOOK 1
216#define DESKTOP_CREATEMENU 4
217#define DESKTOP_CREATEWINDOW 2
218#define DESKTOP_ENUMERATE 64
219#define DESKTOP_HOOKCONTROL 8
220#define DESKTOP_JOURNALPLAYBACK 32
221#define DESKTOP_JOURNALRECORD 16
222#define DESKTOP_READOBJECTS 1
223#define DESKTOP_SWITCHDESKTOP 256
224#define DESKTOP_WRITEOBJECTS 128
225#define CW_USEDEFAULT ((int)0x80000000)
226#define WS_BORDER 0x800000
227#define WS_CAPTION 0xc00000
228#define WS_CHILD 0x40000000
229#define WS_CHILDWINDOW 0x40000000
230#define WS_CLIPCHILDREN 0x2000000
231#define WS_CLIPSIBLINGS 0x4000000
232#define WS_DISABLED 0x8000000
233#define WS_DLGFRAME 0x400000
234#define WS_GROUP 0x20000
235#define WS_HSCROLL 0x100000
236#define WS_ICONIC 0x20000000
237#define WS_MAXIMIZE 0x1000000
238#define WS_MAXIMIZEBOX 0x10000
239#define WS_MINIMIZE 0x20000000
240#define WS_MINIMIZEBOX 0x20000
241#define WS_OVERLAPPED 0
242#define WS_OVERLAPPEDWINDOW 0xcf0000
243#define WS_POPUP 0x80000000
244#define WS_POPUPWINDOW 0x80880000
245#define WS_SIZEBOX 0x40000
246#define WS_SYSMENU 0x80000
247#define WS_TABSTOP 0x10000
248#define WS_THICKFRAME 0x40000
250#define WS_TILEDWINDOW 0xcf0000
251#define WS_VISIBLE 0x10000000
252#define WS_VSCROLL 0x200000
253#define MDIS_ALLCHILDSTYLES 1
255#define BS_AUTO3STATE 6
256#define BS_AUTOCHECKBOX 3
257#define BS_AUTORADIOBUTTON 9
259#define BS_BOTTOM 0x800
260#define BS_CENTER 0x300
262#define BS_DEFPUSHBUTTON 1
266#define BS_LEFTTEXT 32
267#define BS_MULTILINE 0x2000
268#define BS_NOTIFY 0x4000
269#define BS_OWNERDRAW 0xb
270#define BS_TYPEMASK 0xFL
271#define BS_PUSHBUTTON 0
272#define BS_PUSHLIKE 4096
273#define BS_RADIOBUTTON 4
275#define BS_RIGHTBUTTON 32
278#define BS_USERBUTTON 8
279#define BS_VCENTER 0xc00
280#define BS_FLAT 0x8000
281#define CBS_AUTOHSCROLL 64
282#define CBS_DISABLENOSCROLL 0x800
283#define CBS_DROPDOWN 2
284#define CBS_DROPDOWNLIST 3
285#define CBS_HASSTRINGS 512
286#define CBS_LOWERCASE 0x4000
287#define CBS_NOINTEGRALHEIGHT 0x400
288#define CBS_OEMCONVERT 128
289#define CBS_OWNERDRAWFIXED 16
290#define CBS_OWNERDRAWVARIABLE 32
293#define CBS_UPPERCASE 0x2000
294#define ES_AUTOHSCROLL 128
295#define ES_AUTOVSCROLL 64
298#define ES_LOWERCASE 16
299#define ES_MULTILINE 4
300#define ES_NOHIDESEL 256
301#define ES_NUMBER 0x2000
302#define ES_OEMCONVERT 0x400
303#define ES_PASSWORD 32
304#define ES_READONLY 0x800
306#define ES_UPPERCASE 8
307#define ES_WANTRETURN 4096
308#define LBS_DISABLENOSCROLL 4096
309#define LBS_EXTENDEDSEL 0x800
310#define LBS_HASSTRINGS 64
311#define LBS_MULTICOLUMN 512
312#define LBS_MULTIPLESEL 8
313#define LBS_NODATA 0x2000
314#define LBS_NOINTEGRALHEIGHT 256
315#define LBS_NOREDRAW 4
316#define LBS_NOSEL 0x4000
318#define LBS_OWNERDRAWFIXED 16
319#define LBS_OWNERDRAWVARIABLE 32
321#define LBS_STANDARD 0xa00003
322#define LBS_USETABSTOPS 128
323#define LBS_WANTKEYBOARDINPUT 0x400
324#define LBS_COMBOBOX 0x8000
325#define SBS_BOTTOMALIGN 4
327#define SBS_LEFTALIGN 2
328#define SBS_RIGHTALIGN 4
330#define SBS_SIZEBOXBOTTOMRIGHTALIGN 4
331#define SBS_SIZEBOXTOPLEFTALIGN 2
332#define SBS_SIZEGRIP 16
333#define SBS_TOPALIGN 2
336#define SS_BLACKFRAME 7
337#define SS_BLACKRECT 4
339#define SS_CENTERIMAGE 512
340#define SS_EDITCONTROL 0x2000
341#define SS_ENHMETAFILE 15
342#define SS_ETCHEDFRAME 18
343#define SS_ETCHEDHORZ 16
344#define SS_ETCHEDVERT 17
345#define SS_GRAYFRAME 8
349#define SS_LEFTNOWORDWRAP 0xc
350#define SS_NOPREFIX 128
352#define SS_OWNERDRAW 0xd
353#define SS_REALSIZECONTROL 0x040
354#define SS_REALSIZEIMAGE 0x800
356#define SS_RIGHTJUST 0x400
358#define SS_SUNKEN 4096
359#define SS_WHITEFRAME 9
360#define SS_WHITERECT 6
361#define SS_USERITEM 10
362#define SS_TYPEMASK 0x0000001FL
363#define SS_ENDELLIPSIS 0x00004000L
364#define SS_PATHELLIPSIS 0x00008000L
365#define SS_WORDELLIPSIS 0x0000C000L
366#define SS_ELLIPSISMASK 0x0000C000L
369#define DS_CENTER 0x800
370#define DS_CENTERMOUSE 4096
371#define DS_CONTEXTHELP 0x2000
372#define DS_CONTROL 0x400
374#define DS_LOCALEDIT 32
375#define DS_MODALFRAME 128
376#define DS_NOFAILCREATE 16
377#define DS_NOIDLEMSG 256
379#define DS_SETFOREGROUND 512
381#define DS_SHELLFONT (DS_SETFONT | DS_FIXEDSYS)
382#define WS_EX_ACCEPTFILES 16
383#define WS_EX_APPWINDOW 0x40000
384#define WS_EX_CLIENTEDGE 512
385#define WS_EX_COMPOSITED 0x2000000
386#define WS_EX_CONTEXTHELP 0x400
387#define WS_EX_CONTROLPARENT 0x10000
388#define WS_EX_DLGMODALFRAME 1
389#define WS_EX_LAYERED 0x80000
390#define WS_EX_LAYOUTRTL 0x400000
392#define WS_EX_LEFTSCROLLBAR 0x4000
393#define WS_EX_LTRREADING 0
394#define WS_EX_MDICHILD 64
395#define WS_EX_NOACTIVATE 0x8000000
396#define WS_EX_NOINHERITLAYOUT 0x100000
397#define WS_EX_NOPARENTNOTIFY 4
398#define WS_EX_OVERLAPPEDWINDOW 0x300
399#define WS_EX_PALETTEWINDOW 0x188
400#define WS_EX_RIGHT 0x1000
401#define WS_EX_RIGHTSCROLLBAR 0
402#define WS_EX_RTLREADING 0x2000
403#define WS_EX_STATICEDGE 0x20000
404#define WS_EX_TOOLWINDOW 128
405#define WS_EX_TOPMOST 8
406#define WS_EX_TRANSPARENT 32
407#define WS_EX_WINDOWEDGE 256
408#define WINSTA_ACCESSCLIPBOARD 4
409#define WINSTA_ACCESSGLOBALATOMS 32
410#define WINSTA_CREATEDESKTOP 8
411#define WINSTA_ENUMDESKTOPS 1
412#define WINSTA_ENUMERATE 256
413#define WINSTA_EXITWINDOWS 64
414#define WINSTA_READATTRIBUTES 2
415#define WINSTA_READSCREEN 512
416#define WINSTA_WRITEATTRIBUTES 16
417#define WINSTA_ALL_ACCESS 895
418#define DDL_READWRITE 0
419#define DDL_READONLY 1
422#define DDL_DIRECTORY 16
423#define DDL_ARCHIVE 32
424#define DDL_POSTMSGS 8192
425#define DDL_DRIVES 16384
426#define DDL_EXCLUSIVE 32768
427#define DC_ACTIVE 0x00000001
428#define DC_SMALLCAP 0x00000002
429#define DC_ICON 0x00000004
430#define DC_TEXT 0x00000008
431#define DC_INBUTTON 0x00000010
432#if (_WIN32_WINDOWS >= 0x0410 || _WIN32_WINNT >= 0x0500)
433#define DC_GRADIENT 0x00000020
435#if (_WIN32_WINNT >= 0x0501)
436#define DC_BUTTONS 0x00001000
439#define DC_CAPTION (DC_ICON|DC_TEXT|DC_BUTTONS)
440#define DC_NC (DC_CAPTION|DC_FRAME)
442#define BDR_RAISEDOUTER 1
443#define BDR_SUNKENOUTER 2
444#define BDR_RAISEDINNER 4
445#define BDR_SUNKENINNER 8
450#define EDGE_RAISED (BDR_RAISEDOUTER|BDR_RAISEDINNER)
451#define EDGE_SUNKEN (BDR_SUNKENOUTER|BDR_SUNKENINNER)
452#define EDGE_ETCHED (BDR_SUNKENOUTER|BDR_RAISEDINNER)
453#define EDGE_BUMP (BDR_RAISEDOUTER|BDR_SUNKENINNER)
458#define BF_TOPLEFT (BF_TOP|BF_LEFT)
459#define BF_TOPRIGHT (BF_TOP|BF_RIGHT)
460#define BF_BOTTOMLEFT (BF_BOTTOM|BF_LEFT)
461#define BF_BOTTOMRIGHT (BF_BOTTOM|BF_RIGHT)
462#define BF_RECT (BF_LEFT|BF_TOP|BF_RIGHT|BF_BOTTOM)
463#define BF_DIAGONAL 16
464#define BF_DIAGONAL_ENDTOPRIGHT (BF_DIAGONAL|BF_TOP|BF_RIGHT)
465#define BF_DIAGONAL_ENDTOPLEFT (BF_DIAGONAL|BF_TOP|BF_LEFT)
466#define BF_DIAGONAL_ENDBOTTOMLEFT (BF_DIAGONAL|BF_BOTTOM|BF_LEFT)
467#define BF_DIAGONAL_ENDBOTTOMRIGHT (BF_DIAGONAL|BF_BOTTOM|BF_RIGHT)
468#define BF_MIDDLE 0x800
469#define BF_SOFT 0x1000
470#define BF_ADJUST 0x2000
471#define BF_FLAT 0x4000
472#define BF_MONO 0x8000
477#if (WINVER >= 0x0500)
478#define DFC_POPUPMENU 5
480#define DFCS_CAPTIONCLOSE 0
481#define DFCS_CAPTIONMIN 1
482#define DFCS_CAPTIONMAX 2
483#define DFCS_CAPTIONRESTORE 3
484#define DFCS_CAPTIONHELP 4
485#define DFCS_MENUARROW 0
486#define DFCS_MENUCHECK 1
487#define DFCS_MENUBULLET 2
488#define DFCS_MENUARROWRIGHT 4
489#define DFCS_SCROLLUP 0
490#define DFCS_SCROLLDOWN 1
491#define DFCS_SCROLLLEFT 2
492#define DFCS_SCROLLRIGHT 3
493#define DFCS_SCROLLCOMBOBOX 5
494#define DFCS_SCROLLSIZEGRIP 8
495#define DFCS_SCROLLSIZEGRIPRIGHT 16
496#define DFCS_BUTTONCHECK 0
497#define DFCS_BUTTONRADIOIMAGE 1
498#define DFCS_BUTTONRADIOMASK 2
499#define DFCS_BUTTONRADIO 4
500#define DFCS_BUTTON3STATE 8
501#define DFCS_BUTTONPUSH 16
502#define DFCS_INACTIVE 256
503#define DFCS_PUSHED 512
504#define DFCS_CHECKED 1024
505#if (WINVER >= 0x0500)
506#define DFCS_TRANSPARENT 0x800
507#define DFCS_HOT 0x1000
509#define DFCS_ADJUSTRECT 0x2000
510#define DFCS_FLAT 0x4000
511#define DFCS_MONO 0x8000
514#define DST_PREFIXTEXT 2
519#define DSS_DISABLED 32
520#define DSS_DEFAULT 64
522#define DSS_HIDEPREFIX 0x0200
523#define DSS_PREFIXONLY 0x0400
524#define DSS_RIGHT 0x8000
526#define DT_CALCRECT 1024
528#define DT_EDITCONTROL 8192
529#define DT_END_ELLIPSIS 32768
530#define DT_PATH_ELLIPSIS 16384
531#define DT_WORD_ELLIPSIS 0x40000
532#define DT_EXPANDTABS 64
533#define DT_EXTERNALLEADING 512
535#define DT_MODIFYSTRING 65536
537#define DT_NOPREFIX 2048
539#define DT_RTLREADING 131072
540#define DT_SINGLELINE 32
541#define DT_TABSTOP 128
544#define DT_WORDBREAK 16
545#define DT_INTERNAL 4096
546#define DT_NOFULLWIDTHCHARBREAK 524288
547#define DT_HIDEPREFIX 1048576
548#define DT_PREFIXONLY 2097152
549#define WB_ISDELIMITER 2
556#define ESB_DISABLE_BOTH 3
557#define ESB_DISABLE_DOWN 2
558#define ESB_DISABLE_LEFT 1
559#define ESB_DISABLE_LTUP 1
560#define ESB_DISABLE_RIGHT 2
561#define ESB_DISABLE_RTDN 2
562#define ESB_DISABLE_UP 1
563#define ESB_ENABLE_BOTH 0
567#define SB_LINERIGHT 1
571#define SB_PAGERIGHT 3
572#define SB_THUMBPOSITION 4
573#define SB_THUMBTRACK 5
574#define SB_ENDSCROLL 8
580#define IS_INTRESOURCE(i) (((ULONG_PTR)(i) >> 16) == 0)
581#define MAKEINTRESOURCEA(i) ((LPSTR)(ULONG_PTR)LOWORD(i))
582#define MAKEINTRESOURCEW(i) ((LPWSTR)(ULONG_PTR)LOWORD(i))
585#ifdef WINE_NO_UNICODE_MACROS
586#define MAKEINTRESOURCE(i) ((ULONG_PTR)((WORD)(i)))
589#define MAKEINTRESOURCE MAKEINTRESOURCEW
591#define MAKEINTRESOURCE MAKEINTRESOURCEA
600#define RT_CURSOR MAKEINTRESOURCE(1)
601#define RT_BITMAP MAKEINTRESOURCE(2)
602#define RT_ICON MAKEINTRESOURCE(3)
603#define RT_MENU MAKEINTRESOURCE(4)
604#define RT_DIALOG MAKEINTRESOURCE(5)
605#define RT_STRING MAKEINTRESOURCE(6)
606#define RT_FONTDIR MAKEINTRESOURCE(7)
607#define RT_FONT MAKEINTRESOURCE(8)
608#define RT_ACCELERATOR MAKEINTRESOURCE(9)
609#define RT_RCDATA MAKEINTRESOURCE(10)
610#define RT_MESSAGETABLE MAKEINTRESOURCE(11)
612#define RT_GROUP_CURSOR MAKEINTRESOURCE((ULONG_PTR)RT_CURSOR+DIFFERENCE)
613#define RT_GROUP_ICON MAKEINTRESOURCE((ULONG_PTR)RT_ICON+DIFFERENCE)
614#define RT_VERSION MAKEINTRESOURCE(16)
615#define RT_DLGINCLUDE MAKEINTRESOURCE(17)
616#if (WINVER >= 0x0400)
617#define RT_PLUGPLAY MAKEINTRESOURCE(19)
618#define RT_VXD MAKEINTRESOURCE(20)
619#define RT_ANICURSOR MAKEINTRESOURCE(21)
620#define RT_ANIICON MAKEINTRESOURCE(22)
622#define RT_HTML MAKEINTRESOURCE(23)
625#define RT_MANIFEST MAKEINTRESOURCE(24)
626#define CREATEPROCESS_MANIFEST_RESOURCE_ID MAKEINTRESOURCE(1)
627#define ISOLATIONAWARE_MANIFEST_RESOURCE_ID MAKEINTRESOURCE(2)
628#define ISOLATIONAWARE_NOSTATICIMPORT_MANIFEST_RESOURCE_ID MAKEINTRESOURCE(3)
629#define MINIMUM_RESERVED_MANIFEST_RESOURCE_ID MAKEINTRESOURCE(1)
630#define MAXIMUM_RESERVED_MANIFEST_RESOURCE_ID MAKEINTRESOURCE(16)
632#define RT_MANIFEST 24
633#define CREATEPROCESS_MANIFEST_RESOURCE_ID 1
634#define ISOLATIONAWARE_MANIFEST_RESOURCE_ID 2
635#define ISOLATIONAWARE_NOSTATICIMPORT_MANIFEST_RESOURCE_ID 3
636#define MINIMUM_RESERVED_MANIFEST_RESOURCE_ID 1
637#define MAXIMUM_RESERVED_MANIFEST_RESOURCE_ID 16
643#define EWX_FORCE 0x00000004
645#define EWX_POWEROFF 0x00000008
646#define EWX_REBOOT 0x00000002
647#define EWX_SHUTDOWN 0x00000001
648#if (_WIN32_WINNT >= 0x0500)
649#define EWX_FORCEIFHUNG 0x00000010
651#if (_WIN32_WINNT > 0x06010000)
652#define EWX_HYBRID_SHUTDOWN 0x00400000
654#define CS_BYTEALIGNCLIENT 4096
655#define CS_BYTEALIGNWINDOW 8192
656#define CS_KEYCVTWINDOW 4
657#define CS_NOKEYCVT 256
660#define CS_GLOBALCLASS 16384
662#define CS_NOCLOSE 512
664#define CS_PARENTDC 128
665#define CS_SAVEBITS 2048
667#define CS_IME 0x10000
668#define CS_DROPSHADOW 0x20000
669#define GCW_ATOM (-32)
670#define GCL_CBCLSEXTRA (-20)
671#define GCL_CBWNDEXTRA (-18)
672#define GCL_HBRBACKGROUND (-10)
673#define GCL_HCURSOR (-12)
674#define GCL_HICON (-14)
675#define GCL_HICONSM (-34)
676#define GCL_HMODULE (-16)
677#define GCL_MENUNAME (-8)
678#define GCL_STYLE (-26)
679#define GCL_WNDPROC (-24)
680#define GCLP_HBRBACKGROUND (-10)
681#define GCLP_HCURSOR (-12)
682#define GCLP_HICON (-14)
683#define GCLP_HICONSM (-34)
684#define GCLP_HMODULE (-16)
685#define GCLP_MENUNAME (-8)
686#define GCLP_WNDPROC (-24)
692#define IDC_STATIC (-1)
695#define IDC_ARROW MAKEINTRESOURCE(32512)
696#define IDC_IBEAM MAKEINTRESOURCE(32513)
697#define IDC_WAIT MAKEINTRESOURCE(32514)
698#define IDC_CROSS MAKEINTRESOURCE(32515)
699#define IDC_UPARROW MAKEINTRESOURCE(32516)
700#define IDC_SIZENWSE MAKEINTRESOURCE(32642)
701#define IDC_SIZENESW MAKEINTRESOURCE(32643)
702#define IDC_SIZEWE MAKEINTRESOURCE(32644)
703#define IDC_SIZENS MAKEINTRESOURCE(32645)
704#define IDC_SIZEALL MAKEINTRESOURCE(32646)
705#define IDC_NO MAKEINTRESOURCE(32648)
706#define IDC_HAND MAKEINTRESOURCE(32649)
707#define IDC_APPSTARTING MAKEINTRESOURCE(32650)
708#define IDC_HELP MAKEINTRESOURCE(32651)
709#define IDC_ICON MAKEINTRESOURCE(32641)
710#define IDC_SIZE MAKEINTRESOURCE(32640)
712#define IDI_APPLICATION MAKEINTRESOURCE(32512)
713#define IDI_HAND MAKEINTRESOURCE(32513)
714#define IDI_QUESTION MAKEINTRESOURCE(32514)
715#define IDI_EXCLAMATION MAKEINTRESOURCE(32515)
716#define IDI_ASTERISK MAKEINTRESOURCE(32516)
717#define IDI_WINLOGO MAKEINTRESOURCE(32517)
719#define IDI_APPLICATION 32512
720#define IDI_HAND 32513
721#define IDI_QUESTION 32514
722#define IDI_EXCLAMATION 32515
723#define IDI_ASTERISK 32516
724#define IDI_WINLOGO 32517
726#define IDI_SHIELD 32518
729#define IDI_WARNING IDI_EXCLAMATION
730#define IDI_ERROR IDI_HAND
731#define IDI_INFORMATION IDI_ASTERISK
734#define MIIM_SUBMENU 4
735#define MIIM_CHECKMARKS 8
738#define MIIM_STRING 64
739#define MIIM_BITMAP 128
740#define MIIM_FTYPE 256
741#if (WINVER >= 0x0500)
742#define MIM_MAXHEIGHT 1
743#define MIM_BACKGROUND 2
745#define MIM_MENUDATA 8
747#define MIM_APPLYTOSUBMENUS 0x80000000L
750#define MFT_MENUBARBREAK 32
751#define MFT_MENUBREAK 64
752#define MFT_OWNERDRAW 256
753#define MFT_RADIOCHECK 512
754#define MFT_RIGHTJUSTIFY 0x4000
755#define MFT_SEPARATOR 0x800
756#define MFT_RIGHTORDER 0x2000L
759#define MFS_DEFAULT 4096
760#define MFS_DISABLED 3
763#define MFS_HILITE 128
764#define MFS_UNCHECKED 0
765#define MFS_UNHILITE 0
766#define MNS_NOCHECK 0x80000000
767#define MNS_MODELESS 0x40000000
768#define MNS_DRAGDROP 0x20000000
769#define MNS_AUTODISMISS 0x10000000
770#define MNS_NOTIFYBYPOS 0x08000000
771#define MNS_CHECKORBMP 0x04000000
775#define GW_HWNDFIRST 0
778#define GW_ENABLEDPOPUP 6
781#define SW_SHOWNORMAL 1
782#define SW_SHOWMINIMIZED 2
784#define SW_SHOWMAXIMIZED 3
785#define SW_SHOWNOACTIVATE 4
788#define SW_SHOWMINNOACTIVE 7
791#define SW_SHOWDEFAULT 10
792#define SW_FORCEMINIMIZE 11
794#define MB_USERICON 128
795#define MB_ICONASTERISK 64
796#define MB_ICONEXCLAMATION 0x30
797#define MB_ICONWARNING 0x30
798#define MB_ICONERROR 16
799#define MB_ICONHAND 16
800#define MB_ICONQUESTION 32
802#define MB_ABORTRETRYIGNORE 2
803#define MB_APPLMODAL 0
804#define MB_DEFAULT_DESKTOP_ONLY 0x20000
805#define MB_HELP 0x4000
806#define MB_RIGHT 0x80000
807#define MB_RTLREADING 0x100000
808#define MB_TOPMOST 0x40000
809#define MB_DEFBUTTON1 0
810#define MB_DEFBUTTON2 256
811#define MB_DEFBUTTON3 512
812#define MB_DEFBUTTON4 0x300
813#define MB_ICONINFORMATION 64
814#define MB_ICONSTOP 16
816#define MB_RETRYCANCEL 5
818#if (_WIN32_WINNT >= 0x0400)
819#define MB_SERVICE_NOTIFICATION 0x00200000
821#define MB_SERVICE_NOTIFICATION 0x00040000
823#define MB_SERVICE_NOTIFICATION_NT3X 0x00040000
825#define MB_SETFOREGROUND 0x10000
826#define MB_SYSTEMMODAL 4096
827#define MB_TASKMODAL 0x2000
829#define MB_YESNOCANCEL 3
830#define MB_ICONMASK 240
831#define MB_DEFMASK 3840
832#define MB_MODEMASK 0x00003000
833#define MB_MISCMASK 0x0000C000
834#define MB_NOFOCUS 0x00008000
835#define MB_TYPEMASK 15
836#define MB_TOPMOST 0x40000
837#if (WINVER >= 0x0500)
838#define MB_CANCELTRYCONTINUE 6
848#if (WINVER >= 0x0400)
852#if (WINVER >= 0x0500)
856#if (WINVER >= 0x0501)
858#define IDTIMEOUT 32000
862#define GWL_EXSTYLE (-20)
863#define GWL_STYLE (-16)
864#define GWL_WNDPROC (-4)
865#define GWLP_WNDPROC (-4)
866#define GWL_HINSTANCE (-6)
867#define GWLP_HINSTANCE (-6)
868#define GWL_HWNDPARENT (-8)
869#define GWLP_HWNDPARENT (-8)
872#define GWL_USERDATA (-21)
873#define GWLP_USERDATA (-21)
876#define DWL_MSGRESULT 0
881#define DWLP_MSGRESULT 0
882#define DWLP_DLGPROC (DWLP_MSGRESULT + sizeof(LRESULT))
883#define DWLP_USER (DWLP_DLGPROC + sizeof(DLGPROC))
886#define QS_MOUSEMOVE 2
887#define QS_MOUSEBUTTON 4
888#define QS_POSTMESSAGE 8
891#define QS_SENDMESSAGE 64
893#define QS_ALLPOSTMESSAGE 256
895#if (_WIN32_WINNT >= 0x0501)
896#define QS_RAWINPUT 1024
898#if (_WIN32_WINNT >= 0x0602)
900#define QS_POINTER 4096
903#define QS_MOUSE (QS_MOUSEMOVE | QS_MOUSEBUTTON)
905#if (_WIN32_WINNT >= 0x0602)
906#define QS_INPUT (QS_KEY | QS_MOUSE | QS_RAWINPUT | QS_TOUCH | QS_POINTER)
907#elif (_WIN32_WINNT >= 0x0501)
908#define QS_INPUT (QS_KEY | QS_MOUSE | QS_RAWINPUT)
910#define QS_INPUT (QS_KEY | QS_MOUSE)
913#define QS_ALLEVENTS (QS_INPUT | QS_POSTMESSAGE | QS_TIMER | QS_PAINT | QS_HOTKEY)
914#define QS_ALLINPUT (QS_ALLEVENTS | QS_SENDMESSAGE)
916#define USER_TIMER_MAXIMUM 2147483647
917#define USER_TIMER_MINIMUM 10
919#define MWMO_WAITALL 1
920#define MWMO_ALERTABLE 2
921#define MWMO_INPUTAVAILABLE 4
923#define COLOR_SCROLLBAR 0
924#define COLOR_BACKGROUND 1
925#define COLOR_DESKTOP COLOR_BACKGROUND
926#define COLOR_ACTIVECAPTION 2
927#define COLOR_INACTIVECAPTION 3
929#define COLOR_WINDOW 5
930#define COLOR_WINDOWFRAME 6
931#define COLOR_MENUTEXT 7
932#define COLOR_WINDOWTEXT 8
933#define COLOR_CAPTIONTEXT 9
934#define COLOR_ACTIVEBORDER 10
935#define COLOR_INACTIVEBORDER 11
936#define COLOR_APPWORKSPACE 12
937#define COLOR_HIGHLIGHT 13
938#define COLOR_HIGHLIGHTTEXT 14
939#define COLOR_BTNFACE 15
940#define COLOR_3DFACE COLOR_BTNFACE
941#define COLOR_BTNSHADOW 16
942#define COLOR_3DSHADOW COLOR_BTNSHADOW
943#define COLOR_GRAYTEXT 17
944#define COLOR_BTNTEXT 18
945#define COLOR_INACTIVECAPTIONTEXT 19
946#define COLOR_BTNHIGHLIGHT 20
947#define COLOR_3DHIGHLIGHT COLOR_BTNHIGHLIGHT
948#define COLOR_3DHILIGHT COLOR_BTNHIGHLIGHT
949#define COLOR_BTNHILIGHT COLOR_BTNHIGHLIGHT
950#define COLOR_3DDKSHADOW 21
951#define COLOR_3DLIGHT 22
952#define COLOR_INFOTEXT 23
953#define COLOR_INFOBK 24
954#define COLOR_HOTLIGHT 26
955#define COLOR_GRADIENTACTIVECAPTION 27
956#define COLOR_GRADIENTINACTIVECAPTION 28
958#define COLOR_MENUHILIGHT 29
959#define COLOR_MENUBAR 30
962#define CTLCOLOR_MSGBOX 0
963#define CTLCOLOR_EDIT 1
964#define CTLCOLOR_LISTBOX 2
965#define CTLCOLOR_BTN 3
966#define CTLCOLOR_DLG 4
967#define CTLCOLOR_SCROLLBAR 5
968#define CTLCOLOR_STATIC 6
969#define CTLCOLOR_MAX 7
972#define SM_CXVSCROLL 2
973#define SM_CYHSCROLL 3
974#define SM_CYCAPTION 4
977#define SM_CXDLGFRAME 7
978#define SM_CXFIXEDFRAME 7
979#define SM_CYDLGFRAME 8
980#define SM_CYFIXEDFRAME 8
982#define SM_CXHTHUMB 10
985#define SM_CXCURSOR 13
986#define SM_CYCURSOR 14
988#define SM_CXFULLSCREEN 16
989#define SM_CYFULLSCREEN 17
990#define SM_CYKANJIWINDOW 18
991#define SM_MOUSEPRESENT 19
992#define SM_CYVSCROLL 20
993#define SM_CXHSCROLL 21
995#define SM_SWAPBUTTON 23
996#define SM_RESERVED1 24
997#define SM_RESERVED2 25
998#define SM_RESERVED3 26
999#define SM_RESERVED4 27
1004#define SM_CXSIZEFRAME 32
1005#define SM_CXFRAME 32
1006#define SM_CYSIZEFRAME 33
1007#define SM_CYFRAME 33
1008#define SM_CXMINTRACK 34
1009#define SM_CYMINTRACK 35
1010#define SM_CXDOUBLECLK 36
1011#define SM_CYDOUBLECLK 37
1012#define SM_CXICONSPACING 38
1013#define SM_CYICONSPACING 39
1014#define SM_MENUDROPALIGNMENT 40
1015#define SM_PENWINDOWS 41
1016#define SM_DBCSENABLED 42
1017#define SM_CMOUSEBUTTONS 43
1021#define SM_CXMINSPACING 47
1022#define SM_CYMINSPACING 48
1023#define SM_CXSMICON 49
1024#define SM_CYSMICON 50
1025#define SM_CYSMCAPTION 51
1026#define SM_CXSMSIZE 52
1027#define SM_CYSMSIZE 53
1028#define SM_CXMENUSIZE 54
1029#define SM_CYMENUSIZE 55
1030#define SM_ARRANGE 56
1031#define SM_CXMINIMIZED 57
1032#define SM_CYMINIMIZED 58
1033#define SM_CXMAXTRACK 59
1034#define SM_CYMAXTRACK 60
1035#define SM_CXMAXIMIZED 61
1036#define SM_CYMAXIMIZED 62
1037#define SM_NETWORK 63
1038#define SM_CLEANBOOT 67
1041#define SM_SHOWSOUNDS 70
1042#define SM_CXMENUCHECK 71
1043#define SM_CYMENUCHECK 72
1044#define SM_SLOWMACHINE 73
1045#define SM_MIDEASTENABLED 74
1046#define SM_MOUSEWHEELPRESENT 75
1047#define SM_XVIRTUALSCREEN 76
1048#define SM_YVIRTUALSCREEN 77
1049#define SM_CXVIRTUALSCREEN 78
1050#define SM_CYVIRTUALSCREEN 79
1051#define SM_CMONITORS 80
1052#define SM_SAMEDISPLAYFORMAT 81
1053#if(_WIN32_WINNT >= 0x0500)
1054#define SM_IMMENABLED 82
1056#if (_WIN32_WINNT >= 0x0501)
1057#define SM_CXFOCUSBORDER 83
1058#define SM_CYFOCUSBORDER 84
1059#define SM_TABLETPC 86
1060#define SM_MEDIACENTER 87
1061#define SM_STARTER 88
1062#define SM_SERVERR2 89
1064#if (_WIN32_WINNT >= 0x0600)
1065#define SM_MOUSEHORIZONTALWHEELPRESENT 91
1066#define SM_CXPADDEDBORDER 92
1069#define SM_REMOTESESSION 0x1000
1070#if (_WIN32_WINNT >= 0x0501)
1071#define SM_SHUTTINGDOWN 0x2000
1072#define SM_REMOTECONTROL 0x2001
1075#if (WINVER < 0x0500) && ((_WIN32_WINNT < 0x0400) || !defined(_WIN32_WINNT))
1076#define SM_CMETRICS 76
1077#elif (WINVER == 0x500)
1078#define SM_CMETRICS 83
1079#elif (WINVER == 0x501)
1080#define SM_CMETRICS 90
1082#define SM_CMETRICS 93
1085#define ARW_BOTTOMLEFT 0
1086#define ARW_BOTTOMRIGHT 1
1088#define ARW_TOPLEFT 2
1089#define ARW_TOPRIGHT 3
1097#define UOI_USER_SID 4
1098#define LR_DEFAULTCOLOR 0
1099#define LR_MONOCHROME 1
1101#define LR_COPYRETURNORG 4
1102#define LR_COPYDELETEORG 8
1103#define LR_LOADFROMFILE 16
1104#define LR_LOADTRANSPARENT 32
1105#define LR_DEFAULTSIZE 64
1106#define LR_LOADREALSIZE 128
1107#define LR_VGACOLOR 128
1108#define LR_LOADMAP3DCOLORS 4096
1109#define LR_CREATEDIBSECTION 8192
1110#define LR_COPYFROMRESOURCE 0x4000
1111#define LR_SHARED 32768
1112#define KEYEVENTF_EXTENDEDKEY 0x00000001
1113#define KEYEVENTF_KEYUP 00000002
1114#if (_WIN32_WINNT >= 0x0500)
1115#define KEYEVENTF_UNICODE 0x00000004
1116#define KEYEVENTF_SCANCODE 0x00000008
1120#define OBM_TRTYPE 32732
1121#define OBM_LFARROWI 32734
1122#define OBM_RGARROWI 32735
1123#define OBM_DNARROWI 32736
1124#define OBM_UPARROWI 32737
1125#define OBM_COMBO 32738
1126#define OBM_MNARROW 32739
1127#define OBM_LFARROWD 32740
1128#define OBM_RGARROWD 32741
1129#define OBM_DNARROWD 32742
1130#define OBM_UPARROWD 32743
1131#define OBM_RESTORED 32744
1132#define OBM_ZOOMD 32745
1133#define OBM_REDUCED 32746
1134#define OBM_RESTORE 32747
1135#define OBM_ZOOM 32748
1136#define OBM_REDUCE 32749
1137#define OBM_LFARROW 32750
1138#define OBM_RGARROW 32751
1139#define OBM_DNARROW 32752
1140#define OBM_UPARROW 32753
1141#define OBM_CLOSE 32754
1142#define OBM_OLD_RESTORE 32755
1143#define OBM_OLD_ZOOM 32756
1144#define OBM_OLD_REDUCE 32757
1145#define OBM_BTNCORNERS 32758
1146#define OBM_CHECKBOXES 32759
1147#define OBM_CHECK 32760
1148#define OBM_BTSIZE 32761
1149#define OBM_OLD_LFARROW 32762
1150#define OBM_OLD_RGARROW 32763
1151#define OBM_OLD_DNARROW 32764
1152#define OBM_OLD_UPARROW 32765
1153#define OBM_SIZE 32766
1154#define OBM_OLD_CLOSE 32767
1155#define OCR_NORMAL 32512
1156#define OCR_IBEAM 32513
1157#define OCR_WAIT 32514
1158#define OCR_CROSS 32515
1160#define OCR_SIZE 32640
1161#define OCR_ICON 32641
1162#define OCR_SIZENWSE 32642
1163#define OCR_SIZENESW 32643
1164#define OCR_SIZEWE 32644
1165#define OCR_SIZENS 32645
1166#define OCR_SIZEALL 32646
1168#define OCR_HAND 32649
1169#define OCR_APPSTARTING 32650
1170#define OCR_HELP 32651
1171#define OIC_SAMPLE 32512
1172#define OIC_HAND 32513
1173#define OIC_QUES 32514
1174#define OIC_BANG 32515
1175#define OIC_NOTE 32516
1176#define OIC_WINLOGO 32517
1177#define OIC_WARNING OIC_BANG
1178#define OIC_ERROR OIC_HAND
1179#define OIC_INFORMATION OIC_NOTE
1182#define HELPINFO_MENUITEM 2
1183#define HELPINFO_WINDOW 1
1184#define MSGF_DIALOGBOX 0
1185#define MSGF_MESSAGEBOX 1
1189#define MSGF_SCROLLBAR 5
1190#define MSGF_NEXTWINDOW 6
1191#define MSGF_MAINLOOP 8
1192#define MSGF_USER 4096
1194#define MOUSEEVENTF_MOVE 0x0001
1195#define MOUSEEVENTF_LEFTDOWN 0x0002
1196#define MOUSEEVENTF_LEFTUP 0x0004
1197#define MOUSEEVENTF_RIGHTDOWN 0x0008
1198#define MOUSEEVENTF_RIGHTUP 0x0010
1199#define MOUSEEVENTF_MIDDLEDOWN 0x0020
1200#define MOUSEEVENTF_MIDDLEUP 0x0040
1201#define MOUSEEVENTF_XDOWN 0x0080
1202#define MOUSEEVENTF_XUP 0x0100
1203#define MOUSEEVENTF_WHEEL 0x0800
1204#define MOUSEEVENTF_VIRTUALDESK 0x4000
1205#define MOUSEEVENTF_ABSOLUTE 0x8000
1206#define PM_NOREMOVE 0
1209#if (WINVER >= 0x0500)
1210# define PM_QS_INPUT (QS_INPUT << 16)
1211# define PM_QS_POSTMESSAGE ((QS_POSTMESSAGE|QS_HOTKEY|QS_TIMER) << 16)
1212# define PM_QS_PAINT (QS_PAINT << 16)
1213# define PM_QS_SENDMESSAGE (QS_SENDMESSAGE << 16)
1215#define HWND_BROADCAST ((HWND)0xffff)
1216#define HWND_BOTTOM ((HWND)1)
1217#define HWND_NOTOPMOST ((HWND)(-2))
1218#define HWND_TOP ((HWND)0)
1219#define HWND_TOPMOST ((HWND)(-1))
1220#define HWND_DESKTOP (HWND)0
1221#define HWND_MESSAGE ((HWND)(-3))
1223#define RDW_FRAME 1024
1224#define RDW_INTERNALPAINT 2
1225#define RDW_INVALIDATE 1
1226#define RDW_NOERASE 32
1227#define RDW_NOFRAME 2048
1228#define RDW_NOINTERNALPAINT 16
1229#define RDW_VALIDATE 8
1230#define RDW_ERASENOW 512
1231#define RDW_UPDATENOW 256
1232#define RDW_ALLCHILDREN 128
1233#define RDW_NOCHILDREN 64
1234#define SMTO_ABORTIFHUNG 2
1236#define SMTO_NORMAL 0
1237#if (WINVER >= 0x0500)
1238#define SMTO_NOTIMEOUTIFNOTHUNG 8
1240#if (WINVER >= 0x0600)
1241#define SMTO_ERRORONEXIT 32
1247#define SIF_DISABLENOSCROLL 8
1248#define SIF_TRACKPOS 16
1249#define SIF_THEMED 128
1250#define SWP_DRAWFRAME 32
1251#define SWP_FRAMECHANGED 32
1252#define SWP_HIDEWINDOW 128
1253#define SWP_NOACTIVATE 16
1254#define SWP_NOCOPYBITS 256
1257#define SWP_NOREDRAW 8
1258#define SWP_NOZORDER 4
1259#define SWP_SHOWWINDOW 64
1260#define SWP_NOOWNERZORDER 512
1261#define SWP_NOREPOSITION 512
1262#define SWP_NOSENDCHANGING 1024
1263#define SWP_DEFERERASE 8192
1264#define SWP_ASYNCWINDOWPOS 16384
1266#define HSHELL_WINDOWCREATED 1
1267#define HSHELL_WINDOWDESTROYED 2
1268#define HSHELL_ACTIVATESHELLWINDOW 3
1269#if(WINVER >= 0x0400)
1270#define HSHELL_WINDOWACTIVATED 4
1271#define HSHELL_GETMINRECT 5
1272#define HSHELL_REDRAW 6
1273#define HSHELL_TASKMAN 7
1274#define HSHELL_LANGUAGE 8
1275#define HSHELL_SYSMENU 9
1276#define HSHELL_ENDTASK 10
1278#if(_WIN32_WINNT >= 0x0500)
1279#define HSHELL_ACCESSIBILITYSTATE 11
1280#define ACCESS_STICKYKEYS 0x01
1281#define ACCESS_FILTERKEYS 0x02
1282#define ACCESS_MOUSEKEYS 0x03
1283#define HSHELL_APPCOMMAND 12
1285#if(_WIN32_WINNT >= 0x0501)
1286#define HSHELL_WINDOWREPLACED 13
1287#define HSHELL_WINDOWREPLACING 14
1290#define HSHELL_HIGHBIT 0x8000
1291#define HSHELL_FLASH (HSHELL_REDRAW|HSHELL_HIGHBIT)
1292#define HSHELL_RUDEAPPACTIVATED (HSHELL_WINDOWACTIVATED|HSHELL_HIGHBIT)
1294#if(_WIN32_WINNT >= 0x0500)
1295#define APPCOMMAND_BROWSER_BACKWARD 1
1296#define APPCOMMAND_BROWSER_FORWARD 2
1297#define APPCOMMAND_BROWSER_REFRESH 3
1298#define APPCOMMAND_BROWSER_STOP 4
1299#define APPCOMMAND_BROWSER_SEARCH 5
1300#define APPCOMMAND_BROWSER_FAVORITES 6
1301#define APPCOMMAND_BROWSER_HOME 7
1302#define APPCOMMAND_VOLUME_MUTE 8
1303#define APPCOMMAND_VOLUME_DOWN 9
1304#define APPCOMMAND_VOLUME_UP 10
1305#define APPCOMMAND_MEDIA_NEXTTRACK 11
1306#define APPCOMMAND_MEDIA_PREVIOUSTRACK 12
1307#define APPCOMMAND_MEDIA_STOP 13
1308#define APPCOMMAND_MEDIA_PLAY_PAUSE 14
1309#define APPCOMMAND_LAUNCH_MAIL 15
1310#define APPCOMMAND_LAUNCH_MEDIA_SELECT 16
1311#define APPCOMMAND_LAUNCH_APP1 17
1312#define APPCOMMAND_LAUNCH_APP2 18
1313#define APPCOMMAND_BASS_DOWN 19
1314#define APPCOMMAND_BASS_BOOST 20
1315#define APPCOMMAND_BASS_UP 21
1316#define APPCOMMAND_TREBLE_DOWN 22
1317#define APPCOMMAND_TREBLE_UP 23
1318#if( _WIN32_WINNT >= 0x0501 )
1319#define APPCOMMAND_MICROPHONE_VOLUME_MUTE 24
1320#define APPCOMMAND_MICROPHONE_VOLUME_DOWN 25
1321#define APPCOMMAND_MICROPHONE_VOLUME_UP 26
1322#define APPCOMMAND_HELP 27
1323#define APPCOMMAND_FIND 28
1324#define APPCOMMAND_NEW 29
1325#define APPCOMMAND_OPEN 30
1326#define APPCOMMAND_CLOSE 31
1327#define APPCOMMAND_SAVE 32
1328#define APPCOMMAND_PRINT 33
1329#define APPCOMMAND_UNDO 34
1330#define APPCOMMAND_REDO 35
1331#define APPCOMMAND_COPY 36
1332#define APPCOMMAND_CUT 37
1333#define APPCOMMAND_PASTE 38
1334#define APPCOMMAND_REPLY_TO_MAIL 39
1335#define APPCOMMAND_FORWARD_MAIL 40
1336#define APPCOMMAND_SEND_MAIL 41
1337#define APPCOMMAND_SPELL_CHECK 42
1338#define APPCOMMAND_DICTATE_OR_COMMAND_CONTROL_TOGGLE 43
1339#define APPCOMMAND_MIC_ON_OFF_TOGGLE 44
1340#define APPCOMMAND_CORRECTION_LIST 45
1341#define APPCOMMAND_MEDIA_PLAY 46
1342#define APPCOMMAND_MEDIA_PAUSE 47
1343#define APPCOMMAND_MEDIA_RECORD 48
1344#define APPCOMMAND_MEDIA_FAST_FORWARD 49
1345#define APPCOMMAND_MEDIA_REWIND 50
1346#define APPCOMMAND_MEDIA_CHANNEL_UP 51
1347#define APPCOMMAND_MEDIA_CHANNEL_DOWN 52
1350#define FAPPCOMMAND_MOUSE 0x8000
1351#define FAPPCOMMAND_KEY 0
1352#define FAPPCOMMAND_OEM 0x1000
1353#define FAPPCOMMAND_MASK 0xf000
1355#define GET_APPCOMMAND_LPARAM(lParam) ((SHORT)(HIWORD(lParam) & ~FAPPCOMMAND_MASK))
1356#define GET_DEVICE_LPARAM(lParam) ((WORD)(HIWORD(lParam) & FAPPCOMMAND_MASK))
1357#define GET_MOUSEORKEY_LPARAM GET_DEVICE_LPARAM
1358#define GET_FLAGS_LPARAM(lParam) (LOWORD(lParam))
1359#define GET_KEYSTATE_LPARAM(lParam) GET_FLAGS_LPARAM(lParam)
1364#define SPI_GETBEEP 0x0001
1365#define SPI_SETBEEP 0x0002
1366#define SPI_GETMOUSE 0x0003
1367#define SPI_SETMOUSE 0x0004
1368#define SPI_GETBORDER 0x0005
1369#define SPI_SETBORDER 0x0006
1370#define SPI_GETKEYBOARDSPEED 0x000A
1371#define SPI_SETKEYBOARDSPEED 0x000B
1372#define SPI_LANGDRIVER 0x000C
1373#define SPI_ICONHORIZONTALSPACING 0x000D
1374#define SPI_GETSCREENSAVETIMEOUT 0x000E
1375#define SPI_SETSCREENSAVETIMEOUT 0x000F
1376#define SPI_GETSCREENSAVEACTIVE 0x0010
1377#define SPI_SETSCREENSAVEACTIVE 0x0011
1378#define SPI_GETGRIDGRANULARITY 0x0012
1379#define SPI_SETGRIDGRANULARITY 0x0013
1380#define SPI_SETDESKWALLPAPER 0x0014
1381#define SPI_SETDESKPATTERN 0x0015
1382#define SPI_GETKEYBOARDDELAY 0x0016
1383#define SPI_SETKEYBOARDDELAY 0x0017
1384#define SPI_ICONVERTICALSPACING 0x0018
1385#define SPI_GETICONTITLEWRAP 0x0019
1386#define SPI_SETICONTITLEWRAP 0x001A
1387#define SPI_GETMENUDROPALIGNMENT 0x001B
1388#define SPI_SETMENUDROPALIGNMENT 0x001C
1389#define SPI_SETDOUBLECLKWIDTH 0x001D
1390#define SPI_SETDOUBLECLKHEIGHT 0x001E
1391#define SPI_GETICONTITLELOGFONT 0x001F
1392#define SPI_SETDOUBLECLICKTIME 0x0020
1393#define SPI_SETMOUSEBUTTONSWAP 0x0021
1394#define SPI_SETICONTITLELOGFONT 0x0022
1395#define SPI_GETFASTTASKSWITCH 0x0023
1396#define SPI_SETFASTTASKSWITCH 0x0024
1397#if(WINVER >= 0x0400)
1398 #define SPI_SETDRAGFULLWINDOWS 0x0025
1399 #define SPI_GETDRAGFULLWINDOWS 0x0026
1400 #define SPI_GETNONCLIENTMETRICS 0x0029
1401 #define SPI_SETNONCLIENTMETRICS 0x002A
1402 #define SPI_GETMINIMIZEDMETRICS 0x002B
1403 #define SPI_SETMINIMIZEDMETRICS 0x002C
1404 #define SPI_GETICONMETRICS 0x002D
1405 #define SPI_SETICONMETRICS 0x002E
1406 #define SPI_SETWORKAREA 0x002F
1407 #define SPI_GETWORKAREA 0x0030
1408 #define SPI_SETPENWINDOWS 0x0031
1410#define SPI_GETFILTERKEYS 0x0032
1411#define SPI_SETFILTERKEYS 0x0033
1412#define SPI_GETTOGGLEKEYS 0x0034
1413#define SPI_SETTOGGLEKEYS 0x0035
1414#define SPI_GETMOUSEKEYS 0x0036
1415#define SPI_SETMOUSEKEYS 0x0037
1416#define SPI_GETSHOWSOUNDS 0x0038
1417#define SPI_SETSHOWSOUNDS 0x0039
1418#define SPI_GETSTICKYKEYS 0x003A
1419#define SPI_SETSTICKYKEYS 0x003B
1420#define SPI_GETACCESSTIMEOUT 0x003C
1421#define SPI_SETACCESSTIMEOUT 0x003D
1422#if(WINVER >= 0x0400)
1423 #define SPI_GETSERIALKEYS 0x003E
1424 #define SPI_SETSERIALKEYS 0x003F
1426#define SPI_GETSOUNDSENTRY 0x0040
1427#define SPI_SETSOUNDSENTRY 0x0041
1428#if(WINVER >= 0x0400)
1429 #define SPI_GETHIGHCONTRAST 0x0042
1430 #define SPI_SETHIGHCONTRAST 0x0043
1431 #define SPI_GETKEYBOARDPREF 0x0044
1432 #define SPI_SETKEYBOARDPREF 0x0045
1433 #define SPI_GETSCREENREADER 0x0046
1434 #define SPI_SETSCREENREADER 0x0047
1435 #define SPI_GETANIMATION 0x0048
1436 #define SPI_SETANIMATION 0x0049
1437 #define SPI_GETFONTSMOOTHING 0x004A
1438 #define SPI_SETFONTSMOOTHING 0x004B
1439 #define SPI_SETDRAGWIDTH 0x004C
1440 #define SPI_SETDRAGHEIGHT 0x004D
1441 #define SPI_SETHANDHELD 0x004E
1442 #define SPI_GETLOWPOWERTIMEOUT 0x004F
1443 #define SPI_GETPOWEROFFTIMEOUT 0x0050
1444 #define SPI_SETLOWPOWERTIMEOUT 0x0051
1445 #define SPI_SETPOWEROFFTIMEOUT 0x0052
1446 #define SPI_GETLOWPOWERACTIVE 0x0053
1447 #define SPI_GETPOWEROFFACTIVE 0x0054
1448 #define SPI_SETLOWPOWERACTIVE 0x0055
1449 #define SPI_SETPOWEROFFACTIVE 0x0056
1450 #define SPI_SETCURSORS 0x0057
1451 #define SPI_SETICONS 0x0058
1452 #define SPI_GETDEFAULTINPUTLANG 0x0059
1453 #define SPI_SETDEFAULTINPUTLANG 0x005A
1454 #define SPI_SETLANGTOGGLE 0x005B
1455 #define SPI_GETWINDOWSEXTENSION 0x005C
1456 #define SPI_SETMOUSETRAILS 0x005D
1457 #define SPI_GETMOUSETRAILS 0x005E
1459#if(_WIN32_WINNT >= 0x0400)
1460 #define SPI_GETSNAPTODEFBUTTON 0x005F
1461 #define SPI_SETSNAPTODEFBUTTON 0x0060
1463#if(WINVER >= 0x0400)
1464 #define SPI_SCREENSAVERRUNNING 0x0061
1465 #define SPI_SETSCREENSAVERRUNNING SPI_SCREENSAVERRUNNING
1467#if (_WIN32_WINNT >= 0x0400) || (_WIN32_WINDOWS > 0x0400)
1468 #define SPI_GETMOUSEHOVERWIDTH 0x0062
1469 #define SPI_SETMOUSEHOVERWIDTH 0x0063
1470 #define SPI_GETMOUSEHOVERHEIGHT 0x0064
1471 #define SPI_SETMOUSEHOVERHEIGHT 0x0065
1472 #define SPI_GETMOUSEHOVERTIME 0x0066
1473 #define SPI_SETMOUSEHOVERTIME 0x0067
1474 #define SPI_GETWHEELSCROLLLINES 0x0068
1475 #define SPI_SETWHEELSCROLLLINES 0x0069
1476 #define SPI_GETMENUSHOWDELAY 0x006A
1477 #define SPI_SETMENUSHOWDELAY 0x006B
1478 #if (_WIN32_WINNT >= 0x0600)
1479 #define SPI_GETWHEELSCROLLCHARS 0x006C
1480 #define SPI_SETWHEELSCROLLCHARS 0x006D
1482 #define SPI_GETSHOWIMEUI 0x006E
1483 #define SPI_SETSHOWIMEUI 0x006F
1485#if(WINVER >= 0x0500)
1486 #define SPI_GETMOUSESPEED 0x0070
1487 #define SPI_SETMOUSESPEED 0x0071
1488 #define SPI_GETSCREENSAVERRUNNING 0x0072
1489 #define SPI_GETDESKWALLPAPER 0x0073
1491#if(WINVER >= 0x0600)
1492 #define SPI_GETAUDIODESCRIPTION 0x0074
1493 #define SPI_SETAUDIODESCRIPTION 0x0075
1494 #define SPI_GETSCREENSAVESECURE 0x0076
1495 #define SPI_SETSCREENSAVESECURE 0x0077
1497#if(WINVER >= 0x0500)
1498 #define SPI_GETACTIVEWINDOWTRACKING 0x1000
1499 #define SPI_SETACTIVEWINDOWTRACKING 0x1001
1500 #define SPI_GETMENUANIMATION 0x1002
1501 #define SPI_SETMENUANIMATION 0x1003
1502 #define SPI_GETCOMBOBOXANIMATION 0x1004
1503 #define SPI_SETCOMBOBOXANIMATION 0x1005
1504 #define SPI_GETLISTBOXSMOOTHSCROLLING 0x1006
1505 #define SPI_SETLISTBOXSMOOTHSCROLLING 0x1007
1506 #define SPI_GETGRADIENTCAPTIONS 0x1008
1507 #define SPI_SETGRADIENTCAPTIONS 0x1009
1508 #define SPI_GETKEYBOARDCUES 0x100A
1509 #define SPI_SETKEYBOARDCUES 0x100B
1510 #define SPI_GETMENUUNDERLINES SPI_GETKEYBOARDCUES
1511 #define SPI_SETMENUUNDERLINES SPI_SETKEYBOARDCUES
1512 #define SPI_GETACTIVEWNDTRKZORDER 0x100C
1513 #define SPI_SETACTIVEWNDTRKZORDER 0x100D
1514 #define SPI_GETHOTTRACKING 0x100E
1515 #define SPI_SETHOTTRACKING 0x100F
1516 #define SPI_GETMENUFADE 0x1012
1517 #define SPI_SETMENUFADE 0x1013
1518 #define SPI_GETSELECTIONFADE 0x1014
1519 #define SPI_SETSELECTIONFADE 0x1015
1520 #define SPI_GETTOOLTIPANIMATION 0x1016
1521 #define SPI_SETTOOLTIPANIMATION 0x1017
1522 #define SPI_GETTOOLTIPFADE 0x1018
1523 #define SPI_SETTOOLTIPFADE 0x1019
1524 #define SPI_GETCURSORSHADOW 0x101A
1525 #define SPI_SETCURSORSHADOW 0x101B
1526 #if(_WIN32_WINNT >= 0x0501)
1527 #define SPI_GETMOUSESONAR 0x101C
1528 #define SPI_SETMOUSESONAR 0x101D
1529 #define SPI_GETMOUSECLICKLOCK 0x101E
1530 #define SPI_SETMOUSECLICKLOCK 0x101F
1531 #define SPI_GETMOUSEVANISH 0x1020
1532 #define SPI_SETMOUSEVANISH 0x1021
1533 #define SPI_GETFLATMENU 0x1022
1534 #define SPI_SETFLATMENU 0x1023
1535 #define SPI_GETDROPSHADOW 0x1024
1536 #define SPI_SETDROPSHADOW 0x1025
1537 #define SPI_GETBLOCKSENDINPUTRESETS 0x1026
1538 #define SPI_SETBLOCKSENDINPUTRESETS 0x1027
1540 #define SPI_GETUIEFFECTS 0x103E
1541 #define SPI_SETUIEFFECTS 0x103F
1542 #if(_WIN32_WINNT >= 0x0600)
1543 #define SPI_GETDISABLEOVERLAPPEDCONTENT 0x1040
1544 #define SPI_SETDISABLEOVERLAPPEDCONTENT 0x1041
1545 #define SPI_GETCLIENTAREAANIMATION 0x1042
1546 #define SPI_SETCLIENTAREAANIMATION 0x1043
1547 #define SPI_GETCLEARTYPE 0x1048
1548 #define SPI_SETCLEARTYPE 0x1049
1549 #define SPI_GETSPEECHRECOGNITION 0x104A
1550 #define SPI_SETSPEECHRECOGNITION 0x104B
1552 #define SPI_GETFOREGROUNDLOCKTIMEOUT 0x2000
1553 #define SPI_SETFOREGROUNDLOCKTIMEOUT 0x2001
1554 #define SPI_GETACTIVEWNDTRKTIMEOUT 0x2002
1555 #define SPI_SETACTIVEWNDTRKTIMEOUT 0x2003
1556 #define SPI_GETFOREGROUNDFLASHCOUNT 0x2004
1557 #define SPI_SETFOREGROUNDFLASHCOUNT 0x2005
1558 #define SPI_GETCARETWIDTH 0x2006
1559 #define SPI_SETCARETWIDTH 0x2007
1560 #if(_WIN32_WINNT >= 0x0501)
1561 #define SPI_GETMOUSECLICKLOCKTIME 0x2008
1562 #define SPI_SETMOUSECLICKLOCKTIME 0x2009
1563 #define SPI_GETFONTSMOOTHINGTYPE 0x200A
1564 #define SPI_SETFONTSMOOTHINGTYPE 0x200B
1565 #define SPI_GETFONTSMOOTHINGCONTRAST 0x200C
1566 #define SPI_SETFONTSMOOTHINGCONTRAST 0x200D
1567 #define SPI_GETFOCUSBORDERWIDTH 0x200E
1568 #define SPI_SETFOCUSBORDERWIDTH 0x200F
1569 #define SPI_GETFOCUSBORDERHEIGHT 0x2010
1570 #define SPI_SETFOCUSBORDERHEIGHT 0x2011
1571 #define SPI_GETFONTSMOOTHINGORIENTATION 0x2012
1572 #define SPI_SETFONTSMOOTHINGORIENTATION 0x2013
1574 #define FE_FONTSMOOTHINGSTANDARD 0x0001
1575 #define FE_FONTSMOOTHINGCLEARTYPE 0x0002
1576 #define FE_FONTSMOOTHINGDOCKING 0x8000
1577 #define FE_FONTSMOOTHINGORIENTATIONBGR 0x0000
1578 #define FE_FONTSMOOTHINGORIENTATIONRGB 0x0001
1582#define SPIF_UPDATEINIFILE 1
1583#define SPIF_SENDCHANGE 2
1584#define SPIF_SENDWININICHANGE SPIF_SENDCHANGE
1585#define ATF_ONOFFFEEDBACK 2
1586#define ATF_TIMEOUTON 1
1588#if (WINVER >= 0x0500)
1591#define UIS_INITIALIZE 3
1593#define UISF_HIDEFOCUS 0x1
1594#define UISF_HIDEACCEL 0x2
1595#if (WINVER >= 0x0501)
1596#define UISF_ACTIVE 0x4
1601#define PBT_APMQUERYSUSPEND 0x0000
1602#define PBT_APMQUERYSTANDBY 0x0001
1603#define PBT_APMQUERYSUSPENDFAILED 0x0002
1604#define PBT_APMQUERYSTANDBYFAILED 0x0003
1605#define PBT_APMSUSPEND 0x0004
1606#define PBT_APMSTANDBY 0x0005
1607#define PBT_APMRESUMECRITICAL 0x0006
1608#define PBT_APMRESUMESUSPEND 0x0007
1609#define PBT_APMRESUMESTANDBY 0x0008
1610#define PBTF_APMRESUMEFROMFAILURE 0x00000001
1611#define PBT_APMBATTERYLOW 0x0009
1612#define PBT_APMPOWERSTATUSCHANGE 0x000A
1613#define PBT_APMOEMEVENT 0x000B
1614#define PBT_APMRESUMEAUTOMATIC 0x0012
1623#define WM_ACTIVATE 6
1624#define WM_SETFOCUS 7
1625#define WM_KILLFOCUS 8
1627#define WM_SETREDRAW 11
1628#define WM_SETTEXT 12
1629#define WM_GETTEXT 13
1630#define WM_GETTEXTLENGTH 14
1633#define WM_QUERYENDSESSION 17
1635#define WM_QUERYOPEN 19
1636#define WM_ERASEBKGND 20
1637#define WM_SYSCOLORCHANGE 21
1638#define WM_ENDSESSION 22
1639#define WM_SHOWWINDOW 24
1640#define WM_SETTINGCHANGE 26
1641#define WM_WININICHANGE 26
1642#define WM_DEVMODECHANGE 27
1643#define WM_ACTIVATEAPP 28
1644#define WM_FONTCHANGE 29
1645#define WM_TIMECHANGE 30
1646#define WM_CANCELMODE 31
1647#define WM_SETCURSOR 32
1648#define WM_MOUSEACTIVATE 33
1649#define WM_CHILDACTIVATE 34
1650#define WM_QUEUESYNC 35
1651#define WM_GETMINMAXINFO 36
1652#define WM_PAINTICON 38
1653#define WM_ICONERASEBKGND 39
1654#define WM_NEXTDLGCTL 40
1655#define WM_SPOOLERSTATUS 42
1656#define WM_DRAWITEM 43
1657#define WM_MEASUREITEM 44
1658#define WM_DELETEITEM 45
1659#define WM_VKEYTOITEM 46
1660#define WM_CHARTOITEM 47
1661#define WM_SETFONT 48
1662#define WM_GETFONT 49
1663#define WM_SETHOTKEY 50
1664#define WM_GETHOTKEY 51
1665#define WM_QUERYDRAGICON 55
1666#define WM_COMPAREITEM 57
1667#if (WINVER >= 0x0500)
1668#define WM_GETOBJECT 61
1670#define WM_COMPACTING 65
1671#define WM_COMMNOTIFY 68
1672#define WM_WINDOWPOSCHANGING 70
1673#define WM_WINDOWPOSCHANGED 71
1675#define WM_COPYDATA 74
1676#define WM_CANCELJOURNAL 75
1678#if (WINVER >= 0x0400)
1680#define WM_INPUTLANGCHANGEREQUEST 80
1681#define WM_INPUTLANGCHANGE 81
1684#define WM_USERCHANGED 84
1685#define WM_NOTIFYFORMAT 85
1686#define WM_CONTEXTMENU 123
1687#define WM_STYLECHANGING 124
1688#define WM_STYLECHANGED 125
1689#define WM_DISPLAYCHANGE 126
1690#define WM_GETICON 127
1691#define WM_SETICON 128
1694#define WM_NCCREATE 129
1695#define WM_NCDESTROY 130
1696#define WM_NCCALCSIZE 131
1697#define WM_NCHITTEST 132
1698#define WM_NCPAINT 133
1699#define WM_NCACTIVATE 134
1700#define WM_GETDLGCODE 135
1701#define WM_SYNCPAINT 136
1702#define WM_NCMOUSEMOVE 160
1703#define WM_NCLBUTTONDOWN 161
1704#define WM_NCLBUTTONUP 162
1705#define WM_NCLBUTTONDBLCLK 163
1706#define WM_NCRBUTTONDOWN 164
1707#define WM_NCRBUTTONUP 165
1708#define WM_NCRBUTTONDBLCLK 166
1709#define WM_NCMBUTTONDOWN 167
1710#define WM_NCMBUTTONUP 168
1711#define WM_NCMBUTTONDBLCLK 169
1713#if (_WIN32_WINNT >= 0x0500)
1714#define WM_NCXBUTTONDOWN 171
1715#define WM_NCXBUTTONUP 172
1716#define WM_NCXBUTTONDBLCLK 173
1719#define GIDC_ARRIVAL 1
1720#define GIDC_REMOVAL 2
1722#define WM_INPUT_DEVICE_CHANGE 254
1725#define WM_KEYFIRST 256
1726#define WM_KEYDOWN 256
1729#define WM_DEADCHAR 259
1730#define WM_SYSKEYDOWN 260
1731#define WM_SYSKEYUP 261
1732#define WM_SYSCHAR 262
1733#define WM_SYSDEADCHAR 263
1734#if(_WIN32_WINNT >= 0x0501)
1735#define WM_UNICHAR 0x0109
1736#define WM_KEYLAST WM_UNICHAR
1737#define UNICODE_NOCHAR 0xffff
1739#define WM_KEYLAST 264
1743#if (WINVER >= 0x0400)
1744#define WM_IME_STARTCOMPOSITION 0x010d
1745#define WM_IME_ENDCOMPOSITION 0x010e
1746#define WM_IME_COMPOSITION 0x010f
1747#define WM_IME_KEYLAST 0x010f
1750#define WM_INITDIALOG 272
1751#define WM_COMMAND 273
1752#define WM_SYSCOMMAND 274
1754#define WM_HSCROLL 276
1755#define WM_VSCROLL 277
1756#define WM_INITMENU 278
1757#define WM_INITMENUPOPUP 279
1758#define WM_MENUSELECT 287
1759#define WM_MENUCHAR 288
1760#define WM_ENTERIDLE 289
1762#if (WINVER >= 0x0500)
1764#define WM_MENURBUTTONUP 290
1765#define WM_MENUDRAG 291
1766#define WM_MENUGETOBJECT 292
1767#define WM_UNINITMENUPOPUP 293
1768#define WM_MENUCOMMAND 294
1769#if(_WIN32_WINNT >= 0x0500)
1770#define WM_CHANGEUISTATE 295
1771#define WM_UPDATEUISTATE 296
1772#define WM_QUERYUISTATE 297
1777#define WM_CTLCOLORMSGBOX 306
1778#define WM_CTLCOLOREDIT 307
1779#define WM_CTLCOLORLISTBOX 308
1780#define WM_CTLCOLORBTN 309
1781#define WM_CTLCOLORDLG 310
1782#define WM_CTLCOLORSCROLLBAR 311
1783#define WM_CTLCOLORSTATIC 312
1784#define MN_GETHMENU 481
1785#define WM_MOUSEFIRST 512
1786#define WM_MOUSEMOVE 512
1787#define WM_LBUTTONDOWN 513
1788#define WM_LBUTTONUP 514
1789#define WM_LBUTTONDBLCLK 515
1790#define WM_RBUTTONDOWN 516
1791#define WM_RBUTTONUP 517
1792#define WM_RBUTTONDBLCLK 518
1793#define WM_MBUTTONDOWN 519
1794#define WM_MBUTTONUP 520
1795#define WM_MBUTTONDBLCLK 521
1796#if (_WIN32_WINNT >= 0x0400) || (_WIN32_WINDOWS > 0x0400)
1797#define WM_MOUSEWHEEL 522
1799#if (_WIN32_WINNT >= 0x0500)
1800#define WM_XBUTTONDOWN 523
1801#define WM_XBUTTONUP 524
1802#define WM_XBUTTONDBLCLK 525
1804#if (_WIN32_WINNT >= 0x0600)
1805#define WM_MOUSEHWHEEL 526
1807#if (_WIN32_WINNT >= 0x0500)
1808#define WM_MOUSELAST 525
1809#elif (_WIN32_WINNT >= 0x0400) || (_WIN32_WINDOWS > 0x0400)
1810#define WM_MOUSELAST 522
1812#define WM_MOUSELAST 521
1814#define WM_PARENTNOTIFY 528
1815#define WM_ENTERMENULOOP 529
1816#define WM_EXITMENULOOP 530
1817#define WM_NEXTMENU 531
1818#define WM_SIZING 532
1819#define WM_CAPTURECHANGED 533
1820#define WM_MOVING 534
1821#define WM_POWERBROADCAST 536
1822#define WM_DEVICECHANGE 537
1823#define WM_MDICREATE 544
1824#define WM_MDIDESTROY 545
1825#define WM_MDIACTIVATE 546
1826#define WM_MDIRESTORE 547
1827#define WM_MDINEXT 548
1828#define WM_MDIMAXIMIZE 549
1829#define WM_MDITILE 550
1830#define WM_MDICASCADE 551
1831#define WM_MDIICONARRANGE 552
1832#define WM_MDIGETACTIVE 553
1833#define WM_MDISETMENU 560
1834#define WM_ENTERSIZEMOVE 561
1835#define WM_EXITSIZEMOVE 562
1836#define WM_DROPFILES 563
1837#define WM_MDIREFRESHMENU 564
1840#define WM_IME_SETCONTEXT 0x0281
1841#define WM_IME_NOTIFY 0x0282
1842#define WM_IME_CONTROL 0x0283
1843#define WM_IME_COMPOSITIONFULL 0x0284
1844#define WM_IME_SELECT 0x0285
1845#define WM_IME_CHAR 0x0286
1847#define WM_IME_REQUEST 0x0288
1849#define WM_IME_KEYDOWN 0x0290
1850#define WM_IME_KEYUP 0x0291
1852#define WM_NCMOUSEHOVER 0x02A0
1853#define WM_NCMOUSELEAVE 0x02A2
1854#define WM_MOUSEHOVER 0x02A1
1855#define WM_MOUSELEAVE 0x02A3
1857#if (_WIN32_WINNT >= 0x0501)
1858#define WTS_CONSOLE_CONNECT 0x1
1859#define WTS_CONSOLE_DISCONNECT 0x2
1860#define WTS_REMOTE_CONNECT 0x3
1861#define WTS_REMOTE_DISCONNECT 0x4
1862#define WTS_SESSION_LOGON 0x5
1863#define WTS_SESSION_LOGOFF 0x6
1864#define WTS_SESSION_LOCK 0x7
1865#define WTS_SESSION_UNLOCK 0x8
1866#define WTS_SESSION_REMOTE_CONTROL 0x9
1867#define WTS_SESSION_CREATE 0xA
1868#define WTS_SESSION_TERMINATE 0xB
1869#define WM_WTSSESSION_CHANGE 0x02B1
1877#define WM_RENDERFORMAT 773
1878#define WM_RENDERALLFORMATS 774
1879#define WM_DESTROYCLIPBOARD 775
1880#define WM_DRAWCLIPBOARD 776
1881#define WM_PAINTCLIPBOARD 777
1882#define WM_VSCROLLCLIPBOARD 778
1883#define WM_SIZECLIPBOARD 779
1884#define WM_ASKCBFORMATNAME 780
1885#define WM_CHANGECBCHAIN 781
1886#define WM_HSCROLLCLIPBOARD 782
1887#define WM_PALETTEISCHANGING 784
1888#define WM_PALETTECHANGED 785
1889#define WM_QUERYNEWPALETTE 783
1890#define WM_HOTKEY 786
1892#define WM_PRINTCLIENT 792
1893#define WM_APPCOMMAND 793
1895#define WM_DWMCOMPOSITIONCHANGED 0x031E
1896#define WM_DWMNCRENDERINGCHANGED 0x031F
1897#define WM_DWMCOLORIZATIONCOLORCHANGED 0x0320
1898#define WM_DWMWINDOWMAXIMIZEDCHANGE 0x0321
1900#define WM_HANDHELDFIRST 856
1901#define WM_HANDHELDLAST 863
1902#define WM_AFXFIRST 864
1903#define WM_AFXLAST 895
1904#define WM_PENWINFIRST 896
1905#define WM_PENWINLAST 911
1908#define WM_GETTITLEBARINFOEX 0x033F
1910#if (_WIN32_WINNT >= 0x0400)
1911#define WHEEL_DELTA 120
1912#define GET_WHEEL_DELTA_WPARAM(wParam) ((short)HIWORD(wParam))
1913#define WHEEL_PAGESCROLL UINT_MAX
1916#if (_WIN32_WINNT >= 0x0500)
1917#define GET_KEYSTATE_WPARAM(wParam) (LOWORD(wParam))
1918#define GET_NCHITTEST_WPARAM(wParam) ((short)LOWORD(wParam))
1919#define GET_XBUTTON_WPARAM(wParam) (HIWORD(wParam))
1920#define XBUTTON1 0x0001
1921#define XBUTTON2 0x0002
1924#if (_WIN32_WINNT >= 0x0501)
1925#define WM_THEMECHANGED 794
1929#define BM_GETCHECK 240
1930#define BM_GETIMAGE 246
1931#define BM_GETSTATE 242
1932#define BM_SETCHECK 241
1933#define BM_SETIMAGE 247
1934#define BM_SETSTATE 243
1935#define BM_SETSTYLE 244
1939#define BN_DOUBLECLICKED 5
1941#define BN_KILLFOCUS 7
1944#define BN_SETFOCUS 6
1945#define BN_UNHILITE 3
1946#define BN_UNPUSHED 3
1947#define CB_ADDSTRING 323
1948#define CB_DELETESTRING 324
1950#define CB_FINDSTRING 332
1951#define CB_FINDSTRINGEXACT 344
1952#define CB_GETCOMBOBOXINFO 356
1953#define CB_GETCOUNT 326
1954#define CB_GETCURSEL 327
1955#define CB_GETDROPPEDCONTROLRECT 338
1956#define CB_GETDROPPEDSTATE 343
1957#define CB_GETDROPPEDWIDTH 351
1958#define CB_GETEDITSEL 320
1959#define CB_GETEXTENDEDUI 342
1960#define CB_GETHORIZONTALEXTENT 349
1961#define CB_GETITEMDATA 336
1962#define CB_GETITEMHEIGHT 340
1963#define CB_GETLBTEXT 328
1964#define CB_GETLBTEXTLEN 329
1965#define CB_GETLOCALE 346
1966#define CB_GETTOPINDEX 347
1967#define CB_INITSTORAGE 353
1968#define CB_INSERTSTRING 330
1969#define CB_LIMITTEXT 321
1970#define CB_RESETCONTENT 331
1971#define CB_SELECTSTRING 333
1972#define CB_SETCURSEL 334
1973#define CB_SETDROPPEDWIDTH 352
1974#define CB_SETEDITSEL 322
1975#define CB_SETEXTENDEDUI 341
1976#define CB_SETHORIZONTALEXTENT 350
1977#define CB_SETITEMDATA 337
1978#define CB_SETITEMHEIGHT 339
1979#define CB_SETLOCALE 345
1980#define CB_SETTOPINDEX 348
1981#define CB_SHOWDROPDOWN 335
1982#define CB_MSGMAX 357
1983#define CBN_CLOSEUP 8
1985#define CBN_DROPDOWN 7
1986#define CBN_EDITCHANGE 5
1987#define CBN_EDITUPDATE 6
1988#define CBN_ERRSPACE (-1)
1989#define CBN_KILLFOCUS 4
1990#define CBN_SELCHANGE 1
1991#define CBN_SELENDCANCEL 10
1992#define CBN_SELENDOK 9
1993#define CBN_SETFOCUS 3
1994#define EM_CANUNDO 198
1995#define EM_CHARFROMPOS 215
1996#define EM_EMPTYUNDOBUFFER 205
1997#define EM_FMTLINES 200
1998#define EM_GETIMESTATUS 217
1999#define EM_GETFIRSTVISIBLELINE 206
2000#define EM_GETHANDLE 189
2001#define EM_GETLIMITTEXT 213
2002#define EM_GETLINE 196
2003#define EM_GETLINECOUNT 186
2004#define EM_GETMARGINS 212
2005#define EM_GETMODIFY 184
2006#define EM_GETPASSWORDCHAR 210
2007#define EM_GETRECT 178
2008#define EM_GETSEL 176
2009#define EM_GETTHUMB 190
2010#define EM_GETWORDBREAKPROC 209
2011#define EM_LIMITTEXT 197
2012#define EM_LINEFROMCHAR 201
2013#define EM_LINEINDEX 187
2014#define EM_LINELENGTH 193
2015#define EM_LINESCROLL 182
2016#define EM_POSFROMCHAR 214
2017#define EM_REPLACESEL 194
2018#define EM_SCROLL 181
2019#define EM_SCROLLCARET 183
2020#define EM_SETHANDLE 188
2021#define EM_SETIMESTATUS 216
2022#define EM_SETLIMITTEXT 197
2023#define EM_SETMARGINS 211
2024#define EM_SETMODIFY 185
2025#define EM_SETPASSWORDCHAR 204
2026#define EM_SETREADONLY 207
2027#define EM_SETRECT 179
2028#define EM_SETRECTNP 180
2029#define EM_SETSEL 177
2030#define EM_SETTABSTOPS 203
2031#define EM_SETWORDBREAKPROC 208
2033#define EN_CHANGE 768
2034#define EN_ERRSPACE 1280
2035#define EN_HSCROLL 1537
2036#define EN_KILLFOCUS 512
2037#define EN_MAXTEXT 1281
2038#define EN_SETFOCUS 256
2039#define EN_UPDATE 1024
2040#define EN_VSCROLL 1538
2041#define LB_ADDFILE 406
2042#define LB_ADDSTRING 384
2043#define LB_DELETESTRING 386
2045#define LB_FINDSTRING 399
2046#define LB_FINDSTRINGEXACT 418
2047#define LB_GETANCHORINDEX 413
2048#define LB_GETCARETINDEX 415
2049#define LB_GETCOUNT 395
2050#define LB_GETCURSEL 392
2051#define LB_GETHORIZONTALEXTENT 403
2052#define LB_GETITEMDATA 409
2053#define LB_GETITEMHEIGHT 417
2054#define LB_GETITEMRECT 408
2055#define LB_GETLISTBOXINFO 434
2056#define LB_GETLOCALE 422
2057#define LB_GETSEL 391
2058#define LB_GETSELCOUNT 400
2059#define LB_GETSELITEMS 401
2060#define LB_GETTEXT 393
2061#define LB_GETTEXTLEN 394
2062#define LB_GETTOPINDEX 398
2063#define LB_INITSTORAGE 424
2064#define LB_INSERTSTRING 385
2065#define LB_ITEMFROMPOINT 425
2066#define LB_RESETCONTENT 388
2067#define LB_SELECTSTRING 396
2068#define LB_SELITEMRANGE 411
2069#define LB_SELITEMRANGEEX 387
2070#define LB_SETANCHORINDEX 412
2071#define LB_SETCARETINDEX 414
2072#define LB_SETCOLUMNWIDTH 405
2073#define LB_SETCOUNT 423
2074#define LB_SETCURSEL 390
2075#define LB_SETHORIZONTALEXTENT 404
2076#define LB_SETITEMDATA 410
2077#define LB_SETITEMHEIGHT 416
2078#define LB_SETLOCALE 421
2079#define LB_SETSEL 389
2080#define LB_SETTABSTOPS 402
2081#define LB_SETTOPINDEX 407
2083#define LBN_ERRSPACE (-2)
2084#define LBN_KILLFOCUS 5
2085#define LBN_SELCANCEL 3
2086#define LBN_SELCHANGE 1
2087#define LBN_SETFOCUS 4
2088#define SBM_ENABLE_ARROWS 228
2089#define SBM_GETPOS 225
2090#define SBM_GETRANGE 227
2091#define SBM_SETPOS 224
2092#define SBM_SETRANGE 226
2093#define SBM_SETRANGEREDRAW 230
2094#if (_WIN32_WINNT >= 0x0400)
2095#define SBM_GETSCROLLINFO 234
2096#define SBM_SETSCROLLINFO 233
2098#if (_WIN32_WINNT >= 0x0501)
2099#define SBM_GETSCROLLBARINFO 235
2101#define STM_GETICON 369
2102#define STM_GETIMAGE 371
2103#define STM_SETICON 368
2104#define STM_SETIMAGE 370
2105#define STN_CLICKED 0
2107#define STN_DISABLE 3
2109#define DM_GETDEFID WM_USER
2110#define DM_SETDEFID (WM_USER+1)
2111#define DM_REPOSITION (WM_USER+2)
2112#define PSM_PAGEINFO (WM_USER+100)
2113#define PSM_SHEETINFO (WM_USER+101)
2114#define PSI_SETACTIVE 1
2115#define PSI_KILLACTIVE 2
2118#define PSI_HASHELP 5
2120#define PSI_CHANGED 1
2121#define PSI_GUISTART 2
2123#define PSI_GETSIBLINGS 4
2126#define DCX_PARENTCLIP 32
2127#define DCX_CLIPSIBLINGS 16
2128#define DCX_CLIPCHILDREN 8
2129#define DCX_NORESETATTRS 4
2130#define DCX_INTERSECTUPDATE 0x200
2131#define DCX_LOCKWINDOWUPDATE 0x400
2132#define DCX_EXCLUDERGN 64
2133#define DCX_INTERSECTRGN 128
2134#define DCX_VALIDATE 0x200000
2135#define DCX_EXCLUDEUPDATE 0x100
2136#define GMDI_GOINTOPOPUPS 2
2137#define GMDI_USEDISABLED 1
2138#define FKF_AVAILABLE 2
2139#define FKF_CLICKON 64
2140#define FKF_FILTERKEYSON 1
2141#define FKF_HOTKEYACTIVE 4
2142#define FKF_HOTKEYSOUND 16
2143#define FKF_CONFIRMHOTKEY 8
2144#define FKF_INDICATOR 32
2145#define HCF_HIGHCONTRASTON 1
2146#define HCF_AVAILABLE 2
2147#define HCF_HOTKEYACTIVE 4
2148#define HCF_CONFIRMHOTKEY 8
2149#define HCF_HOTKEYSOUND 16
2150#define HCF_INDICATOR 32
2151#define HCF_HOTKEYAVAILABLE 64
2153#define MKF_MOUSEKEYSON 0x00000001
2154#define MKF_AVAILABLE 0x00000002
2155#define MKF_HOTKEYACTIVE 0x00000004
2156#define MKF_CONFIRMHOTKEY 0x00000008
2157#define MKF_HOTKEYSOUND 0x00000010
2158#define MKF_INDICATOR 0x00000020
2159#define MKF_MODIFIERS 0x00000040
2160#define MKF_REPLACENUMBERS 0x00000080
2161#define MKF_LEFTBUTTONDOWN 0x01000000
2162#define MKF_RIGHTBUTTONDOWN 0x02000000
2163#define MKF_LEFTBUTTONSEL 0x10000000
2164#define MKF_RIGHTBUTTONSEL 0x20000000
2165#define MKF_MOUSEMODE 0x80000000
2167#define SERKF_ACTIVE 8
2168#define SERKF_AVAILABLE 2
2169#define SERKF_INDICATOR 4
2170#define SERKF_SERIALKEYSON 1
2171#define SSF_AVAILABLE 2
2172#define SSF_SOUNDSENTRYON 1
2173#define SSTF_BORDER 2
2175#define SSTF_DISPLAY 3
2177#define SSGF_DISPLAY 3
2179#define SSWF_CUSTOM 4
2180#define SSWF_DISPLAY 3
2183#define SSWF_WINDOW 2
2184#define SKF_AUDIBLEFEEDBACK 64
2185#define SKF_AVAILABLE 2
2186#define SKF_CONFIRMHOTKEY 8
2187#define SKF_HOTKEYACTIVE 4
2188#define SKF_HOTKEYSOUND 16
2189#define SKF_INDICATOR 32
2190#define SKF_STICKYKEYSON 1
2191#define SKF_TRISTATE 128
2192#define SKF_TWOKEYSOFF 256
2193#define TKF_AVAILABLE 2
2194#define TKF_CONFIRMHOTKEY 8
2195#define TKF_HOTKEYACTIVE 4
2196#define TKF_HOTKEYSOUND 16
2197#define TKF_TOGGLEKEYSON 1
2198#define MDITILE_SKIPDISABLED 2
2199#define MDITILE_HORIZONTAL 1
2200#define MDITILE_VERTICAL 0
2205#if (_WIN32_WINNT >= 0x0500)
2206#define VK_XBUTTON1 5
2207#define VK_XBUTTON2 6
2214#define VK_CONTROL 17
2217#define VK_CAPITAL 20
2219#define VK_HANGEUL 0x15
2220#define VK_HANGUL 0x15
2221#define VK_JUNJA 0x17
2222#define VK_FINAL 0x18
2223#define VK_HANJA 0x19
2224#define VK_KANJI 0x19
2225#define VK_ESCAPE 0x1B
2226#define VK_CONVERT 0x1C
2227#define VK_NONCONVERT 0x1D
2228#define VK_ACCEPT 0x1E
2229#define VK_MODECHANGE 0x1F
2241#define VK_EXECUTE 43
2242#define VK_SNAPSHOT 44
2249#define VK_SLEEP 0x5F
2250#define VK_NUMPAD0 0x60
2251#define VK_NUMPAD1 0x61
2252#define VK_NUMPAD2 0x62
2253#define VK_NUMPAD3 0x63
2254#define VK_NUMPAD4 0x64
2255#define VK_NUMPAD5 0x65
2256#define VK_NUMPAD6 0x66
2257#define VK_NUMPAD7 0x67
2258#define VK_NUMPAD8 0x68
2259#define VK_NUMPAD9 0x69
2260#define VK_MULTIPLY 0x6A
2262#define VK_SEPARATOR 0x6C
2263#define VK_SUBTRACT 0x6D
2264#define VK_DECIMAL 0x6E
2265#define VK_DIVIDE 0x6F
2290#define VK_NUMLOCK 0x90
2291#define VK_SCROLL 0x91
2292#define VK_OEM_NEC_EQUAL 0x92
2293#define VK_LSHIFT 0xA0
2294#define VK_RSHIFT 0xA1
2295#define VK_LCONTROL 0xA2
2296#define VK_RCONTROL 0xA3
2297#define VK_LMENU 0xA4
2298#define VK_RMENU 0xA5
2299#if (_WIN32_WINNT >= 0x0500)
2300#define VK_BROWSER_BACK 0xA6
2301#define VK_BROWSER_FORWARD 0xA7
2302#define VK_BROWSER_REFRESH 0xA8
2303#define VK_BROWSER_STOP 0xA9
2304#define VK_BROWSER_SEARCH 0xAA
2305#define VK_BROWSER_FAVORITES 0xAB
2306#define VK_BROWSER_HOME 0xAC
2307#define VK_VOLUME_MUTE 0xAD
2308#define VK_VOLUME_DOWN 0xAE
2309#define VK_VOLUME_UP 0xAF
2310#define VK_MEDIA_NEXT_TRACK 0xB0
2311#define VK_MEDIA_PREV_TRACK 0xB1
2312#define VK_MEDIA_STOP 0xB2
2313#define VK_MEDIA_PLAY_PAUSE 0xB3
2314#define VK_LAUNCH_MAIL 0xB4
2315#define VK_LAUNCH_MEDIA_SELECT 0xB5
2316#define VK_LAUNCH_APP1 0xB6
2317#define VK_LAUNCH_APP2 0xB7
2319#define VK_OEM_1 0xBA
2320#if (_WIN32_WINNT >= 0x0500)
2321#define VK_OEM_PLUS 0xBB
2322#define VK_OEM_COMMA 0xBC
2323#define VK_OEM_MINUS 0xBD
2324#define VK_OEM_PERIOD 0xBE
2326#define VK_OEM_2 0xBF
2327#define VK_OEM_3 0xC0
2328#define VK_OEM_4 0xDB
2329#define VK_OEM_5 0xDC
2330#define VK_OEM_6 0xDD
2331#define VK_OEM_7 0xDE
2332#define VK_OEM_8 0xDF
2333#if (_WIN32_WINNT >= 0x0500)
2334#define VK_OEM_102 0xE2
2336#define VK_ICO_HELP 0xE3
2337#define VK_ICO_00 0xE4
2338#define VK_PROCESSKEY 0xE5
2339#if (_WIN32_WINNT >= 0x0500)
2340#define VK_PACKET 0xE7
2342#define VK_OEM_RESET 0xE9
2343#define VK_OEM_JUMP 0xEA
2344#define VK_OEM_PA1 0xEB
2345#define VK_OEM_PA2 0xEC
2346#define VK_OEM_PA3 0xED
2347#define VK_OEM_WSCTRL 0xEE
2348#define VK_OEM_CUSEL 0xEF
2349#define VK_OEM_ATTN 0xF0
2350#define VK_OEM_FINISH 0xF1
2351#define VK_OEM_COPY 0xF2
2352#define VK_OEM_AUTO 0xF3
2353#define VK_OEM_ENLW 0xF4
2354#define VK_OEM_BACKTAB 0xF5
2356#define VK_CRSEL 0xF7
2357#define VK_EXSEL 0xF8
2358#define VK_EREOF 0xF9
2361#define VK_NONAME 0xFC
2363#define VK_OEM_CLEAR 0xFE
2366#define MAPVK_VK_TO_VSC 0
2367#define MAPVK_VSC_TO_VK 1
2368#define MAPVK_VK_TO_CHAR 2
2369#define MAPVK_VSC_TO_VK_EX 3
2370#define MAPVK_VK_TO_VSC_EX 4
2374#define TME_NONCLIENT 0x00000010
2375#define TME_QUERY 0x40000000
2376#define TME_CANCEL 0x80000000
2377#define HOVER_DEFAULT 0xFFFFFFFF
2382#define MK_MBUTTON 16
2383#if(_WIN32_WINNT >= 0x0500)
2384#define MK_XBUTTON1 0x0020
2385#define MK_XBUTTON2 0x0040
2387#define TPM_CENTERALIGN 4
2388#define TPM_LEFTALIGN 0
2389#define TPM_RIGHTALIGN 8
2390#define TPM_LEFTBUTTON 0
2391#define TPM_RIGHTBUTTON 2
2392#define TPM_HORIZONTAL 0
2393#define TPM_VERTICAL 64
2394#define TPM_TOPALIGN 0
2395#define TPM_VCENTERALIGN 16
2396#define TPM_BOTTOMALIGN 32
2397#define TPM_NONOTIFY 128
2398#define TPM_RETURNCMD 256
2399#if (_WIN32_WINNT >= 0x0500 || _WIN32_WINDOWS >= 0x0410)
2400#define TPM_RECURSE 0x0001
2401#define TPM_HORPOSANIMATION 0x0400
2402#define TPM_HORNEGANIMATION 0x0800
2403#define TPM_VERPOSANIMATION 0x1000
2404#define TPM_VERNEGANIMATION 0x2000
2406#if(_WIN32_WINNT >= 0x0500)
2407#define TPM_NOANIMATION 16384
2409#if (_WIN32_WINNT >= 0x0501)
2410#define TPM_LAYOUTRTL 32768
2412#if (_WIN32_WINNT >= 0x0601)
2413#define TPM_WORKAREA 65536
2415#define HELP_COMMAND 0x102
2416#define HELP_CONTENTS 3
2417#define HELP_CONTEXT 1
2418#define HELP_CONTEXTPOPUP 8
2419#define HELP_FORCEFILE 9
2420#define HELP_HELPONHELP 4
2422#define HELP_KEY 0x101
2423#define HELP_MULTIKEY 0x201
2424#define HELP_PARTIALKEY 0x105
2426#define HELP_SETCONTENTS 5
2427#define HELP_SETINDEX 5
2428#define HELP_SETWINPOS 0x203
2429#define HELP_CONTEXTMENU 0xa
2430#define HELP_FINDER 0xb
2431#define HELP_WM_HELP 0xc
2432#define HELP_TCARD 0x8000
2433#define HELP_TCARD_DATA 16
2434#define HELP_TCARD_OTHER_CALLER 0x11
2435#define IDH_NO_HELP 28440
2436#define IDH_MISSING_CONTEXT 28441
2437#define IDH_GENERIC_HELP_BUTTON 28442
2439#define IDH_CANCEL 28444
2440#define IDH_HELP 28445
2444#define LB_ERRSPACE (-2)
2447#define CB_ERRSPACE (-2)
2448#define HIDE_WINDOW 0
2449#define SHOW_OPENWINDOW 1
2450#define SHOW_ICONWINDOW 2
2451#define SHOW_FULLSCREEN 3
2452#define SHOW_OPENNOACTIVATE 4
2453#define SW_PARENTCLOSING 1
2454#define SW_OTHERZOOM 2
2455#define SW_PARENTOPENING 3
2456#define SW_OTHERUNZOOM 4
2457#define KF_EXTENDED 256
2458#define KF_DLGMODE 2048
2459#define KF_MENUMODE 4096
2460#define KF_ALTDOWN 8192
2461#define KF_REPEAT 16384
2463#define WSF_VISIBLE 1
2465#define PWR_FAIL (-1)
2466#define PWR_SUSPENDREQUEST 1
2467#define PWR_SUSPENDRESUME 2
2468#define PWR_CRITICALRESUME 3
2470#define NFR_UNICODE 2
2473#define MENULOOP_WINDOW 0
2474#define MENULOOP_POPUP 1
2478#define WMSZ_TOPLEFT 4
2479#define WMSZ_TOPRIGHT 5
2480#define WMSZ_BOTTOM 6
2481#define WMSZ_BOTTOMLEFT 7
2482#define WMSZ_BOTTOMRIGHT 8
2484#define HTTRANSPARENT (-1)
2494#define HTMINBUTTON 8
2495#define HTMAXBUTTON 9
2499#define HTSIZEFIRST 10
2503#define HTTOPRIGHT 14
2505#define HTBOTTOMLEFT 16
2506#define HTBOTTOMRIGHT 17
2507#define HTSIZELAST 17
2512#define MA_ACTIVATE 1
2513#define MA_ACTIVATEANDEAT 2
2514#define MA_NOACTIVATE 3
2515#define MA_NOACTIVATEANDEAT 4
2516#define SIZE_RESTORED 0
2517#define SIZE_MINIMIZED 1
2518#define SIZE_MAXIMIZED 2
2519#define SIZE_MAXSHOW 3
2520#define SIZE_MAXHIDE 4
2523#define SIZEFULLSCREEN 2
2524#define SIZEZOOMSHOW 3
2525#define SIZEZOOMHIDE 4
2526#define WVR_ALIGNTOP 16
2527#define WVR_ALIGNLEFT 32
2528#define WVR_ALIGNBOTTOM 64
2529#define WVR_ALIGNRIGHT 128
2530#define WVR_HREDRAW 256
2531#define WVR_VREDRAW 512
2532#define WVR_REDRAW (WVR_HREDRAW|WVR_VREDRAW)
2533#define WVR_VALIDRECTS 1024
2534#define PRF_CHECKVISIBLE 1
2535#define PRF_NONCLIENT 2
2537#define PRF_ERASEBKGND 8
2538#define PRF_CHILDREN 16
2541#define IDANI_CLOSE 2
2542#define IDANI_CAPTION 3
2543#define WPF_RESTORETOMAXIMIZED 2
2544#define WPF_SETMINPOSITION 1
2545#if(_WIN32_WINNT >= 0x0500)
2546#define WPF_ASYNCWINDOWPLACEMENT 4
2549#define ODT_LISTBOX 2
2550#define ODT_COMBOBOX 3
2553#define ODA_DRAWENTIRE 1
2556#define ODS_SELECTED 1
2558#define ODS_DISABLED 4
2559#define ODS_CHECKED 8
2561#if(WINVER >= 0x0400)
2562#define ODS_DEFAULT 32
2563#define ODS_COMBOBOXEDIT 4096
2565#if(WINVER >= 0x0500)
2566#define ODS_HOTLIGHT 0x0040
2567#define ODS_INACTIVE 0x0080
2568#if(_WIN32_WINNT >= 0x0500)
2569#define ODS_NOACCEL 0x0100
2570#define ODS_NOFOCUSRECT 0x0200
2573#define IDHOT_SNAPWINDOW (-1)
2574#define IDHOT_SNAPDESKTOP (-2)
2575#define DBWF_LPARAMPOINTER 0x8000
2576#define DLGWINDOWEXTRA 30
2579#define MNC_EXECUTE 2
2581#define DOF_EXECUTABLE 0x8001
2582#define DOF_DOCUMENT 0x8002
2583#define DOF_DIRECTORY 0x8003
2584#define DOF_MULTIPLE 0x8004
2585#define DOF_PROGMAN 1
2586#define DOF_SHELLDATA 2
2587#define DO_DROPFILE 0x454C4946
2588#define DO_PRINTFILE 0x544E5250
2589#define SW_SCROLLCHILDREN 1
2590#define SW_INVALIDATE 2
2592#if(WINVER >= 0x0500)
2593#define SW_SMOOTHSCROLL 16
2595#define SC_SIZE 0xF000
2596#define SC_MOVE 0xF010
2597#define SC_MINIMIZE 0xF020
2598#define SC_ICON 0xf020
2599#define SC_MAXIMIZE 0xF030
2600#define SC_ZOOM 0xF030
2601#define SC_NEXTWINDOW 0xF040
2602#define SC_PREVWINDOW 0xF050
2603#define SC_CLOSE 0xF060
2604#define SC_VSCROLL 0xF070
2605#define SC_HSCROLL 0xF080
2606#define SC_MOUSEMENU 0xF090
2607#define SC_KEYMENU 0xF100
2608#define SC_ARRANGE 0xF110
2609#define SC_RESTORE 0xF120
2610#define SC_TASKLIST 0xF130
2611#define SC_SCREENSAVE 0xF140
2612#define SC_HOTKEY 0xF150
2613#define SC_DEFAULT 0xF160
2614#define SC_MONITORPOWER 0xF170
2615#define SC_CONTEXTHELP 0xF180
2616#define SC_SEPARATOR 0xF00F
2617#define EC_LEFTMARGIN 1
2618#define EC_RIGHTMARGIN 2
2619#define EC_USEFONTINFO 0xffff
2620#define DC_HASDEFID 0x534B
2621#define DLGC_WANTARROWS 1
2622#define DLGC_WANTTAB 2
2623#define DLGC_WANTALLKEYS 4
2624#define DLGC_WANTMESSAGE 4
2625#define DLGC_HASSETSEL 8
2626#define DLGC_DEFPUSHBUTTON 16
2627#define DLGC_UNDEFPUSHBUTTON 32
2628#define DLGC_RADIOBUTTON 64
2629#define DLGC_WANTCHARS 128
2630#define DLGC_STATIC 256
2631#define DLGC_BUTTON 0x2000
2633#define WA_INACTIVE 0
2635#define WA_CLICKACTIVE 2
2638#if (_WIN32_WINNT >= 0x0501)
2639#define ICON_SMALL2 2
2641#define HBMMENU_CALLBACK ((HBITMAP) -1)
2642#define HBMMENU_SYSTEM ((HBITMAP)1)
2643#define HBMMENU_MBAR_RESTORE ((HBITMAP)2)
2644#define HBMMENU_MBAR_MINIMIZE ((HBITMAP)3)
2645#define HBMMENU_MBAR_CLOSE ((HBITMAP)5)
2646#define HBMMENU_MBAR_CLOSE_D ((HBITMAP)6)
2647#define HBMMENU_MBAR_MINIMIZE_D ((HBITMAP)7)
2648#define HBMMENU_POPUP_CLOSE ((HBITMAP)8)
2649#define HBMMENU_POPUP_RESTORE ((HBITMAP)9)
2650#define HBMMENU_POPUP_MAXIMIZE ((HBITMAP)10)
2651#define HBMMENU_POPUP_MINIMIZE ((HBITMAP)11)
2652#define MOD_ALT 0x0001
2653#define MOD_CONTROL 0x0002
2654#define MOD_SHIFT 0x0004
2655#define MOD_WIN 0x0008
2656#define LLKHF_EXTENDED 0x00000001
2657#define LLKHF_INJECTED 0x00000010
2658#define LLKHF_ALTDOWN 0x00000020
2659#define LLKHF_UP 0x00000080
2660#define LLMHF_INJECTED 0x00000001
2661#if (WINVER >= 0x0500)
2662#define FLASHW_STOP 0
2663#define FLASHW_CAPTION 1
2664#define FLASHW_TRAY 2
2665#define FLASHW_ALL (FLASHW_CAPTION|FLASHW_TRAY)
2666#define FLASHW_TIMER 4
2667#define FLASHW_TIMERNOFG 12
2669#define CURSOR_SHOWING 0x00000001
2670#define WS_ACTIVECAPTION 0x00000001
2671#if (_WIN32_WINNT >= 0x0400)
2672#define INPUT_MOUSE 0
2673#define INPUT_KEYBOARD 1
2674#define INPUT_HARDWARE 2
2676#if (WINVER >= 0x0400)
2677#define ENDSESSION_LOGOFF 0x80000000
2678#define ENDSESSION_CRITICAL 0x40000000
2679#define ENDSESSION_CLOSEAPP 0x00000001
2681#if (WINVER >= 0x0500)
2682#define CHILDID_SELF 0
2683#define OBJID_WINDOW 0x00000000
2684#define OBJID_SYSMENU 0xFFFFFFFF
2685#define OBJID_TITLEBAR 0xFFFFFFFE
2686#define OBJID_MENU 0xFFFFFFFD
2687#define OBJID_CLIENT 0xFFFFFFFC
2688#define OBJID_VSCROLL 0xFFFFFFFB
2689#define OBJID_HSCROLL 0xFFFFFFFA
2690#define OBJID_SIZEGRIP 0xFFFFFFF9
2691#define OBJID_CARET 0xFFFFFFF8
2692#define OBJID_CURSOR 0xFFFFFFF7
2693#define OBJID_ALERT 0xFFFFFFF6
2694#define OBJID_SOUND 0xFFFFFFF5
2695#define OBJID_QUERYCLASSNAMEIDX 0xFFFFFFF4
2696#define OBJID_NATIVEOM 0xFFFFFF0
2697#define GUI_CARETBLINKING 0x00000001
2698#define GUI_INMOVESIZE 0x00000002
2699#define GUI_INMENUMODE 0x00000004
2700#define GUI_SYSTEMMENUMODE 0x00000008
2701#define GUI_POPUPMENUMODE 0x00000010
2702#if (_WIN32_WINNT >= 0x0501)
2703#define GUI_16BITTASK 0x00000020
2705#define WINEVENT_OUTOFCONTEXT 0x0000
2706#define WINEVENT_SKIPOWNTHREAD 0x0001
2707#define WINEVENT_SKIPOWNPROCESS 0x0002
2708#define WINEVENT_INCONTEXT 0x0004
2709#define AW_HOR_POSITIVE 0x00000001
2710#define AW_HOR_NEGATIVE 0x00000002
2711#define AW_VER_POSITIVE 0x00000004
2712#define AW_VER_NEGATIVE 0x00000008
2713#define AW_CENTER 0x00000010
2714#define AW_HIDE 0x00010000
2715#define AW_ACTIVATE 0x00020000
2716#define AW_SLIDE 0x00040000
2717#define AW_BLEND 0x00080000
2718#define DEVICE_NOTIFY_WINDOW_HANDLE 0x00000000
2719#define DEVICE_NOTIFY_SERVICE_HANDLE 0x00000001
2720#if (_WIN32_WINNT >= 0x0501)
2721#define DEVICE_NOTIFY_ALL_INTERFACE_CLASSES 0x00000004
2723#define EVENT_MIN 0x00000001
2724#define EVENT_SYSTEM_SOUND 0x00000001
2725#define EVENT_SYSTEM_ALERT 0x00000002
2726#define EVENT_SYSTEM_FOREGROUND 0x00000003
2727#define EVENT_SYSTEM_MENUSTART 0x00000004
2728#define EVENT_SYSTEM_MENUEND 0x00000005
2729#define EVENT_SYSTEM_MENUPOPUPSTART 0x00000006
2730#define EVENT_SYSTEM_MENUPOPUPEND 0x00000007
2731#define EVENT_SYSTEM_CAPTURESTART 0x00000008
2732#define EVENT_SYSTEM_CAPTUREEND 0x00000009
2733#define EVENT_SYSTEM_MOVESIZESTART 0x0000000a
2734#define EVENT_SYSTEM_MOVESIZEEND 0x0000000b
2735#define EVENT_SYSTEM_CONTEXTHELPSTART 0x0000000c
2736#define EVENT_SYSTEM_CONTEXTHELPEND 0x0000000d
2737#define EVENT_SYSTEM_DRAGDROPSTART 0x0000000e
2738#define EVENT_SYSTEM_DRAGDROPEND 0x0000000f
2739#define EVENT_SYSTEM_DIALOGSTART 0x00000010
2740#define EVENT_SYSTEM_DIALOGEND 0x00000011
2741#define EVENT_SYSTEM_SCROLLINGSTART 0x00000012
2742#define EVENT_SYSTEM_SCROLLINGEND 0x00000013
2743#define EVENT_SYSTEM_SWITCHSTART 0x00000014
2744#define EVENT_SYSTEM_SWITCHEND 0x00000015
2745#define EVENT_SYSTEM_MINIMIZESTART 0x00000016
2746#define EVENT_SYSTEM_MINIMIZEEND 0x00000017
2747#define EVENT_OBJECT_CREATE 0x00008000
2748#define EVENT_OBJECT_DESTROY 0x00008001
2749#define EVENT_OBJECT_SHOW 0x00008002
2750#define EVENT_OBJECT_HIDE 0x00008003
2751#define EVENT_OBJECT_REORDER 0x00008004
2752#define EVENT_OBJECT_FOCUS 0x00008005
2753#define EVENT_OBJECT_SELECTION 0x00008006
2754#define EVENT_OBJECT_SELECTIONADD 0x00008007
2755#define EVENT_OBJECT_SELECTIONREMOVE 0x00008008
2756#define EVENT_OBJECT_SELECTIONWITHIN 0x00008009
2757#define EVENT_OBJECT_STATECHANGE 0x0000800a
2758#define EVENT_OBJECT_LOCATIONCHANGE 0x0000800b
2759#define EVENT_OBJECT_NAMECHANGE 0x0000800c
2760#define EVENT_OBJECT_DESCRIPTIONCHANGE 0x0000800d
2761#define EVENT_OBJECT_VALUECHANGE 0x0000800e
2762#define EVENT_OBJECT_PARENTCHANGE 0x0000800f
2763#define EVENT_OBJECT_HELPCHANGE 0x00008010
2764#define EVENT_OBJECT_DEFACTIONCHANGE 0x00008011
2765#define EVENT_OBJECT_ACCELERATORCHANGE 0x00008012
2766#define ALERT_SYSTEM_INFORMATIONAL 1
2767#define ALERT_SYSTEM_WARNING 2
2768#define ALERT_SYSTEM_ERROR 3
2769#define ALERT_SYSTEM_QUERY 4
2770#define ALERT_SYSTEM_CRITICAL 5
2771#define CALERT_SYSTEM 6
2772#if (_WIN32_WINNT >= 0x0501)
2773#define EVENT_CONSOLE_CARET 0x00004001
2774#define CONSOLE_CARET_SELECTION 0x00000001
2775#define CONSOLE_CARET_VISIBLE 0x00000002
2776#define EVENT_CONSOLE_UPDATE_REGION 0x00004002
2777#define EVENT_CONSOLE_UPDATE_SIMPLE 0x00004003
2778#define EVENT_CONSOLE_UPDATE_SCROLL 0x00004004
2779#define EVENT_CONSOLE_LAYOUT 0x00004005
2780#define EVENT_CONSOLE_START_APPLICATION 0x00004006
2781#define CONSOLE_APPLICATION_16BIT 0x00000001
2782#define EVENT_CONSOLE_END_APPLICATION 0x00004007
2784#define EVENT_MAX 0x7fffffff
2786#if (_WIN32_WINNT >= 0x0500 || _WIN32_WINDOWS >= 0x0490)
2787#define ASFW_ANY ((DWORD)-1)
2789#define LSFW_UNLOCK 2
2791#if (_WIN32_WINNT >= 0x0500)
2792#define LWA_COLORKEY 1
2795#define ULW_COLORKEY 0x00000001
2796#define ULW_ALPHA 0x00000002
2797#define ULW_OPAQUE 0x00000004
2798#define ULW_EX_NORESIZE 0x00000008
2801#define GA_ROOTOWNER 3
2802#if (_WIN32_WINNT >= 0x0500 || _WIN32_WINDOWS >= 0x0410)
2803#define MONITOR_DEFAULTTONULL 0
2804#define MONITOR_DEFAULTTOPRIMARY 1
2805#define MONITOR_DEFAULTTONEAREST 2
2806#define MONITORINFOF_PRIMARY 1
2807#define EDD_GET_DEVICE_INTERFACE_NAME 0x00000001
2808#define EDS_RAWMODE 0x00000002
2809#define EDS_ROTATEDMODE 0x00000004
2810#define ISMEX_NOSEND 0x00000000
2811#define ISMEX_CALLBACK 0x00000004
2812#define ISMEX_NOTIFY 0x00000002
2813#define ISMEX_REPLIED 0x00000008
2814#define ISMEX_SEND 0x00000001
2816#if (_WIN32_WINNT >= 0x0500)
2817#define GR_GDIOBJECTS 0
2818#define GR_USEROBJECTS 1
2820#if (_WIN32_WINNT >= 0x0500 || _WIN32_WINDOWS >= 0x0490)
2821#define GMMP_USE_DISPLAY_POINTS 1
2822#define GMMP_USE_HIGH_RESOLUTION_POINTS 2
2824#if (_WIN32_WINNT >= 0x0501)
2825#define PW_CLIENTONLY 0x00000001
2826#define RIM_INPUT 0x00000000
2827#define RIM_INPUTSINK 0x00000001
2828#define RIM_TYPEMOUSE 0x00000000
2829#define RIM_TYPEKEYBOARD 0x00000001
2830#define RIM_TYPEHID 0x00000002
2831#define MOUSE_MOVE_RELATIVE 0
2832#define MOUSE_MOVE_ABSOLUTE 1
2833#define MOUSE_VIRTUAL_DESKTOP 0x02
2834#define MOUSE_ATTRIBUTES_CHANGED 0x04
2835#define RI_MOUSE_LEFT_BUTTON_DOWN 0x0001
2836#define RI_MOUSE_LEFT_BUTTON_UP 0x0002
2837#define RI_MOUSE_RIGHT_BUTTON_DOWN 0x0004
2838#define RI_MOUSE_RIGHT_BUTTON_UP 0x0008
2839#define RI_MOUSE_MIDDLE_BUTTON_DOWN 0x0010
2840#define RI_MOUSE_MIDDLE_BUTTON_UP 0x0020
2841#define RI_MOUSE_BUTTON_1_DOWN RI_MOUSE_LEFT_BUTTON_DOWN
2842#define RI_MOUSE_BUTTON_1_UP RI_MOUSE_LEFT_BUTTON_UP
2843#define RI_MOUSE_BUTTON_2_DOWN RI_MOUSE_RIGHT_BUTTON_DOWN
2844#define RI_MOUSE_BUTTON_2_UP RI_MOUSE_RIGHT_BUTTON_UP
2845#define RI_MOUSE_BUTTON_3_DOWN RI_MOUSE_MIDDLE_BUTTON_DOWN
2846#define RI_MOUSE_BUTTON_3_UP RI_MOUSE_MIDDLE_BUTTON_UP
2847#define RI_MOUSE_BUTTON_4_DOWN 0x0040
2848#define RI_MOUSE_BUTTON_4_UP 0x0080
2849#define RI_MOUSE_BUTTON_5_DOWN 0x0100
2850#define RI_MOUSE_BUTTON_5_UP 0x0200
2851#define RI_MOUSE_WHEEL 0x0400
2852#define KEYBOARD_OVERRUN_MAKE_CODE 0xFF
2853#define RI_KEY_MAKE 0x0000
2854#define RI_KEY_BREAK 0x0001
2855#define RI_KEY_E0 0x0002
2856#define RI_KEY_E1 0x0004
2857#define RI_KEY_TERMSRV_SET_LED 0x0008
2858#define RI_KEY_TERMSRV_SHADOW 0x0010
2859#define RID_INPUT 0x10000003
2860#define RID_HEADER 0x10000005
2861#define RIDI_PREPARSEDDATA 0x20000005
2862#define RIDI_DEVICENAME 0x20000007
2863#define RIDI_DEVICEINFO 0x2000000b
2864#define RIDEV_REMOVE 0x00000001
2865#define RIDEV_EXCLUDE 0x00000010
2866#define RIDEV_PAGEONLY 0x00000020
2867#define RIDEV_NOLEGACY 0x00000030
2868#define RIDEV_INPUTSINK 0x00000100
2869#define RIDEV_CAPTUREMOUSE 0x00000200
2870#define RIDEV_NOHOTKEYS 0x00000200
2871#define RIDEV_APPKEYS 0x00000400
2873#define STATE_SYSTEM_UNAVAILABLE 0x00000001
2874#define STATE_SYSTEM_SELECTED 0x00000002
2875#define STATE_SYSTEM_FOCUSED 0x00000004
2876#define STATE_SYSTEM_PRESSED 0x00000008
2877#define STATE_SYSTEM_CHECKED 0x00000010
2878#define STATE_SYSTEM_MIXED 0x00000020
2879#define STATE_SYSTEM_READONLY 0x00000040
2880#define STATE_SYSTEM_HOTTRACKED 0x00000080
2881#define STATE_SYSTEM_DEFAULT 0x00000100
2882#define STATE_SYSTEM_EXPANDED 0x00000200
2883#define STATE_SYSTEM_COLLAPSED 0x00000400
2884#define STATE_SYSTEM_BUSY 0x00000800
2885#define STATE_SYSTEM_FLOATING 0x00001000
2886#define STATE_SYSTEM_MARQUEED 0x00002000
2887#define STATE_SYSTEM_ANIMATED 0x00004000
2888#define STATE_SYSTEM_INVISIBLE 0x00008000
2889#define STATE_SYSTEM_OFFSCREEN 0x00010000
2890#define STATE_SYSTEM_SIZEABLE 0x00020000
2891#define STATE_SYSTEM_MOVEABLE 0x00040000
2892#define STATE_SYSTEM_SELFVOICING 0x00080000
2893#define STATE_SYSTEM_FOCUSABLE 0x00100000
2894#define STATE_SYSTEM_SELECTABLE 0x00200000
2895#define STATE_SYSTEM_LINKED 0x00400000
2896#define STATE_SYSTEM_TRAVERSED 0x00800000
2897#define STATE_SYSTEM_MULTISELECTABLE 0x01000000
2898#define STATE_SYSTEM_EXTSELECTABLE 0x02000000
2899#define STATE_SYSTEM_ALERT_LOW 0x04000000
2900#define STATE_SYSTEM_ALERT_MEDIUM 0x08000000
2901#define STATE_SYSTEM_ALERT_HIGH 0x10000000
2902#define STATE_SYSTEM_VALID 0x1fffffff
2904#define USER_DEFAULT_SCREEN_DPI 96
3241#define MNGOF_TOPGAP 0x00000001
3242#define MNGOF_BOTTOMGAP 0x00000002
3264#if (_WIN32_WINNT >= 0x0500)
3282#if (_WIN32_WINNT >= 0x0500)
3386#if defined(_WINGDI_) && !defined(NOGDI)
3387typedef struct tagICONMETRICSA {
3393} ICONMETRICSA, *PICONMETRICSA, *LPICONMETRICSA;
3395typedef struct tagICONMETRICSW {
3401} ICONMETRICSW, *PICONMETRICSW, *LPICONMETRICSW;
3404typedef ICONMETRICSW ICONMETRICS,*LPICONMETRICS;
3406typedef ICONMETRICSA ICONMETRICS,*LPICONMETRICS;
3419#define WDA_MONITOR 0x1
3431#if defined(_WINGDI_) && !defined(NOGDI)
3432typedef struct tagNONCLIENTMETRICSA {
3440 int iSmCaptionWidth;
3441 int iSmCaptionHeight;
3448#if (WINVER >= 0x0600)
3449 int iPaddedBorderWidth;
3451} NONCLIENTMETRICSA, *PNONCLIENTMETRICSA,*LPNONCLIENTMETRICSA;
3453typedef struct tagNONCLIENTMETRICSW {
3461 int iSmCaptionWidth;
3462 int iSmCaptionHeight;
3469#if (WINVER >= 0x0600)
3470 int iPaddedBorderWidth;
3472} NONCLIENTMETRICSW, *PNONCLIENTMETRICSW,*LPNONCLIENTMETRICSW;
3475typedef NONCLIENTMETRICSW NONCLIENTMETRICS,*LPNONCLIENTMETRICS;
3477typedef NONCLIENTMETRICSA NONCLIENTMETRICS,*LPNONCLIENTMETRICS;
3531#if (_WIN32_WINNT >= 0x0600)
3532typedef struct tagAUDIODESCRIPTION {
3536} AUDIODESCRIPTION, *LPAUDIODESCRIPTION;
3563#if ( _WIN32_WINNT >= 0x0500 )
3568} MOUSEHOOKSTRUCTEX, *LPMOUSEHOOKSTRUCTEX, *PMOUSEHOOKSTRUCTEX;
3570typedef struct tagMOUSEHOOKSTRUCTEX
3574} MOUSEHOOKSTRUCTEX, *LPMOUSEHOOKSTRUCTEX, *PMOUSEHOOKSTRUCTEX;
3756#define CCHILDREN_SCROLLBAR 5
3768#define CCHILDREN_TITLEBAR 5
3801#define CCHDEVICENAME 32
3835#if (_WIN32_WINNT >= 0x0500 || _WIN32_WINDOWS >= 0x0410)
3842} FLASHWINFO,*PFLASHWINFO;
3845#if (_WIN32_WINNT >= 0x0500 || _WIN32_WINDOWS >= 0x0490)
3846typedef struct tagMOUSEMOVEPOINT {
3854#if (_WIN32_WINNT >= 0x0400)
3888#if (WINVER >= 0x0500)
3904#if (_WIN32_WINNT >= 0x0501)
3913typedef struct tagRAWINPUTHEADER {
3918} RAWINPUTHEADER,*PRAWINPUTHEADER;
3920typedef struct tagRAWMOUSE {
3932 ULONG ulExtraInformation;
3933} RAWMOUSE,*PRAWMOUSE,*LPRAWMOUSE;
3935typedef struct tagRAWKEYBOARD {
3941 ULONG ExtraInformation;
3942} RAWKEYBOARD,*PRAWKEYBOARD,*LPRAWKEYBOARD;
3944typedef struct tagRAWHID {
3948} RAWHID,*PRAWHID,*LPRAWHID;
3950typedef struct tagRAWINPUT {
3954 RAWKEYBOARD keyboard;
3957} RAWINPUT,*PRAWINPUT,*LPRAWINPUT;
3959typedef struct tagRAWINPUTDEVICE {
3964} RAWINPUTDEVICE,*PRAWINPUTDEVICE,*LPRAWINPUTDEVICE;
3966typedef const RAWINPUTDEVICE *PCRAWINPUTDEVICE;
3968typedef struct tagRAWINPUTDEVICELIST {
3971} RAWINPUTDEVICELIST,*PRAWINPUTDEVICELIST;
3973typedef struct tagRID_DEVICE_INFO_MOUSE {
3975 DWORD dwNumberOfButtons;
3977 BOOL fHasHorizontalWheel;
3978} RID_DEVICE_INFO_MOUSE, *PRID_DEVICE_INFO_MOUSE;
3980typedef struct tagRID_DEVICE_INFO_KEYBOARD {
3983 DWORD dwKeyboardMode;
3984 DWORD dwNumberOfFunctionKeys;
3985 DWORD dwNumberOfIndicators;
3986 DWORD dwNumberOfKeysTotal;
3987} RID_DEVICE_INFO_KEYBOARD, *PRID_DEVICE_INFO_KEYBOARD;
3989typedef struct tagRID_DEVICE_INFO_HID {
3992 DWORD dwVersionNumber;
3995} RID_DEVICE_INFO_HID, *PRID_DEVICE_INFO_HID;
3997typedef struct tagRID_DEVICE_INFO {
4001 RID_DEVICE_INFO_MOUSE mouse;
4002 RID_DEVICE_INFO_KEYBOARD keyboard;
4003 RID_DEVICE_INFO_HID hid;
4005} RID_DEVICE_INFO, *PRID_DEVICE_INFO, *LPRID_DEVICE_INFO;
4009#define AnsiToOem CharToOemA
4010#define OemToAnsi OemToCharA
4011#define AnsiToOemBuff CharToOemBuffA
4012#define OemToAnsiBuff OemToCharBuffA
4013#define AnsiUpper CharUpperA
4014#define AnsiUpperBuff CharUpperBuffA
4015#define AnsiLower CharLowerA
4016#define AnsiLowerBuff CharLowerBuffA
4017#define AnsiNext CharNextA
4018#define AnsiPrev CharPrevA
4019#define MAKELPARAM(l,h) ((LPARAM)MAKELONG(l,h))
4020#define MAKEWPARAM(l,h) ((WPARAM)MAKELONG(l,h))
4021#define MAKELRESULT(l,h) ((LRESULT)MAKELONG(l,h))
4022#define POINTSTOPOINT(p,ps) { \
4023 (p).x=LOWORD(*(DWORD *)&ps); \
4024 (p).y=HIWORD(*(DWORD *)&ps); \
4026#define POINTTOPOINTS(p) ((POINTS)MAKELONG((p).x,(p).y))
4028#if (WINVER >= 0x0601)
4030typedef enum tagINPUT_MESSAGE_DEVICE_TYPE {
4031 IMDT_UNAVAILABLE = 0x00,
4032 IMDT_KEYBOARD = 0x01,
4036 IMDT_TOUCHPAD = 0x10
4037} INPUT_MESSAGE_DEVICE_TYPE;
4039typedef enum tagINPUT_MESSAGE_ORIGIN_ID {
4040 IMO_UNAVAILABLE = 0x00,
4041 IMO_HARDWARE = 0x01,
4042 IMO_INJECTED = 0x02,
4044} INPUT_MESSAGE_ORIGIN_ID;
4046typedef struct tagINPUT_MESSAGE_SOURCE {
4047 INPUT_MESSAGE_DEVICE_TYPE deviceType;
4048 INPUT_MESSAGE_ORIGIN_ID originId;
4049} INPUT_MESSAGE_SOURCE;
4053#if(WINVER >= 0x0602)
4055enum tagPOINTER_INPUT_TYPE {
4062typedef DWORD POINTER_INPUT_TYPE;
4069#if (_WIN32_WINNT >= 0x0500)
4082#if (_WIN32_WINNT >= 0x0400)
4104#if (_WIN32_WINNT >= 0x0501)
4145#if defined(_WINGDI_) && !defined(NOGDI)
4235 _In_ HACCEL hAccelSrc,
4237 _In_ int cAccelEntries);
4242 _In_ HACCEL hAccelSrc,
4244 _In_ int cAccelEntries);
4246#define CopyCursor(c) ((HCURSOR)CopyIcon((HICON)(c)))
4267#if defined(_WINGDI_) && !defined(NOGDI)
4291#define CreateDialogA(h,n,w,f) CreateDialogParamA(h,n,w,f,0)
4292#define CreateDialogW(h,n,w,f) CreateDialogParamW(h,n,w,f,0)
4293#define CreateDialogIndirectA(h,t,w,f) CreateDialogIndirectParamA(h,t,w,f,0)
4294#define CreateDialogIndirectW(h,t,w,f) CreateDialogIndirectParamW(h,t,w,f,0)
4326#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)
4327#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)
4361#ifndef NOWINDOWSTATION
4386#define DefHookProc(c,p,lp,h) CallNextHookEx((HHOOK)*h,c,p,lp)
4390#if (_WIN32_WINNT >= 0x0501)
4409#define DialogBoxA(i,t,p,f) DialogBoxParamA(i,t,p,f,0)
4410#define DialogBoxW(i,t,p,f) DialogBoxParamW(i,t,p,f,0)
4411#define DialogBoxIndirectA(i,t,p,f) DialogBoxIndirectParamA(i,t,p,f,0)
4412#define DialogBoxIndirectW(i,t,p,f) DialogBoxIndirectParamW(i,t,p,f,0)
4430 _In_ int idComboBox);
4438 _In_ int idComboBox);
4446 _In_ int idListBox);
4454 _In_ int idListBox);
4518#if (_WIN32_WINNT >= 0x0500)
4527#if defined(_WINGDI_) && !defined(NOGDI)
4530#if (_WIN32_WINNT >= 0x0500 || _WIN32_WINDOWS >= 0x0410)
4541#define EnumTaskWindows(h,f,p) EnumThreadWindows((DWORD)h,f,p)
4547#define ExitWindows(r,c) ExitWindowsEx(EWX_LOGOFF,0)
4554#if (_WIN32_WINNT >= 0x0500 || _WIN32_WINDOWS >= 0x0410)
4574#define GetClassLongPtrA GetClassLongA
4575#define GetClassLongPtrW GetClassLongW
4601 _In_ int cchMaxCount);
4608 _In_ int cchMaxCount);
4611#if (_WIN32_WINNT >= 0x0500 || _WIN32_WINDOWS >= 0x0410)
4646#if (_WIN32_WINNT >= 0x0500)
4725#if (_WIN32_WINNT >= 0x0500 || _WIN32_WINDOWS >= 0x0490)
4728GetMouseMovePointsEx(
4732 _In_ int nBufPoints,
4738#define GetNextWindow(h,c) GetWindow(h,c)
4751#if (_WIN32_WINNT >= 0x0501)
4763 _In_ HRAWINPUT hRawInput,
4805#if (_WIN32_WINNT >= 0x0500)
4811#define GetSysModalWindow() (NULL)
4821 _In_ int nTabPositions,
4830 _In_ int nTabPositions,
4839#define GetWindowLongPtrA GetWindowLongA
4840#define GetWindowLongPtrW GetWindowLongW
4880#define GetWindowTask(hWnd) ((HANDLE)GetWindowThreadProcessId(hWnd, NULL))
4922#if (WINVER >= 0x0500)
4929#if (_WIN32_WINNT >= 0x0500)
4938#if (_WIN32_WINNT >= _WIN32_WINNT_VISTA)
4939#define USER_DEFAULT_SCREEN_DPI 96
4942#if (_WIN32_WINNT >= 0x0605)
4967#if (_WIN32_WINNT >= 0x0500 || _WIN32_WINDOWS >= 0x0410)
4980 _In_ int cchMaxCount);
4999#if(_WIN32_WINNT >= 0x0501)
5002#if(_WIN32_WINNT >= 0x0500)
5012#if (_WIN32_WINNT >= 0x0501)
5044 _In_ int cchBufferMax);
5052 _In_ int cchBufferMax);
5055#if (_WIN32_WINNT >= 0x0500)
5115#if (WINVER >= 0x0500)
5157#define PostAppMessageA(t,m,w,l) PostThreadMessageA((DWORD)t,m,w,l)
5158#define PostAppMessageW(t,m,w,l) PostThreadMessageW((DWORD)t,m,w,l)
5167#if (_WIN32_WINNT >= 0x0501)
5175 _In_ int nIconIndex,
5187 _In_ int nIconIndex,
5219#if(_WIN32_WINNT >= 0x0501)
5224#if (WINVER >= 0x0500)
5231#if (_WIN32_WINNT >= 0x0501)
5235 _In_reads_(uiNumDevices) PCRAWINPUTDEVICE pRawInputDevices,
5257#if (_WIN32_WINNT >= 0x0403)
5284#define SetClassLongPtrA SetClassLongA
5285#define SetClassLongPtrW SetClassLongW
5311#if (_WIN32_WINNT >= 0x0500)
5331#define SetSysModalWindow(h) (NULL)
5355#if (WINVER >= 0x0500)
5365#define SetWindowLongPtrA SetWindowLongA
5366#define SetWindowLongPtrW SetWindowLongW
5387#if(_WIN32_WINNT >= 0x0500)
5401 _In_ int nTabPositions,
5403 _In_ int nTabOrigin);
5413 _In_ int nTabPositions,
5415 _In_ int nTabOrigin);
5459#if (WINVER >= 0x0500)
5466#if (WINVER >= 0x0500)
5471#if (_WIN32_WINNT >= 0x0500)
5483#if (_WIN32_WINNT >= 0x0600)
5519#if (_WIN32_WINNT >= 0x0500 || _WIN32_WINDOWS >= 0x0490)
5523#if (_WIN32_WINNT >= 0x0500)
5527#if defined(_WINGDI_) && !defined(NOGDI)
5542typedef struct tagUPDATELAYEREDWINDOWINFO {
5553} UPDATELAYEREDWINDOWINFO, *PUPDATELAYEREDWINDOWINFO;
5561#if (_WIN32_WINNT >= 0x0501)
5565#define EDITWORDBREAKPROC EDITWORDBREAKPROCW
5566#define PROPENUMPROC PROPENUMPROCW
5567#define PROPENUMPROCEX PROPENUMPROCEXW
5568#define DESKTOPENUMPROC DESKTOPENUMPROCW
5569#define WINSTAENUMPROC WINSTAENUMPROCW
5570#define PROPENUMPROC PROPENUMPROCW
5571#define PROPENUMPROCEX PROPENUMPROCEXW
5585#define AppendMenu AppendMenuW
5586#define BroadcastSystemMessage BroadcastSystemMessageW
5587#define BroadcastSystemMessageEx BroadcastSystemMessageExW
5588#define CallMsgFilter CallMsgFilterW
5589#define CallWindowProc CallWindowProcW
5590#define ChangeMenu ChangeMenuW
5591#define CharLower CharLowerW
5592#define CharLowerBuff CharLowerBuffW
5593#define CharNext CharNextW
5594#define CharNextEx CharNextExW
5595#define CharPrev CharPrevW
5596#define CharPrevEx CharPrevExW
5597#define CharToOem CharToOemW
5598#define CharToOemBuff CharToOemBuffW
5599#define CharUpper CharUpperW
5600#define CharUpperBuff CharUpperBuffW
5601#define CopyAcceleratorTable CopyAcceleratorTableW
5602#define CreateAcceleratorTable CreateAcceleratorTableW
5603#define CreateDialog CreateDialogW
5604#define CreateDialogIndirect CreateDialogIndirectW
5605#define CreateDialogIndirectParam CreateDialogIndirectParamW
5606#define CreateDialogParam CreateDialogParamW
5607#define CreateMDIWindow CreateMDIWindowW
5608#define CreateWindow CreateWindowW
5609#define CreateWindowEx CreateWindowExW
5610#define CreateWindowStation CreateWindowStationW
5611#define DefDlgProc DefDlgProcW
5612#define DefFrameProc DefFrameProcW
5613#define DefMDIChildProc DefMDIChildProcW
5614#define DefWindowProc DefWindowProcW
5615#define DialogBox DialogBoxW
5616#define DialogBoxIndirect DialogBoxIndirectW
5617#define DialogBoxIndirectParam DialogBoxIndirectParamW
5618#define DialogBoxParam DialogBoxParamW
5619#define DispatchMessage DispatchMessageW
5620#define DlgDirList DlgDirListW
5621#define DlgDirListComboBox DlgDirListComboBoxW
5622#define DlgDirSelectComboBoxEx DlgDirSelectComboBoxExW
5623#define DlgDirSelectEx DlgDirSelectExW
5624#define DrawState DrawStateW
5625#define DrawText DrawTextW
5626#define DrawTextEx DrawTextExW
5627#define EnumDesktops EnumDesktopsW
5628#define EnumProps EnumPropsW
5629#define EnumPropsEx EnumPropsExW
5630#define EnumWindowStations EnumWindowStationsW
5631#define FindWindow FindWindowW
5632#define FindWindowEx FindWindowExW
5633#define GetClassInfo GetClassInfoW
5634#define GetClassInfoEx GetClassInfoExW
5635#define GetClassLong GetClassLongW
5636#define GetClassLongPtr GetClassLongPtrW
5637#define GetClassName GetClassNameW
5638#define GetClipboardFormatName GetClipboardFormatNameW
5639#define GetDlgItemText GetDlgItemTextW
5640#define GetKeyboardLayoutName GetKeyboardLayoutNameW
5641#define GetKeyNameText GetKeyNameTextW
5642#define GetMenuItemInfo GetMenuItemInfoW
5643#define GetMenuString GetMenuStringW
5644#define GetMessage GetMessageW
5645#define GetMonitorInfo GetMonitorInfoW
5646#define GetProp GetPropW
5647#define GetRawInputDeviceInfo GetRawInputDeviceInfoW
5648#define GetTabbedTextExtent GetTabbedTextExtentW
5649#define GetUserObjectInformation GetUserObjectInformationW
5650#define GetWindowLong GetWindowLongW
5651#define GetWindowLongPtr GetWindowLongPtrW
5652#define GetWindowText GetWindowTextW
5653#define GetWindowTextLength GetWindowTextLengthW
5654#define GetAltTabInfo GetAltTabInfoW
5655#define GetWindowModuleFileName GetWindowModuleFileNameW
5656#define GrayString GrayStringW
5657#define InsertMenu InsertMenuW
5658#define InsertMenuItem InsertMenuItemW
5659#define IsCharAlpha IsCharAlphaW
5660#define IsCharAlphaNumeric IsCharAlphaNumericW
5661#define IsCharLower IsCharLowerW
5662#define IsCharUpper IsCharUpperW
5663#define IsDialogMessage IsDialogMessageW
5664#define LoadAccelerators LoadAcceleratorsW
5665#define LoadBitmap LoadBitmapW
5666#define LoadCursor LoadCursorW
5667#define LoadCursorFromFile LoadCursorFromFileW
5668#define LoadIcon LoadIconW
5669#define LoadImage LoadImageW
5670#define LoadKeyboardLayout LoadKeyboardLayoutW
5671#define LoadMenu LoadMenuW
5672#define LoadMenuIndirect LoadMenuIndirectW
5673#define LoadString LoadStringW
5674#define MapVirtualKey MapVirtualKeyW
5675#define MapVirtualKeyEx MapVirtualKeyExW
5676#define MessageBox MessageBoxW
5677#define MessageBoxEx MessageBoxExW
5678#define MessageBoxIndirect MessageBoxIndirectW
5679#define ModifyMenu ModifyMenuW
5680#define OemToChar OemToCharW
5681#define OemToCharBuff OemToCharBuffW
5682#define OpenDesktop OpenDesktopW
5683#define OpenWindowStation OpenWindowStationW
5684#define PeekMessage PeekMessageW
5685#define PostAppMessage PostAppMessageW
5686#define PostMessage PostMessageW
5687#define PostThreadMessage PostThreadMessageW
5688#define PrivateExtractIcons PrivateExtractIconsW
5689#define RealGetWindowClass RealGetWindowClassW
5690#define RegisterClass RegisterClassW
5691#define RegisterClassEx RegisterClassExW
5692#define RegisterClipboardFormat RegisterClipboardFormatW
5693#define RegisterDeviceNotification RegisterDeviceNotificationW
5694#define RegisterWindowMessage RegisterWindowMessageW
5695#define RemoveProp RemovePropW
5696#define SendDlgItemMessage SendDlgItemMessageW
5697#define SendMessage SendMessageW
5698#define SendMessageCallback SendMessageCallbackW
5699#define SendMessageTimeout SendMessageTimeoutW
5700#define SendNotifyMessage SendNotifyMessageW
5701#define SetClassLong SetClassLongW
5702#define SetClassLongPtr SetClassLongPtrW
5703#define SetDlgItemText SetDlgItemTextW
5704#define SetMenuItemInfo SetMenuItemInfoW
5705#define SetProp SetPropW
5706#define SetUserObjectInformation SetUserObjectInformationW
5707#define SetWindowLong SetWindowLongW
5708#define SetWindowLongPtr SetWindowLongPtrW
5709#define SetWindowsHook SetWindowsHookW
5710#define SetWindowsHookEx SetWindowsHookExW
5711#define SetWindowText SetWindowTextW
5712#define SystemParametersInfo SystemParametersInfoW
5713#define TabbedTextOut TabbedTextOutW
5714#define TranslateAccelerator TranslateAcceleratorW
5715#define UnregisterClass UnregisterClassW
5716#define VkKeyScan VkKeyScanW
5717#define VkKeyScanEx VkKeyScanExW
5718#define WinHelp WinHelpW
5719#define wsprintf wsprintfW
5720#define wvsprintf wvsprintfW
5722#if defined(_WINGDI_) && !defined(NOGDI)
5723#define ChangeDisplaySettings ChangeDisplaySettingsW
5724#define ChangeDisplaySettingsEx ChangeDisplaySettingsExW
5725#define CreateDesktop CreateDesktopW
5726#define EnumDisplaySettings EnumDisplaySettingsW
5727#define EnumDisplaySettingsEx EnumDisplaySettingsExW
5728#define EnumDisplayDevices EnumDisplayDevicesW
5731#define EDITWORDBREAKPROC EDITWORDBREAKPROCA
5732#define PROPENUMPROC PROPENUMPROCA
5733#define PROPENUMPROCEX PROPENUMPROCEXA
5734#define DESKTOPENUMPROC DESKTOPENUMPROCA
5735#define WINSTAENUMPROC WINSTAENUMPROCA
5736#define PROPENUMPROC PROPENUMPROCA
5737#define PROPENUMPROCEX PROPENUMPROCEXA
5751#define AppendMenu AppendMenuA
5752#define BroadcastSystemMessage BroadcastSystemMessageA
5753#define BroadcastSystemMessageEx BroadcastSystemMessageExA
5754#define CallMsgFilter CallMsgFilterA
5755#define CallWindowProc CallWindowProcA
5756#define ChangeMenu ChangeMenuA
5757#define CharLower CharLowerA
5758#define CharLowerBuff CharLowerBuffA
5759#define CharNext CharNextA
5760#define CharNextEx CharNextExA
5761#define CharPrev CharPrevA
5762#define CharPrevEx CharPrevExA
5763#define CharToOem CharToOemA
5764#define CharToOemBuff CharToOemBuffA
5765#define CharUpper CharUpperA
5766#define CharUpperBuff CharUpperBuffA
5767#define CopyAcceleratorTable CopyAcceleratorTableA
5768#define CreateAcceleratorTable CreateAcceleratorTableA
5769#define CreateDialog CreateDialogA
5770#define CreateDialogIndirect CreateDialogIndirectA
5771#define CreateDialogIndirectParam CreateDialogIndirectParamA
5772#define CreateDialogParam CreateDialogParamA
5773#define CreateMDIWindow CreateMDIWindowA
5774#define CreateWindow CreateWindowA
5775#define CreateWindowEx CreateWindowExA
5776#define CreateWindowStation CreateWindowStationA
5777#define DefDlgProc DefDlgProcA
5778#define DefFrameProc DefFrameProcA
5779#define DefMDIChildProc DefMDIChildProcA
5780#define DefWindowProc DefWindowProcA
5781#define DialogBox DialogBoxA
5782#define DialogBoxIndirect DialogBoxIndirectA
5783#define DialogBoxIndirectParam DialogBoxIndirectParamA
5784#define DialogBoxParam DialogBoxParamA
5785#define DispatchMessage DispatchMessageA
5786#define DlgDirList DlgDirListA
5787#define DlgDirListComboBox DlgDirListComboBoxA
5788#define DlgDirSelectComboBoxEx DlgDirSelectComboBoxExA
5789#define DlgDirSelectEx DlgDirSelectExA
5790#define DrawState DrawStateA
5791#define DrawText DrawTextA
5792#define DrawTextEx DrawTextExA
5793#define EnumDesktops EnumDesktopsA
5794#define EnumProps EnumPropsA
5795#define EnumPropsEx EnumPropsExA
5796#define EnumWindowStations EnumWindowStationsA
5797#define FindWindow FindWindowA
5798#define FindWindowEx FindWindowExA
5799#define GetClassInfo GetClassInfoA
5800#define GetClassInfoEx GetClassInfoExA
5801#define GetClassLong GetClassLongA
5802#define GetClassLongPtr GetClassLongPtrA
5803#define GetClassName GetClassNameA
5804#define GetClipboardFormatName GetClipboardFormatNameA
5805#define GetDlgItemText GetDlgItemTextA
5806#define GetKeyboardLayoutName GetKeyboardLayoutNameA
5807#define GetKeyNameText GetKeyNameTextA
5808#define GetMenuItemInfo GetMenuItemInfoA
5809#define GetMenuString GetMenuStringA
5810#define GetMessage GetMessageA
5811#define GetMonitorInfo GetMonitorInfoA
5812#define GetProp GetPropA
5813#define GetRawInputDeviceInfo GetRawInputDeviceInfoA
5814#define GetTabbedTextExtent GetTabbedTextExtentA
5815#define GetUserObjectInformation GetUserObjectInformationA
5816#define GetWindowLong GetWindowLongA
5817#define GetWindowLongPtr GetWindowLongPtrA
5818#define GetWindowText GetWindowTextA
5819#define GetWindowTextLength GetWindowTextLengthA
5820#define GetAltTabInfo GetAltTabInfoA
5821#define GetWindowModuleFileName GetWindowModuleFileNameA
5822#define GrayString GrayStringA
5823#define InsertMenu InsertMenuA
5824#define InsertMenuItem InsertMenuItemA
5825#define IsCharAlpha IsCharAlphaA
5826#define IsCharAlphaNumeric IsCharAlphaNumericA
5827#define IsCharLower IsCharLowerA
5828#define IsCharUpper IsCharUpperA
5829#define IsDialogMessage IsDialogMessageA
5830#define LoadAccelerators LoadAcceleratorsA
5831#define LoadBitmap LoadBitmapA
5832#define LoadCursor LoadCursorA
5833#define LoadIcon LoadIconA
5834#define LoadCursorFromFile LoadCursorFromFileA
5835#define LoadImage LoadImageA
5836#define LoadKeyboardLayout LoadKeyboardLayoutA
5837#define LoadMenu LoadMenuA
5838#define LoadMenuIndirect LoadMenuIndirectA
5839#define LoadString LoadStringA
5840#define MapVirtualKey MapVirtualKeyA
5841#define MapVirtualKeyEx MapVirtualKeyExA
5842#define MessageBox MessageBoxA
5843#define MessageBoxEx MessageBoxExA
5844#define MessageBoxIndirect MessageBoxIndirectA
5845#define ModifyMenu ModifyMenuA
5846#define OemToChar OemToCharA
5847#define OemToCharBuff OemToCharBuffA
5848#define OpenDesktop OpenDesktopA
5849#define OpenWindowStation OpenWindowStationA
5850#define PeekMessage PeekMessageA
5851#define PostAppMessage PostAppMessageA
5852#define PostMessage PostMessageA
5853#define PostThreadMessage PostThreadMessageA
5854#define PrivateExtractIcons PrivateExtractIconsA
5855#define RealGetWindowClass RealGetWindowClassA
5856#define RegisterClass RegisterClassA
5857#define RegisterClassEx RegisterClassExA
5858#define RegisterClipboardFormat RegisterClipboardFormatA
5859#define RegisterDeviceNotification RegisterDeviceNotificationA
5860#define RegisterWindowMessage RegisterWindowMessageA
5861#define RemoveProp RemovePropA
5862#define SendDlgItemMessage SendDlgItemMessageA
5863#define SendMessage SendMessageA
5864#define SendMessageCallback SendMessageCallbackA
5865#define SendMessageTimeout SendMessageTimeoutA
5866#define SendNotifyMessage SendNotifyMessageA
5867#define SetClassLong SetClassLongA
5868#define SetClassLongPtr SetClassLongPtrA
5869#define SetDlgItemText SetDlgItemTextA
5870#define SetMenuItemInfo SetMenuItemInfoA
5871#define SetProp SetPropA
5872#define SetUserObjectInformation SetUserObjectInformationA
5873#define SetWindowLong SetWindowLongA
5874#define SetWindowLongPtr SetWindowLongPtrA
5875#define SetWindowsHook SetWindowsHookA
5876#define SetWindowsHookEx SetWindowsHookExA
5877#define SetWindowText SetWindowTextA
5878#define SystemParametersInfo SystemParametersInfoA
5879#define TabbedTextOut TabbedTextOutA
5880#define TranslateAccelerator TranslateAcceleratorA
5881#define UnregisterClass UnregisterClassA
5882#define VkKeyScan VkKeyScanA
5883#define VkKeyScanEx VkKeyScanExA
5884#define WinHelp WinHelpA
5885#define wsprintf wsprintfA
5886#define wvsprintf wvsprintfA
5887#if defined(_WINGDI_) && !defined(NOGDI)
5888#define ChangeDisplaySettings ChangeDisplaySettingsA
5889#define ChangeDisplaySettingsEx ChangeDisplaySettingsExA
5890#define CreateDesktop CreateDesktopA
5891#define EnumDisplaySettings EnumDisplaySettingsA
5892#define EnumDisplaySettingsEx EnumDisplaySettingsExA
5893#define EnumDisplayDevices EnumDisplayDevicesA
ACPI_SIZE strlen(const char *String)
static TAGREF LPCWSTR LPDWORD LPVOID lpBuffer
unsigned int(__cdecl typeof(jpeg_read_scanlines))(struct jpeg_decompress_struct *
static const WCHAR Message[]
UINT WINAPI GetDpiForWindow(_In_ HWND hWnd)
UINT WINAPI GetDpiForSystem(VOID)
BOOL WINAPI EndTask(HWND hWnd, BOOL fShutDown, BOOL fForce)
GLint GLint GLint GLint GLint x
GLuint GLuint GLsizei GLenum type
GLint GLint GLint GLint GLint GLint y
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
#define DECLARE_HANDLE(name)
PSDBQUERYRESULT_VISTA PVOID DWORD * dwSize
static DWORD *static HFONT(WINAPI *pCreateFontIndirectExA)(const ENUMLOGFONTEXDVA *)
static const CLSID *static CLSID *static const GUID VARIANT VARIANT *static IServiceProvider DWORD *static HMENU
static HWINEVENTHOOK(WINAPI *pSetWinEventHook)(DWORD
DWORD * PSECURITY_INFORMATION
unsigned __int3264 UINT_PTR
#define _Out_writes_to_opt_(s, c)
#define _In_reads_bytes_(s)
#define _Inout_updates_(s)
#define _Out_writes_opt_(s)
#define _Ret_range_(l, h)
#define _Out_writes_bytes_opt_(s)
#define _In_reads_opt_(s)
#define _Out_writes_bytes_to_opt_(s, c)
#define _Inout_updates_bytes_to_opt_(s, c)
#define _Out_writes_to_(s, c)
#define _Inout_updates_opt_(s)
#define _Printf_format_string_
#define _In_reads_bytes_opt_(s)
#define _ANONYMOUS_STRUCT
_Must_inspect_result_ _Out_ LPSIZE psize
INT WINAPI DrawTextW(HDC hdc, LPCWSTR str, INT count, LPRECT rect, UINT flags)
EXTINLINE DWORD WINAPI GetGuiResources(HANDLE hProcess, DWORD uiFlags)
EXTINLINE DWORD WINAPI GetClipboardSequenceNumber(VOID)
EXTINLINE BOOL WINAPI LockWorkStation(VOID)
EXTINLINE BOOL WINAPI FlashWindowEx(PFLASHWINFO pfwi)
_Out_opt_ int _Out_opt_ int * cy
BOOL WINAPI UnregisterDeviceNotification(HDEVNOTIFY Handle)
HDEVNOTIFY WINAPI RegisterDeviceNotificationW(HANDLE hRecipient, LPVOID NotificationFilter, DWORD Flags)
#define __analysis_noreturn
MSGBOXCALLBACK lpfnMsgBoxCallback
DWORD_PTR dwContextHelpId
DWORD_PTR dwContextHelpId
MSGBOXCALLBACK lpfnMsgBoxCallback
WCHAR szModName[MAX_PATH]
WCHAR szResName[MAX_PATH]
_Field_size_bytes_(cbData) PVOID lpData
CHAR szDevice[CCHDEVICENAME]
WCHAR szDevice[CCHDEVICENAME]
LPSTR lpszWindowsEffectDLL
DWORD iFSTextEffectColorBits
DWORD iWindowsEffectOrdinal
DWORD iWindowsEffectOrdinal
DWORD iFSTextEffectColorBits
LPWSTR lpszWindowsEffectDLL
DWORD rgstate[CCHILDREN_TITLEBAR+1]
TW_UINT32 TW_UINT16 TW_UINT16 TW_MEMREF pData
TW_UINT32 TW_UINT16 TW_UINT16 MSG
BOOL WINAPI IsWinEventHookInstalled(DWORD event)
WORD WORD PSZ PSZ pszFileName
HDESK WINAPI CreateDesktopW(LPCWSTR lpszDesktop, LPCWSTR lpszDevice, LPDEVMODEW pDevmode, DWORD dwFlags, ACCESS_MASK dwDesiredAccess, LPSECURITY_ATTRIBUTES lpsa)
HDESK WINAPI CreateDesktopA(LPCSTR lpszDesktop, LPCSTR lpszDevice, LPDEVMODEA pDevmode, DWORD dwFlags, ACCESS_MASK dwDesiredAccess, LPSECURITY_ATTRIBUTES lpsa)
BOOL WINAPI EnumDisplaySettingsExA(LPCSTR lpszDeviceName, DWORD iModeNum, LPDEVMODEA lpDevMode, DWORD dwFlags)
LONG WINAPI ChangeDisplaySettingsExW(LPCWSTR lpszDeviceName, LPDEVMODEW lpDevMode, HWND hwnd, DWORD dwflags, LPVOID lParam)
BOOL WINAPI EnumDisplayDevicesA(LPCSTR lpDevice, DWORD iDevNum, PDISPLAY_DEVICEA lpDisplayDevice, DWORD dwFlags)
BOOL WINAPI EnumDisplayDevicesW(LPCWSTR lpDevice, DWORD iDevNum, PDISPLAY_DEVICEW lpDisplayDevice, DWORD dwFlags)
BOOL WINAPI EnumDisplaySettingsW(LPCWSTR lpszDeviceName, DWORD iModeNum, LPDEVMODEW lpDevMode)
BOOL WINAPI EnumDisplaySettingsA(LPCSTR lpszDeviceName, DWORD iModeNum, LPDEVMODEA lpDevMode)
BOOL WINAPI EnumDisplaySettingsExW(LPCWSTR lpszDeviceName, DWORD iModeNum, LPDEVMODEW lpDevMode, DWORD dwFlags)
LONG WINAPI ChangeDisplaySettingsW(LPDEVMODEW lpDevMode, DWORD dwflags)
LONG WINAPI ChangeDisplaySettingsExA(LPCSTR lpszDeviceName, LPDEVMODEA lpDevMode, HWND hwnd, DWORD dwflags, LPVOID lParam)
LONG WINAPI ChangeDisplaySettingsA(LPDEVMODEA lpDevMode, DWORD dwflags)
BOOL WINAPI IsGUIThread(BOOL bConvert)
UINT WINAPI DECLSPEC_HOTPATCH GetRawInputBuffer(PRAWINPUT pData, PUINT pcbSize, UINT cbSizeHeader)
UINT WINAPI DECLSPEC_HOTPATCH GetRegisteredRawInputDevices(PRAWINPUTDEVICE pRawInputDevices, PUINT puiNumDevices, UINT cbSize)
BOOL WINAPI DECLSPEC_HOTPATCH RegisterRawInputDevices(PCRAWINPUTDEVICE pRawInputDevices, UINT uiNumDevices, UINT cbSize)
UINT WINAPI GetRawInputDeviceInfoA(HANDLE hDevice, UINT uiCommand, LPVOID pData, PUINT pcbSize)
UINT WINAPI GetRawInputDeviceInfoW(HANDLE hDevice, UINT uiCommand, LPVOID pData, PUINT pcbSize)
UINT WINAPI GetRawInputData(HRAWINPUT hRawInput, UINT uiCommand, LPVOID pData, PUINT pcbSize, UINT cbSizeHeader)
LRESULT WINAPI DefRawInputProc(PRAWINPUT *paRawInput, INT nInput, UINT cbSizeHeader)
UINT WINAPI GetRawInputDeviceList(PRAWINPUTDEVICELIST pRawInputDeviceList, PUINT puiNumDevices, UINT cbSize)
UINT WINAPI GetDlgItemTextW(HWND hDlg, int nIDDlgItem, LPWSTR lpString, int nMaxCount)
UINT WINAPI GetDlgItemTextA(HWND hDlg, int nIDDlgItem, LPSTR lpString, int nMaxCount)
INT WINAPI DrawTextA(HDC hdc, LPCSTR str, INT count, LPRECT rect, UINT flags)
LONG WINAPI BroadcastSystemMessageExW(DWORD dwflags, LPDWORD lpdwRecipients, UINT uiMessage, WPARAM wParam, LPARAM lParam, PBSMINFO pBSMInfo)
LONG WINAPI BroadcastSystemMessageA(DWORD dwFlags, LPDWORD lpdwRecipients, UINT uiMessage, WPARAM wParam, LPARAM lParam)
LONG WINAPI BroadcastSystemMessageExA(DWORD dwflags, LPDWORD lpdwRecipients, UINT uiMessage, WPARAM wParam, LPARAM lParam, PBSMINFO pBSMInfo)
DWORD WINAPI InSendMessageEx(LPVOID lpReserved)
LONG WINAPI BroadcastSystemMessageW(DWORD dwFlags, LPDWORD lpdwRecipients, UINT uiMessage, WPARAM wParam, LPARAM lParam)
BOOL WINAPI UpdateLayeredWindow(HWND hwnd, HDC hdcDst, POINT *pptDst, SIZE *psize, HDC hdcSrc, POINT *pptSrc, COLORREF crKey, BLENDFUNCTION *pbl, DWORD dwFlags)
int WINAPI GetWindowTextA(HWND hWnd, LPSTR lpString, int nMaxCount)
VOID WINAPI SwitchToThisWindow(HWND hwnd, BOOL fAltTab)
BOOL WINAPI LockSetForegroundWindow(UINT uLockCode)
BOOL WINAPI GetProcessDefaultLayout(DWORD *pdwDefaultLayout)
BOOL WINAPI SetProcessDefaultLayout(DWORD dwDefaultLayout)
BOOL WINAPI IsHungAppWindow(HWND hwnd)
BOOL WINAPI AllowSetForegroundWindow(DWORD dwProcessId)
BOOL WINAPI AnimateWindow(HWND hwnd, DWORD dwTime, DWORD dwFlags)
BOOL WINAPI UpdateLayeredWindowIndirect(HWND hwnd, const UPDATELAYEREDWINDOWINFO *info)
int WINAPI GetWindowTextW(HWND hWnd, LPWSTR lpString, int nMaxCount)
BOOL WINAPI UserHandleGrantAccess(HANDLE handle, HANDLE job, BOOL grant)
VOID(CALLBACK * WINEVENTPROC)(HWINEVENTHOOK, DWORD, HWND, LONG, LONG, DWORD, DWORD)
struct tagMOUSEINPUT MOUSEINPUT
struct tagINPUT * LPINPUT
struct tagMOUSEINPUT * PMOUSEINPUT
struct tagHARDWAREINPUT * PHARDWAREINPUT
struct tagGUITHREADINFO * LPGUITHREADINFO
struct tagGUITHREADINFO GUITHREADINFO
UINT WINAPI SendInput(UINT, LPINPUT, int)
void WINAPI NotifyWinEvent(DWORD, HWND, LONG, LONG)
struct tagKEYBDINPUT * PKEYBDINPUT
struct tagHARDWAREINPUT HARDWAREINPUT
struct tagGUITHREADINFO * PGUITHREADINFO
HWINEVENTHOOK WINAPI SetWinEventHook(UINT, UINT, HMODULE, WINEVENTPROC, DWORD, DWORD, UINT)
struct tagKEYBDINPUT KEYBDINPUT
BOOL WINAPI UnhookWinEvent(HWINEVENTHOOK)
BOOL WINAPI GetGUIThreadInfo(DWORD, LPGUITHREADINFO)
_In_ DWORD _Out_ _In_ WORD wFlags
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
_In_ void _In_ PCCERT_CONTEXT _In_opt_ LPFILETIME _In_ DWORD _In_ DWORD dwTimeout
_Reserved_ PVOID Reserved
#define DECL_WINELIB_TYPE_AW(type)
BOOL WINAPI DeregisterShellHookWindow(_In_ HWND)
HWND WINAPI GetFocus(void)
HDESK WINAPI GetThreadDesktop(_In_ DWORD)
BOOL WINAPI GetCursorInfo(_Inout_ PCURSORINFO)
HIGHCONTRASTA * LPHIGHCONTRAST
MENUITEMINFOA * LPMENUITEMINFO
BOOL(CALLBACK * PROPENUMPROCEXW)(HWND, LPWSTR, HANDLE, ULONG_PTR)
BOOL WINAPI SetMenuItemInfoA(_In_ HMENU, _In_ UINT, _In_ BOOL, _In_ LPCMENUITEMINFOA)
struct tagDRAWITEMSTRUCT * LPDRAWITEMSTRUCT
HWND WINAPI SetCapture(_In_ HWND hWnd)
HWND WINAPI ChildWindowFromPoint(_In_ HWND, _In_ POINT)
HWND WINAPI CreateDialogParamW(_In_opt_ HINSTANCE, _In_ LPCWSTR, _In_opt_ HWND, _In_opt_ DLGPROC, _In_ LPARAM)
int WINAPI MessageBoxExW(_In_opt_ HWND hWnd, _In_opt_ LPCWSTR lpText, _In_opt_ LPCWSTR lpCaption, _In_ UINT uType, _In_ WORD wLanguageId)
BOOL WINAPI GetAltTabInfoW(_In_opt_ HWND hwnd, _In_ int iItem, _Inout_ PALTTABINFO pati, _Out_writes_opt_(cchItemText) LPWSTR pszItemText, _In_ UINT cchItemText)
int WINAPI ReleaseDC(_In_opt_ HWND, _In_ HDC)
struct tagEVENTMSG * LPEVENTMSGMSG
const DLGTEMPLATE * LPCDLGTEMPLATEW
BOOL WINAPI GetLastInputInfo(_Out_ PLASTINPUTINFO)
LRESULT WINAPI DispatchMessageA(_In_ const MSG *)
struct tagHELPWININFOA HELPWININFOA
const MENUITEMINFOW * LPCMENUITEMINFOW
LRESULT WINAPI DefFrameProcA(_In_ HWND, _In_opt_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
BOOL WINAPI GetKeyboardLayoutNameW(_Out_writes_(KL_NAMELENGTH) LPWSTR)
HICON WINAPI CreateIconFromResource(_In_reads_bytes_(dwResSize) PBYTE presbits, _In_ DWORD dwResSize, _In_ BOOL fIcon, _In_ DWORD dwVer)
BOOL WINAPI SetMenuContextHelpId(_In_ HMENU, _In_ DWORD)
BOOL WINAPI GetTitleBarInfo(_In_ HWND, _Inout_ PTITLEBARINFO)
LPSTR WINAPI CharPrevA(_In_ LPCSTR, _In_ LPCSTR)
struct tagMDINEXTMENU MDINEXTMENU
DWORD WINAPI GetSysColor(_In_ int)
BOOL WINAPI EndMenu(void)
BOOL WINAPI CallMsgFilterA(_In_ LPMSG, _In_ INT)
struct tagANIMATIONINFO * LPANIMATIONINFO
struct tagMOUSEHOOKSTRUCT * LPMOUSEHOOKSTRUCT
BOOL WINAPI IsCharAlphaNumericA(_In_ CHAR)
#define SetWindowLongPtrA
BOOL WINAPI CopyRect(_Out_ LPRECT, _In_ LPCRECT)
LRESULT(CALLBACK * HOOKPROC)(int, WPARAM, LPARAM)
BOOL WINAPI IsWindow(_In_opt_ HWND)
HWND WINAPI GetActiveWindow(void)
BOOL WINAPI ReplyMessage(_In_ LRESULT)
int WINAPI FrameRect(_In_ HDC, _In_ LPCRECT, _In_ HBRUSH)
BOOL WINAPI SetDoubleClickTime(_In_ UINT)
HMENU WINAPI CreatePopupMenu(void)
HKL WINAPI GetKeyboardLayout(_In_ DWORD)
UINT WINAPI GetMenuDefaultItem(_In_ HMENU hMenu, _In_ UINT fByPos, _In_ UINT gmdiFlags)
LRESULT WINAPI DefFrameProcW(_In_ HWND, _In_opt_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
void(CALLBACK * SENDASYNCPROC)(HWND, UINT, ULONG_PTR, LRESULT)
LRESULT WINAPI DefMDIChildProcA(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
UINT WINAPI RegisterWindowMessageA(_In_ LPCSTR)
struct tagHELPWININFOW * PHELPWININFOW
BOOL WINAPI SetMenu(_In_ HWND, _In_opt_ HMENU)
BOOL WINAPI SendNotifyMessageW(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
BOOL(CALLBACK * NAMEENUMPROCA)(LPSTR, LPARAM)
BOOL(CALLBACK * PROPENUMPROCA)(HWND, LPCSTR, HANDLE)
struct _WNDCLASSA * LPWNDCLASSA
BOOL WINAPI RedrawWindow(_In_opt_ HWND, _In_opt_ LPCRECT, _In_opt_ HRGN, _In_ UINT)
void WINAPI mouse_event(_In_ DWORD, _In_ DWORD, _In_ DWORD, _In_ DWORD, _In_ ULONG_PTR)
BOOL WINAPI MapDialogRect(_In_ HWND, _Inout_ LPRECT)
struct tagMDICREATESTRUCTW * LPMDICREATESTRUCTW
BOOL(CALLBACK * NAMEENUMPROCW)(LPWSTR, LPARAM)
BOOL WINAPI SetWindowTextA(_In_ HWND, _In_opt_ LPCSTR)
BOOL WINAPI UnloadKeyboardLayout(_In_ HKL)
WNDCLASSEXA * PWNDCLASSEX
int WINAPI wvsprintfA(_Out_ LPSTR, _In_ _Printf_format_string_ LPCSTR, _In_ va_list arglist)
BOOL WINAPI SetMenuItemBitmaps(_In_ HMENU, _In_ UINT, _In_ UINT, _In_opt_ HBITMAP, _In_opt_ HBITMAP)
#define GetWindowLongPtrW
BOOL WINAPI ShowCaret(_In_opt_ HWND)
BOOL WINAPI DlgDirSelectComboBoxExA(_In_ HWND hwndDlg, _Out_writes_(cchOut) LPSTR lpString, _In_ int cchOut, _In_ int idComboBox)
HDC WINAPI GetWindowDC(_In_opt_ HWND)
struct tagMULTIKEYHELPW * PMULTIKEYHELPW
struct tagHELPWININFOA * LPHELPWININFOA
HICON WINAPI CreateIconIndirect(_In_ PICONINFO)
UINT WINAPI MapVirtualKeyA(_In_ UINT, _In_ UINT)
CREATESTRUCTA * LPCREATESTRUCT
DWORD WINAPI GetQueueStatus(_In_ UINT)
BOOL WINAPI DestroyCursor(_In_ HCURSOR)
BOOL WINAPI GetKeyboardLayoutNameA(_Out_writes_(KL_NAMELENGTH) LPSTR)
BOOL WINAPI SetKeyboardState(_In_reads_(256) LPBYTE)
BOOL WINAPI TranslateMessage(_In_ const MSG *)
HWND WINAPI CreateWindowExA(_In_ DWORD dwExStyle, _In_opt_ LPCSTR lpClassName, _In_opt_ LPCSTR lpWindowName, _In_ DWORD dwStyle, _In_ int X, _In_ int Y, _In_ int nWidth, _In_ int nHeight, _In_opt_ HWND hWndParent, _In_opt_ HMENU hMenu, _In_opt_ HINSTANCE hInstance, _In_opt_ LPVOID lpParam)
DWORD WINAPI GetTabbedTextExtentA(_In_ HDC hdc, _In_reads_(chCount) LPCSTR lpString, _In_ int chCount, _In_ int nTabPositions, _In_reads_opt_(nTabPositions) CONST INT *lpnTabStopPositions)
struct tagHIGHCONTRASTA HIGHCONTRASTA
INT_PTR WINAPI DialogBoxIndirectParamW(_In_opt_ HINSTANCE, _In_ LPCDLGTEMPLATE, _In_opt_ HWND, _In_opt_ DLGPROC, _In_ LPARAM)
struct tagDROPSTRUCT * LPDROPSTRUCT
int WINAPI wvsprintfW(_Out_ LPWSTR, _In_ _Printf_format_string_ LPCWSTR, _In_ va_list arglist)
BOOL WINAPI ShowWindow(_In_ HWND, _In_ int)
struct tagMENUITEMINFOW * LPMENUITEMINFOW
HANDLE WINAPI GetPropA(_In_ HWND, _In_ LPCSTR)
HANDLE WINAPI RemovePropW(_In_ HWND, _In_ LPCWSTR)
struct tagMEASUREITEMSTRUCT * LPMEASUREITEMSTRUCT
BOOL WINAPI ReleaseCapture(void)
UINT WINAPI MapVirtualKeyExA(_In_ UINT, _In_ UINT, _In_opt_ HKL)
BOOL WINAPI SetMenuDefaultItem(_In_ HMENU, _In_ UINT, _In_ UINT)
BOOL(CALLBACK * GRAYSTRINGPROC)(HDC, LPARAM, int)
DWORD WINAPI GetMessagePos(void)
BOOL WINAPI UnregisterClassA(_In_ LPCSTR, HINSTANCE)
struct tagCURSORINFO CURSORINFO
BOOL WINAPI GetClipCursor(_Out_ LPRECT)
BOOL WINAPI CheckDlgButton(_In_ HWND, _In_ int, _In_ UINT)
int(CALLBACK * EDITWORDBREAKPROCA)(LPSTR, int, int, int)
HWND WINAPI GetForegroundWindow(void)
struct _ICONINFO * PICONINFO
struct tagUSEROBJECTFLAGS USEROBJECTFLAGS
HDESK WINAPI OpenDesktopW(_In_ LPCWSTR, _In_ DWORD, _In_ BOOL, _In_ DWORD)
UINT WINAPI GetMenuState(_In_ HMENU, _In_ UINT, _In_ UINT)
struct tagHARDWAREHOOKSTRUCT * PHARDWAREHOOKSTRUCT
LRESULT WINAPI DefWindowProcW(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
int WINAPI GetMenuItemCount(_In_opt_ HMENU)
LPSTR WINAPI CharNextExA(_In_ WORD, _In_ LPCSTR, _In_ DWORD)
BOOL WINAPI SwitchDesktop(_In_ HDESK)
HWINSTA WINAPI OpenWindowStationA(_In_ LPCSTR, _In_ BOOL, _In_ DWORD)
struct tagHELPINFO * LPHELPINFO
struct tagHIGHCONTRASTW * LPHIGHCONTRASTW
struct tagMULTIKEYHELPA MULTIKEYHELPA
LONG WINAPI GetWindowLongA(_In_ HWND, _In_ int)
BOOL WINAPI AttachThreadInput(_In_ DWORD, _In_ DWORD, _In_ BOOL)
HWND WINAPI CreateDialogParamA(_In_opt_ HINSTANCE, _In_ LPCSTR, _In_opt_ HWND, _In_opt_ DLGPROC, _In_ LPARAM)
BOOL WINAPI DrawCaption(_In_ HWND, _In_ HDC, _In_ LPCRECT, _In_ UINT)
BOOL WINAPI IsDialogMessageW(_In_ HWND, _In_ LPMSG)
DLGITEMTEMPLATE * PDLGITEMTEMPLATEA
BOOL WINAPI AdjustWindowRect(_Inout_ LPRECT, _In_ DWORD, _In_ BOOL)
int WINAPI GetKeyNameTextA(_In_ LONG lParam, _Out_writes_(cchSize) LPSTR lpString, _In_ int cchSize)
UINT WINAPI ArrangeIconicWindows(_In_ HWND)
LRESULT WINAPI DefWindowProcA(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
struct tagEVENTMSG EVENTMSG
UINT WINAPI RealGetWindowClassA(_In_ HWND hwnd, _Out_writes_to_(cchClassNameMax, return) LPSTR ptszClassName, _In_ UINT cchClassNameMax)
BOOL WINAPI SetPropA(_In_ HWND, _In_ LPCSTR, _In_opt_ HANDLE)
HMONITOR WINAPI MonitorFromPoint(_In_ POINT, _In_ DWORD)
BOOL WINAPI GetMessageW(_Out_ LPMSG, _In_opt_ HWND, _In_ UINT, _In_ UINT)
MENUINFO CONST * LPCMENUINFO
BOOL WINAPI PostMessageW(_In_opt_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
BOOL WINAPI SetThreadDesktop(_In_ HDESK)
LRESULT WINAPI DefDlgProcW(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
struct tagDELETEITEMSTRUCT * PDELETEITEMSTRUCT
HICON WINAPI CreateIcon(_In_opt_ HINSTANCE, _In_ int, _In_ int, _In_ BYTE, _In_ BYTE, _In_ const BYTE *, _In_ const BYTE *)
BOOL WINAPI SetWindowContextHelpId(_In_ HWND, _In_ DWORD)
BOOL WINAPI GetIconInfo(_In_ HICON, _Out_ PICONINFO)
MSGBOXPARAMSA MSGBOXPARAMS
CBT_CREATEWNDA * LPCBT_CREATEWND
struct tagNCCALCSIZE_PARAMS NCCALCSIZE_PARAMS
struct tagSCROLLINFO SCROLLINFO
BOOL WINAPI GetWindowPlacement(_In_ HWND, _Inout_ WINDOWPLACEMENT *)
SHORT WINAPI VkKeyScanA(_In_ CHAR)
MDICREATESTRUCTA * LPMDICREATESTRUCT
HWINSTA WINAPI CreateWindowStationW(_In_opt_ LPCWSTR lpwinsta, _In_ DWORD dwFlags, _In_ ACCESS_MASK dwDesiredAccess, _In_opt_ LPSECURITY_ATTRIBUTES lpsa)
int WINAPI GetClipboardFormatNameA(_In_ UINT format, _Out_writes_(cchMaxCount) LPSTR lpszFormatName, _In_ int cchMaxCount)
struct tagTPMPARAMS * LPTPMPARAMS
struct MSGBOXPARAMSA * PMSGBOXPARAMSA
BOOL WINAPI GetWindowRect(_In_ HWND, _Out_ LPRECT)
struct tagMENUITEMINFOA MENUITEMINFOA
struct tagMOUSEHOOKSTRUCT MOUSEHOOKSTRUCT
HWND WINAPI GetLastActivePopup(_In_ HWND)
LONG WINAPI SetWindowLongA(_In_ HWND, _In_ int, _In_ LONG)
BOOL WINAPI GetWindowInfo(_In_ HWND, _Inout_ PWINDOWINFO)
BOOL WINAPI InvertRect(_In_ HDC, _In_ LPCRECT)
int WINAPI LoadStringW(_In_opt_ HINSTANCE hInstance, _In_ UINT uID, _Out_writes_to_(cchBufferMax, return+1) LPWSTR lpBuffer, _In_ int cchBufferMax)
BOOL WINAPI DrawFrameControl(_In_ HDC, _Inout_ LPRECT, _In_ UINT, _In_ UINT)
int WINAPIV wsprintfW(_Out_ LPWSTR, _In_ _Printf_format_string_ LPCWSTR,...)
struct _WNDCLASSEXW * LPWNDCLASSEXW
UINT WINAPI PrivateExtractIconsW(_In_reads_(MAX_PATH) LPCWSTR szFileName, _In_ int nIconIndex, _In_ int cxIcon, _In_ int cyIcon, _Out_writes_opt_(nIcons) HICON *phicon, _Out_writes_opt_(nIcons) UINT *piconid, _In_ UINT nIcons, _In_ UINT flags)
BOOL WINAPI CharToOemBuffA(_In_ LPCSTR lpszSrc, _Out_writes_(cchDstLength) LPSTR lpszDst, _In_ DWORD cchDstLength)
HHOOK WINAPI SetWindowsHookExW(_In_ int, _In_ HOOKPROC, _In_opt_ HINSTANCE, _In_ DWORD)
HWND WINAPI WindowFromDC(_In_ HDC hDC)
HACCEL WINAPI CreateAcceleratorTableW(_In_reads_(cAccel) LPACCEL paccel, _In_ int cAccel)
BOOL WINAPI CharToOemA(_In_ LPCSTR pSrc, _Out_writes_(_Inexpressible_(strlen(pSrc)+1)) LPSTR pDst)
int WINAPI GetMenuStringW(_In_ HMENU hMenu, _In_ UINT uIDItem, _Out_writes_opt_(cchMax) LPWSTR lpString, _In_ int cchMax, _In_ UINT flags)
BOOL WINAPI SetWindowPos(_In_ HWND, _In_opt_ HWND, _In_ int, _In_ int, _In_ int, _In_ int, _In_ UINT)
BOOL WINAPI SetSysColors(_In_ int cElements, _In_reads_(cElements) CONST INT *lpaElements, _In_reads_(cElements) CONST COLORREF *lpaRgbValues)
CREATESTRUCTA CREATESTRUCT
int WINAPI LookupIconIdFromDirectory(_In_reads_bytes_(sizeof(NEWHEADER)) PBYTE, _In_ BOOL)
DWORD WINAPI GetTabbedTextExtentW(_In_ HDC hdc, _In_reads_(chCount) LPCWSTR lpString, _In_ int chCount, _In_ int nTabPositions, _In_reads_opt_(nTabPositions) CONST INT *lpnTabStopPositions)
NAMEENUMPROCW DESKTOPENUMPROCW
struct tagWINDOWINFO WINDOWINFO
UINT WINAPI MapVirtualKeyExW(_In_ UINT, _In_ UINT, _In_opt_ HKL)
struct tagCLIENTCREATESTRUCT CLIENTCREATESTRUCT
struct _ICONINFOEXA * PICONINFOEXA
BOOL WINAPI UnregisterHotKey(_In_opt_ HWND, _In_ int)
__analysis_noreturn void WINAPI PostQuitMessage(_In_ int)
struct tagMULTIKEYHELPW MULTIKEYHELPW
struct tagCURSORINFO * LPCURSORINFO
BOOL WINAPI ShowOwnedPopups(_In_ HWND, _In_ BOOL)
BOOL WINAPI RegisterShellHookWindow(_In_ HWND)
HWND WINAPI SetParent(_In_ HWND, _In_opt_ HWND)
int WINAPI GetWindowRgn(_In_ HWND, _In_ HRGN)
WORD WINAPI CascadeWindows(_In_opt_ HWND hwndParent, _In_ UINT wHow, _In_opt_ CONST RECT *lpRect, _In_ UINT cKids, _In_reads_opt_(cKids) const HWND FAR *lpKids)
int WINAPI MessageBoxA(_In_opt_ HWND hWnd, _In_opt_ LPCSTR lpText, _In_opt_ LPCSTR lpCaption, _In_ UINT uType)
BOOL WINAPI InsertMenuW(_In_ HMENU, _In_ UINT, _In_ UINT, _In_ UINT_PTR, _In_opt_ LPCWSTR)
int WINAPI SetWindowRgn(_In_ HWND, _In_opt_ HRGN, _In_ BOOL)
HBRUSH WINAPI GetSysColorBrush(_In_ int)
struct tagHELPWININFOW HELPWININFOW
HANDLE WINAPI SetClipboardData(_In_ UINT, _In_opt_ HANDLE)
BOOL WINAPI OemToCharA(_In_ LPCSTR pSrc, _Out_writes_(_Inexpressible_(strlen(pSrc)+1)) LPSTR pDst)
struct tagPAINTSTRUCT * PPAINTSTRUCT
int WINAPI GetClassNameA(_In_ HWND hWnd, _Out_writes_to_(nMaxCount, return) LPSTR lpClassName, _In_ int nMaxCount)
HDESK WINAPI OpenInputDesktop(_In_ DWORD, _In_ BOOL, _In_ DWORD)
LONG WINAPI SetWindowLongW(_In_ HWND, _In_ int, _In_ LONG)
LONG WINAPI GetWindowLongW(_In_ HWND, _In_ int)
HMENU WINAPI CreateMenu(void)
BOOL WINAPI DrawIcon(_In_ HDC, _In_ int, _In_ int, _In_ HICON)
HDESK WINAPI OpenDesktopA(_In_ LPCSTR, _In_ DWORD, _In_ BOOL, _In_ DWORD)
struct tagCOPYDATASTRUCT * PCOPYDATASTRUCT
HICON WINAPI CopyIcon(_In_ HICON)
int WINAPI ToAscii(_In_ UINT, _In_ UINT, _In_reads_opt_(256) CONST BYTE *, _Out_ LPWORD, _In_ UINT)
BOOL WINAPI ClipCursor(_In_opt_ LPCRECT)
BOOL WINAPI ValidateRect(_In_opt_ HWND, _In_opt_ LPCRECT)
HWND WINAPI GetOpenClipboardWindow(void)
HWINSTA WINAPI OpenWindowStationW(_In_ LPCWSTR, _In_ BOOL, _In_ DWORD)
HMENU WINAPI LoadMenuIndirectW(_In_ const MENUTEMPLATE *)
struct tagMDICREATESTRUCTA * LPMDICREATESTRUCTA
struct tagSOUNDSENTRYA * LPSOUNDSENTRYA
struct tagSOUNDSENTRYA SOUNDSENTRYA
SHORT WINAPI VkKeyScanExA(_In_ CHAR, _In_ HKL)
struct tagACCEL * LPACCEL
struct tagCOMBOBOXINFO * PCOMBOBOXINFO
HWND WINAPI GetTopWindow(_In_opt_ HWND)
struct tagSTICKYKEYS STICKYKEYS
struct tagCREATESTRUCTA * LPCREATESTRUCTA
LPWSTR WINAPI CharLowerW(_Inout_ LPWSTR)
ATOM WINAPI RegisterClassW(_In_ CONST WNDCLASSW *)
struct tagTITLEBARINFO * PTITLEBARINFO
BOOL WINAPI SetSystemCursor(_In_ HCURSOR, _In_ DWORD)
struct tagDEBUGHOOKINFO DEBUGHOOKINFO
BOOL WINAPI SetForegroundWindow(_In_ HWND)
LPSTR WINAPI CharLowerA(_Inout_ LPSTR)
HANDLE WINAPI LoadImageW(_In_opt_ HINSTANCE hInst, _In_ LPCWSTR name, _In_ UINT type, _In_ int cx, _In_ int cy, _In_ UINT fuLoad)
struct tagMONITORINFOEXA MONITORINFOEXA
BOOL WINAPI CloseClipboard(void)
struct tagDROPSTRUCT * PDROPSTRUCT
int WINAPI CopyAcceleratorTableW(_In_ HACCEL hAccelSrc, _Out_writes_to_opt_(cAccelEntries, return) LPACCEL lpAccelDst, _In_ int cAccelEntries)
BOOL WINAPI WinHelpW(_In_opt_ HWND, _In_opt_ LPCWSTR, _In_ UINT, _In_ ULONG_PTR)
int WINAPI CopyAcceleratorTableA(_In_ HACCEL hAccelSrc, _Out_writes_to_opt_(cAccelEntries, return) LPACCEL lpAccelDst, _In_ int cAccelEntries)
int WINAPI EnumPropsW(_In_ HWND, _In_ PROPENUMPROCW)
struct tagDELETEITEMSTRUCT DELETEITEMSTRUCT
HHOOK WINAPI SetWindowsHookW(_In_ int, _In_ HOOKPROC)
BOOL WINAPI SetSystemMenu(HWND, HMENU)
HWND WINAPI GetClipboardOwner(void)
BOOL WINAPI GetCursorPos(_Out_ LPPOINT)
BOOL WINAPI IsCharLowerW(_In_ WCHAR)
BOOL WINAPI OpenIcon(_In_ HWND)
struct tagMENUINFO * LPMENUINFO
struct tagMDICREATESTRUCTA MDICREATESTRUCTA
int WINAPI GetWindowTextLengthA(_In_ HWND)
BOOL WINAPI IsCharAlphaW(_In_ WCHAR)
struct tagMOUSEKEYS MOUSEKEYS
UINT WINAPI RegisterClipboardFormatW(_In_ LPCWSTR)
BOOL WINAPI AdjustWindowRectEx(_Inout_ LPRECT, _In_ DWORD, _In_ BOOL, _In_ DWORD)
BOOL(CALLBACK * PROPENUMPROCEXA)(HWND, LPSTR, HANDLE, ULONG_PTR)
BOOL WINAPI PaintDesktop(_In_ HDC)
int WINAPI ShowCursor(_In_ BOOL)
BOOL WINAPI SetMenuItemInfoW(_In_ HMENU, _In_ UINT, _In_ BOOL, _In_ LPCMENUITEMINFOW)
struct tagCOMPAREITEMSTRUCT COMPAREITEMSTRUCT
MSGBOXPARAMSA * LPMSGBOXPARAMS
LRESULT WINAPI SendMessageA(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
MSGBOXPARAMSA * PMSGBOXPARAMS
BOOL WINAPI SetDlgItemTextW(_In_ HWND, _In_ int, _In_ LPCWSTR)
BOOL WINAPI IsRectEmpty(_In_ LPCRECT)
BOOL WINAPI DeleteMenu(_In_ HMENU, _In_ UINT, _In_ UINT)
HCURSOR WINAPI SetCursor(_In_opt_ HCURSOR)
BOOL WINAPI EnumDisplayMonitors(_In_opt_ HDC, _In_opt_ LPCRECT, _In_ MONITORENUMPROC, _In_ LPARAM)
const DLGTEMPLATE * LPCDLGTEMPLATEA
struct tagCBTACTIVATESTRUCT CBTACTIVATESTRUCT
int WINAPI ToUnicode(_In_ UINT wVirtKey, _In_ UINT wScanCode, _In_reads_bytes_opt_(256) CONST BYTE *lpKeyState, _Out_writes_(cchBuff) LPWSTR pwszBuff, _In_ int cchBuff, _In_ UINT wFlags)
struct tagSERIALKEYSA SERIALKEYSA
HWINSTA WINAPI CreateWindowStationA(_In_opt_ LPCSTR lpwinsta, _In_ DWORD dwFlags, _In_ ACCESS_MASK dwDesiredAccess, _In_opt_ LPSECURITY_ATTRIBUTES lpsa)
BOOL WINAPI GetClassInfoExA(_In_opt_ HINSTANCE, _In_ LPCSTR, _Out_ LPWNDCLASSEXA)
struct tagCREATESTRUCTW CREATESTRUCTW
struct tagCWPSTRUCT * PCWPSTRUCT
struct _WNDCLASSW WNDCLASSW
BOOL WINAPI CloseWindowStation(_In_ HWINSTA)
struct tagMINIMIZEDMETRICS * PMINIMIZEDMETRICS
HWND WINAPI CreateMDIWindowA(_In_ LPCSTR, _In_ LPCSTR, _In_ DWORD, _In_ int, _In_ int, _In_ int, _In_ int, _In_opt_ HWND, _In_opt_ HINSTANCE, _In_ LPARAM)
struct tagDELETEITEMSTRUCT * LPDELETEITEMSTRUCT
HDC WINAPI GetDCEx(_In_opt_ HWND, _In_opt_ HRGN, _In_ DWORD)
struct MENUITEMTEMPLATEHEADER * PMENUITEMTEMPLATEHEADER
HWND WINAPI GetCapture(void)
struct tagMEASUREITEMSTRUCT MEASUREITEMSTRUCT
#define CCHILDREN_TITLEBAR
BOOL WINAPI IsMenu(_In_ HMENU)
BOOL WINAPI OemToCharW(_In_ LPCSTR pSrc, _Out_writes_(_Inexpressible_(strlen(pSrc)+1)) LPWSTR pDst)
#define GetWindowLongPtrA
_Check_return_ BOOL WINAPI GetKeyboardState(_Out_writes_(256) PBYTE lpKeyState)
LPSTR WINAPI CharUpperA(_Inout_ LPSTR)
struct _WINDOWPOS WINDOWPOS
BOOL WINAPI SetCaretBlinkTime(_In_ UINT)
const SCROLLINFO * LPCSCROLLINFO
UINT WINAPI WinExec(LPCSTR, UINT)
BOOL WINAPI OpenClipboard(_In_opt_ HWND)
BOOL WINAPI TrackMouseEvent(_Inout_ LPTRACKMOUSEEVENT)
struct tagFILTERKEYS FILTERKEYS
struct tagSCROLLBARINFO * LPSCROLLBARINFO
LRESULT WINAPI DefMDIChildProcW(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
UINT WINAPI GetMenuItemID(_In_ HMENU, _In_ int)
struct tagMONITORINFOEXW MONITORINFOEXW
CBT_CREATEWNDA CBT_CREATEWND
HBITMAP WINAPI LoadBitmapA(_In_opt_ HINSTANCE, _In_ LPCSTR)
UINT WINAPI EnumClipboardFormats(_In_ UINT)
MULTIKEYHELPA * PMULTIKEYHELP
HMENU WINAPI GetSystemMenu(_In_ HWND, _In_ BOOL)
HWND WINAPI FindWindowExA(_In_opt_ HWND, _In_opt_ HWND, _In_opt_ LPCSTR, _In_opt_ LPCSTR)
UINT WINAPI GetWindowModuleFileNameW(_In_ HWND hwnd, _Out_writes_to_(cchFileNameMax, return) LPWSTR pszFileName, _In_ UINT cchFileNameMax)
BOOL WINAPI IsCharUpperW(_In_ WCHAR)
struct tagCBTACTIVATESTRUCT * LPCBTACTIVATESTRUCT
struct tagTITLEBARINFO TITLEBARINFO
WORD WINAPI SetWindowWord(_In_ HWND, _In_ int, _In_ WORD)
BOOL WINAPI GetClassInfoExW(_In_opt_ HINSTANCE, _In_ LPCWSTR, _Out_ LPWNDCLASSEXW)
BOOL WINAPI GetIconInfoExW(_In_ HICON, _Inout_ ICONINFOEXW *)
BOOL WINAPI MessageBeep(_In_ UINT uType)
DWORD WINAPI GetWindowContextHelpId(_In_ HWND)
BOOL WINAPI EndDeferWindowPos(_In_ HDWP)
int WINAPI LoadStringA(_In_opt_ HINSTANCE hInstance, _In_ UINT uID, _Out_writes_to_(cchBufferMax, return+1) LPSTR lpBuffer, _In_ int cchBufferMax)
struct tagTITLEBARINFO * LPTITLEBARINFO
struct tagWINDOWINFO * LPWINDOWINFO
struct tagFILTERKEYS * LPFILTERKEYS
BOOL WINAPI SetCursorPos(_In_ int, _In_ int)
HCURSOR WINAPI LoadCursorW(_In_opt_ HINSTANCE, _In_ LPCWSTR)
BOOL WINAPI TrackPopupMenuEx(_In_ HMENU, _In_ UINT, _In_ int, _In_ int, _In_ HWND, _In_opt_ LPTPMPARAMS)
BOOL WINAPI EnumWindowStationsA(_In_ WINSTAENUMPROCA, _In_ LPARAM lParam)
BOOL WINAPI InsertMenuA(_In_ HMENU, _In_ UINT, _In_ UINT, _In_ UINT_PTR, _In_opt_ LPCSTR)
HWND WINAPI ChildWindowFromPointEx(_In_ HWND, _In_ POINT, _In_ UINT)
LRESULT WINAPI DefDlgProcA(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
HANDLE WINAPI GetClipboardData(_In_ UINT)
int WINAPI GetMenuStringA(_In_ HMENU hMenu, _In_ UINT uIDItem, _Out_writes_opt_(cchMax) LPSTR lpString, _In_ int cchMax, _In_ UINT flags)
HANDLE WINAPI CopyImage(_In_ HANDLE, _In_ UINT, _In_ int, _In_ int, _In_ UINT)
struct tagDRAWITEMSTRUCT DRAWITEMSTRUCT
HWND WINAPI GetNextDlgTabItem(_In_ HWND, _In_opt_ HWND, _In_ BOOL)
BOOL WINAPI EnumChildWindows(_In_opt_ HWND, _In_ WNDENUMPROC, _In_ LPARAM)
struct DRAWTEXTPARAMS * LPDRAWTEXTPARAMS
DWORD WINAPI MsgWaitForMultipleObjects(_In_ DWORD nCount, _In_reads_opt_(nCount) CONST HANDLE *pHandles, _In_ BOOL fWaitAll, _In_ DWORD dwMilliseconds, _In_ DWORD dwWakeMask)
BOOL WINAPI SetProcessWindowStation(_In_ HWINSTA)
int WINAPI MapWindowPoints(_In_opt_ HWND hWndFrom, _In_opt_ HWND hWndTo, _Inout_updates_(cPoints) LPPOINT lpPoints, _In_ UINT cPoints)
HCURSOR WINAPI LoadCursorFromFileA(_In_ LPCSTR)
LPCMENUITEMINFOA LPCMENUITEMINFO
struct _WNDCLASSEXW * PWNDCLASSEXW
LPSTR WINAPI CharNextA(_In_ LPCSTR)
int WINAPI SetScrollPos(_In_ HWND, _In_ int, _In_ int, _In_ BOOL)
struct tagMENUGETOBJECTINFO * PMENUGETOBJECTINFO
BOOL WINAPI CallMsgFilterW(_In_ LPMSG, _In_ INT)
WORD WINAPI GetClassWord(_In_ HWND, _In_ int)
BOOL WINAPI SendMessageCallbackW(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM, _In_ SENDASYNCPROC, _In_ ULONG_PTR)
LPSTR WINAPI CharPrevExA(_In_ WORD, _In_ LPCSTR, _In_ LPCSTR, _In_ DWORD)
BOOL WINAPI UnhookWindowsHook(_In_ int, _In_ HOOKPROC)
int WINAPI MessageBoxW(_In_opt_ HWND hWnd, _In_opt_ LPCWSTR lpText, _In_opt_ LPCWSTR lpCaption, _In_ UINT uType)
LRESULT WINAPI SendMessageTimeoutW(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM, _In_ UINT, _In_ UINT, _Out_opt_ PDWORD_PTR)
BOOL WINAPI HiliteMenuItem(_In_ HWND, _In_ HMENU, _In_ UINT, _In_ UINT)
WORD WINAPI SetClassWord(_In_ HWND, _In_ int, _In_ WORD)
BOOL WINAPI ClientToScreen(_In_ HWND, _Inout_ LPPOINT)
UINT WINAPI GetDoubleClickTime(void)
LPWSTR WINAPI CharPrevW(_In_ LPCWSTR, _In_ LPCWSTR)
HACCEL WINAPI LoadAcceleratorsA(_In_opt_ HINSTANCE, _In_ LPCSTR)
struct MENUITEMTEMPLATE * PMENUITEMTEMPLATE
int WINAPIV wsprintfA(_Out_ LPSTR, _In_ _Printf_format_string_ LPCSTR,...)
HICON WINAPI CreateIconFromResourceEx(_In_reads_bytes_(dwResSize) PBYTE presbits, _In_ DWORD dwResSize, _In_ BOOL fIcon, _In_ DWORD dwVer, _In_ int cxDesired, _In_ int cyDesired, _In_ UINT Flags)
HWND WINAPI GetDlgItem(_In_opt_ HWND, _In_ int)
BOOL WINAPI IsIconic(_In_ HWND)
BOOL WINAPI GetScrollRange(_In_ HWND, _In_ int, _Out_ LPINT, _Out_ LPINT)
BOOL WINAPI IsCharAlphaNumericW(_In_ WCHAR)
struct tagDEBUGHOOKINFO * LPDEBUGHOOKINFO
UINT_PTR WINAPI SetTimer(_In_opt_ HWND, _In_ UINT_PTR, _In_ UINT, _In_opt_ TIMERPROC)
struct tagACCESSTIMEOUT * LPACCESSTIMEOUT
DWORD WINAPI CheckMenuItem(_In_ HMENU, _In_ UINT, _In_ UINT)
HMONITOR WINAPI MonitorFromWindow(_In_ HWND, _In_ DWORD)
LPCDLGTEMPLATEA LPCDLGTEMPLATE
int WINAPI GetPriorityClipboardFormat(_In_reads_(cFormats) UINT *paFormatPriorityList, _In_ int cFormats)
int WINAPI MessageBoxIndirectA(_In_ CONST MSGBOXPARAMSA *lpmbp)
HWND WINAPI SetClipboardViewer(_In_ HWND)
struct tagMENUBARINFO MENUBARINFO
HHOOK WINAPI SetWindowsHookExA(_In_ int, _In_ HOOKPROC, _In_opt_ HINSTANCE, _In_ DWORD)
LRESULT WINAPI SendDlgItemMessageW(_In_ HWND, _In_ int, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
HWND WINAPI GetDesktopWindow(void)
struct tagMINMAXINFO MINMAXINFO
BOOL WINAPI ModifyMenuA(_In_ HMENU, _In_ UINT, _In_ UINT, _In_ UINT_PTR, _In_opt_ LPCSTR)
struct tagCWPSTRUCT * LPCWPSTRUCT
struct tagMULTIKEYHELPA * LPMULTIKEYHELPA
BOOL WINAPI SetWindowTextW(_In_ HWND, _In_opt_ LPCWSTR)
BOOL WINAPI IsZoomed(_In_ HWND)
UINT WINAPI IsDlgButtonChecked(_In_ HWND, _In_ int)
BOOL WINAPI ShowWindowAsync(_In_ HWND, _In_ int)
struct tagMULTIKEYHELPW * LPMULTIKEYHELPW
struct tagSTYLESTRUCT * LPSTYLESTRUCT
BOOL WINAPI PtInRect(_In_ LPCRECT, _In_ POINT)
BOOL WINAPI EnumDesktopsW(_In_opt_ HWINSTA, _In_ DESKTOPENUMPROCW, _In_ LPARAM)
BOOL WINAPI FlashWindow(_In_ HWND, _In_ BOOL)
WNDCLASSEXA * LPWNDCLASSEX
UINT WINAPI MapVirtualKeyW(_In_ UINT, _In_ UINT)
struct tagSOUNDSENTRYW SOUNDSENTRYW
BOOL WINAPI IsWindowUnicode(_In_ HWND)
HIGHCONTRASTA HIGHCONTRAST
int WINAPI MenuItemFromPoint(_In_opt_ HWND, _In_ HMENU, _In_ POINT)
DWORD WINAPI CharLowerBuffA(_Inout_updates_(cchLength) LPSTR lpsz, _In_ DWORD cchLength)
DWORD WINAPI MsgWaitForMultipleObjectsEx(_In_ DWORD nCount, _In_reads_opt_(nCount) CONST HANDLE *pHandles, _In_ DWORD dwMilliseconds, _In_ DWORD dwWakeMask, _In_ DWORD dwFlags)
LPWSTR WINAPI CharNextW(_In_ LPCWSTR)
struct tagKBDLLHOOKSTRUCT * PKBDLLHOOKSTRUCT
HWND WINAPI GetNextDlgGroupItem(_In_ HWND, _In_opt_ HWND, _In_ BOOL)
UINT_PTR WINAPI SetSystemTimer(HWND, UINT_PTR, UINT, TIMERPROC)
HWND WINAPI FindWindowExW(_In_opt_ HWND, _In_opt_ HWND, _In_opt_ LPCWSTR, _In_opt_ LPCWSTR)
WORD WINAPI TileWindows(_In_opt_ HWND hwndParent, _In_ UINT wHow, _In_opt_ CONST RECT *lpRect, _In_ UINT cKids, _In_reads_opt_(cKids) const HWND FAR *lpKids)
BOOL WINAPI GetClientRect(_In_ HWND, _Out_ LPRECT)
BOOL WINAPI SetDlgItemInt(_In_ HWND, _In_ int, _In_ UINT, _In_ BOOL)
MONITORINFOEXA * LPMONITORINFOEX
enum tagAR_STATE AR_STATE
ATOM WINAPI RegisterClassA(_In_ CONST WNDCLASSA *)
BOOL(CALLBACK * PROPENUMPROCW)(HWND, LPCWSTR, HANDLE)
struct _WNDCLASSA WNDCLASSA
BOOL WINAPI OemToCharBuffW(_In_ LPCSTR lpszSrc, _Out_writes_(cchDstLength) LPWSTR lpszDst, _In_ DWORD cchDstLength)
struct _ICONINFOEXW * PICONINFOEXW
BOOL WINAPI RegisterHotKey(_In_opt_ HWND, _In_ int, _In_ UINT, _In_ UINT)
BOOL WINAPI TranslateMDISysAccel(_In_ HWND, _In_ LPMSG)
struct tagSTICKYKEYS * LPSTICKYKEYS
HMENU WINAPI GetSubMenu(_In_ HMENU, _In_ int)
enum tagAR_STATE * PAR_STATE
int WINAPI MessageBoxExA(_In_opt_ HWND hWnd, _In_opt_ LPCSTR lpText, _In_opt_ LPCSTR lpCaption, _In_ UINT uType, _In_ WORD wLanguageId)
ATOM WINAPI RegisterClassExA(_In_ CONST WNDCLASSEXA *)
struct tagHIGHCONTRASTA * LPHIGHCONTRASTA
BOOL WINAPI InSendMessage(void)
BOOL WINAPI InsertMenuItemA(_In_ HMENU, _In_ UINT, _In_ BOOL, _In_ LPCMENUITEMINFOA)
struct tagHARDWAREHOOKSTRUCT HARDWAREHOOKSTRUCT
BOOL WINAPI SendNotifyMessageA(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
BOOL WINAPI LockWindowUpdate(_In_opt_ HWND)
BOOL WINAPI DrawEdge(_In_ HDC, _Inout_ LPRECT, _In_ UINT, _In_ UINT)
LPWSTR WINAPI CharPrevExW(_In_ WORD, _In_ LPCWSTR, _In_ LPCWSTR, _In_ DWORD)
BOOL WINAPI KillSystemTimer(HWND, UINT_PTR)
HWND WINAPI SetFocus(_In_opt_ HWND)
#define CCHILDREN_SCROLLBAR
HACCEL WINAPI CreateAcceleratorTableA(_In_reads_(cAccel) LPACCEL paccel, _In_ int cAccel)
BOOL WINAPI DlgDirSelectComboBoxExW(_In_ HWND hwndDlg, _Out_writes_(cchOut) LPWSTR lpString, _In_ int cchOut, _In_ int idComboBox)
BOOL WINAPI EnumWindows(_In_ WNDENUMPROC lpEnumFunc, _In_ LPARAM lParam)
HKL WINAPI LoadKeyboardLayoutW(_In_ LPCWSTR, _In_ UINT)
BOOL WINAPI SetScrollRange(_In_ HWND, _In_ int, _In_ int, _In_ int, _In_ BOOL)
BOOL WINAPI RegisterLogonProcess(DWORD, BOOL)
BOOL WINAPI DrawMenuBar(_In_ HWND)
BOOL WINAPI UnhookWindowsHookEx(_In_ HHOOK)
struct tagMDICREATESTRUCTW MDICREATESTRUCTW
BOOL WINAPI IsChild(_In_ HWND, _In_ HWND)
HWND WINAPI SetActiveWindow(_In_ HWND)
DWORD WINAPI DrawMenuBarTemp(HWND, HDC, LPRECT, HMENU, HFONT)
NAMEENUMPROCA WINSTAENUMPROCA
BOOL WINAPI IsDialogMessageA(_In_ HWND, _In_ LPMSG)
LRESULT WINAPI SendMessageTimeoutA(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM, _In_ UINT, _In_ UINT, _Out_opt_ PDWORD_PTR)
struct tagMINIMIZEDMETRICS MINIMIZEDMETRICS
BOOL WINAPI PeekMessageW(_Out_ LPMSG, _In_opt_ HWND, _In_ UINT, _In_ UINT, _In_ UINT)
int WINAPI GetKeyNameTextW(_In_ LONG lParam, _Out_writes_(cchSize) LPWSTR lpString, _In_ int cchSize)
BOOL WINAPI GetComboBoxInfo(_In_ HWND, _Inout_ PCOMBOBOXINFO)
UINT WINAPI GetKeyboardLayoutList(_In_ int nBuff, _Out_writes_to_opt_(nBuff, return) HKL FAR *lpList)
BOOL WINAPI PostThreadMessageW(_In_ DWORD, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
int WINAPI LookupIconIdFromDirectoryEx(_In_reads_bytes_(sizeof(NEWHEADER)) PBYTE, _In_ BOOL, _In_ int, _In_ int, _In_ UINT)
HWND WINAPI CreateWindowExW(_In_ DWORD dwExStyle, _In_opt_ LPCWSTR lpClassName, _In_opt_ LPCWSTR lpWindowName, _In_ DWORD dwStyle, _In_ int X, _In_ int Y, _In_ int nWidth, _In_ int nHeight, _In_opt_ HWND hWndParent, _In_opt_ HMENU hMenu, _In_opt_ HINSTANCE hInstance, _In_opt_ LPVOID lpParam)
struct tagCOPYDATASTRUCT COPYDATASTRUCT
HWND WINAPI CreateDialogIndirectParamA(_In_opt_ HINSTANCE, _In_ LPCDLGTEMPLATE, _In_opt_ HWND, _In_opt_ DLGPROC, _In_ LPARAM)
BOOL WINAPI EndPaint(_In_ HWND, _In_ const PAINTSTRUCT *)
HICON WINAPI LoadIconA(_In_opt_ HINSTANCE hInstance, _In_ LPCSTR lpIconName)
DWORD WINAPI SetClassLongW(_In_ HWND, _In_ int, _In_ LONG)
struct DLGITEMTEMPLATE * LPDLGITEMTEMPLATE
BOOL WINAPI DrawIconEx(_In_ HDC, _In_ int, _In_ int, _In_ HICON, _In_ int, _In_ int, _In_ UINT, _In_opt_ HBRUSH, _In_ UINT)
BOOL WINAPI ChangeClipboardChain(_In_ HWND, _In_ HWND)
struct _WNDCLASSA * PWNDCLASSA
BOOL WINAPI ScrollDC(_In_ HDC, _In_ int, _In_ int, _In_opt_ LPCRECT, _In_opt_ LPCRECT, _In_opt_ HRGN, _Out_opt_ LPRECT)
struct _WNDCLASSW * PWNDCLASSW
struct tagCOMPAREITEMSTRUCT * PCOMPAREITEMSTRUCT
BOOL WINAPI IntersectRect(_Out_ LPRECT, _In_ LPCRECT, _In_ LPCRECT)
BOOL WINAPI DlgDirSelectExW(_In_ HWND hwndDlg, _Out_writes_(chCount) LPWSTR lpString, _In_ int chCount, _In_ int idListBox)
BOOL WINAPI RemoveMenu(_In_ HMENU, _In_ UINT, _In_ UINT)
struct tagCWPRETSTRUCT CWPRETSTRUCT
struct tagTPMPARAMS TPMPARAMS
DWORD WINAPI WaitForInputIdle(_In_ HANDLE, _In_ DWORD)
BOOL WINAPI SetPropW(_In_ HWND, _In_ LPCWSTR, _In_opt_ HANDLE)
struct tagCOMBOBOXINFO COMBOBOXINFO
BOOL WINAPI SetMenuInfo(_In_ HMENU, _In_ LPCMENUINFO)
struct DLGTEMPLATE * LPDLGTEMPLATE
int WINAPI GetUpdateRgn(_In_ HWND, _In_ HRGN, _In_ BOOL)
struct _WNDCLASSW * LPWNDCLASSW
struct tagTOGGLEKEYS * LPTOGGLEKEYS
BOOL WINAPI SwapMouseButton(_In_ BOOL)
BOOL WINAPI EmptyClipboard(void)
BOOL WINAPI UpdateWindow(_In_ HWND)
struct MSGBOXPARAMSW * LPMSGBOXPARAMSW
struct tagNMHDR * LPNMHDR
ATOM WINAPI RegisterClassExW(_In_ CONST WNDCLASSEXW *)
BOOL WINAPI WaitMessage(void)
BOOL WINAPI GetMonitorInfoA(_In_ HMONITOR, _Inout_ LPMONITORINFO)
struct tagHIGHCONTRASTW HIGHCONTRASTW
DWORD WINAPI CharUpperBuffA(_Inout_updates_(cchLength) LPSTR lpsz, _In_ DWORD cchLength)
BOOL WINAPI GetCaretPos(_Out_ LPPOINT)
BOOL WINAPI ValidateRgn(_In_ HWND, _In_opt_ HRGN)
UINT WINAPI RegisterWindowMessageW(_In_ LPCWSTR)
struct tagSERIALKEYSW SERIALKEYSW
BOOL WINAPI EnableWindow(_In_ HWND, _In_ BOOL)
struct _WINDOWPLACEMENT * LPWINDOWPLACEMENT
struct tagHELPWININFOA * PHELPWININFOA
struct tagLASTINPUTINFO * PLASTINPUTINFO
HKL WINAPI LoadKeyboardLayoutA(_In_ LPCSTR, _In_ UINT)
struct _WINDOWPOS * LPWINDOWPOS
BOOL WINAPI SendMessageCallbackA(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM, _In_ SENDASYNCPROC, _In_ ULONG_PTR)
struct tagSTYLESTRUCT STYLESTRUCT
struct tagMDINEXTMENU * LPMDINEXTMENU
BOOL WINAPI DragDetect(_In_ HWND, _In_ POINT)
struct tagMINMAXINFO * PMINMAXINFO
HDC WINAPI GetDC(_In_opt_ HWND)
BOOL WINAPI InvalidateRgn(_In_ HWND, _In_opt_ HRGN, _In_ BOOL)
struct tagHELPINFO HELPINFO
int WINAPI GetWindowTextLengthW(_In_ HWND)
struct tagMULTIKEYHELPA * PMULTIKEYHELPA
struct tagCOMBOBOXINFO * LPCOMBOBOXINFO
int WINAPI CountClipboardFormats(void)
BOOL WINAPI GetMenuInfo(_In_ HMENU, _Inout_ LPMENUINFO)
BOOL WINAPI SetDlgItemTextA(_In_ HWND, _In_ int, _In_ LPCSTR)
DWORD WINAPI CharUpperBuffW(_Inout_updates_(cchLength) LPWSTR lpsz, _In_ DWORD cchLength)
struct tagHARDWAREHOOKSTRUCT * LPHARDWAREHOOKSTRUCT
BOOL WINAPI GrayStringW(_In_ HDC, _In_opt_ HBRUSH, _In_opt_ GRAYSTRINGPROC, _In_ LPARAM, _In_ int, _In_ int, _In_ int, _In_ int, _In_ int)
SHORT WINAPI VkKeyScanExW(_In_ WCHAR, _In_ HKL)
struct tagPAINTSTRUCT PAINTSTRUCT
LONG WINAPI TabbedTextOutA(_In_ HDC hdc, _In_ int x, _In_ int y, _In_reads_(chCount) LPCSTR lpString, _In_ int chCount, _In_ int nTabPositions, _In_reads_opt_(nTabPositions) CONST INT *lpnTabStopPositions, _In_ int nTabOrigin)
int WINAPI EnumPropsExW(_In_ HWND, _In_ PROPENUMPROCEXW, _In_ LPARAM lParam)
BOOL WINAPI AppendMenuA(_In_ HMENU, _In_ UINT, _In_ UINT_PTR, _In_opt_ LPCSTR)
VOID WINAPI keybd_event(_In_ BYTE, _In_ BYTE, _In_ DWORD, _In_ ULONG_PTR)
int(CALLBACK * EDITWORDBREAKPROCW)(LPWSTR, int, int, int)
BOOL WINAPI GetClassInfoA(_In_opt_ HINSTANCE, _In_ LPCSTR, _Out_ LPWNDCLASSA)
INT_PTR WINAPI DialogBoxIndirectParamA(_In_opt_ HINSTANCE, _In_ LPCDLGTEMPLATE, _In_opt_ HWND, _In_opt_ DLGPROC, _In_ LPARAM)
LONG WINAPI GetMessageTime(void)
LONG WINAPI GetDialogBaseUnits(void)
DWORD WINAPI GetMenuContextHelpId(_In_ HMENU)
BOOL WINAPI SystemParametersInfoW(_In_ UINT uiAction, _In_ UINT uiParam, _Inout_opt_ PVOID pvParam, _In_ UINT fWinIni)
struct tagMEASUREITEMSTRUCT * PMEASUREITEMSTRUCT
BOOL WINAPI GetMenuItemRect(_In_opt_ HWND, _In_ HMENU, _In_ UINT, _Out_ LPRECT)
BOOL WINAPI SetRectEmpty(_Out_ LPRECT)
BOOL WINAPI IsWindowEnabled(_In_ HWND)
#define BroadcastSystemMessage
BOOL WINAPI SetMessageQueue(_In_ int)
struct tagTRACKMOUSEEVENT TRACKMOUSEEVENT
BOOL WINAPI CheckMenuRadioItem(_In_ HMENU, _In_ UINT, _In_ UINT, _In_ UINT, _In_ UINT)
VOID WINAPI ScrollChildren(HWND, UINT, WPARAM, LPARAM)
struct tagCBT_CREATEWNDA * LPCBT_CREATEWNDA
struct tagMENUITEMINFOA * LPMENUITEMINFOA
UINT WINAPI PrivateExtractIconsA(_In_reads_(MAX_PATH) LPCSTR szFileName, _In_ int nIconIndex, _In_ int cxIcon, _In_ int cyIcon, _Out_writes_opt_(nIcons) HICON *phicon, _Out_writes_opt_(nIcons) UINT *piconid, _In_ UINT nIcons, _In_ UINT flags)
HWND WINAPI GetParent(_In_ HWND)
HACCEL WINAPI LoadAcceleratorsW(_In_opt_ HINSTANCE, _In_ LPCWSTR)
struct tagMENUGETOBJECTINFO MENUGETOBJECTINFO
BOOL WINAPI GetUserObjectInformationW(_In_ HANDLE hObj, _In_ int nIndex, _Out_writes_bytes_opt_(nLength) PVOID pvInfo, _In_ DWORD nLength, _Out_opt_ LPDWORD lpnLengthNeeded)
HANDLE WINAPI GetPropW(_In_ HWND, _In_ LPCWSTR)
BOOL WINAPI DestroyMenu(_In_ HMENU)
int WINAPI GetClipboardFormatNameW(_In_ UINT format, _Out_writes_(cchMaxCount) LPWSTR lpszFormatName, _In_ int cchMaxCount)
BOOL WINAPI GetMenuItemInfoW(_In_ HMENU, _In_ UINT, _In_ BOOL, _Inout_ LPMENUITEMINFOW)
BOOL WINAPI DrawStateA(_In_ HDC, _In_opt_ HBRUSH, _In_opt_ DRAWSTATEPROC, _In_ LPARAM, _In_ WPARAM, _In_ int, _In_ int, _In_ int, _In_ int, _In_ UINT)
struct tagCOMPAREITEMSTRUCT * LPCOMPAREITEMSTRUCT
LRESULT WINAPI CallNextHookEx(_In_opt_ HHOOK, _In_ int, _In_ WPARAM, _In_ LPARAM)
UINT WINAPI RealGetWindowClassW(_In_ HWND hwnd, _Out_writes_to_(cchClassNameMax, return) LPWSTR ptszClassName, _In_ UINT cchClassNameMax)
HCURSOR WINAPI LoadCursorFromFileW(_In_ LPCWSTR)
struct tagMONITORINFO * LPMONITORINFO
struct tagCLIENTCREATESTRUCT * LPCLIENTCREATESTRUCT
HWND WINAPI GetWindow(_In_ HWND, _In_ UINT)
_In_ int _Inout_ LPRECT lprc
struct DLGTEMPLATE * LPDLGTEMPLATEA
BOOL WINAPI GetUserObjectInformationA(_In_ HANDLE hObj, _In_ int nIndex, _Out_writes_bytes_opt_(nLength) PVOID pvInfo, _In_ DWORD nLength, _Out_opt_ LPDWORD lpnLengthNeeded)
struct tagEVENTMSG * PEVENTMSGMSG
struct tagDROPSTRUCT DROPSTRUCT
BOOL(CALLBACK * MONITORENUMPROC)(HMONITOR, HDC, LPRECT, LPARAM)
int WINAPI GetClassNameW(_In_ HWND hWnd, _Out_writes_to_(nMaxCount, return) LPWSTR lpClassName, _In_ int nMaxCount)
LRESULT WINAPI DispatchMessageW(_In_ const MSG *)
struct tagSCROLLBARINFO SCROLLBARINFO
BOOL WINAPI CheckRadioButton(_In_ HWND, _In_ int, _In_ int, _In_ int)
HANDLE WINAPI LoadImageA(_In_opt_ HINSTANCE hInst, _In_ LPCSTR name, _In_ UINT type, _In_ int cx, _In_ int cy, _In_ UINT fuLoad)
BOOL WINAPI IsCharUpperA(_In_ CHAR)
BOOL WINAPI IsCharLowerA(_In_ CHAR)
BOOL WINAPI ExitWindowsEx(_In_ UINT, _In_ DWORD)
MONITORINFOEXA MONITORINFOEX
HWND WINAPI WindowFromPoint(_In_ POINT)
struct tagCURSORSHAPE * LPCURSORSHAPE
int WINAPI ToUnicodeEx(_In_ UINT wVirtKey, _In_ UINT wScanCode, _In_reads_bytes_(256) CONST BYTE *lpKeyState, _Out_writes_(cchBuff) LPWSTR pwszBuff, _In_ int cchBuff, _In_ UINT wFlags, _In_opt_ HKL dwhkl)
BOOL WINAPI EnumDesktopWindows(_In_opt_ HDESK, _In_ WNDENUMPROC, _In_ LPARAM)
struct _WNDCLASSEXA * PWNDCLASSEXA
struct tagSOUNDSENTRYW * LPSOUNDSENTRYW
DWORD WINAPI SetClassLongA(_In_ HWND, _In_ int, _In_ LONG)
struct _ICONINFOEXW ICONINFOEXW
MDICREATESTRUCTA MDICREATESTRUCT
BOOL WINAPI WinHelpA(_In_opt_ HWND, _In_opt_ LPCSTR, _In_ UINT, _In_ ULONG_PTR)
int WINAPI TranslateAcceleratorW(_In_ HWND, _In_ HACCEL, _In_ LPMSG)
BOOL WINAPI IsCharAlphaA(_In_ CHAR ch)
struct tagMONITORINFO MONITORINFO
struct tagALTTABINFO * LPALTTABINFO
NAMEENUMPROCW WINSTAENUMPROCW
BOOL WINAPI SystemParametersInfoA(_In_ UINT uiAction, _In_ UINT uiParam, _Inout_opt_ PVOID pvParam, _In_ UINT fWinIni)
struct tagKBDLLHOOKSTRUCT * LPKBDLLHOOKSTRUCT
int WINAPI DrawTextExA(_In_ HDC hdc, _Inout_updates_opt_(cchText) LPSTR lpchText, _In_ int cchText, _Inout_ LPRECT lprc, _In_ UINT format, _In_opt_ LPDRAWTEXTPARAMS lpdtp)
WORD WINAPI GetWindowWord(_In_ HWND, _In_ int)
int WINAPI MessageBoxIndirectW(_In_ CONST MSGBOXPARAMSW *lpmbp)
struct tagACCESSTIMEOUT ACCESSTIMEOUT
struct tagCWPRETSTRUCT * LPCWPRETSTRUCT
BOOL WINAPI PeekMessageA(_Out_ LPMSG, _In_opt_ HWND, _In_ UINT, _In_ UINT, _In_ UINT)
struct tagMOUSEKEYS * LPMOUSEKEYS
UINT WINAPI WINAPI PrivateExtractIconExA(LPCSTR, int, HICON *, HICON *, UINT)
struct _WNDCLASSEXW WNDCLASSEXW
struct tagDRAWITEMSTRUCT * PDRAWITEMSTRUCT
struct DLGTEMPLATE * LPDLGTEMPLATEW
BOOL WINAPI DrawAnimatedRects(_In_opt_ HWND, _In_ int, _In_ LPCRECT, _In_ LPCRECT)
struct tagMOUSEHOOKSTRUCT * PMOUSEHOOKSTRUCT
BOOL WINAPI OffsetRect(_Inout_ LPRECT, _In_ int, _In_ int)
HMONITOR WINAPI MonitorFromRect(_In_ LPCRECT, _In_ DWORD)
struct tagTRACKMOUSEEVENT * LPTRACKMOUSEEVENT
struct tagCWPRETSTRUCT * PCWPRETSTRUCT
MULTIKEYHELPA * LPMULTIKEYHELP
struct tagMINMAXINFO * LPMINMAXINFO
int WINAPI GetDlgCtrlID(_In_ HWND)
struct MSGBOXPARAMSW * PMSGBOXPARAMSW
int WINAPI DlgDirListW(_In_ HWND, _Inout_ LPWSTR, _In_ int, _In_ int, _In_ UINT)
HDWP WINAPI DeferWindowPos(_In_ HDWP, _In_ HWND, _In_opt_ HWND, _In_ int, _In_ int, _In_ int, _In_ int, _In_ UINT)
struct _WNDCLASSEXA WNDCLASSEXA
int WINAPI GetKeyboardType(_In_ int)
DWORD WINAPI GetClassLongA(_In_ HWND, _In_ int)
BOOL WINAPI GetMenuItemInfoA(_In_ HMENU, _In_ UINT, _In_ BOOL, _Inout_ LPMENUITEMINFOA)
struct tagUSEROBJECTFLAGS * PUSEROBJECTFLAGS
BOOL WINAPI TrackPopupMenu(_In_ HMENU, _In_ UINT, _In_ int, _In_ int, _Reserved_ int, _In_ HWND, _Reserved_ LPCRECT)
int WINAPI SetScrollInfo(_In_ HWND, _In_ int, _In_ LPCSCROLLINFO, _In_ BOOL)
int WINAPI EnumPropsExA(_In_ HWND, _In_ PROPENUMPROCEXA, _In_ LPARAM lParam)
HMENU WINAPI LoadMenuIndirectA(_In_ const MENUTEMPLATE *)
MENUITEMINFOA MENUITEMINFO
struct tagSCROLLINFO * LPSCROLLINFO
struct tagCREATESTRUCTA CREATESTRUCTA
BOOL WINAPI UnregisterClassW(_In_ LPCWSTR, HINSTANCE)
HHOOK WINAPI SetWindowsHookA(_In_ int, _In_ HOOKPROC)
HWND WINAPI RealChildWindowFromPoint(_In_ HWND, _In_ POINT)
struct tagALTTABINFO * PALTTABINFO
struct tagMSLLHOOKSTRUCT MSLLHOOKSTRUCT
struct tagMINIMIZEDMETRICS * LPMINIMIZEDMETRICS
HCURSOR WINAPI CreateCursor(_In_opt_ HINSTANCE, _In_ int, _In_ int, _In_ int, _In_ int, _In_ CONST VOID *, _In_ CONST VOID *)
SHORT WINAPI GetAsyncKeyState(_In_ int)
BOOL WINAPI ShowScrollBar(_In_ HWND, _In_ int, _In_ BOOL)
BOOL WINAPI ModifyMenuW(_In_ HMENU, _In_ UINT, _In_ UINT, _In_ UINT_PTR, _In_opt_ LPCWSTR)
int WINAPI EnumPropsA(_In_ HWND, _In_ PROPENUMPROCA)
UINT WINAPI GetDlgItemInt(_In_ HWND, _In_ int, _Out_opt_ PBOOL, _In_ BOOL)
BOOL WINAPI CloseWindow(_In_ HWND)
struct tagSERIALKEYSW * LPSERIALKEYSW
int WINAPI DlgDirListComboBoxA(_In_ HWND, _Inout_ LPSTR, _In_ int, _In_ int, _In_ UINT)
struct tagKBDLLHOOKSTRUCT KBDLLHOOKSTRUCT
LPARAM WINAPI SetMessageExtraInfo(_In_ LPARAM)
BOOL WINAPI GetMonitorInfoW(_In_ HMONITOR, _Inout_ LPMONITORINFO)
BOOL WINAPI DrawFocusRect(_In_ HDC, _In_ LPCRECT)
HWND WINAPI FindWindowW(_In_opt_ LPCWSTR, _In_opt_ LPCWSTR)
BOOL WINAPI GrayStringA(_In_ HDC, _In_opt_ HBRUSH, _In_opt_ GRAYSTRINGPROC, _In_ LPARAM, _In_ int, _In_ int, _In_ int, _In_ int, _In_ int)
struct _WINDOWPOS * PWINDOWPOS
struct tagCURSORSHAPE CURSORSHAPE
BOOL WINAPI SetCaretPos(_In_ int, _In_ int)
struct tagCBT_CREATEWNDA CBT_CREATEWNDA
int WINAPI GetScrollPos(_In_ HWND, _In_ int)
BOOL WINAPI CreateCaret(_In_ HWND, _In_opt_ HBITMAP, _In_ int, _In_ int)
BOOL WINAPI ChangeMenuA(_In_ HMENU, _In_ UINT, _In_opt_ LPCSTR, _In_ UINT, _In_ UINT)
struct tagMSLLHOOKSTRUCT * LPMSLLHOOKSTRUCT
BOOL WINAPI DestroyCaret(void)
BOOL WINAPI CloseDesktop(_In_ HDESK)
struct tagMENUINFO MENUINFO
BOOL WINAPI InvalidateRect(_In_opt_ HWND, _In_opt_ LPCRECT, _In_ BOOL)
HMENU WINAPI LoadMenuW(_In_opt_ HINSTANCE, _In_ LPCWSTR)
LRESULT(CALLBACK * WNDPROC)(HWND, UINT, WPARAM, LPARAM)
BOOL WINAPI GetIconInfoExA(_In_ HICON, _Inout_ ICONINFOEXA *)
HBITMAP WINAPI LoadBitmapW(_In_opt_ HINSTANCE, _In_ LPCWSTR)
BOOL WINAPI EnumWindowStationsW(_In_ WINSTAENUMPROCW, _In_ LPARAM lParam)
BOOL WINAPI PostThreadMessageA(_In_ DWORD, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
int WINAPI DrawTextExW(_In_ HDC hdc, _Inout_updates_opt_(cchText) LPWSTR lpchText, _In_ int cchText, _Inout_ LPRECT lprc, _In_ UINT format, _In_opt_ LPDRAWTEXTPARAMS lpdtp)
HKL WINAPI ActivateKeyboardLayout(_In_ HKL, _In_ UINT)
BOOL WINAPI DestroyAcceleratorTable(_In_ HACCEL)
DWORD WINAPI GetClassLongW(_In_ HWND, _In_ int)
struct tagCBT_CREATEWNDW CBT_CREATEWNDW
struct _WINDOWPLACEMENT * PWINDOWPLACEMENT
NAMEENUMPROCA DESKTOPENUMPROCA
DWORD WINAPI OemKeyScan(_In_ WORD)
BOOL WINAPI AnyPopup(void)
HDC WINAPI BeginPaint(_In_ HWND, _Out_ LPPAINTSTRUCT)
struct tagMONITORINFOEXW * LPMONITORINFOEXW
BOOL WINAPI KillTimer(_In_opt_ HWND, _In_ UINT_PTR)
BOOL WINAPI EnumThreadWindows(_In_ DWORD, _In_ WNDENUMPROC, _In_ LPARAM)
INT_PTR(CALLBACK * DLGPROC)(HWND, UINT, WPARAM, LPARAM)
const MENUITEMINFOA * LPCMENUITEMINFOA
BOOL WINAPI UnionRect(_Out_ LPRECT, _In_ LPCRECT, _In_ LPCRECT)
BOOL WINAPI GetClassInfoW(_In_opt_ HINSTANCE, _In_ LPCWSTR, _Out_ LPWNDCLASSW)
INT WINAPI InternalGetWindowText(_In_ HWND hWnd, _Out_writes_to_(cchMaxCount, return+1) LPWSTR pString, _In_ int cchMaxCount)
BOOL WINAPI ChangeMenuW(_In_ HMENU, _In_ UINT, _In_opt_ LPCWSTR, _In_ UINT, _In_ UINT)
struct tagEVENTMSG * LPEVENTMSG
struct tagMENUBARINFO * PMENUBARINFO
#define SetWindowLongPtrW
BOOL WINAPI InflateRect(_Inout_ LPRECT, _In_ int, _In_ int)
struct tagMSLLHOOKSTRUCT * PMSLLHOOKSTRUCT
VOID(CALLBACK * TIMERPROC)(HWND, UINT, UINT_PTR, DWORD)
BOOL WINAPI SetUserObjectSecurity(_In_ HANDLE, _In_ PSECURITY_INFORMATION, _In_ PSECURITY_DESCRIPTOR)
VOID WINAPI SetDebugErrorLevel(_In_ DWORD)
LRESULT WINAPI CallWindowProcW(_In_ WNDPROC, _In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
BOOL WINAPI GetAltTabInfoA(_In_opt_ HWND hwnd, _In_ int iItem, _Inout_ PALTTABINFO pati, _Out_writes_opt_(cchItemText) LPSTR pszItemText, _In_ UINT cchItemText)
LONG WINAPI GetMenuCheckMarkDimensions(void)
struct _WNDCLASSEXA * LPWNDCLASSEXA
struct _WINDOWPLACEMENT WINDOWPLACEMENT
BOOL WINAPI DrawStateW(_In_ HDC, _In_opt_ HBRUSH, _In_opt_ DRAWSTATEPROC, _In_ LPARAM, _In_ WPARAM, _In_ int, _In_ int, _In_ int, _In_ int, _In_ UINT)
void(CALLBACK * MSGBOXCALLBACK)(LPHELPINFO)
MULTIKEYHELPA MULTIKEYHELP
BOOL WINAPI SetUserObjectInformationW(_In_ HANDLE hObj, _In_ int nIndex, _In_reads_bytes_(nLength) PVOID pvInfo, _In_ DWORD nLength)
BOOL WINAPI GetInputState(void)
BOOL WINAPI GetMessageA(_Out_ LPMSG, _In_opt_ HWND, _In_ UINT, _In_ UINT)
BOOL WINAPI GetScrollInfo(_In_ HWND, _In_ int, _Inout_ LPSCROLLINFO)
struct tagWINDOWINFO * PWINDOWINFO
BOOL WINAPI GetUpdateRect(_In_ HWND, _Out_opt_ LPRECT, _In_ BOOL)
BOOL(CALLBACK * DRAWSTATEPROC)(HDC, LPARAM, WPARAM, int, int)
UINT WINAPI RegisterClipboardFormatA(_In_ LPCSTR)
BOOL WINAPI SetWindowPlacement(_In_ HWND hWnd, _In_ const WINDOWPLACEMENT *)
HWND WINAPI FindWindowA(_In_opt_ LPCSTR, _In_opt_ LPCSTR)
struct tagCBT_CREATEWNDW * LPCBT_CREATEWNDW
LRESULT WINAPI SendDlgItemMessageA(_In_ HWND, _In_ int, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
SERIALKEYSA * LPSERIALKEYS
int WINAPI ToAsciiEx(_In_ UINT, _In_ UINT, _In_reads_opt_(256) CONST BYTE *, _Out_ LPWORD, _In_ UINT, _In_opt_ HKL)
DWORD_PTR WINAPI SetSysColorsTemp(const COLORREF *, const HBRUSH *, DWORD_PTR)
struct tagALTTABINFO ALTTABINFO
SHORT WINAPI VkKeyScanW(_In_ WCHAR)
BOOL WINAPI IsWindowVisible(_In_ HWND)
LPARAM WINAPI GetMessageExtraInfo(void)
BOOL WINAPI DestroyWindow(_In_ HWND)
BOOL WINAPI EnableMenuItem(_In_ HMENU, _In_ UINT, _In_ UINT)
int WINAPI ScrollWindowEx(_In_ HWND, _In_ int, _In_ int, _In_opt_ LPCRECT, _In_opt_ LPCRECT, _In_opt_ HRGN, _Out_opt_ LPRECT, _In_ UINT)
BOOL WINAPI GetMenuBarInfo(_In_ HWND, _In_ LONG, _In_ LONG, _Inout_ PMENUBARINFO)
DLGITEMTEMPLATE * PDLGITEMTEMPLATEW
BOOL WINAPI EnableScrollBar(_In_ HWND, _In_ UINT, _In_ UINT)
BOOL WINAPI PostMessageA(_In_opt_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
int WINAPI DlgDirListA(_In_ HWND, _Inout_ LPSTR, _In_ int, _In_ int, _In_ UINT)
BOOL WINAPI ScrollWindow(_In_ HWND, _In_ int, _In_ int, _In_opt_ LPCRECT, _In_opt_ LPCRECT)
BOOL WINAPI HideCaret(_In_opt_ HWND)
struct tagCREATESTRUCTW * LPCREATESTRUCTW
BOOL WINAPI DlgDirSelectExA(_In_ HWND hwndDlg, _Out_writes_(chCount) LPSTR lpString, _In_ int chCount, _In_ int idListBox)
BOOL WINAPI GetScrollBarInfo(_In_ HWND, _In_ LONG, _Inout_ PSCROLLBARINFO)
BOOL WINAPI EqualRect(_In_ LPCRECT, _In_ LPCRECT)
BOOL(CALLBACK * WNDENUMPROC)(HWND, LPARAM)
DWORD WINAPI GetListBoxInfo(_In_ HWND)
HICON WINAPI LoadIconW(_In_opt_ HINSTANCE hInstance, _In_ LPCWSTR lpIconName)
int WINAPI GetSystemMetrics(_In_ int)
HWND WINAPI CreateDialogIndirectParamW(_In_opt_ HINSTANCE, _In_ LPCDLGTEMPLATE, _In_opt_ HWND, _In_opt_ DLGPROC, _In_ LPARAM)
struct tagCWPSTRUCT CWPSTRUCT
struct tagMDINEXTMENU * PMDINEXTMENU
HWND WINAPI GetAncestor(_In_ HWND, _In_ UINT)
struct _ICONINFOEXA ICONINFOEXA
struct _ICONINFO ICONINFO
struct tagDEBUGHOOKINFO * PDEBUGHOOKINFO
struct tagMONITORINFOEXA * LPMONITORINFOEXA
struct tagPAINTSTRUCT * LPPAINTSTRUCT
BOOL WINAPI BringWindowToTop(_In_ HWND)
struct tagEVENTMSG * PEVENTMSG
BOOL WINAPI MoveWindow(_In_ HWND, _In_ int, _In_ int, _In_ int, _In_ int, _In_ BOOL)
LRESULT WINAPI CallWindowProcA(_In_ WNDPROC, _In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
UINT WINAPI GetWindowModuleFileNameA(_In_ HWND hwnd, _Out_writes_to_(cchFileNameMax, return) LPSTR pszFileName, _In_ UINT cchFileNameMax)
DWORD WINAPI DragObject(_In_ HWND, _In_ HWND, _In_ UINT, _In_ ULONG_PTR, _In_opt_ HCURSOR)
struct tagCURSORINFO * PCURSORINFO
BOOL WINAPI IsClipboardFormatAvailable(_In_ UINT)
struct tagANIMATIONINFO ANIMATIONINFO
struct tagTOGGLEKEYS TOGGLEKEYS
UINT WINAPI GetKBCodePage(void)
HWND WINAPI GetClipboardViewer(void)
struct tagSCROLLBARINFO * PSCROLLBARINFO
struct MSGBOXPARAMSA * LPMSGBOXPARAMSA
struct tagSERIALKEYSA * LPSERIALKEYSA
struct tagLASTINPUTINFO LASTINPUTINFO
HANDLE WINAPI RemovePropA(_In_ HWND, _In_ LPCSTR)
UINT WINAPI GetCaretBlinkTime(void)
int WINAPI TranslateAcceleratorA(_In_ HWND, _In_ HACCEL, _In_ LPMSG)
SOUNDSENTRYA * LPSOUNDSENTRY
HWND WINAPI CreateMDIWindowW(_In_ LPCWSTR, _In_ LPCWSTR, _In_ DWORD, _In_ int, _In_ int, _In_ int, _In_ int, _In_opt_ HWND, _In_opt_ HINSTANCE, _In_ LPARAM)
BOOL WINAPI OemToCharBuffA(_In_ LPCSTR lpszSrc, _Out_writes_(cchDstLength) LPSTR lpszDst, _In_ DWORD cchDstLength)
INT_PTR WINAPI DialogBoxParamA(_In_opt_ HINSTANCE, _In_ LPCSTR, _In_opt_ HWND, _In_opt_ DLGPROC, _In_ LPARAM)
LRESULT WINAPI SendMessageW(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
HMENU WINAPI GetMenu(_In_ HWND)
BOOL WINAPI InsertMenuItemW(_In_ HMENU, _In_ UINT, _In_ BOOL, _In_ LPCMENUITEMINFOW)
HCURSOR WINAPI LoadCursorA(_In_opt_ HINSTANCE, _In_ LPCSTR)
BOOL WINAPI EnumDesktopsA(_In_opt_ HWINSTA, _In_ DESKTOPENUMPROCA, _In_ LPARAM)
BOOL WINAPI SetDeskWallPaper(LPCSTR)
struct tagHELPWININFOW * LPHELPWININFOW
SHORT WINAPI GetKeyState(_In_ int)
struct tagMENUITEMINFOW MENUITEMINFOW
BOOL WINAPI SetRect(_Out_ LPRECT, _In_ int, _In_ int, _In_ int, _In_ int)
void WINAPI CalcChildScroll(HWND, INT)
INT_PTR WINAPI DialogBoxParamW(_In_opt_ HINSTANCE, _In_ LPCWSTR, _In_opt_ HWND, _In_opt_ DLGPROC, _In_ LPARAM)
int WINAPI DlgDirListComboBoxW(_In_ HWND, _Inout_ LPWSTR, _In_ int, _In_ int, _In_ UINT)
BOOL WINAPI CharToOemW(_In_ LPCWSTR pSrc, _Out_writes_(_Inexpressible_(strlen(pSrc)+1)) LPSTR pDst)
HDWP WINAPI BeginDeferWindowPos(_In_ int)
BOOL WINAPI SubtractRect(_Out_ LPRECT, _In_ LPCRECT, _In_ LPCRECT)
BOOL WINAPI AppendMenuW(_In_ HMENU, _In_ UINT, _In_ UINT_PTR, _In_opt_ LPCWSTR)
struct tagNCCALCSIZE_PARAMS * LPNCCALCSIZE_PARAMS
BOOL WINAPI EndDialog(_In_ HWND, _In_ INT_PTR)
BOOL WINAPI DestroyIcon(_In_ HICON)
BOOL WINAPI CharToOemBuffW(_In_ LPCWSTR lpszSrc, _Out_writes_(cchDstLength) LPSTR lpszDst, _In_ DWORD cchDstLength)
BOOL WINAPI GetUserObjectSecurity(_In_ HANDLE hObj, _In_ PSECURITY_INFORMATION pSIRequested, _Out_writes_bytes_opt_(nLength) PSECURITY_DESCRIPTOR pSID, _In_ DWORD nLength, _Out_ LPDWORD lpnLengthNeeded)
DWORD WINAPI CharLowerBuffW(_Inout_updates_(cchLength) LPWSTR lpsz, _In_ DWORD cchLength)
LPWSTR WINAPI CharNextExW(_In_ WORD, _In_ LPCWSTR, _In_ DWORD)
LPWSTR WINAPI CharUpperW(_Inout_ LPWSTR)
BOOL WINAPI SetUserObjectInformationA(_In_ HANDLE hObj, _In_ int nIndex, _In_reads_bytes_(nLength) PVOID pvInfo, _In_ DWORD nLength)
LONG WINAPI TabbedTextOutW(_In_ HDC hdc, _In_ int x, _In_ int y, _In_reads_(chCount) LPCWSTR lpString, _In_ int chCount, _In_ int nTabPositions, _In_reads_opt_(nTabPositions) CONST INT *lpnTabStopPositions, _In_ int nTabOrigin)
BOOL WINAPI ScreenToClient(_In_ HWND, _Inout_ LPPOINT)
UINT WINAPI WINAPI PrivateExtractIconExW(LPCWSTR, int, HICON *, HICON *, UINT)
HMENU WINAPI LoadMenuA(_In_opt_ HINSTANCE, _In_ LPCSTR)
_Must_inspect_result_ _In_ ULONG Flags