1 #ifndef _WINUSER_H 2 #define _WINUSER_H 3 4 #ifdef __cplusplus 5 extern "C" { 6 #endif 7 8 #ifdef _MSC_VER 9 #pragma warning(push) 10 #pragma warning(disable:4201) 11 #pragma warning(disable:4820) 12 #endif 13 14 #if !defined(_USER32_) 15 #define WINUSERAPI DECLSPEC_IMPORT 16 #else 17 #define WINUSERAPI 18 #endif 19 20 #define FALT 16 21 #define FCONTROL 8 22 #define FNOINVERT 2 23 #define FSHIFT 4 24 #define FVIRTKEY 1 25 #define ATF_TIMEOUTON 1 26 #define ATF_ONOFFFEEDBACK 2 27 #define ATF_AVAILABLE 4 /* May be obsolete. Not in recent MS docs. */ 28 #define WH_MIN (-1) 29 #define WH_MSGFILTER (-1) 30 #define WH_JOURNALRECORD 0 31 #define WH_JOURNALPLAYBACK 1 32 #define WH_KEYBOARD 2 33 #define WH_GETMESSAGE 3 34 #define WH_CALLWNDPROC 4 35 #define WH_CBT 5 36 #define WH_SYSMSGFILTER 6 37 #define WH_MOUSE 7 38 #define WH_HARDWARE 8 39 #define WH_DEBUG 9 40 #define WH_SHELL 10 41 #define WH_FOREGROUNDIDLE 11 42 #define WH_CALLWNDPROCRET 12 43 #define WH_KEYBOARD_LL 13 44 #define WH_MOUSE_LL 14 45 #define WH_MAX 14 46 #define WH_MINHOOK WH_MIN 47 #define WH_MAXHOOK WH_MAX 48 #define HC_ACTION 0 49 #define HC_GETNEXT 1 50 #define HC_SKIP 2 51 #define HC_NOREMOVE 3 52 #define HC_NOREM 3 53 #define HC_SYSMODALON 4 54 #define HC_SYSMODALOFF 5 55 #define HCBT_MOVESIZE 0 56 #define HCBT_MINMAX 1 57 #define HCBT_QS 2 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 65 66 /* Predefined Clipboard Formats */ 67 #define CF_TEXT 1 68 #define CF_BITMAP 2 69 #define CF_METAFILEPICT 3 70 #define CF_SYLK 4 71 #define CF_DIF 5 72 #define CF_TIFF 6 73 #define CF_OEMTEXT 7 74 #define CF_DIB 8 75 #define CF_PALETTE 9 76 #define CF_PENDATA 10 77 #define CF_RIFF 11 78 #define CF_WAVE 12 79 #define CF_UNICODETEXT 13 80 #define CF_ENHMETAFILE 14 81 82 #if(WINVER >= 0x0400) 83 #define CF_HDROP 15 84 #define CF_LOCALE 16 85 #endif 86 87 #if(WINVER >= 0x0500) 88 #define CF_DIBV5 17 89 #endif 90 91 #if(WINVER >= 0x0500) 92 #define CF_MAX 18 93 #elif(WINVER >= 0x0400) 94 #define CF_MAX 17 95 #else 96 #define CF_MAX 15 97 #endif 98 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 108 109 #define HKL_NEXT 1 110 #define HKL_PREV 0 111 #define KLF_ACTIVATE 1 112 #define KLF_SUBSTITUTE_OK 2 113 #define KLF_UNLOADPREVIOUS 4 114 #define KLF_REORDER 8 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 121 #endif /*(_WIN32_WINNT >= 0x0500) */ 122 #define KL_NAMELENGTH 9 123 #if (WINVER >= 0x0500) 124 #define INPUTLANGCHANGE_BACKWARD 4 125 #define INPUTLANGCHANGE_FORWARD 2 126 #define INPUTLANGCHANGE_SYSCHARSET 1 127 #endif /* (WINVER >= 0x0500) */ 128 #define MF_ENABLED 0 129 #define MF_GRAYED 1 130 #define MF_DISABLED 2 131 #define MF_BITMAP 4 132 #define MF_CHECKED 8 133 #define MF_MENUBARBREAK 32 134 #define MF_MENUBREAK 64 135 #define MF_OWNERDRAW 256 136 #define MF_POPUP 16 137 #define MF_SEPARATOR 0x800 138 #define MF_STRING 0 139 #define MF_UNCHECKED 0 140 #define MF_DEFAULT 4096 141 #define MF_SYSMENU 0x2000 142 #define MF_HELP 0x4000 143 #define MF_END 128 144 #define MF_RIGHTJUSTIFY 0x4000 145 #define MF_MOUSESELECT 0x8000 146 #define MF_INSERT 0 147 #define MF_CHANGE 128 148 #define MF_APPEND 256 149 #define MF_DELETE 512 150 #define MF_REMOVE 4096 151 #define MF_USECHECKBITMAPS 512 152 #define MF_UNHILITE 0 153 #define MF_HILITE 128 154 155 /* Also defined in dbt.h */ 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 161 #define BSM_VXDS 1 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 172 #endif /* (_WIN32_WINNT >= 0x0500) */ 173 #if (_WIN32_WINNT >= 0x0501) 174 #define BSF_LUID 0x00000400 175 #define BSF_RETURNHDESK 0x00000200 176 #endif /* (_WIN32_WINNT >= 0x0501) */ 177 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 182 #define CDS_TEST 2 183 #define CDS_FULLSCREEN 4 184 #define CDS_GLOBAL 8 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) 197 #define BST_CHECKED 1 198 #define BST_INDETERMINATE 2 199 #define BST_UNCHECKED 0 200 #define BST_FOCUS 8 201 #define BST_PUSHED 4 202 #define MF_BYCOMMAND 0 203 #define MF_BYPOSITION 1024 204 #define MF_UNCHECKED 0 205 #define MF_HILITE 128 206 #define MF_UNHILITE 0 207 #define CWP_ALL 0 208 #define CWP_SKIPINVISIBLE 1 209 #define CWP_SKIPDISABLED 2 210 #define CWP_SKIPTRANSPARENT 4 211 #define IMAGE_BITMAP 0 212 #define IMAGE_ICON 1 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 249 #define WS_TILED 0 250 #define WS_TILEDWINDOW 0xcf0000 251 #define WS_VISIBLE 0x10000000 252 #define WS_VSCROLL 0x200000 253 #define MDIS_ALLCHILDSTYLES 1 254 #define BS_3STATE 5 255 #define BS_AUTO3STATE 6 256 #define BS_AUTOCHECKBOX 3 257 #define BS_AUTORADIOBUTTON 9 258 #define BS_BITMAP 128 259 #define BS_BOTTOM 0x800 260 #define BS_CENTER 0x300 261 #define BS_CHECKBOX 2 262 #define BS_DEFPUSHBUTTON 1 263 #define BS_GROUPBOX 7 264 #define BS_ICON 64 265 #define BS_LEFT 256 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 274 #define BS_RIGHT 512 275 #define BS_RIGHTBUTTON 32 276 #define BS_TEXT 0 277 #define BS_TOP 0x400 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 291 #define CBS_SIMPLE 1 292 #define CBS_SORT 256 293 #define CBS_UPPERCASE 0x2000 294 #define ES_AUTOHSCROLL 128 295 #define ES_AUTOVSCROLL 64 296 #define ES_CENTER 1 297 #define ES_LEFT 0 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 305 #define ES_RIGHT 2 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 317 #define LBS_NOTIFY 1 318 #define LBS_OWNERDRAWFIXED 16 319 #define LBS_OWNERDRAWVARIABLE 32 320 #define LBS_SORT 2 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 326 #define SBS_HORZ 0 327 #define SBS_LEFTALIGN 2 328 #define SBS_RIGHTALIGN 4 329 #define SBS_SIZEBOX 8 330 #define SBS_SIZEBOXBOTTOMRIGHTALIGN 4 331 #define SBS_SIZEBOXTOPLEFTALIGN 2 332 #define SBS_SIZEGRIP 16 333 #define SBS_TOPALIGN 2 334 #define SBS_VERT 1 335 #define SS_BITMAP 14 336 #define SS_BLACKFRAME 7 337 #define SS_BLACKRECT 4 338 #define SS_CENTER 1 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 346 #define SS_GRAYRECT 5 347 #define SS_ICON 3 348 #define SS_LEFT 0 349 #define SS_LEFTNOWORDWRAP 0xc 350 #define SS_NOPREFIX 128 351 #define SS_NOTIFY 256 352 #define SS_OWNERDRAW 0xd 353 #define SS_REALSIZECONTROL 0x040 354 #define SS_REALSIZEIMAGE 0x800 355 #define SS_RIGHT 2 356 #define SS_RIGHTJUST 0x400 357 #define SS_SIMPLE 11 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 367 #define DS_3DLOOK 4 368 #define DS_ABSALIGN 1 369 #define DS_CENTER 0x800 370 #define DS_CENTERMOUSE 4096 371 #define DS_CONTEXTHELP 0x2000 372 #define DS_CONTROL 0x400 373 #define DS_FIXEDSYS 8 374 #define DS_LOCALEDIT 32 375 #define DS_MODALFRAME 128 376 #define DS_NOFAILCREATE 16 377 #define DS_NOIDLEMSG 256 378 #define DS_SETFONT 64 379 #define DS_SETFOREGROUND 512 380 #define DS_SYSMODAL 2 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 /* XP */ 386 #define WS_EX_CONTEXTHELP 0x400 387 #define WS_EX_CONTROLPARENT 0x10000 388 #define WS_EX_DLGMODALFRAME 1 389 #define WS_EX_LAYERED 0x80000 /* w2k */ 390 #define WS_EX_LAYOUTRTL 0x400000 /* w98, w2k */ 391 #define WS_EX_LEFT 0 392 #define WS_EX_LEFTSCROLLBAR 0x4000 393 #define WS_EX_LTRREADING 0 394 #define WS_EX_MDICHILD 64 395 #define WS_EX_NOACTIVATE 0x8000000 /* w2k */ 396 #define WS_EX_NOINHERITLAYOUT 0x100000 /* w2k */ 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 420 #define DDL_HIDDEN 2 421 #define DDL_SYSTEM 4 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 434 #endif 435 #if (_WIN32_WINNT >= 0x0501) 436 #define DC_BUTTONS 0x00001000 437 #endif 438 /* Where are these documented? */ 439 #define DC_CAPTION (DC_ICON|DC_TEXT|DC_BUTTONS) 440 #define DC_NC (DC_CAPTION|DC_FRAME) 441 442 #define BDR_RAISEDOUTER 1 443 #define BDR_SUNKENOUTER 2 444 #define BDR_RAISEDINNER 4 445 #define BDR_SUNKENINNER 8 446 #define BDR_OUTER 3 447 #define BDR_INNER 0xc 448 #define BDR_RAISED 5 449 #define BDR_SUNKEN 10 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) 454 #define BF_LEFT 1 455 #define BF_TOP 2 456 #define BF_RIGHT 4 457 #define BF_BOTTOM 8 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 473 #define DFC_CAPTION 1 474 #define DFC_MENU 2 475 #define DFC_SCROLL 3 476 #define DFC_BUTTON 4 477 #if (WINVER >= 0x0500) 478 #define DFC_POPUPMENU 5 479 #endif /* WINVER >= 0x0500 */ 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 508 #endif 509 #define DFCS_ADJUSTRECT 0x2000 510 #define DFCS_FLAT 0x4000 511 #define DFCS_MONO 0x8000 512 #define DST_COMPLEX 0 513 #define DST_TEXT 1 514 #define DST_PREFIXTEXT 2 515 #define DST_ICON 3 516 #define DST_BITMAP 4 517 #define DSS_NORMAL 0 518 #define DSS_UNION 16 519 #define DSS_DISABLED 32 520 #define DSS_DEFAULT 64 521 #define DSS_MONO 128 522 #define DSS_HIDEPREFIX 0x0200 523 #define DSS_PREFIXONLY 0x0400 524 #define DSS_RIGHT 0x8000 525 #define DT_BOTTOM 8 526 #define DT_CALCRECT 1024 527 #define DT_CENTER 1 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 534 #define DT_LEFT 0 535 #define DT_MODIFYSTRING 65536 536 #define DT_NOCLIP 256 537 #define DT_NOPREFIX 2048 538 #define DT_RIGHT 2 539 #define DT_RTLREADING 131072 540 #define DT_SINGLELINE 32 541 #define DT_TABSTOP 128 542 #define DT_TOP 0 543 #define DT_VCENTER 4 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 550 #define WB_LEFT 0 551 #define WB_RIGHT 1 552 #define SB_HORZ 0 553 #define SB_VERT 1 554 #define SB_CTL 2 555 #define SB_BOTH 3 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 564 #define SB_LINEUP 0 565 #define SB_LINEDOWN 1 566 #define SB_LINELEFT 0 567 #define SB_LINERIGHT 1 568 #define SB_PAGEUP 2 569 #define SB_PAGEDOWN 3 570 #define SB_PAGELEFT 2 571 #define SB_PAGERIGHT 3 572 #define SB_THUMBPOSITION 4 573 #define SB_THUMBTRACK 5 574 #define SB_ENDSCROLL 8 575 #define SB_LEFT 6 576 #define SB_RIGHT 7 577 #define SB_BOTTOM 7 578 #define SB_TOP 6 579 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)) 583 584 #ifndef RC_INVOKED 585 #ifdef WINE_NO_UNICODE_MACROS /* force using a cast */ 586 #define MAKEINTRESOURCE(i) ((ULONG_PTR)((WORD)(i))) 587 #else 588 #ifdef UNICODE 589 #define MAKEINTRESOURCE MAKEINTRESOURCEW 590 #else 591 #define MAKEINTRESOURCE MAKEINTRESOURCEA 592 #endif /* UNICODE */ 593 #endif /* WINE_NO_UNICODE_MACROS */ 594 #endif /* !RC_INVOKED */ 595 596 #ifndef XFree86Server 597 # define RT_CURSOR MAKEINTRESOURCE(1) 598 # define RT_FONT MAKEINTRESOURCE(8) 599 #endif /* ndef XFree86Server */ 600 #define RT_BITMAP MAKEINTRESOURCE(2) 601 #define RT_ICON MAKEINTRESOURCE(3) 602 #define RT_MENU MAKEINTRESOURCE(4) 603 #define RT_DIALOG MAKEINTRESOURCE(5) 604 #define RT_STRING MAKEINTRESOURCE(6) 605 #define RT_FONTDIR MAKEINTRESOURCE(7) 606 #define RT_ACCELERATOR MAKEINTRESOURCE(9) 607 #define RT_RCDATA MAKEINTRESOURCE(10) 608 #define RT_MESSAGETABLE MAKEINTRESOURCE(11) 609 #define DIFFERENCE 11 610 #define RT_GROUP_CURSOR MAKEINTRESOURCE((ULONG_PTR)RT_CURSOR+DIFFERENCE) 611 #define RT_GROUP_ICON MAKEINTRESOURCE((ULONG_PTR)RT_ICON+DIFFERENCE) 612 #define RT_VERSION MAKEINTRESOURCE(16) 613 #define RT_DLGINCLUDE MAKEINTRESOURCE(17) 614 #define RT_PLUGPLAY MAKEINTRESOURCE(19) 615 #define RT_VXD MAKEINTRESOURCE(20) 616 #define RT_ANICURSOR MAKEINTRESOURCE(21) 617 #define RT_ANIICON MAKEINTRESOURCE(22) 618 #define RT_HTML MAKEINTRESOURCE(23) 619 #ifndef RC_INVOKED 620 #define RT_MANIFEST MAKEINTRESOURCE(24) 621 #define CREATEPROCESS_MANIFEST_RESOURCE_ID MAKEINTRESOURCE(1) 622 #define ISOLATIONAWARE_MANIFEST_RESOURCE_ID MAKEINTRESOURCE(2) 623 #define ISOLATIONAWARE_NOSTATICIMPORT_MANIFEST_RESOURCE_ID MAKEINTRESOURCE(3) 624 #else 625 #define RT_MANIFEST 24 626 #define CREATEPROCESS_MANIFEST_RESOURCE_ID 1 627 #define ISOLATIONAWARE_MANIFEST_RESOURCE_ID 2 628 #define ISOLATIONAWARE_NOSTATICIMPORT_MANIFEST_RESOURCE_ID 3 629 #endif 630 #define EWX_FORCE 0x00000004 631 #define EWX_LOGOFF 0 632 #define EWX_POWEROFF 0x00000008 633 #define EWX_REBOOT 0x00000002 634 #define EWX_SHUTDOWN 0x00000001 635 #if (_WIN32_WINNT >= 0x0500) 636 #define EWX_FORCEIFHUNG 0x00000010 637 #endif 638 #if (_WIN32_WINNT > 0x06010000) 639 #define EWX_HYBRID_SHUTDOWN 0x00400000 640 #endif 641 #define CS_BYTEALIGNCLIENT 4096 642 #define CS_BYTEALIGNWINDOW 8192 643 #define CS_KEYCVTWINDOW 4 644 #define CS_NOKEYCVT 256 // Class Name to Version 645 #define CS_CLASSDC 64 646 #define CS_DBLCLKS 8 647 #define CS_GLOBALCLASS 16384 648 #define CS_HREDRAW 2 649 #define CS_NOCLOSE 512 650 #define CS_OWNDC 32 651 #define CS_PARENTDC 128 652 #define CS_SAVEBITS 2048 653 #define CS_VREDRAW 1 654 #define CS_IME 0x10000 655 #define CS_DROPSHADOW 0x20000 656 #define GCW_ATOM (-32) 657 #define GCL_CBCLSEXTRA (-20) 658 #define GCL_CBWNDEXTRA (-18) 659 #define GCL_HBRBACKGROUND (-10) 660 #define GCL_HCURSOR (-12) 661 #define GCL_HICON (-14) 662 #define GCL_HICONSM (-34) 663 #define GCL_HMODULE (-16) 664 #define GCL_MENUNAME (-8) 665 #define GCL_STYLE (-26) 666 #define GCL_WNDPROC (-24) 667 #define GCLP_HBRBACKGROUND (-10) 668 #define GCLP_HCURSOR (-12) 669 #define GCLP_HICON (-14) 670 #define GCLP_HICONSM (-34) 671 #define GCLP_HMODULE (-16) 672 #define GCLP_MENUNAME (-8) 673 #define GCLP_WNDPROC (-24) 674 #if 0 675 /* This is supposed to be defined by the program using it not defined 676 in the w32api headers. I've left it here for documentation purposes. 677 */ 678 #ifndef IDC_STATIC /* May be predefined by resource compiler. */ 679 #define IDC_STATIC (-1) 680 #endif 681 #endif 682 #define IDC_ARROW MAKEINTRESOURCE(32512) 683 #define IDC_IBEAM MAKEINTRESOURCE(32513) 684 #define IDC_WAIT MAKEINTRESOURCE(32514) 685 #define IDC_CROSS MAKEINTRESOURCE(32515) 686 #define IDC_UPARROW MAKEINTRESOURCE(32516) 687 #define IDC_SIZENWSE MAKEINTRESOURCE(32642) 688 #define IDC_SIZENESW MAKEINTRESOURCE(32643) 689 #define IDC_SIZEWE MAKEINTRESOURCE(32644) 690 #define IDC_SIZENS MAKEINTRESOURCE(32645) 691 #define IDC_SIZEALL MAKEINTRESOURCE(32646) 692 #define IDC_NO MAKEINTRESOURCE(32648) 693 #define IDC_HAND MAKEINTRESOURCE(32649) 694 #define IDC_APPSTARTING MAKEINTRESOURCE(32650) 695 #define IDC_HELP MAKEINTRESOURCE(32651) 696 #define IDC_ICON MAKEINTRESOURCE(32641) 697 #define IDC_SIZE MAKEINTRESOURCE(32640) 698 #ifndef RC_INVOKED 699 #define IDI_APPLICATION MAKEINTRESOURCE(32512) 700 #define IDI_HAND MAKEINTRESOURCE(32513) 701 #define IDI_QUESTION MAKEINTRESOURCE(32514) 702 #define IDI_EXCLAMATION MAKEINTRESOURCE(32515) 703 #define IDI_ASTERISK MAKEINTRESOURCE(32516) 704 #define IDI_WINLOGO MAKEINTRESOURCE(32517) 705 #else 706 #define IDI_APPLICATION 32512 707 #define IDI_HAND 32513 708 #define IDI_QUESTION 32514 709 #define IDI_EXCLAMATION 32515 710 #define IDI_ASTERISK 32516 711 #define IDI_WINLOGO 32517 712 #endif 713 #define IDI_WARNING IDI_EXCLAMATION 714 #define IDI_ERROR IDI_HAND 715 #define IDI_INFORMATION IDI_ASTERISK 716 #define MIIM_STATE 1 717 #define MIIM_ID 2 718 #define MIIM_SUBMENU 4 719 #define MIIM_CHECKMARKS 8 720 #define MIIM_TYPE 16 721 #define MIIM_DATA 32 722 #define MIIM_STRING 64 723 #define MIIM_BITMAP 128 724 #define MIIM_FTYPE 256 725 #if (WINVER >= 0x0500) 726 #define MIM_MAXHEIGHT 1 727 #define MIM_BACKGROUND 2 728 #define MIM_HELPID 4 729 #define MIM_MENUDATA 8 730 #define MIM_STYLE 16 731 #define MIM_APPLYTOSUBMENUS 0x80000000L 732 #endif 733 #define MFT_BITMAP 4 734 #define MFT_MENUBARBREAK 32 735 #define MFT_MENUBREAK 64 736 #define MFT_OWNERDRAW 256 737 #define MFT_RADIOCHECK 512 738 #define MFT_RIGHTJUSTIFY 0x4000 739 #define MFT_SEPARATOR 0x800 740 #define MFT_RIGHTORDER 0x2000L 741 #define MFT_STRING 0 742 #define MFS_CHECKED 8 743 #define MFS_DEFAULT 4096 744 #define MFS_DISABLED 3 745 #define MFS_ENABLED 0 746 #define MFS_GRAYED 3 747 #define MFS_HILITE 128 748 #define MFS_UNCHECKED 0 749 #define MFS_UNHILITE 0 750 #define MNS_NOCHECK 0x80000000 751 #define MNS_MODELESS 0x40000000 752 #define MNS_DRAGDROP 0x20000000 753 #define MNS_AUTODISMISS 0x10000000 754 #define MNS_NOTIFYBYPOS 0x08000000 755 #define MNS_CHECKORBMP 0x04000000 756 #define GW_HWNDNEXT 2 757 #define GW_HWNDPREV 3 758 #define GW_CHILD 5 759 #define GW_HWNDFIRST 0 760 #define GW_HWNDLAST 1 761 #define GW_OWNER 4 762 #define SW_HIDE 0 763 #define SW_NORMAL 1 764 #define SW_SHOWNORMAL 1 765 #define SW_SHOWMINIMIZED 2 766 #define SW_MAXIMIZE 3 767 #define SW_SHOWMAXIMIZED 3 768 #define SW_SHOWNOACTIVATE 4 769 #define SW_SHOW 5 770 #define SW_MINIMIZE 6 771 #define SW_SHOWMINNOACTIVE 7 772 #define SW_SHOWNA 8 773 #define SW_RESTORE 9 774 #define SW_SHOWDEFAULT 10 775 #define SW_FORCEMINIMIZE 11 776 #define SW_MAX 11 777 #define MB_USERICON 128 778 #define MB_ICONASTERISK 64 779 #define MB_ICONEXCLAMATION 0x30 780 #define MB_ICONWARNING 0x30 781 #define MB_ICONERROR 16 782 #define MB_ICONHAND 16 783 #define MB_ICONQUESTION 32 784 #define MB_OK 0 785 #define MB_ABORTRETRYIGNORE 2 786 #define MB_APPLMODAL 0 787 #define MB_DEFAULT_DESKTOP_ONLY 0x20000 788 #define MB_HELP 0x4000 789 #define MB_RIGHT 0x80000 790 #define MB_RTLREADING 0x100000 791 #define MB_TOPMOST 0x40000 792 #define MB_DEFBUTTON1 0 793 #define MB_DEFBUTTON2 256 794 #define MB_DEFBUTTON3 512 795 #define MB_DEFBUTTON4 0x300 796 #define MB_ICONINFORMATION 64 797 #define MB_ICONSTOP 16 798 #define MB_OKCANCEL 1 799 #define MB_RETRYCANCEL 5 800 #ifdef _WIN32_WINNT 801 #if (_WIN32_WINNT >= 0x0400) 802 #define MB_SERVICE_NOTIFICATION 0x00200000 803 #else 804 #define MB_SERVICE_NOTIFICATION 0x00040000 805 #endif 806 #define MB_SERVICE_NOTIFICATION_NT3X 0x00040000 807 #endif 808 #define MB_SETFOREGROUND 0x10000 809 #define MB_SYSTEMMODAL 4096 810 #define MB_TASKMODAL 0x2000 811 #define MB_YESNO 4 812 #define MB_YESNOCANCEL 3 813 #define MB_ICONMASK 240 814 #define MB_DEFMASK 3840 815 #define MB_MODEMASK 0x00003000 816 #define MB_MISCMASK 0x0000C000 817 #define MB_NOFOCUS 0x00008000 818 #define MB_TYPEMASK 15 819 #define MB_TOPMOST 0x40000 820 #if (WINVER >= 0x0500) 821 #define MB_CANCELTRYCONTINUE 6 822 #endif 823 824 #define IDOK 1 825 #define IDCANCEL 2 826 #define IDABORT 3 827 #define IDRETRY 4 828 #define IDIGNORE 5 829 #define IDYES 6 830 #define IDNO 7 831 #if (WINVER >= 0x0400) 832 #define IDCLOSE 8 833 #define IDHELP 9 834 #endif 835 #if (WINVER >= 0x0500) 836 #define IDTRYAGAIN 10 837 #define IDCONTINUE 11 838 #endif 839 840 #define GWL_EXSTYLE (-20) 841 #define GWL_STYLE (-16) 842 #define GWL_WNDPROC (-4) 843 #define GWLP_WNDPROC (-4) 844 #define GWL_HINSTANCE (-6) 845 #define GWLP_HINSTANCE (-6) 846 #define GWL_HWNDPARENT (-8) 847 #define GWLP_HWNDPARENT (-8) 848 #define GWL_ID (-12) 849 #define GWLP_ID (-12) 850 #define GWL_USERDATA (-21) 851 #define GWLP_USERDATA (-21) 852 853 #ifndef __REACTOS__ // NEVER USE THESE! 854 #define DWL_MSGRESULT 0 855 #define DWL_DLGPROC 4 856 #define DWL_USER 8 857 #endif 858 859 #define DWLP_MSGRESULT 0 860 #define DWLP_DLGPROC (DWLP_MSGRESULT + sizeof(LRESULT)) 861 #define DWLP_USER (DWLP_DLGPROC + sizeof(DLGPROC)) 862 863 #if (_WIN32_WINNT >= 0x0501) 864 #define QS_ALLEVENTS 1215 865 #define QS_ALLINPUT 1279 866 #define QS_RAWINPUT 1024 867 #else 868 #define QS_ALLEVENTS 191 869 #define QS_ALLINPUT 255 870 #endif 871 #define QS_ALLPOSTMESSAGE 256 872 #define QS_HOTKEY 128 873 #if (_WIN32_WINNT >= 0x0501) 874 #define QS_INPUT 1031 875 #else 876 #define QS_INPUT 7 877 #endif 878 #define QS_KEY 1 879 #define QS_MOUSE 6 880 #define QS_MOUSEBUTTON 4 881 #define QS_MOUSEMOVE 2 882 #define QS_PAINT 32 883 #define QS_POSTMESSAGE 8 884 #if (_WIN32_WINNT >= 0x0501) 885 #define QS_RAWINPUT 1024 886 #endif 887 #define QS_SENDMESSAGE 64 888 #define QS_TIMER 16 889 890 #define USER_TIMER_MAXIMUM 2147483647 891 #define USER_TIMER_MINIMUM 10 892 893 #define MWMO_WAITALL 1 894 #define MWMO_ALERTABLE 2 895 #define MWMO_INPUTAVAILABLE 4 896 897 #define COLOR_SCROLLBAR 0 898 #define COLOR_BACKGROUND 1 899 #define COLOR_DESKTOP COLOR_BACKGROUND 900 #define COLOR_ACTIVECAPTION 2 901 #define COLOR_INACTIVECAPTION 3 902 #define COLOR_MENU 4 903 #define COLOR_WINDOW 5 904 #define COLOR_WINDOWFRAME 6 905 #define COLOR_MENUTEXT 7 906 #define COLOR_WINDOWTEXT 8 907 #define COLOR_CAPTIONTEXT 9 908 #define COLOR_ACTIVEBORDER 10 909 #define COLOR_INACTIVEBORDER 11 910 #define COLOR_APPWORKSPACE 12 911 #define COLOR_HIGHLIGHT 13 912 #define COLOR_HIGHLIGHTTEXT 14 913 #define COLOR_BTNFACE 15 914 #define COLOR_3DFACE COLOR_BTNFACE 915 #define COLOR_BTNSHADOW 16 916 #define COLOR_3DSHADOW COLOR_BTNSHADOW 917 #define COLOR_GRAYTEXT 17 918 #define COLOR_BTNTEXT 18 919 #define COLOR_INACTIVECAPTIONTEXT 19 920 #define COLOR_BTNHIGHLIGHT 20 921 #define COLOR_3DHIGHLIGHT COLOR_BTNHIGHLIGHT 922 #define COLOR_3DHILIGHT COLOR_BTNHIGHLIGHT 923 #define COLOR_BTNHILIGHT COLOR_BTNHIGHLIGHT 924 #define COLOR_3DDKSHADOW 21 925 #define COLOR_3DLIGHT 22 926 #define COLOR_INFOTEXT 23 927 #define COLOR_INFOBK 24 928 #define COLOR_HOTLIGHT 26 929 #define COLOR_GRADIENTACTIVECAPTION 27 930 #define COLOR_GRADIENTINACTIVECAPTION 28 931 #if WINVER >= 0x0501 932 #define COLOR_MENUHILIGHT 29 933 #define COLOR_MENUBAR 30 934 #endif 935 936 #define CTLCOLOR_MSGBOX 0 937 #define CTLCOLOR_EDIT 1 938 #define CTLCOLOR_LISTBOX 2 939 #define CTLCOLOR_BTN 3 940 #define CTLCOLOR_DLG 4 941 #define CTLCOLOR_SCROLLBAR 5 942 #define CTLCOLOR_STATIC 6 943 #define CTLCOLOR_MAX 7 944 #define SM_CXSCREEN 0 945 #define SM_CYSCREEN 1 946 #define SM_CXVSCROLL 2 947 #define SM_CYHSCROLL 3 948 #define SM_CYCAPTION 4 949 #define SM_CXBORDER 5 950 #define SM_CYBORDER 6 951 #define SM_CXDLGFRAME 7 952 #define SM_CXFIXEDFRAME 7 953 #define SM_CYDLGFRAME 8 954 #define SM_CYFIXEDFRAME 8 955 #define SM_CYVTHUMB 9 956 #define SM_CXHTHUMB 10 957 #define SM_CXICON 11 958 #define SM_CYICON 12 959 #define SM_CXCURSOR 13 960 #define SM_CYCURSOR 14 961 #define SM_CYMENU 15 962 #define SM_CXFULLSCREEN 16 963 #define SM_CYFULLSCREEN 17 964 #define SM_CYKANJIWINDOW 18 965 #define SM_MOUSEPRESENT 19 966 #define SM_CYVSCROLL 20 967 #define SM_CXHSCROLL 21 968 #define SM_DEBUG 22 969 #define SM_SWAPBUTTON 23 970 #define SM_RESERVED1 24 971 #define SM_RESERVED2 25 972 #define SM_RESERVED3 26 973 #define SM_RESERVED4 27 974 #define SM_CXMIN 28 975 #define SM_CYMIN 29 976 #define SM_CXSIZE 30 977 #define SM_CYSIZE 31 978 #define SM_CXSIZEFRAME 32 979 #define SM_CXFRAME 32 980 #define SM_CYSIZEFRAME 33 981 #define SM_CYFRAME 33 982 #define SM_CXMINTRACK 34 983 #define SM_CYMINTRACK 35 984 #define SM_CXDOUBLECLK 36 985 #define SM_CYDOUBLECLK 37 986 #define SM_CXICONSPACING 38 987 #define SM_CYICONSPACING 39 988 #define SM_MENUDROPALIGNMENT 40 989 #define SM_PENWINDOWS 41 990 #define SM_DBCSENABLED 42 991 #define SM_CMOUSEBUTTONS 43 992 #define SM_SECURE 44 993 #define SM_CXEDGE 45 994 #define SM_CYEDGE 46 995 #define SM_CXMINSPACING 47 996 #define SM_CYMINSPACING 48 997 #define SM_CXSMICON 49 998 #define SM_CYSMICON 50 999 #define SM_CYSMCAPTION 51 1000 #define SM_CXSMSIZE 52 1001 #define SM_CYSMSIZE 53 1002 #define SM_CXMENUSIZE 54 1003 #define SM_CYMENUSIZE 55 1004 #define SM_ARRANGE 56 1005 #define SM_CXMINIMIZED 57 1006 #define SM_CYMINIMIZED 58 1007 #define SM_CXMAXTRACK 59 1008 #define SM_CYMAXTRACK 60 1009 #define SM_CXMAXIMIZED 61 1010 #define SM_CYMAXIMIZED 62 1011 #define SM_NETWORK 63 1012 #define SM_CLEANBOOT 67 1013 #define SM_CXDRAG 68 1014 #define SM_CYDRAG 69 1015 #define SM_SHOWSOUNDS 70 1016 #define SM_CXMENUCHECK 71 1017 #define SM_CYMENUCHECK 72 1018 #define SM_SLOWMACHINE 73 1019 #define SM_MIDEASTENABLED 74 1020 #define SM_MOUSEWHEELPRESENT 75 1021 #define SM_XVIRTUALSCREEN 76 1022 #define SM_YVIRTUALSCREEN 77 1023 #define SM_CXVIRTUALSCREEN 78 1024 #define SM_CYVIRTUALSCREEN 79 1025 #define SM_CMONITORS 80 1026 #define SM_SAMEDISPLAYFORMAT 81 1027 #if(_WIN32_WINNT >= 0x0500) 1028 #define SM_IMMENABLED 82 1029 #endif /* _WIN32_WINNT >= 0x0500 */ 1030 #if (_WIN32_WINNT >= 0x0501) 1031 #define SM_CXFOCUSBORDER 83 1032 #define SM_CYFOCUSBORDER 84 1033 #define SM_TABLETPC 86 1034 #define SM_MEDIACENTER 87 1035 #define SM_STARTER 88 1036 #define SM_SERVERR2 89 1037 #endif /* _WIN32_WINNT >= 0x0501 */ 1038 #if (_WIN32_WINNT >= 0x0600) 1039 #define SM_MOUSEHORIZONTALWHEELPRESENT 91 1040 #define SM_CXPADDEDBORDER 92 1041 #endif /* _WIN32_WINNT >= 0x0600 */ 1042 1043 #define SM_REMOTESESSION 0x1000 1044 #if (_WIN32_WINNT >= 0x0501) 1045 #define SM_SHUTTINGDOWN 0x2000 1046 #define SM_REMOTECONTROL 0x2001 1047 #endif /* _WIN32_WINNT >= 0x0501 */ 1048 1049 #if (WINVER < 0x0500) && ((_WIN32_WINNT < 0x0400) || !defined(_WIN32_WINNT)) 1050 #define SM_CMETRICS 76 1051 #elif (WINVER == 0x500) 1052 #define SM_CMETRICS 83 1053 #elif (WINVER == 0x501) 1054 #define SM_CMETRICS 90 1055 #else 1056 #define SM_CMETRICS 93 1057 #endif 1058 1059 #define ARW_BOTTOMLEFT 0 1060 #define ARW_BOTTOMRIGHT 1 1061 #define ARW_HIDE 8 1062 #define ARW_TOPLEFT 2 1063 #define ARW_TOPRIGHT 3 1064 #define ARW_DOWN 4 1065 #define ARW_LEFT 0 1066 #define ARW_RIGHT 0 1067 #define ARW_UP 4 1068 #define UOI_FLAGS 1 1069 #define UOI_NAME 2 1070 #define UOI_TYPE 3 1071 #define UOI_USER_SID 4 1072 #define LR_DEFAULTCOLOR 0 1073 #define LR_MONOCHROME 1 1074 #define LR_COLOR 2 1075 #define LR_COPYRETURNORG 4 1076 #define LR_COPYDELETEORG 8 1077 #define LR_LOADFROMFILE 16 1078 #define LR_LOADTRANSPARENT 32 1079 #define LR_DEFAULTSIZE 64 1080 #define LR_LOADREALSIZE 128 1081 #define LR_VGACOLOR 128 1082 #define LR_LOADMAP3DCOLORS 4096 1083 #define LR_CREATEDIBSECTION 8192 1084 #define LR_COPYFROMRESOURCE 0x4000 1085 #define LR_SHARED 32768 1086 #define KEYEVENTF_EXTENDEDKEY 0x00000001 1087 #define KEYEVENTF_KEYUP 00000002 1088 #if (_WIN32_WINNT >= 0x0500) 1089 #define KEYEVENTF_UNICODE 0x00000004 1090 #define KEYEVENTF_SCANCODE 0x00000008 1091 #endif 1092 #define OBM_TRTYPE 32732 1093 #define OBM_LFARROWI 32734 1094 #define OBM_RGARROWI 32735 1095 #define OBM_DNARROWI 32736 1096 #define OBM_UPARROWI 32737 1097 #define OBM_COMBO 32738 1098 #define OBM_MNARROW 32739 1099 #define OBM_LFARROWD 32740 1100 #define OBM_RGARROWD 32741 1101 #define OBM_DNARROWD 32742 1102 #define OBM_UPARROWD 32743 1103 #define OBM_RESTORED 32744 1104 #define OBM_ZOOMD 32745 1105 #define OBM_REDUCED 32746 1106 #define OBM_RESTORE 32747 1107 #define OBM_ZOOM 32748 1108 #define OBM_REDUCE 32749 1109 #define OBM_LFARROW 32750 1110 #define OBM_RGARROW 32751 1111 #define OBM_DNARROW 32752 1112 #define OBM_UPARROW 32753 1113 #define OBM_CLOSE 32754 1114 #define OBM_OLD_RESTORE 32755 1115 #define OBM_OLD_ZOOM 32756 1116 #define OBM_OLD_REDUCE 32757 1117 #define OBM_BTNCORNERS 32758 1118 #define OBM_CHECKBOXES 32759 1119 #define OBM_CHECK 32760 1120 #define OBM_BTSIZE 32761 1121 #define OBM_OLD_LFARROW 32762 1122 #define OBM_OLD_RGARROW 32763 1123 #define OBM_OLD_DNARROW 32764 1124 #define OBM_OLD_UPARROW 32765 1125 #define OBM_SIZE 32766 1126 #define OBM_OLD_CLOSE 32767 1127 #define OCR_NORMAL 32512 1128 #define OCR_IBEAM 32513 1129 #define OCR_WAIT 32514 1130 #define OCR_CROSS 32515 1131 #define OCR_UP 32516 1132 #define OCR_SIZE 32640 1133 #define OCR_ICON 32641 1134 #define OCR_SIZENWSE 32642 1135 #define OCR_SIZENESW 32643 1136 #define OCR_SIZEWE 32644 1137 #define OCR_SIZENS 32645 1138 #define OCR_SIZEALL 32646 1139 #define OCR_NO 32648 1140 #define OCR_HAND 32649 1141 #define OCR_APPSTARTING 32650 1142 #define OCR_HELP 32651 1143 #define OIC_SAMPLE 32512 1144 #define OIC_HAND 32513 1145 #define OIC_QUES 32514 1146 #define OIC_BANG 32515 1147 #define OIC_NOTE 32516 1148 #define OIC_WINLOGO 32517 1149 #define OIC_WARNING OIC_BANG 1150 #define OIC_ERROR OIC_HAND 1151 #define OIC_INFORMATION OIC_NOTE 1152 #define HELPINFO_MENUITEM 2 1153 #define HELPINFO_WINDOW 1 1154 #define MSGF_DIALOGBOX 0 1155 #define MSGF_MESSAGEBOX 1 1156 #define MSGF_MENU 2 1157 #define MSGF_MOVE 3 1158 #define MSGF_SIZE 4 1159 #define MSGF_SCROLLBAR 5 1160 #define MSGF_NEXTWINDOW 6 1161 #define MSGF_MAINLOOP 8 1162 #define MSGF_USER 4096 1163 #define MSGF_MAX 8 1164 #define MOUSEEVENTF_MOVE 0x0001 1165 #define MOUSEEVENTF_LEFTDOWN 0x0002 1166 #define MOUSEEVENTF_LEFTUP 0x0004 1167 #define MOUSEEVENTF_RIGHTDOWN 0x0008 1168 #define MOUSEEVENTF_RIGHTUP 0x0010 1169 #define MOUSEEVENTF_MIDDLEDOWN 0x0020 1170 #define MOUSEEVENTF_MIDDLEUP 0x0040 1171 #define MOUSEEVENTF_XDOWN 0x0080 1172 #define MOUSEEVENTF_XUP 0x0100 1173 #define MOUSEEVENTF_WHEEL 0x0800 1174 #define MOUSEEVENTF_VIRTUALDESK 0x4000 1175 #define MOUSEEVENTF_ABSOLUTE 0x8000 1176 #define PM_NOREMOVE 0 1177 #define PM_REMOVE 1 1178 #define PM_NOYIELD 2 1179 #if (WINVER >= 0x0500) 1180 # define PM_QS_INPUT (QS_INPUT << 16) 1181 # define PM_QS_POSTMESSAGE ((QS_POSTMESSAGE|QS_HOTKEY|QS_TIMER) << 16) 1182 # define PM_QS_PAINT (QS_PAINT << 16) 1183 # define PM_QS_SENDMESSAGE (QS_SENDMESSAGE << 16) 1184 #endif 1185 #define HWND_BROADCAST ((HWND)0xffff) 1186 #define HWND_BOTTOM ((HWND)1) 1187 #define HWND_NOTOPMOST ((HWND)(-2)) 1188 #define HWND_TOP ((HWND)0) 1189 #define HWND_TOPMOST ((HWND)(-1)) 1190 #define HWND_DESKTOP (HWND)0 1191 #define HWND_MESSAGE ((HWND)(-3)) /* w2k */ 1192 #define RDW_ERASE 4 1193 #define RDW_FRAME 1024 1194 #define RDW_INTERNALPAINT 2 1195 #define RDW_INVALIDATE 1 1196 #define RDW_NOERASE 32 1197 #define RDW_NOFRAME 2048 1198 #define RDW_NOINTERNALPAINT 16 1199 #define RDW_VALIDATE 8 1200 #define RDW_ERASENOW 512 1201 #define RDW_UPDATENOW 256 1202 #define RDW_ALLCHILDREN 128 1203 #define RDW_NOCHILDREN 64 1204 #define SMTO_ABORTIFHUNG 2 1205 #define SMTO_BLOCK 1 1206 #define SMTO_NORMAL 0 1207 #if (WINVER >= 0x0500) 1208 #define SMTO_NOTIMEOUTIFNOTHUNG 8 1209 #endif 1210 #if (WINVER >= 0x0600) 1211 #define SMTO_ERRORONEXIT 32 1212 #endif 1213 #define SIF_ALL 23 1214 #define SIF_PAGE 2 1215 #define SIF_POS 4 1216 #define SIF_RANGE 1 1217 #define SIF_DISABLENOSCROLL 8 1218 #define SIF_TRACKPOS 16 1219 #define SWP_DRAWFRAME 32 1220 #define SWP_FRAMECHANGED 32 1221 #define SWP_HIDEWINDOW 128 1222 #define SWP_NOACTIVATE 16 1223 #define SWP_NOCOPYBITS 256 1224 #define SWP_NOMOVE 2 1225 #define SWP_NOSIZE 1 1226 #define SWP_NOREDRAW 8 1227 #define SWP_NOZORDER 4 1228 #define SWP_SHOWWINDOW 64 1229 #define SWP_NOOWNERZORDER 512 1230 #define SWP_NOREPOSITION 512 1231 #define SWP_NOSENDCHANGING 1024 1232 #define SWP_DEFERERASE 8192 1233 #define SWP_ASYNCWINDOWPOS 16384 1234 1235 #define HSHELL_WINDOWCREATED 1 1236 #define HSHELL_WINDOWDESTROYED 2 1237 #define HSHELL_ACTIVATESHELLWINDOW 3 1238 #if(WINVER >= 0x0400) 1239 #define HSHELL_WINDOWACTIVATED 4 1240 #define HSHELL_GETMINRECT 5 1241 #define HSHELL_REDRAW 6 1242 #define HSHELL_TASKMAN 7 1243 #define HSHELL_LANGUAGE 8 1244 #define HSHELL_SYSMENU 9 1245 #define HSHELL_ENDTASK 10 1246 #endif /* WINVER >= 0x0400 */ 1247 #if(_WIN32_WINNT >= 0x0500) 1248 #define HSHELL_ACCESSIBILITYSTATE 11 1249 #define HSHELL_APPCOMMAND 12 1250 #endif /* _WIN32_WINNT >= 0x0500 */ 1251 #if(_WIN32_WINNT >= 0x0501) 1252 #define HSHELL_WINDOWREPLACED 13 1253 #define HSHELL_WINDOWREPLACING 14 1254 #endif /* _WIN32_WINNT >= 0x0501 */ 1255 1256 #define HSHELL_HIGHBIT 0x8000 1257 #define HSHELL_FLASH (HSHELL_REDRAW|HSHELL_HIGHBIT) 1258 #define HSHELL_RUDEAPPACTIVATED (HSHELL_WINDOWACTIVATED|HSHELL_HIGHBIT) 1259 1260 #if(_WIN32_WINNT >= 0x0500) 1261 #define APPCOMMAND_BROWSER_BACKWARD 1 1262 #define APPCOMMAND_BROWSER_FORWARD 2 1263 #define APPCOMMAND_BROWSER_REFRESH 3 1264 #define APPCOMMAND_BROWSER_STOP 4 1265 #define APPCOMMAND_BROWSER_SEARCH 5 1266 #define APPCOMMAND_BROWSER_FAVORITES 6 1267 #define APPCOMMAND_BROWSER_HOME 7 1268 #define APPCOMMAND_VOLUME_MUTE 8 1269 #define APPCOMMAND_VOLUME_DOWN 9 1270 #define APPCOMMAND_VOLUME_UP 10 1271 #define APPCOMMAND_MEDIA_NEXTTRACK 11 1272 #define APPCOMMAND_MEDIA_PREVIOUSTRACK 12 1273 #define APPCOMMAND_MEDIA_STOP 13 1274 #define APPCOMMAND_MEDIA_PLAY_PAUSE 14 1275 #define APPCOMMAND_LAUNCH_MAIL 15 1276 #define APPCOMMAND_LAUNCH_MEDIA_SELECT 16 1277 #define APPCOMMAND_LAUNCH_APP1 17 1278 #define APPCOMMAND_LAUNCH_APP2 18 1279 #define APPCOMMAND_BASS_DOWN 19 1280 #define APPCOMMAND_BASS_BOOST 20 1281 #define APPCOMMAND_BASS_UP 21 1282 #define APPCOMMAND_TREBLE_DOWN 22 1283 #define APPCOMMAND_TREBLE_UP 23 1284 #if( _WIN32_WINNT >= 0x0501 ) 1285 #define APPCOMMAND_MICROPHONE_VOLUME_MUTE 24 1286 #define APPCOMMAND_MICROPHONE_VOLUME_DOWN 25 1287 #define APPCOMMAND_MICROPHONE_VOLUME_UP 26 1288 #define APPCOMMAND_HELP 27 1289 #define APPCOMMAND_FIND 28 1290 #define APPCOMMAND_NEW 29 1291 #define APPCOMMAND_OPEN 30 1292 #define APPCOMMAND_CLOSE 31 1293 #define APPCOMMAND_SAVE 32 1294 #define APPCOMMAND_PRINT 33 1295 #define APPCOMMAND_UNDO 34 1296 #define APPCOMMAND_REDO 35 1297 #define APPCOMMAND_COPY 36 1298 #define APPCOMMAND_CUT 37 1299 #define APPCOMMAND_PASTE 38 1300 #define APPCOMMAND_REPLY_TO_MAIL 39 1301 #define APPCOMMAND_FORWARD_MAIL 40 1302 #define APPCOMMAND_SEND_MAIL 41 1303 #define APPCOMMAND_SPELL_CHECK 42 1304 #define APPCOMMAND_DICTATE_OR_COMMAND_CONTROL_TOGGLE 43 1305 #define APPCOMMAND_MIC_ON_OFF_TOGGLE 44 1306 #define APPCOMMAND_CORRECTION_LIST 45 1307 #define APPCOMMAND_MEDIA_PLAY 46 1308 #define APPCOMMAND_MEDIA_PAUSE 47 1309 #define APPCOMMAND_MEDIA_RECORD 48 1310 #define APPCOMMAND_MEDIA_FAST_FORWARD 49 1311 #define APPCOMMAND_MEDIA_REWIND 50 1312 #define APPCOMMAND_MEDIA_CHANNEL_UP 51 1313 #define APPCOMMAND_MEDIA_CHANNEL_DOWN 52 1314 #endif /* _WIN32_WINNT >= 0x0501 */ 1315 1316 #define FAPPCOMMAND_MOUSE 0x8000 1317 #define FAPPCOMMAND_KEY 0 1318 #define FAPPCOMMAND_OEM 0x1000 1319 #define FAPPCOMMAND_MASK 0xf000 1320 1321 #define GET_APPCOMMAND_LPARAM(lParam) ((SHORT)(HIWORD(lParam) & ~FAPPCOMMAND_MASK)) 1322 #define GET_DEVICE_LPARAM(lParam) ((WORD)(HIWORD(lParam) & FAPPCOMMAND_MASK)) 1323 #define GET_MOUSEORKEY_LPARAM GET_DEVICE_LPARAM 1324 #define GET_FLAGS_LPARAM(lParam) (LOWORD(lParam)) 1325 #define GET_KEYSTATE_LPARAM(lParam) GET_FLAGS_LPARAM(lParam) 1326 #endif 1327 1328 1329 1330 #define SPI_GETBEEP 0x0001 1331 #define SPI_SETBEEP 0x0002 1332 #define SPI_GETMOUSE 0x0003 1333 #define SPI_SETMOUSE 0x0004 1334 #define SPI_GETBORDER 0x0005 1335 #define SPI_SETBORDER 0x0006 1336 #define SPI_GETKEYBOARDSPEED 0x000A 1337 #define SPI_SETKEYBOARDSPEED 0x000B 1338 #define SPI_LANGDRIVER 0x000C 1339 #define SPI_ICONHORIZONTALSPACING 0x000D 1340 #define SPI_GETSCREENSAVETIMEOUT 0x000E 1341 #define SPI_SETSCREENSAVETIMEOUT 0x000F 1342 #define SPI_GETSCREENSAVEACTIVE 0x0010 1343 #define SPI_SETSCREENSAVEACTIVE 0x0011 1344 #define SPI_GETGRIDGRANULARITY 0x0012 1345 #define SPI_SETGRIDGRANULARITY 0x0013 1346 #define SPI_SETDESKWALLPAPER 0x0014 1347 #define SPI_SETDESKPATTERN 0x0015 1348 #define SPI_GETKEYBOARDDELAY 0x0016 1349 #define SPI_SETKEYBOARDDELAY 0x0017 1350 #define SPI_ICONVERTICALSPACING 0x0018 1351 #define SPI_GETICONTITLEWRAP 0x0019 1352 #define SPI_SETICONTITLEWRAP 0x001A 1353 #define SPI_GETMENUDROPALIGNMENT 0x001B 1354 #define SPI_SETMENUDROPALIGNMENT 0x001C 1355 #define SPI_SETDOUBLECLKWIDTH 0x001D 1356 #define SPI_SETDOUBLECLKHEIGHT 0x001E 1357 #define SPI_GETICONTITLELOGFONT 0x001F 1358 #define SPI_SETDOUBLECLICKTIME 0x0020 1359 #define SPI_SETMOUSEBUTTONSWAP 0x0021 1360 #define SPI_SETICONTITLELOGFONT 0x0022 1361 #define SPI_GETFASTTASKSWITCH 0x0023 1362 #define SPI_SETFASTTASKSWITCH 0x0024 1363 #if(WINVER >= 0x0400) 1364 #define SPI_SETDRAGFULLWINDOWS 0x0025 1365 #define SPI_GETDRAGFULLWINDOWS 0x0026 1366 #define SPI_GETNONCLIENTMETRICS 0x0029 1367 #define SPI_SETNONCLIENTMETRICS 0x002A 1368 #define SPI_GETMINIMIZEDMETRICS 0x002B 1369 #define SPI_SETMINIMIZEDMETRICS 0x002C 1370 #define SPI_GETICONMETRICS 0x002D 1371 #define SPI_SETICONMETRICS 0x002E 1372 #define SPI_SETWORKAREA 0x002F 1373 #define SPI_GETWORKAREA 0x0030 1374 #define SPI_SETPENWINDOWS 0x0031 1375 #endif 1376 #define SPI_GETFILTERKEYS 0x0032 1377 #define SPI_SETFILTERKEYS 0x0033 1378 #define SPI_GETTOGGLEKEYS 0x0034 1379 #define SPI_SETTOGGLEKEYS 0x0035 1380 #define SPI_GETMOUSEKEYS 0x0036 1381 #define SPI_SETMOUSEKEYS 0x0037 1382 #define SPI_GETSHOWSOUNDS 0x0038 1383 #define SPI_SETSHOWSOUNDS 0x0039 1384 #define SPI_GETSTICKYKEYS 0x003A 1385 #define SPI_SETSTICKYKEYS 0x003B 1386 #define SPI_GETACCESSTIMEOUT 0x003C 1387 #define SPI_SETACCESSTIMEOUT 0x003D 1388 #if(WINVER >= 0x0400) 1389 #define SPI_GETSERIALKEYS 0x003E 1390 #define SPI_SETSERIALKEYS 0x003F 1391 #endif 1392 #define SPI_GETSOUNDSENTRY 0x0040 1393 #define SPI_SETSOUNDSENTRY 0x0041 1394 #if(WINVER >= 0x0400) 1395 #define SPI_GETHIGHCONTRAST 0x0042 1396 #define SPI_SETHIGHCONTRAST 0x0043 1397 #define SPI_GETKEYBOARDPREF 0x0044 1398 #define SPI_SETKEYBOARDPREF 0x0045 1399 #define SPI_GETSCREENREADER 0x0046 1400 #define SPI_SETSCREENREADER 0x0047 1401 #define SPI_GETANIMATION 0x0048 1402 #define SPI_SETANIMATION 0x0049 1403 #define SPI_GETFONTSMOOTHING 0x004A 1404 #define SPI_SETFONTSMOOTHING 0x004B 1405 #define SPI_SETDRAGWIDTH 0x004C 1406 #define SPI_SETDRAGHEIGHT 0x004D 1407 #define SPI_SETHANDHELD 0x004E 1408 #define SPI_GETLOWPOWERTIMEOUT 0x004F 1409 #define SPI_GETPOWEROFFTIMEOUT 0x0050 1410 #define SPI_SETLOWPOWERTIMEOUT 0x0051 1411 #define SPI_SETPOWEROFFTIMEOUT 0x0052 1412 #define SPI_GETLOWPOWERACTIVE 0x0053 1413 #define SPI_GETPOWEROFFACTIVE 0x0054 1414 #define SPI_SETLOWPOWERACTIVE 0x0055 1415 #define SPI_SETPOWEROFFACTIVE 0x0056 1416 #define SPI_SETCURSORS 0x0057 1417 #define SPI_SETICONS 0x0058 1418 #define SPI_GETDEFAULTINPUTLANG 0x0059 1419 #define SPI_SETDEFAULTINPUTLANG 0x005A 1420 #define SPI_SETLANGTOGGLE 0x005B 1421 #define SPI_GETWINDOWSEXTENSION 0x005C 1422 #define SPI_SETMOUSETRAILS 0x005D 1423 #define SPI_GETMOUSETRAILS 0x005E 1424 #endif 1425 #if(_WIN32_WINNT >= 0x0400) 1426 #define SPI_GETSNAPTODEFBUTTON 0x005F 1427 #define SPI_SETSNAPTODEFBUTTON 0x0060 1428 #endif 1429 #if(WINVER >= 0x0400) 1430 #define SPI_SCREENSAVERRUNNING 0x0061 1431 #define SPI_SETSCREENSAVERRUNNING SPI_SCREENSAVERRUNNING 1432 #endif 1433 #if (_WIN32_WINNT >= 0x0400) || (_WIN32_WINDOWS > 0x0400) 1434 #define SPI_GETMOUSEHOVERWIDTH 0x0062 1435 #define SPI_SETMOUSEHOVERWIDTH 0x0063 1436 #define SPI_GETMOUSEHOVERHEIGHT 0x0064 1437 #define SPI_SETMOUSEHOVERHEIGHT 0x0065 1438 #define SPI_GETMOUSEHOVERTIME 0x0066 1439 #define SPI_SETMOUSEHOVERTIME 0x0067 1440 #define SPI_GETWHEELSCROLLLINES 0x0068 1441 #define SPI_SETWHEELSCROLLLINES 0x0069 1442 #define SPI_GETMENUSHOWDELAY 0x006A 1443 #define SPI_SETMENUSHOWDELAY 0x006B 1444 #if (_WIN32_WINNT >= 0x0600) 1445 #define SPI_GETWHEELSCROLLCHARS 0x006C 1446 #define SPI_SETWHEELSCROLLCHARS 0x006D 1447 #endif 1448 #define SPI_GETSHOWIMEUI 0x006E 1449 #define SPI_SETSHOWIMEUI 0x006F 1450 #endif 1451 #if(WINVER >= 0x0500) 1452 #define SPI_GETMOUSESPEED 0x0070 1453 #define SPI_SETMOUSESPEED 0x0071 1454 #define SPI_GETSCREENSAVERRUNNING 0x0072 1455 #define SPI_GETDESKWALLPAPER 0x0073 1456 #endif 1457 #if(WINVER >= 0x0600) 1458 #define SPI_GETAUDIODESCRIPTION 0x0074 1459 #define SPI_SETAUDIODESCRIPTION 0x0075 1460 #define SPI_GETSCREENSAVESECURE 0x0076 1461 #define SPI_SETSCREENSAVESECURE 0x0077 1462 #endif 1463 #if(WINVER >= 0x0500) 1464 #define SPI_GETACTIVEWINDOWTRACKING 0x1000 1465 #define SPI_SETACTIVEWINDOWTRACKING 0x1001 1466 #define SPI_GETMENUANIMATION 0x1002 1467 #define SPI_SETMENUANIMATION 0x1003 1468 #define SPI_GETCOMBOBOXANIMATION 0x1004 1469 #define SPI_SETCOMBOBOXANIMATION 0x1005 1470 #define SPI_GETLISTBOXSMOOTHSCROLLING 0x1006 1471 #define SPI_SETLISTBOXSMOOTHSCROLLING 0x1007 1472 #define SPI_GETGRADIENTCAPTIONS 0x1008 1473 #define SPI_SETGRADIENTCAPTIONS 0x1009 1474 #define SPI_GETKEYBOARDCUES 0x100A 1475 #define SPI_SETKEYBOARDCUES 0x100B 1476 #define SPI_GETMENUUNDERLINES SPI_GETKEYBOARDCUES 1477 #define SPI_SETMENUUNDERLINES SPI_SETKEYBOARDCUES 1478 #define SPI_GETACTIVEWNDTRKZORDER 0x100C 1479 #define SPI_SETACTIVEWNDTRKZORDER 0x100D 1480 #define SPI_GETHOTTRACKING 0x100E 1481 #define SPI_SETHOTTRACKING 0x100F 1482 #define SPI_GETMENUFADE 0x1012 1483 #define SPI_SETMENUFADE 0x1013 1484 #define SPI_GETSELECTIONFADE 0x1014 1485 #define SPI_SETSELECTIONFADE 0x1015 1486 #define SPI_GETTOOLTIPANIMATION 0x1016 1487 #define SPI_SETTOOLTIPANIMATION 0x1017 1488 #define SPI_GETTOOLTIPFADE 0x1018 1489 #define SPI_SETTOOLTIPFADE 0x1019 1490 #define SPI_GETCURSORSHADOW 0x101A 1491 #define SPI_SETCURSORSHADOW 0x101B 1492 #if(_WIN32_WINNT >= 0x0501) 1493 #define SPI_GETMOUSESONAR 0x101C 1494 #define SPI_SETMOUSESONAR 0x101D 1495 #define SPI_GETMOUSECLICKLOCK 0x101E 1496 #define SPI_SETMOUSECLICKLOCK 0x101F 1497 #define SPI_GETMOUSEVANISH 0x1020 1498 #define SPI_SETMOUSEVANISH 0x1021 1499 #define SPI_GETFLATMENU 0x1022 1500 #define SPI_SETFLATMENU 0x1023 1501 #define SPI_GETDROPSHADOW 0x1024 1502 #define SPI_SETDROPSHADOW 0x1025 1503 #define SPI_GETBLOCKSENDINPUTRESETS 0x1026 1504 #define SPI_SETBLOCKSENDINPUTRESETS 0x1027 1505 #endif 1506 #define SPI_GETUIEFFECTS 0x103E 1507 #define SPI_SETUIEFFECTS 0x103F 1508 #if(_WIN32_WINNT >= 0x0600) 1509 #define SPI_GETDISABLEOVERLAPPEDCONTENT 0x1040 1510 #define SPI_SETDISABLEOVERLAPPEDCONTENT 0x1041 1511 #define SPI_GETCLIENTAREAANIMATION 0x1042 1512 #define SPI_SETCLIENTAREAANIMATION 0x1043 1513 #define SPI_GETCLEARTYPE 0x1048 1514 #define SPI_SETCLEARTYPE 0x1049 1515 #define SPI_GETSPEECHRECOGNITION 0x104A 1516 #define SPI_SETSPEECHRECOGNITION 0x104B 1517 #endif 1518 #define SPI_GETFOREGROUNDLOCKTIMEOUT 0x2000 1519 #define SPI_SETFOREGROUNDLOCKTIMEOUT 0x2001 1520 #define SPI_GETACTIVEWNDTRKTIMEOUT 0x2002 1521 #define SPI_SETACTIVEWNDTRKTIMEOUT 0x2003 1522 #define SPI_GETFOREGROUNDFLASHCOUNT 0x2004 1523 #define SPI_SETFOREGROUNDFLASHCOUNT 0x2005 1524 #define SPI_GETCARETWIDTH 0x2006 1525 #define SPI_SETCARETWIDTH 0x2007 1526 #if(_WIN32_WINNT >= 0x0501) 1527 #define SPI_GETMOUSECLICKLOCKTIME 0x2008 1528 #define SPI_SETMOUSECLICKLOCKTIME 0x2009 1529 #define SPI_GETFONTSMOOTHINGTYPE 0x200A 1530 #define SPI_SETFONTSMOOTHINGTYPE 0x200B 1531 #define SPI_GETFONTSMOOTHINGCONTRAST 0x200C 1532 #define SPI_SETFONTSMOOTHINGCONTRAST 0x200D 1533 #define SPI_GETFOCUSBORDERWIDTH 0x200E 1534 #define SPI_SETFOCUSBORDERWIDTH 0x200F 1535 #define SPI_GETFOCUSBORDERHEIGHT 0x2010 1536 #define SPI_SETFOCUSBORDERHEIGHT 0x2011 1537 #define SPI_GETFONTSMOOTHINGORIENTATION 0x2012 1538 #define SPI_SETFONTSMOOTHINGORIENTATION 0x2013 1539 1540 #define FE_FONTSMOOTHINGSTANDARD 0x0001 1541 #define FE_FONTSMOOTHINGCLEARTYPE 0x0002 1542 #define FE_FONTSMOOTHINGDOCKING 0x8000 1543 #define FE_FONTSMOOTHINGORIENTATIONBGR 0x0000 1544 #define FE_FONTSMOOTHINGORIENTATIONRGB 0x0001 1545 #endif 1546 #endif 1547 1548 #define SPIF_UPDATEINIFILE 1 1549 #define SPIF_SENDWININICHANGE 2 1550 #define SPIF_SENDCHANGE 2 1551 #define ATF_ONOFFFEEDBACK 2 1552 #define ATF_TIMEOUTON 1 1553 1554 #if (WINVER >= 0x0500) 1555 #define UIS_SET 1 1556 #define UIS_CLEAR 2 1557 #define UIS_INITIALIZE 3 1558 1559 #define UISF_HIDEFOCUS 0x1 1560 #define UISF_HIDEACCEL 0x2 1561 #if (WINVER >= 0x0501) 1562 #define UISF_ACTIVE 0x4 1563 #endif 1564 1565 #endif 1566 1567 #define PBT_APMQUERYSUSPEND 0x0000 1568 #define PBT_APMQUERYSTANDBY 0x0001 1569 #define PBT_APMQUERYSUSPENDFAILED 0x0002 1570 #define PBT_APMQUERYSTANDBYFAILED 0x0003 1571 #define PBT_APMSUSPEND 0x0004 1572 #define PBT_APMSTANDBY 0x0005 1573 #define PBT_APMRESUMECRITICAL 0x0006 1574 #define PBT_APMRESUMESUSPEND 0x0007 1575 #define PBT_APMRESUMESTANDBY 0x0008 1576 #define PBTF_APMRESUMEFROMFAILURE 0x00000001 1577 #define PBT_APMBATTERYLOW 0x0009 1578 #define PBT_APMPOWERSTATUSCHANGE 0x000A 1579 #define PBT_APMOEMEVENT 0x000B 1580 #define PBT_APMRESUMEAUTOMATIC 0x0012 1581 1582 1583 /* Window messages */ 1584 #define WM_NULL 0 1585 #define WM_CREATE 1 1586 #define WM_DESTROY 2 1587 #define WM_MOVE 3 1588 #define WM_SIZE 5 1589 #define WM_ACTIVATE 6 1590 #define WM_SETFOCUS 7 1591 #define WM_KILLFOCUS 8 1592 #define WM_ENABLE 10 1593 #define WM_SETREDRAW 11 1594 #define WM_SETTEXT 12 1595 #define WM_GETTEXT 13 1596 #define WM_GETTEXTLENGTH 14 1597 #define WM_PAINT 15 1598 #define WM_CLOSE 16 1599 #define WM_QUERYENDSESSION 17 1600 #define WM_QUIT 18 1601 #define WM_QUERYOPEN 19 1602 #define WM_ERASEBKGND 20 1603 #define WM_SYSCOLORCHANGE 21 1604 #define WM_ENDSESSION 22 1605 #define WM_SHOWWINDOW 24 1606 #define WM_SETTINGCHANGE 26 1607 #define WM_WININICHANGE 26 1608 #define WM_DEVMODECHANGE 27 1609 #define WM_ACTIVATEAPP 28 1610 #define WM_FONTCHANGE 29 1611 #define WM_TIMECHANGE 30 1612 #define WM_CANCELMODE 31 1613 #define WM_SETCURSOR 32 1614 #define WM_MOUSEACTIVATE 33 1615 #define WM_CHILDACTIVATE 34 1616 #define WM_QUEUESYNC 35 1617 #define WM_GETMINMAXINFO 36 1618 #define WM_PAINTICON 38 1619 #define WM_ICONERASEBKGND 39 1620 #define WM_NEXTDLGCTL 40 1621 #define WM_SPOOLERSTATUS 42 1622 #define WM_DRAWITEM 43 1623 #define WM_MEASUREITEM 44 1624 #define WM_DELETEITEM 45 1625 #define WM_VKEYTOITEM 46 1626 #define WM_CHARTOITEM 47 1627 #define WM_SETFONT 48 1628 #define WM_GETFONT 49 1629 #define WM_SETHOTKEY 50 1630 #define WM_GETHOTKEY 51 1631 #define WM_QUERYDRAGICON 55 1632 #define WM_COMPAREITEM 57 1633 #if (WINVER >= 0x0500) 1634 #define WM_GETOBJECT 61 1635 #endif /* (WINVER >= 0x0500) */ 1636 #define WM_COMPACTING 65 1637 #define WM_COMMNOTIFY 68 /* obsolete */ 1638 #define WM_WINDOWPOSCHANGING 70 1639 #define WM_WINDOWPOSCHANGED 71 1640 #define WM_POWER 72 1641 #define WM_COPYDATA 74 1642 #define WM_CANCELJOURNAL 75 1643 1644 #if (WINVER >= 0x0400) 1645 #define WM_NOTIFY 78 1646 #define WM_INPUTLANGCHANGEREQUEST 80 1647 #define WM_INPUTLANGCHANGE 81 1648 #define WM_TCARD 82 1649 #define WM_HELP 83 1650 #define WM_USERCHANGED 84 1651 #define WM_NOTIFYFORMAT 85 1652 #define WM_CONTEXTMENU 123 1653 #define WM_STYLECHANGING 124 1654 #define WM_STYLECHANGED 125 1655 #define WM_DISPLAYCHANGE 126 1656 #define WM_GETICON 127 1657 #define WM_SETICON 128 1658 #endif /* (WINVER >= 0x0400) */ 1659 1660 #define WM_NCCREATE 129 1661 #define WM_NCDESTROY 130 1662 #define WM_NCCALCSIZE 131 1663 #define WM_NCHITTEST 132 1664 #define WM_NCPAINT 133 1665 #define WM_NCACTIVATE 134 1666 #define WM_GETDLGCODE 135 1667 #define WM_SYNCPAINT 136 1668 #define WM_NCMOUSEMOVE 160 1669 #define WM_NCLBUTTONDOWN 161 1670 #define WM_NCLBUTTONUP 162 1671 #define WM_NCLBUTTONDBLCLK 163 1672 #define WM_NCRBUTTONDOWN 164 1673 #define WM_NCRBUTTONUP 165 1674 #define WM_NCRBUTTONDBLCLK 166 1675 #define WM_NCMBUTTONDOWN 167 1676 #define WM_NCMBUTTONUP 168 1677 #define WM_NCMBUTTONDBLCLK 169 1678 1679 #if (_WIN32_WINNT >= 0x0500) 1680 #define WM_NCXBUTTONDOWN 171 1681 #define WM_NCXBUTTONUP 172 1682 #define WM_NCXBUTTONDBLCLK 173 1683 #endif /* (_WIN32_WINNT >= 0x0500) */ 1684 1685 #define WM_KEYFIRST 256 1686 #define WM_KEYDOWN 256 1687 #define WM_KEYUP 257 1688 #define WM_CHAR 258 1689 #define WM_DEADCHAR 259 1690 #define WM_SYSKEYDOWN 260 1691 #define WM_SYSKEYUP 261 1692 #define WM_SYSCHAR 262 1693 #define WM_SYSDEADCHAR 263 1694 #if(_WIN32_WINNT >= 0x0501) 1695 #define WM_UNICHAR 0x0109 1696 #define WM_KEYLAST WM_UNICHAR 1697 #define UNICODE_NOCHAR 0xffff 1698 #else 1699 #define WM_KEYLAST 264 1700 #endif 1701 1702 /* Win32 4.0 messages for IME */ 1703 #if (WINVER >= 0x0400) 1704 #define WM_IME_STARTCOMPOSITION 0x010d 1705 #define WM_IME_ENDCOMPOSITION 0x010e 1706 #define WM_IME_COMPOSITION 0x010f 1707 #define WM_IME_KEYLAST 0x010f 1708 #endif /* (WINVER >= 0x0400) */ 1709 1710 #define WM_INITDIALOG 272 1711 #define WM_COMMAND 273 1712 #define WM_SYSCOMMAND 274 1713 #define WM_TIMER 275 1714 #define WM_HSCROLL 276 1715 #define WM_VSCROLL 277 1716 #define WM_INITMENU 278 1717 #define WM_INITMENUPOPUP 279 1718 #define WM_MENUSELECT 287 1719 #define WM_MENUCHAR 288 1720 #define WM_ENTERIDLE 289 1721 1722 #if (WINVER >= 0x0500) 1723 #ifndef _WIN32_WCE 1724 #define WM_MENURBUTTONUP 290 1725 #define WM_MENUDRAG 291 1726 #define WM_MENUGETOBJECT 292 1727 #define WM_UNINITMENUPOPUP 293 1728 #define WM_MENUCOMMAND 294 1729 #if(_WIN32_WINNT >= 0x0500) 1730 #define WM_CHANGEUISTATE 295 1731 #define WM_UPDATEUISTATE 296 1732 #define WM_QUERYUISTATE 297 1733 #endif /* _WIN32_WINNT >= 0x0500 */ 1734 #endif /* _WIN32_WCE */ 1735 #endif /* (WINVER >= 0x0500) */ 1736 1737 #define WM_CTLCOLORMSGBOX 306 1738 #define WM_CTLCOLOREDIT 307 1739 #define WM_CTLCOLORLISTBOX 308 1740 #define WM_CTLCOLORBTN 309 1741 #define WM_CTLCOLORDLG 310 1742 #define WM_CTLCOLORSCROLLBAR 311 1743 #define WM_CTLCOLORSTATIC 312 1744 #define MN_GETHMENU 481 1745 #define WM_MOUSEFIRST 512 1746 #define WM_MOUSEMOVE 512 1747 #define WM_LBUTTONDOWN 513 1748 #define WM_LBUTTONUP 514 1749 #define WM_LBUTTONDBLCLK 515 1750 #define WM_RBUTTONDOWN 516 1751 #define WM_RBUTTONUP 517 1752 #define WM_RBUTTONDBLCLK 518 1753 #define WM_MBUTTONDOWN 519 1754 #define WM_MBUTTONUP 520 1755 #define WM_MBUTTONDBLCLK 521 1756 #if (_WIN32_WINNT >= 0x0400) || (_WIN32_WINDOWS > 0x0400) 1757 #define WM_MOUSEWHEEL 522 1758 #endif 1759 #if (_WIN32_WINNT >= 0x0500) 1760 #define WM_XBUTTONDOWN 523 1761 #define WM_XBUTTONUP 524 1762 #define WM_XBUTTONDBLCLK 525 1763 #endif 1764 #if (_WIN32_WINNT >= 0x0600) 1765 #define WM_MOUSEHWHEEL 526 1766 #endif 1767 #if (_WIN32_WINNT >= 0x0500) 1768 #define WM_MOUSELAST 525 1769 #elif (_WIN32_WINNT >= 0x0400) || (_WIN32_WINDOWS > 0x0400) 1770 #define WM_MOUSELAST 522 1771 #else 1772 #define WM_MOUSELAST 521 1773 #endif 1774 #define WM_PARENTNOTIFY 528 1775 #define WM_ENTERMENULOOP 529 1776 #define WM_EXITMENULOOP 530 1777 #define WM_NEXTMENU 531 1778 #define WM_SIZING 532 1779 #define WM_CAPTURECHANGED 533 1780 #define WM_MOVING 534 1781 #define WM_POWERBROADCAST 536 1782 #define WM_DEVICECHANGE 537 1783 #define WM_MDICREATE 544 1784 #define WM_MDIDESTROY 545 1785 #define WM_MDIACTIVATE 546 1786 #define WM_MDIRESTORE 547 1787 #define WM_MDINEXT 548 1788 #define WM_MDIMAXIMIZE 549 1789 #define WM_MDITILE 550 1790 #define WM_MDICASCADE 551 1791 #define WM_MDIICONARRANGE 552 1792 #define WM_MDIGETACTIVE 553 1793 #define WM_MDISETMENU 560 1794 #define WM_ENTERSIZEMOVE 561 1795 #define WM_EXITSIZEMOVE 562 1796 #define WM_DROPFILES 563 1797 #define WM_MDIREFRESHMENU 564 1798 1799 /* Win32 4.0 messages for IME */ 1800 #define WM_IME_SETCONTEXT 0x0281 1801 #define WM_IME_NOTIFY 0x0282 1802 #define WM_IME_CONTROL 0x0283 1803 #define WM_IME_COMPOSITIONFULL 0x0284 1804 #define WM_IME_SELECT 0x0285 1805 #define WM_IME_CHAR 0x0286 1806 /* Win32 5.0 messages for IME */ 1807 #define WM_IME_REQUEST 0x0288 1808 /* Win32 4.0 messages for IME */ 1809 #define WM_IME_KEYDOWN 0x0290 1810 #define WM_IME_KEYUP 0x0291 1811 1812 #define WM_NCMOUSEHOVER 0x02A0 1813 #define WM_NCMOUSELEAVE 0x02A2 1814 #define WM_MOUSEHOVER 0x02A1 1815 #define WM_MOUSELEAVE 0x02A3 1816 1817 #define WM_CUT 768 1818 #define WM_COPY 769 1819 #define WM_PASTE 770 1820 #define WM_CLEAR 771 1821 #define WM_UNDO 772 1822 #define WM_RENDERFORMAT 773 1823 #define WM_RENDERALLFORMATS 774 1824 #define WM_DESTROYCLIPBOARD 775 1825 #define WM_DRAWCLIPBOARD 776 1826 #define WM_PAINTCLIPBOARD 777 1827 #define WM_VSCROLLCLIPBOARD 778 1828 #define WM_SIZECLIPBOARD 779 1829 #define WM_ASKCBFORMATNAME 780 1830 #define WM_CHANGECBCHAIN 781 1831 #define WM_HSCROLLCLIPBOARD 782 1832 #define WM_PALETTEISCHANGING 784 1833 #define WM_PALETTECHANGED 785 1834 #define WM_QUERYNEWPALETTE 783 1835 #define WM_HOTKEY 786 1836 #define WM_PRINT 791 1837 #define WM_PRINTCLIENT 792 1838 #define WM_APPCOMMAND 793 1839 1840 #define WM_DWMCOMPOSITIONCHANGED 0x031E 1841 #define WM_DWMNCRENDERINGCHANGED 0x031F 1842 #define WM_DWMCOLORIZATIONCOLORCHANGED 0x0320 1843 #define WM_DWMWINDOWMAXIMIZEDCHANGE 0x0321 1844 1845 #define WM_HANDHELDFIRST 856 1846 #define WM_HANDHELDLAST 863 1847 #define WM_AFXFIRST 864 1848 #define WM_AFXLAST 895 1849 #define WM_PENWINFIRST 896 1850 #define WM_PENWINLAST 911 1851 #define WM_USER 1024 1852 #define WM_APP 32768 1853 #define WM_GETTITLEBARINFOEX 0x033F 1854 1855 #if (_WIN32_WINNT >= 0x0400) 1856 #define WHEEL_DELTA 120 1857 #define GET_WHEEL_DELTA_WPARAM(wParam) ((short)HIWORD(wParam)) 1858 #define WHEEL_PAGESCROLL UINT_MAX 1859 #endif 1860 1861 #if (_WIN32_WINNT >= 0x0500) 1862 #define GET_KEYSTATE_WPARAM(wParam) (LOWORD(wParam)) 1863 #define GET_NCHITTEST_WPARAM(wParam) ((short)LOWORD(wParam)) 1864 #define GET_XBUTTON_WPARAM(wParam) (HIWORD(wParam)) 1865 #define XBUTTON1 0x0001 1866 #define XBUTTON2 0x0002 1867 #endif 1868 1869 #if (_WIN32_WINNT >= 0x0501) 1870 #define WM_THEMECHANGED 794 1871 #endif 1872 1873 #define BM_CLICK 245 1874 #define BM_GETCHECK 240 1875 #define BM_GETIMAGE 246 1876 #define BM_GETSTATE 242 1877 #define BM_SETCHECK 241 1878 #define BM_SETIMAGE 247 1879 #define BM_SETSTATE 243 1880 #define BM_SETSTYLE 244 1881 #define BN_CLICKED 0 1882 #define BN_DBLCLK 5 1883 #define BN_DISABLE 4 1884 #define BN_DOUBLECLICKED 5 1885 #define BN_HILITE 2 1886 #define BN_KILLFOCUS 7 1887 #define BN_PAINT 1 1888 #define BN_PUSHED 2 1889 #define BN_SETFOCUS 6 1890 #define BN_UNHILITE 3 1891 #define BN_UNPUSHED 3 1892 #define CB_ADDSTRING 323 1893 #define CB_DELETESTRING 324 1894 #define CB_DIR 325 1895 #define CB_FINDSTRING 332 1896 #define CB_FINDSTRINGEXACT 344 1897 #define CB_GETCOMBOBOXINFO 356 1898 #define CB_GETCOUNT 326 1899 #define CB_GETCURSEL 327 1900 #define CB_GETDROPPEDCONTROLRECT 338 1901 #define CB_GETDROPPEDSTATE 343 1902 #define CB_GETDROPPEDWIDTH 351 1903 #define CB_GETEDITSEL 320 1904 #define CB_GETEXTENDEDUI 342 1905 #define CB_GETHORIZONTALEXTENT 349 1906 #define CB_GETITEMDATA 336 1907 #define CB_GETITEMHEIGHT 340 1908 #define CB_GETLBTEXT 328 1909 #define CB_GETLBTEXTLEN 329 1910 #define CB_GETLOCALE 346 1911 #define CB_GETTOPINDEX 347 1912 #define CB_INITSTORAGE 353 1913 #define CB_INSERTSTRING 330 1914 #define CB_LIMITTEXT 321 1915 #define CB_RESETCONTENT 331 1916 #define CB_SELECTSTRING 333 1917 #define CB_SETCURSEL 334 1918 #define CB_SETDROPPEDWIDTH 352 1919 #define CB_SETEDITSEL 322 1920 #define CB_SETEXTENDEDUI 341 1921 #define CB_SETHORIZONTALEXTENT 350 1922 #define CB_SETITEMDATA 337 1923 #define CB_SETITEMHEIGHT 339 1924 #define CB_SETLOCALE 345 1925 #define CB_SETTOPINDEX 348 1926 #define CB_SHOWDROPDOWN 335 1927 #define CB_MSGMAX 357 1928 #define CBN_CLOSEUP 8 1929 #define CBN_DBLCLK 2 1930 #define CBN_DROPDOWN 7 1931 #define CBN_EDITCHANGE 5 1932 #define CBN_EDITUPDATE 6 1933 #define CBN_ERRSPACE (-1) 1934 #define CBN_KILLFOCUS 4 1935 #define CBN_SELCHANGE 1 1936 #define CBN_SELENDCANCEL 10 1937 #define CBN_SELENDOK 9 1938 #define CBN_SETFOCUS 3 1939 #define EM_CANUNDO 198 1940 #define EM_CHARFROMPOS 215 1941 #define EM_EMPTYUNDOBUFFER 205 1942 #define EM_FMTLINES 200 1943 #define EM_GETIMESTATUS 217 1944 #define EM_GETFIRSTVISIBLELINE 206 1945 #define EM_GETHANDLE 189 1946 #define EM_GETLIMITTEXT 213 1947 #define EM_GETLINE 196 1948 #define EM_GETLINECOUNT 186 1949 #define EM_GETMARGINS 212 1950 #define EM_GETMODIFY 184 1951 #define EM_GETPASSWORDCHAR 210 1952 #define EM_GETRECT 178 1953 #define EM_GETSEL 176 1954 #define EM_GETTHUMB 190 1955 #define EM_GETWORDBREAKPROC 209 1956 #define EM_LIMITTEXT 197 1957 #define EM_LINEFROMCHAR 201 1958 #define EM_LINEINDEX 187 1959 #define EM_LINELENGTH 193 1960 #define EM_LINESCROLL 182 1961 #define EM_POSFROMCHAR 214 1962 #define EM_REPLACESEL 194 1963 #define EM_SCROLL 181 1964 #define EM_SCROLLCARET 183 1965 #define EM_SETHANDLE 188 1966 #define EM_SETIMESTATUS 216 1967 #define EM_SETLIMITTEXT 197 1968 #define EM_SETMARGINS 211 1969 #define EM_SETMODIFY 185 1970 #define EM_SETPASSWORDCHAR 204 1971 #define EM_SETREADONLY 207 1972 #define EM_SETRECT 179 1973 #define EM_SETRECTNP 180 1974 #define EM_SETSEL 177 1975 #define EM_SETTABSTOPS 203 1976 #define EM_SETWORDBREAKPROC 208 1977 #define EM_UNDO 199 1978 #define EN_CHANGE 768 1979 #define EN_ERRSPACE 1280 1980 #define EN_HSCROLL 1537 1981 #define EN_KILLFOCUS 512 1982 #define EN_MAXTEXT 1281 1983 #define EN_SETFOCUS 256 1984 #define EN_UPDATE 1024 1985 #define EN_VSCROLL 1538 1986 #define LB_ADDFILE 406 1987 #define LB_ADDSTRING 384 1988 #define LB_DELETESTRING 386 1989 #define LB_DIR 397 1990 #define LB_FINDSTRING 399 1991 #define LB_FINDSTRINGEXACT 418 1992 #define LB_GETANCHORINDEX 413 1993 #define LB_GETCARETINDEX 415 1994 #define LB_GETCOUNT 395 1995 #define LB_GETCURSEL 392 1996 #define LB_GETHORIZONTALEXTENT 403 1997 #define LB_GETITEMDATA 409 1998 #define LB_GETITEMHEIGHT 417 1999 #define LB_GETITEMRECT 408 2000 #define LB_GETLISTBOXINFO 434 2001 #define LB_GETLOCALE 422 2002 #define LB_GETSEL 391 2003 #define LB_GETSELCOUNT 400 2004 #define LB_GETSELITEMS 401 2005 #define LB_GETTEXT 393 2006 #define LB_GETTEXTLEN 394 2007 #define LB_GETTOPINDEX 398 2008 #define LB_INITSTORAGE 424 2009 #define LB_INSERTSTRING 385 2010 #define LB_ITEMFROMPOINT 425 2011 #define LB_RESETCONTENT 388 2012 #define LB_SELECTSTRING 396 2013 #define LB_SELITEMRANGE 411 2014 #define LB_SELITEMRANGEEX 387 2015 #define LB_SETANCHORINDEX 412 2016 #define LB_SETCARETINDEX 414 2017 #define LB_SETCOLUMNWIDTH 405 2018 #define LB_SETCOUNT 423 2019 #define LB_SETCURSEL 390 2020 #define LB_SETHORIZONTALEXTENT 404 2021 #define LB_SETITEMDATA 410 2022 #define LB_SETITEMHEIGHT 416 2023 #define LB_SETLOCALE 421 2024 #define LB_SETSEL 389 2025 #define LB_SETTABSTOPS 402 2026 #define LB_SETTOPINDEX 407 2027 #define LBN_DBLCLK 2 2028 #define LBN_ERRSPACE (-2) 2029 #define LBN_KILLFOCUS 5 2030 #define LBN_SELCANCEL 3 2031 #define LBN_SELCHANGE 1 2032 #define LBN_SETFOCUS 4 2033 #define SBM_ENABLE_ARROWS 228 2034 #define SBM_GETPOS 225 2035 #define SBM_GETRANGE 227 2036 #define SBM_SETPOS 224 2037 #define SBM_SETRANGE 226 2038 #define SBM_SETRANGEREDRAW 230 2039 #if (_WIN32_WINNT >= 0x0400) 2040 #define SBM_GETSCROLLINFO 234 2041 #define SBM_SETSCROLLINFO 233 2042 #endif 2043 #if (_WIN32_WINNT >= 0x0501) 2044 #define SBM_GETSCROLLBARINFO 235 2045 #endif 2046 #define STM_GETICON 369 2047 #define STM_GETIMAGE 371 2048 #define STM_SETICON 368 2049 #define STM_SETIMAGE 370 2050 #define STN_CLICKED 0 2051 #define STN_DBLCLK 1 2052 #define STN_DISABLE 3 2053 #define STN_ENABLE 2 2054 #define DM_GETDEFID WM_USER 2055 #define DM_SETDEFID (WM_USER+1) 2056 #define DM_REPOSITION (WM_USER+2) 2057 #define PSM_PAGEINFO (WM_USER+100) 2058 #define PSM_SHEETINFO (WM_USER+101) 2059 #define PSI_SETACTIVE 1 2060 #define PSI_KILLACTIVE 2 2061 #define PSI_APPLY 3 2062 #define PSI_RESET 4 2063 #define PSI_HASHELP 5 2064 #define PSI_HELP 6 2065 #define PSI_CHANGED 1 2066 #define PSI_GUISTART 2 2067 #define PSI_REBOOT 3 2068 #define PSI_GETSIBLINGS 4 2069 #define DCX_WINDOW 1 2070 #define DCX_CACHE 2 2071 #define DCX_PARENTCLIP 32 2072 #define DCX_CLIPSIBLINGS 16 2073 #define DCX_CLIPCHILDREN 8 2074 #define DCX_NORESETATTRS 4 2075 #define DCX_INTERSECTUPDATE 0x200 2076 #define DCX_LOCKWINDOWUPDATE 0x400 2077 #define DCX_EXCLUDERGN 64 2078 #define DCX_INTERSECTRGN 128 2079 #define DCX_VALIDATE 0x200000 2080 #define DCX_EXCLUDEUPDATE 0x100 2081 #define GMDI_GOINTOPOPUPS 2 2082 #define GMDI_USEDISABLED 1 2083 #define FKF_AVAILABLE 2 2084 #define FKF_CLICKON 64 2085 #define FKF_FILTERKEYSON 1 2086 #define FKF_HOTKEYACTIVE 4 2087 #define FKF_HOTKEYSOUND 16 2088 #define FKF_CONFIRMHOTKEY 8 2089 #define FKF_INDICATOR 32 2090 #define HCF_HIGHCONTRASTON 1 2091 #define HCF_AVAILABLE 2 2092 #define HCF_HOTKEYACTIVE 4 2093 #define HCF_CONFIRMHOTKEY 8 2094 #define HCF_HOTKEYSOUND 16 2095 #define HCF_INDICATOR 32 2096 #define HCF_HOTKEYAVAILABLE 64 2097 #define MKF_AVAILABLE 2 2098 #define MKF_CONFIRMHOTKEY 8 2099 #define MKF_HOTKEYACTIVE 4 2100 #define MKF_HOTKEYSOUND 16 2101 #define MKF_INDICATOR 32 2102 #define MKF_MOUSEKEYSON 1 2103 #define MKF_MODIFIERS 64 2104 #define MKF_REPLACENUMBERS 128 2105 #define SERKF_ACTIVE 8 /* May be obsolete. Not in recent MS docs. */ 2106 #define SERKF_AVAILABLE 2 2107 #define SERKF_INDICATOR 4 2108 #define SERKF_SERIALKEYSON 1 2109 #define SSF_AVAILABLE 2 2110 #define SSF_SOUNDSENTRYON 1 2111 #define SSTF_BORDER 2 2112 #define SSTF_CHARS 1 2113 #define SSTF_DISPLAY 3 2114 #define SSTF_NONE 0 2115 #define SSGF_DISPLAY 3 2116 #define SSGF_NONE 0 2117 #define SSWF_CUSTOM 4 2118 #define SSWF_DISPLAY 3 2119 #define SSWF_NONE 0 2120 #define SSWF_TITLE 1 2121 #define SSWF_WINDOW 2 2122 #define SKF_AUDIBLEFEEDBACK 64 2123 #define SKF_AVAILABLE 2 2124 #define SKF_CONFIRMHOTKEY 8 2125 #define SKF_HOTKEYACTIVE 4 2126 #define SKF_HOTKEYSOUND 16 2127 #define SKF_INDICATOR 32 2128 #define SKF_STICKYKEYSON 1 2129 #define SKF_TRISTATE 128 2130 #define SKF_TWOKEYSOFF 256 2131 #define TKF_AVAILABLE 2 2132 #define TKF_CONFIRMHOTKEY 8 2133 #define TKF_HOTKEYACTIVE 4 2134 #define TKF_HOTKEYSOUND 16 2135 #define TKF_TOGGLEKEYSON 1 2136 #define MDITILE_SKIPDISABLED 2 2137 #define MDITILE_HORIZONTAL 1 2138 #define MDITILE_VERTICAL 0 2139 #define VK_LBUTTON 1 2140 #define VK_RBUTTON 2 2141 #define VK_CANCEL 3 2142 #define VK_MBUTTON 4 2143 #if (_WIN32_WINNT >= 0x0500) 2144 #define VK_XBUTTON1 5 2145 #define VK_XBUTTON2 6 2146 #endif 2147 #define VK_BACK 8 2148 #define VK_TAB 9 2149 #define VK_CLEAR 12 2150 #define VK_RETURN 13 2151 #define VK_SHIFT 16 2152 #define VK_CONTROL 17 2153 #define VK_MENU 18 2154 #define VK_PAUSE 19 2155 #define VK_CAPITAL 20 2156 #define VK_KANA 0x15 2157 #define VK_HANGEUL 0x15 2158 #define VK_HANGUL 0x15 2159 #define VK_JUNJA 0x17 2160 #define VK_FINAL 0x18 2161 #define VK_HANJA 0x19 2162 #define VK_KANJI 0x19 2163 #define VK_ESCAPE 0x1B 2164 #define VK_CONVERT 0x1C 2165 #define VK_NONCONVERT 0x1D 2166 #define VK_ACCEPT 0x1E 2167 #define VK_MODECHANGE 0x1F 2168 #define VK_SPACE 32 2169 #define VK_PRIOR 33 2170 #define VK_NEXT 34 2171 #define VK_END 35 2172 #define VK_HOME 36 2173 #define VK_LEFT 37 2174 #define VK_UP 38 2175 #define VK_RIGHT 39 2176 #define VK_DOWN 40 2177 #define VK_SELECT 41 2178 #define VK_PRINT 42 2179 #define VK_EXECUTE 43 2180 #define VK_SNAPSHOT 44 2181 #define VK_INSERT 45 2182 #define VK_DELETE 46 2183 #define VK_HELP 47 2184 #define VK_LWIN 0x5B 2185 #define VK_RWIN 0x5C 2186 #define VK_APPS 0x5D 2187 #define VK_SLEEP 0x5F 2188 #define VK_NUMPAD0 0x60 2189 #define VK_NUMPAD1 0x61 2190 #define VK_NUMPAD2 0x62 2191 #define VK_NUMPAD3 0x63 2192 #define VK_NUMPAD4 0x64 2193 #define VK_NUMPAD5 0x65 2194 #define VK_NUMPAD6 0x66 2195 #define VK_NUMPAD7 0x67 2196 #define VK_NUMPAD8 0x68 2197 #define VK_NUMPAD9 0x69 2198 #define VK_MULTIPLY 0x6A 2199 #define VK_ADD 0x6B 2200 #define VK_SEPARATOR 0x6C 2201 #define VK_SUBTRACT 0x6D 2202 #define VK_DECIMAL 0x6E 2203 #define VK_DIVIDE 0x6F 2204 #define VK_F1 0x70 2205 #define VK_F2 0x71 2206 #define VK_F3 0x72 2207 #define VK_F4 0x73 2208 #define VK_F5 0x74 2209 #define VK_F6 0x75 2210 #define VK_F7 0x76 2211 #define VK_F8 0x77 2212 #define VK_F9 0x78 2213 #define VK_F10 0x79 2214 #define VK_F11 0x7A 2215 #define VK_F12 0x7B 2216 #define VK_F13 0x7C 2217 #define VK_F14 0x7D 2218 #define VK_F15 0x7E 2219 #define VK_F16 0x7F 2220 #define VK_F17 0x80 2221 #define VK_F18 0x81 2222 #define VK_F19 0x82 2223 #define VK_F20 0x83 2224 #define VK_F21 0x84 2225 #define VK_F22 0x85 2226 #define VK_F23 0x86 2227 #define VK_F24 0x87 2228 #define VK_NUMLOCK 0x90 2229 #define VK_SCROLL 0x91 2230 #define VK_OEM_NEC_EQUAL 0x92 2231 #define VK_LSHIFT 0xA0 2232 #define VK_RSHIFT 0xA1 2233 #define VK_LCONTROL 0xA2 2234 #define VK_RCONTROL 0xA3 2235 #define VK_LMENU 0xA4 2236 #define VK_RMENU 0xA5 2237 #if (_WIN32_WINNT >= 0x0500) 2238 #define VK_BROWSER_BACK 0xA6 2239 #define VK_BROWSER_FORWARD 0xA7 2240 #define VK_BROWSER_REFRESH 0xA8 2241 #define VK_BROWSER_STOP 0xA9 2242 #define VK_BROWSER_SEARCH 0xAA 2243 #define VK_BROWSER_FAVORITES 0xAB 2244 #define VK_BROWSER_HOME 0xAC 2245 #define VK_VOLUME_MUTE 0xAD 2246 #define VK_VOLUME_DOWN 0xAE 2247 #define VK_VOLUME_UP 0xAF 2248 #define VK_MEDIA_NEXT_TRACK 0xB0 2249 #define VK_MEDIA_PREV_TRACK 0xB1 2250 #define VK_MEDIA_STOP 0xB2 2251 #define VK_MEDIA_PLAY_PAUSE 0xB3 2252 #define VK_LAUNCH_MAIL 0xB4 2253 #define VK_LAUNCH_MEDIA_SELECT 0xB5 2254 #define VK_LAUNCH_APP1 0xB6 2255 #define VK_LAUNCH_APP2 0xB7 2256 #endif 2257 #define VK_OEM_1 0xBA 2258 #if (_WIN32_WINNT >= 0x0500) 2259 #define VK_OEM_PLUS 0xBB 2260 #define VK_OEM_COMMA 0xBC 2261 #define VK_OEM_MINUS 0xBD 2262 #define VK_OEM_PERIOD 0xBE 2263 #endif 2264 #define VK_OEM_2 0xBF 2265 #define VK_OEM_3 0xC0 2266 #define VK_OEM_4 0xDB 2267 #define VK_OEM_5 0xDC 2268 #define VK_OEM_6 0xDD 2269 #define VK_OEM_7 0xDE 2270 #define VK_OEM_8 0xDF 2271 #if (_WIN32_WINNT >= 0x0500) 2272 #define VK_OEM_102 0xE2 2273 #endif 2274 #define VK_ICO_HELP 0xE3 /* Help key on ICO */ 2275 #define VK_ICO_00 0xE4 /* 00 key on ICO */ 2276 #define VK_PROCESSKEY 0xE5 2277 #if (_WIN32_WINNT >= 0x0500) 2278 #define VK_PACKET 0xE7 2279 #endif 2280 #define VK_OEM_RESET 0xE9 2281 #define VK_OEM_JUMP 0xEA 2282 #define VK_OEM_PA1 0xEB 2283 #define VK_OEM_PA2 0xEC 2284 #define VK_OEM_PA3 0xED 2285 #define VK_OEM_WSCTRL 0xEE 2286 #define VK_OEM_CUSEL 0xEF 2287 #define VK_OEM_ATTN 0xF0 2288 #define VK_OEM_FINISH 0xF1 2289 #define VK_OEM_COPY 0xF2 2290 #define VK_OEM_AUTO 0xF3 2291 #define VK_OEM_ENLW 0xF4 2292 #define VK_OEM_BACKTAB 0xF5 2293 #define VK_ATTN 0xF6 2294 #define VK_CRSEL 0xF7 2295 #define VK_EXSEL 0xF8 2296 #define VK_EREOF 0xF9 2297 #define VK_PLAY 0xFA 2298 #define VK_ZOOM 0xFB 2299 #define VK_NONAME 0xFC 2300 #define VK_PA1 0xFD 2301 #define VK_OEM_CLEAR 0xFE 2302 2303 /* MapVirtualKey translation types */ 2304 #define MAPVK_VK_TO_VSC 0 2305 #define MAPVK_VSC_TO_VK 1 2306 #define MAPVK_VK_TO_CHAR 2 2307 #define MAPVK_VSC_TO_VK_EX 3 2308 #define MAPVK_VK_TO_VSC_EX 4 2309 2310 #define TME_HOVER 1 2311 #define TME_LEAVE 2 2312 #define TME_NONCLIENT 0x00000010 2313 #define TME_QUERY 0x40000000 2314 #define TME_CANCEL 0x80000000 2315 #define HOVER_DEFAULT 0xFFFFFFFF 2316 #define MK_LBUTTON 1 2317 #define MK_RBUTTON 2 2318 #define MK_SHIFT 4 2319 #define MK_CONTROL 8 2320 #define MK_MBUTTON 16 2321 #if(_WIN32_WINNT >= 0x0500) 2322 #define MK_XBUTTON1 0x0020 2323 #define MK_XBUTTON2 0x0040 2324 #endif 2325 #define TPM_CENTERALIGN 4 2326 #define TPM_LEFTALIGN 0 2327 #define TPM_RIGHTALIGN 8 2328 #define TPM_LEFTBUTTON 0 2329 #define TPM_RIGHTBUTTON 2 2330 #define TPM_HORIZONTAL 0 2331 #define TPM_VERTICAL 64 2332 #define TPM_TOPALIGN 0 2333 #define TPM_VCENTERALIGN 16 2334 #define TPM_BOTTOMALIGN 32 2335 #define TPM_NONOTIFY 128 2336 #define TPM_RETURNCMD 256 2337 #if (_WIN32_WINNT >= 0x0500 || _WIN32_WINDOWS >= 0x0410) 2338 #define TPM_RECURSE 0x0001 2339 #define TPM_HORPOSANIMATION 0x0400 2340 #define TPM_HORNEGANIMATION 0x0800 2341 #define TPM_VERPOSANIMATION 0x1000 2342 #define TPM_VERNEGANIMATION 0x2000 2343 #endif 2344 #if(_WIN32_WINNT >= 0x0500) 2345 #define TPM_NOANIMATION 16384 2346 #endif 2347 #if (_WIN32_WINNT >= 0x0501) 2348 #define TPM_LAYOUTRTL 32768 2349 #endif 2350 #if (_WIN32_WINNT >= 0x0601) 2351 #define TPM_WORKAREA 65536 2352 #endif 2353 #define HELP_COMMAND 0x102 2354 #define HELP_CONTENTS 3 2355 #define HELP_CONTEXT 1 2356 #define HELP_CONTEXTPOPUP 8 2357 #define HELP_FORCEFILE 9 2358 #define HELP_HELPONHELP 4 2359 #define HELP_INDEX 3 2360 #define HELP_KEY 0x101 2361 #define HELP_MULTIKEY 0x201 2362 #define HELP_PARTIALKEY 0x105 2363 #define HELP_QUIT 2 2364 #define HELP_SETCONTENTS 5 2365 #define HELP_SETINDEX 5 2366 #define HELP_SETWINPOS 0x203 2367 #define HELP_CONTEXTMENU 0xa 2368 #define HELP_FINDER 0xb 2369 #define HELP_WM_HELP 0xc 2370 #define HELP_TCARD 0x8000 2371 #define HELP_TCARD_DATA 16 2372 #define HELP_TCARD_OTHER_CALLER 0x11 2373 #define IDH_NO_HELP 28440 2374 #define IDH_MISSING_CONTEXT 28441 2375 #define IDH_GENERIC_HELP_BUTTON 28442 2376 #define IDH_OK 28443 2377 #define IDH_CANCEL 28444 2378 #define IDH_HELP 28445 2379 #define LB_CTLCODE 0 2380 #define LB_OKAY 0 2381 #define LB_ERR (-1) 2382 #define LB_ERRSPACE (-2) 2383 #define CB_OKAY 0 2384 #define CB_ERR (-1) 2385 #define CB_ERRSPACE (-2) 2386 #define HIDE_WINDOW 0 2387 #define SHOW_OPENWINDOW 1 2388 #define SHOW_ICONWINDOW 2 2389 #define SHOW_FULLSCREEN 3 2390 #define SHOW_OPENNOACTIVATE 4 2391 #define SW_PARENTCLOSING 1 2392 #define SW_OTHERZOOM 2 2393 #define SW_PARENTOPENING 3 2394 #define SW_OTHERUNZOOM 4 2395 #define KF_EXTENDED 256 2396 #define KF_DLGMODE 2048 2397 #define KF_MENUMODE 4096 2398 #define KF_ALTDOWN 8192 2399 #define KF_REPEAT 16384 2400 #define KF_UP 32768 2401 #define WSF_VISIBLE 1 2402 #define PWR_OK 1 2403 #define PWR_FAIL (-1) 2404 #define PWR_SUSPENDREQUEST 1 2405 #define PWR_SUSPENDRESUME 2 2406 #define PWR_CRITICALRESUME 3 2407 #define NFR_ANSI 1 2408 #define NFR_UNICODE 2 2409 #define NF_QUERY 3 2410 #define NF_REQUERY 4 2411 #define MENULOOP_WINDOW 0 2412 #define MENULOOP_POPUP 1 2413 #define WMSZ_LEFT 1 2414 #define WMSZ_RIGHT 2 2415 #define WMSZ_TOP 3 2416 #define WMSZ_TOPLEFT 4 2417 #define WMSZ_TOPRIGHT 5 2418 #define WMSZ_BOTTOM 6 2419 #define WMSZ_BOTTOMLEFT 7 2420 #define WMSZ_BOTTOMRIGHT 8 2421 #define HTERROR (-2) 2422 #define HTTRANSPARENT (-1) 2423 #define HTNOWHERE 0 2424 #define HTCLIENT 1 2425 #define HTCAPTION 2 2426 #define HTSYSMENU 3 2427 #define HTGROWBOX 4 2428 #define HTSIZE 4 2429 #define HTMENU 5 2430 #define HTHSCROLL 6 2431 #define HTVSCROLL 7 2432 #define HTMINBUTTON 8 2433 #define HTMAXBUTTON 9 2434 #define HTREDUCE 8 2435 #define HTZOOM 9 2436 #define HTLEFT 10 2437 #define HTSIZEFIRST 10 2438 #define HTRIGHT 11 2439 #define HTTOP 12 2440 #define HTTOPLEFT 13 2441 #define HTTOPRIGHT 14 2442 #define HTBOTTOM 15 2443 #define HTBOTTOMLEFT 16 2444 #define HTBOTTOMRIGHT 17 2445 #define HTSIZELAST 17 2446 #define HTBORDER 18 2447 #define HTOBJECT 19 2448 #define HTCLOSE 20 2449 #define HTHELP 21 2450 #define MA_ACTIVATE 1 2451 #define MA_ACTIVATEANDEAT 2 2452 #define MA_NOACTIVATE 3 2453 #define MA_NOACTIVATEANDEAT 4 2454 #define SIZE_RESTORED 0 2455 #define SIZE_MINIMIZED 1 2456 #define SIZE_MAXIMIZED 2 2457 #define SIZE_MAXSHOW 3 2458 #define SIZE_MAXHIDE 4 2459 #define SIZENORMAL 0 2460 #define SIZEICONIC 1 2461 #define SIZEFULLSCREEN 2 2462 #define SIZEZOOMSHOW 3 2463 #define SIZEZOOMHIDE 4 2464 #define WVR_ALIGNTOP 16 2465 #define WVR_ALIGNLEFT 32 2466 #define WVR_ALIGNBOTTOM 64 2467 #define WVR_ALIGNRIGHT 128 2468 #define WVR_HREDRAW 256 2469 #define WVR_VREDRAW 512 2470 #define WVR_REDRAW (WVR_HREDRAW|WVR_VREDRAW) 2471 #define WVR_VALIDRECTS 1024 2472 #define PRF_CHECKVISIBLE 1 2473 #define PRF_NONCLIENT 2 2474 #define PRF_CLIENT 4 2475 #define PRF_ERASEBKGND 8 2476 #define PRF_CHILDREN 16 2477 #define PRF_OWNED 32 2478 #define IDANI_OPEN 1 2479 #define IDANI_CLOSE 2 2480 #define IDANI_CAPTION 3 2481 #define WPF_RESTORETOMAXIMIZED 2 2482 #define WPF_SETMINPOSITION 1 2483 #if(_WIN32_WINNT >= 0x0500) 2484 #define WPF_ASYNCWINDOWPLACEMENT 4 2485 #endif 2486 #define ODT_MENU 1 2487 #define ODT_LISTBOX 2 2488 #define ODT_COMBOBOX 3 2489 #define ODT_BUTTON 4 2490 #define ODT_STATIC 5 2491 #define ODA_DRAWENTIRE 1 2492 #define ODA_SELECT 2 2493 #define ODA_FOCUS 4 2494 #define ODS_SELECTED 1 2495 #define ODS_GRAYED 2 2496 #define ODS_DISABLED 4 2497 #define ODS_CHECKED 8 2498 #define ODS_FOCUS 16 2499 #if(WINVER >= 0x0400) 2500 #define ODS_DEFAULT 32 2501 #define ODS_COMBOBOXEDIT 4096 2502 #endif 2503 #if(WINVER >= 0x0500) 2504 #define ODS_HOTLIGHT 0x0040 2505 #define ODS_INACTIVE 0x0080 2506 #if(_WIN32_WINNT >= 0x0500) 2507 #define ODS_NOACCEL 0x0100 2508 #define ODS_NOFOCUSRECT 0x0200 2509 #endif 2510 #endif 2511 #define IDHOT_SNAPWINDOW (-1) 2512 #define IDHOT_SNAPDESKTOP (-2) 2513 #define DBWF_LPARAMPOINTER 0x8000 2514 #define DLGWINDOWEXTRA 30 2515 #define MNC_IGNORE 0 2516 #define MNC_CLOSE 1 2517 #define MNC_EXECUTE 2 2518 #define MNC_SELECT 3 2519 #define DOF_EXECUTABLE 0x8001 2520 #define DOF_DOCUMENT 0x8002 2521 #define DOF_DIRECTORY 0x8003 2522 #define DOF_MULTIPLE 0x8004 2523 #define DOF_PROGMAN 1 2524 #define DOF_SHELLDATA 2 2525 #define DO_DROPFILE 0x454C4946 2526 #define DO_PRINTFILE 0x544E5250 2527 #define SW_SCROLLCHILDREN 1 2528 #define SW_INVALIDATE 2 2529 #define SW_ERASE 4 2530 #if(WINVER >= 0x0500) 2531 #define SW_SMOOTHSCROLL 16 2532 #endif 2533 #define SC_SIZE 0xF000 2534 #define SC_MOVE 0xF010 2535 #define SC_MINIMIZE 0xF020 2536 #define SC_ICON 0xf020 2537 #define SC_MAXIMIZE 0xF030 2538 #define SC_ZOOM 0xF030 2539 #define SC_NEXTWINDOW 0xF040 2540 #define SC_PREVWINDOW 0xF050 2541 #define SC_CLOSE 0xF060 2542 #define SC_VSCROLL 0xF070 2543 #define SC_HSCROLL 0xF080 2544 #define SC_MOUSEMENU 0xF090 2545 #define SC_KEYMENU 0xF100 2546 #define SC_ARRANGE 0xF110 2547 #define SC_RESTORE 0xF120 2548 #define SC_TASKLIST 0xF130 2549 #define SC_SCREENSAVE 0xF140 2550 #define SC_HOTKEY 0xF150 2551 #define SC_DEFAULT 0xF160 2552 #define SC_MONITORPOWER 0xF170 2553 #define SC_CONTEXTHELP 0xF180 2554 #define SC_SEPARATOR 0xF00F 2555 #define EC_LEFTMARGIN 1 2556 #define EC_RIGHTMARGIN 2 2557 #define EC_USEFONTINFO 0xffff 2558 #define DC_HASDEFID 0x534B 2559 #define DLGC_WANTARROWS 1 2560 #define DLGC_WANTTAB 2 2561 #define DLGC_WANTALLKEYS 4 2562 #define DLGC_WANTMESSAGE 4 2563 #define DLGC_HASSETSEL 8 2564 #define DLGC_DEFPUSHBUTTON 16 2565 #define DLGC_UNDEFPUSHBUTTON 32 2566 #define DLGC_RADIOBUTTON 64 2567 #define DLGC_WANTCHARS 128 2568 #define DLGC_STATIC 256 2569 #define DLGC_BUTTON 0x2000 2570 #define LB_CTLCODE 0 2571 #define WA_INACTIVE 0 2572 #define WA_ACTIVE 1 2573 #define WA_CLICKACTIVE 2 2574 #define ICON_SMALL 0 2575 #define ICON_BIG 1 2576 #if (_WIN32_WINNT >= 0x0501) 2577 #define ICON_SMALL2 2 2578 #endif 2579 #define HBMMENU_CALLBACK ((HBITMAP) -1) 2580 #define HBMMENU_SYSTEM ((HBITMAP)1) 2581 #define HBMMENU_MBAR_RESTORE ((HBITMAP)2) 2582 #define HBMMENU_MBAR_MINIMIZE ((HBITMAP)3) 2583 #define HBMMENU_MBAR_CLOSE ((HBITMAP)5) 2584 #define HBMMENU_MBAR_CLOSE_D ((HBITMAP)6) 2585 #define HBMMENU_MBAR_MINIMIZE_D ((HBITMAP)7) 2586 #define HBMMENU_POPUP_CLOSE ((HBITMAP)8) 2587 #define HBMMENU_POPUP_RESTORE ((HBITMAP)9) 2588 #define HBMMENU_POPUP_MAXIMIZE ((HBITMAP)10) 2589 #define HBMMENU_POPUP_MINIMIZE ((HBITMAP)11) 2590 #define MOD_ALT 0x0001 2591 #define MOD_CONTROL 0x0002 2592 #define MOD_SHIFT 0x0004 2593 #define MOD_WIN 0x0008 2594 #define LLKHF_EXTENDED 0x00000001 2595 #define LLKHF_INJECTED 0x00000010 2596 #define LLKHF_ALTDOWN 0x00000020 2597 #define LLKHF_UP 0x00000080 2598 #define LLMHF_INJECTED 0x00000001 2599 #if (WINVER >= 0x0500) 2600 #define FLASHW_STOP 0 2601 #define FLASHW_CAPTION 1 2602 #define FLASHW_TRAY 2 2603 #define FLASHW_ALL (FLASHW_CAPTION|FLASHW_TRAY) 2604 #define FLASHW_TIMER 4 2605 #define FLASHW_TIMERNOFG 12 2606 #endif /* (WINVER >= 0x0500) */ 2607 #define CURSOR_SHOWING 0x00000001 2608 #define WS_ACTIVECAPTION 0x00000001 2609 #if (_WIN32_WINNT >= 0x0400) 2610 #define INPUT_MOUSE 0 2611 #define INPUT_KEYBOARD 1 2612 #define INPUT_HARDWARE 2 2613 #endif /* (_WIN32_WINNT >= 0x0400) */ 2614 #if (WINVER >= 0x0400) 2615 #define ENDSESSION_LOGOFF 0x80000000 2616 #define ENDSESSION_CRITICAL 0x40000000 2617 #define ENDSESSION_CLOSEAPP 0x00000001 2618 #endif 2619 #if (WINVER >= 0x0500) 2620 #define CHILDID_SELF 0 2621 #define OBJID_WINDOW 0x00000000 2622 #define OBJID_SYSMENU 0xFFFFFFFF 2623 #define OBJID_TITLEBAR 0xFFFFFFFE 2624 #define OBJID_MENU 0xFFFFFFFD 2625 #define OBJID_CLIENT 0xFFFFFFFC 2626 #define OBJID_VSCROLL 0xFFFFFFFB 2627 #define OBJID_HSCROLL 0xFFFFFFFA 2628 #define OBJID_SIZEGRIP 0xFFFFFFF9 2629 #define OBJID_CARET 0xFFFFFFF8 2630 #define OBJID_CURSOR 0xFFFFFFF7 2631 #define OBJID_ALERT 0xFFFFFFF6 2632 #define OBJID_SOUND 0xFFFFFFF5 2633 #define OBJID_QUERYCLASSNAMEIDX 0xFFFFFFF4 2634 #define OBJID_NATIVEOM 0xFFFFFF0 2635 #define GUI_CARETBLINKING 0x00000001 2636 #define GUI_INMOVESIZE 0x00000002 2637 #define GUI_INMENUMODE 0x00000004 2638 #define GUI_SYSTEMMENUMODE 0x00000008 2639 #define GUI_POPUPMENUMODE 0x00000010 2640 #if (_WIN32_WINNT >= 0x0501) 2641 #define GUI_16BITTASK 0x00000020 2642 #endif 2643 #define WINEVENT_OUTOFCONTEXT 0x0000 2644 #define WINEVENT_SKIPOWNTHREAD 0x0001 2645 #define WINEVENT_SKIPOWNPROCESS 0x0002 2646 #define WINEVENT_INCONTEXT 0x0004 2647 #define AW_HOR_POSITIVE 0x00000001 2648 #define AW_HOR_NEGATIVE 0x00000002 2649 #define AW_VER_POSITIVE 0x00000004 2650 #define AW_VER_NEGATIVE 0x00000008 2651 #define AW_CENTER 0x00000010 2652 #define AW_HIDE 0x00010000 2653 #define AW_ACTIVATE 0x00020000 2654 #define AW_SLIDE 0x00040000 2655 #define AW_BLEND 0x00080000 2656 #define DEVICE_NOTIFY_WINDOW_HANDLE 0x00000000 2657 #define DEVICE_NOTIFY_SERVICE_HANDLE 0x00000001 2658 #if (_WIN32_WINNT >= 0x0501) 2659 #define DEVICE_NOTIFY_ALL_INTERFACE_CLASSES 0x00000004 2660 #endif 2661 #define EVENT_MIN 0x00000001 2662 #define EVENT_SYSTEM_SOUND 0x00000001 2663 #define EVENT_SYSTEM_ALERT 0x00000002 2664 #define EVENT_SYSTEM_FOREGROUND 0x00000003 2665 #define EVENT_SYSTEM_MENUSTART 0x00000004 2666 #define EVENT_SYSTEM_MENUEND 0x00000005 2667 #define EVENT_SYSTEM_MENUPOPUPSTART 0x00000006 2668 #define EVENT_SYSTEM_MENUPOPUPEND 0x00000007 2669 #define EVENT_SYSTEM_CAPTURESTART 0x00000008 2670 #define EVENT_SYSTEM_CAPTUREEND 0x00000009 2671 #define EVENT_SYSTEM_MOVESIZESTART 0x0000000a 2672 #define EVENT_SYSTEM_MOVESIZEEND 0x0000000b 2673 #define EVENT_SYSTEM_CONTEXTHELPSTART 0x0000000c 2674 #define EVENT_SYSTEM_CONTEXTHELPEND 0x0000000d 2675 #define EVENT_SYSTEM_DRAGDROPSTART 0x0000000e 2676 #define EVENT_SYSTEM_DRAGDROPEND 0x0000000f 2677 #define EVENT_SYSTEM_DIALOGSTART 0x00000010 2678 #define EVENT_SYSTEM_DIALOGEND 0x00000011 2679 #define EVENT_SYSTEM_SCROLLINGSTART 0x00000012 2680 #define EVENT_SYSTEM_SCROLLINGEND 0x00000013 2681 #define EVENT_SYSTEM_SWITCHSTART 0x00000014 2682 #define EVENT_SYSTEM_SWITCHEND 0x00000015 2683 #define EVENT_SYSTEM_MINIMIZESTART 0x00000016 2684 #define EVENT_SYSTEM_MINIMIZEEND 0x00000017 2685 #define EVENT_OBJECT_CREATE 0x00008000 2686 #define EVENT_OBJECT_DESTROY 0x00008001 2687 #define EVENT_OBJECT_SHOW 0x00008002 2688 #define EVENT_OBJECT_HIDE 0x00008003 2689 #define EVENT_OBJECT_REORDER 0x00008004 2690 #define EVENT_OBJECT_FOCUS 0x00008005 2691 #define EVENT_OBJECT_SELECTION 0x00008006 2692 #define EVENT_OBJECT_SELECTIONADD 0x00008007 2693 #define EVENT_OBJECT_SELECTIONREMOVE 0x00008008 2694 #define EVENT_OBJECT_SELECTIONWITHIN 0x00008009 2695 #define EVENT_OBJECT_STATECHANGE 0x0000800a 2696 #define EVENT_OBJECT_LOCATIONCHANGE 0x0000800b 2697 #define EVENT_OBJECT_NAMECHANGE 0x0000800c 2698 #define EVENT_OBJECT_DESCRIPTIONCHANGE 0x0000800d 2699 #define EVENT_OBJECT_VALUECHANGE 0x0000800e 2700 #define EVENT_OBJECT_PARENTCHANGE 0x0000800f 2701 #define EVENT_OBJECT_HELPCHANGE 0x00008010 2702 #define EVENT_OBJECT_DEFACTIONCHANGE 0x00008011 2703 #define EVENT_OBJECT_ACCELERATORCHANGE 0x00008012 2704 #define ALERT_SYSTEM_INFORMATIONAL 1 /* MB_INFORMATION */ 2705 #define ALERT_SYSTEM_WARNING 2 /* MB_WARNING */ 2706 #define ALERT_SYSTEM_ERROR 3 /* MB_ERROR */ 2707 #define ALERT_SYSTEM_QUERY 4 /* MB_QUESTION */ 2708 #define ALERT_SYSTEM_CRITICAL 5 /* HardSysErrBox */ 2709 #define CALERT_SYSTEM 6 2710 #if (_WIN32_WINNT >= 0x0501) 2711 #define EVENT_CONSOLE_CARET 0x00004001 2712 #define CONSOLE_CARET_SELECTION 0x00000001 2713 #define CONSOLE_CARET_VISIBLE 0x00000002 2714 #define EVENT_CONSOLE_UPDATE_REGION 0x00004002 2715 #define EVENT_CONSOLE_UPDATE_SIMPLE 0x00004003 2716 #define EVENT_CONSOLE_UPDATE_SCROLL 0x00004004 2717 #define EVENT_CONSOLE_LAYOUT 0x00004005 2718 #define EVENT_CONSOLE_START_APPLICATION 0x00004006 2719 #define CONSOLE_APPLICATION_16BIT 0x00000001 2720 #define EVENT_CONSOLE_END_APPLICATION 0x00004007 2721 #endif /* (_WIN32_WINNT >= 0x0501) */ 2722 #define EVENT_MAX 0x7fffffff 2723 #endif /* (WINVER >= 0x0500) */ 2724 #if (_WIN32_WINNT >= 0x0500 || _WIN32_WINDOWS >= 0x0490) 2725 #define ASFW_ANY ((DWORD)-1) 2726 #define LSFW_LOCK 1 2727 #define LSFW_UNLOCK 2 2728 #endif 2729 #if (_WIN32_WINNT >= 0x0500) 2730 #define LWA_COLORKEY 1 2731 #define LWA_ALPHA 2 2732 #endif 2733 #define ULW_COLORKEY 0x00000001 2734 #define ULW_ALPHA 0x00000002 2735 #define ULW_OPAQUE 0x00000004 2736 #define ULW_EX_NORESIZE 0x00000008 2737 #define GA_PARENT 1 2738 #define GA_ROOT 2 2739 #define GA_ROOTOWNER 3 2740 #if (_WIN32_WINNT >= 0x0500 || _WIN32_WINDOWS >= 0x0410) 2741 #define MONITOR_DEFAULTTONULL 0 2742 #define MONITOR_DEFAULTTOPRIMARY 1 2743 #define MONITOR_DEFAULTTONEAREST 2 2744 #define MONITORINFOF_PRIMARY 1 2745 #define EDS_RAWMODE 0x00000002 2746 #define EDS_ROTATEDMODE 0x00000004 2747 #define ISMEX_NOSEND 0x00000000 2748 #define ISMEX_CALLBACK 0x00000004 2749 #define ISMEX_NOTIFY 0x00000002 2750 #define ISMEX_REPLIED 0x00000008 2751 #define ISMEX_SEND 0x00000001 2752 #endif 2753 #if (_WIN32_WINNT >= 0x0500) 2754 #define GR_GDIOBJECTS 0 2755 #define GR_USEROBJECTS 1 2756 #endif 2757 #if (_WIN32_WINNT >= 0x0500 || _WIN32_WINDOWS >= 0x0490) 2758 #define GMMP_USE_DISPLAY_POINTS 1 2759 #define GMMP_USE_HIGH_RESOLUTION_POINTS 2 2760 #endif 2761 #if (_WIN32_WINNT >= 0x0501) 2762 #define PW_CLIENTONLY 0x00000001 2763 #define RIM_INPUT 0x00000000 2764 #define RIM_INPUTSINK 0x00000001 2765 #define RIM_TYPEMOUSE 0x00000000 2766 #define RIM_TYPEKEYBOARD 0x00000001 2767 #define RIM_TYPEHID 0x00000002 2768 #define MOUSE_MOVE_RELATIVE 0 2769 #define MOUSE_MOVE_ABSOLUTE 1 2770 #define MOUSE_VIRTUAL_DESKTOP 0x02 2771 #define MOUSE_ATTRIBUTES_CHANGED 0x04 2772 #define RI_MOUSE_LEFT_BUTTON_DOWN 0x0001 2773 #define RI_MOUSE_LEFT_BUTTON_UP 0x0002 2774 #define RI_MOUSE_RIGHT_BUTTON_DOWN 0x0004 2775 #define RI_MOUSE_RIGHT_BUTTON_UP 0x0008 2776 #define RI_MOUSE_MIDDLE_BUTTON_DOWN 0x0010 2777 #define RI_MOUSE_MIDDLE_BUTTON_UP 0x0020 2778 #define RI_MOUSE_BUTTON_1_DOWN RI_MOUSE_LEFT_BUTTON_DOWN 2779 #define RI_MOUSE_BUTTON_1_UP RI_MOUSE_LEFT_BUTTON_UP 2780 #define RI_MOUSE_BUTTON_2_DOWN RI_MOUSE_RIGHT_BUTTON_DOWN 2781 #define RI_MOUSE_BUTTON_2_UP RI_MOUSE_RIGHT_BUTTON_UP 2782 #define RI_MOUSE_BUTTON_3_DOWN RI_MOUSE_MIDDLE_BUTTON_DOWN 2783 #define RI_MOUSE_BUTTON_3_UP RI_MOUSE_MIDDLE_BUTTON_UP 2784 #define RI_MOUSE_BUTTON_4_DOWN 0x0040 2785 #define RI_MOUSE_BUTTON_4_UP 0x0080 2786 #define RI_MOUSE_BUTTON_5_DOWN 0x0100 2787 #define RI_MOUSE_BUTTON_5_UP 0x0200 2788 #define RI_MOUSE_WHEEL 0x0400 2789 #define KEYBOARD_OVERRUN_MAKE_CODE 0xFF 2790 #define RI_KEY_MAKE 0x0000 2791 #define RI_KEY_BREAK 0x0001 2792 #define RI_KEY_E0 0x0002 2793 #define RI_KEY_E1 0x0004 2794 #define RI_KEY_TERMSRV_SET_LED 0x0008 2795 #define RI_KEY_TERMSRV_SHADOW 0x0010 2796 #define RID_INPUT 0x10000003 2797 #define RID_HEADER 0x10000005 2798 #define RIDI_PREPARSEDDATA 0x20000005 2799 #define RIDI_DEVICENAME 0x20000007 2800 #define RIDI_DEVICEINFO 0x2000000b 2801 #define RIDEV_REMOVE 0x00000001 2802 #define RIDEV_EXCLUDE 0x00000010 2803 #define RIDEV_PAGEONLY 0x00000020 2804 #define RIDEV_NOLEGACY 0x00000030 2805 #define RIDEV_INPUTSINK 0x00000100 2806 #define RIDEV_CAPTUREMOUSE 0x00000200 2807 #define RIDEV_NOHOTKEYS 0x00000200 2808 #define RIDEV_APPKEYS 0x00000400 2809 #endif 2810 #define STATE_SYSTEM_UNAVAILABLE 0x00000001 2811 #define STATE_SYSTEM_SELECTED 0x00000002 2812 #define STATE_SYSTEM_FOCUSED 0x00000004 2813 #define STATE_SYSTEM_PRESSED 0x00000008 2814 #define STATE_SYSTEM_CHECKED 0x00000010 2815 #define STATE_SYSTEM_MIXED 0x00000020 2816 #define STATE_SYSTEM_READONLY 0x00000040 2817 #define STATE_SYSTEM_HOTTRACKED 0x00000080 2818 #define STATE_SYSTEM_DEFAULT 0x00000100 2819 #define STATE_SYSTEM_EXPANDED 0x00000200 2820 #define STATE_SYSTEM_COLLAPSED 0x00000400 2821 #define STATE_SYSTEM_BUSY 0x00000800 2822 #define STATE_SYSTEM_FLOATING 0x00001000 2823 #define STATE_SYSTEM_MARQUEED 0x00002000 2824 #define STATE_SYSTEM_ANIMATED 0x00004000 2825 #define STATE_SYSTEM_INVISIBLE 0x00008000 2826 #define STATE_SYSTEM_OFFSCREEN 0x00010000 2827 #define STATE_SYSTEM_SIZEABLE 0x00020000 2828 #define STATE_SYSTEM_MOVEABLE 0x00040000 2829 #define STATE_SYSTEM_SELFVOICING 0x00080000 2830 #define STATE_SYSTEM_FOCUSABLE 0x00100000 2831 #define STATE_SYSTEM_SELECTABLE 0x00200000 2832 #define STATE_SYSTEM_LINKED 0x00400000 2833 #define STATE_SYSTEM_TRAVERSED 0x00800000 2834 #define STATE_SYSTEM_MULTISELECTABLE 0x01000000 2835 #define STATE_SYSTEM_EXTSELECTABLE 0x02000000 2836 #define STATE_SYSTEM_ALERT_LOW 0x04000000 2837 #define STATE_SYSTEM_ALERT_MEDIUM 0x08000000 2838 #define STATE_SYSTEM_ALERT_HIGH 0x10000000 2839 #define STATE_SYSTEM_VALID 0x1fffffff 2840 2841 #define USER_DEFAULT_SCREEN_DPI 96 2842 2843 #ifndef RC_INVOKED 2844 typedef INT_PTR(CALLBACK *DLGPROC)(HWND,UINT,WPARAM,LPARAM); 2845 typedef VOID(CALLBACK *TIMERPROC)(HWND,UINT,UINT_PTR,DWORD); 2846 typedef BOOL(CALLBACK *GRAYSTRINGPROC)(HDC,LPARAM,int); 2847 typedef LRESULT(CALLBACK *HOOKPROC)(int,WPARAM,LPARAM); 2848 typedef BOOL(CALLBACK *PROPENUMPROCA)(HWND,LPCSTR,HANDLE); 2849 typedef BOOL(CALLBACK *PROPENUMPROCW)(HWND,LPCWSTR,HANDLE); 2850 typedef BOOL(CALLBACK *PROPENUMPROCEXA)(HWND,LPSTR,HANDLE,ULONG_PTR); 2851 typedef BOOL(CALLBACK *PROPENUMPROCEXW)(HWND,LPWSTR,HANDLE,ULONG_PTR); 2852 typedef int(CALLBACK *EDITWORDBREAKPROCA)(LPSTR,int,int,int); 2853 typedef int(CALLBACK *EDITWORDBREAKPROCW)(LPWSTR,int,int,int); 2854 typedef LRESULT(CALLBACK *WNDPROC)(HWND,UINT,WPARAM,LPARAM); 2855 typedef BOOL(CALLBACK *DRAWSTATEPROC)(HDC,LPARAM,WPARAM,int,int); 2856 typedef BOOL(CALLBACK *WNDENUMPROC)(HWND,LPARAM); 2857 typedef BOOL(CALLBACK* MONITORENUMPROC)(HMONITOR,HDC,LPRECT,LPARAM); 2858 typedef BOOL(CALLBACK *NAMEENUMPROCA)(LPSTR,LPARAM); 2859 typedef BOOL(CALLBACK *NAMEENUMPROCW)(LPWSTR,LPARAM); 2860 typedef NAMEENUMPROCA DESKTOPENUMPROCA; 2861 typedef NAMEENUMPROCW DESKTOPENUMPROCW; 2862 typedef NAMEENUMPROCA WINSTAENUMPROCA; 2863 typedef NAMEENUMPROCW WINSTAENUMPROCW; 2864 typedef void(CALLBACK *SENDASYNCPROC)(HWND,UINT,ULONG_PTR,LRESULT); 2865 DECLARE_HANDLE(HHOOK); 2866 DECLARE_HANDLE(HDWP); 2867 DECLARE_HANDLE(HDEVNOTIFY); 2868 typedef HDEVNOTIFY *PHDEVNOTIFY; 2869 2870 typedef struct tagACCEL { 2871 BYTE fVirt; 2872 WORD key; 2873 WORD cmd; 2874 } ACCEL,*LPACCEL; 2875 2876 typedef struct tagACCESSTIMEOUT { 2877 UINT cbSize; 2878 DWORD dwFlags; 2879 DWORD iTimeOutMSec; 2880 } ACCESSTIMEOUT, *LPACCESSTIMEOUT; 2881 2882 typedef struct tagANIMATIONINFO { 2883 UINT cbSize; 2884 int iMinAnimate; 2885 } ANIMATIONINFO,*LPANIMATIONINFO; 2886 2887 typedef struct tagCREATESTRUCTA { 2888 LPVOID lpCreateParams; 2889 HINSTANCE hInstance; 2890 HMENU hMenu; 2891 HWND hwndParent; 2892 int cy; 2893 int cx; 2894 int y; 2895 int x; 2896 LONG style; 2897 LPCSTR lpszName; 2898 LPCSTR lpszClass; 2899 DWORD dwExStyle; 2900 } CREATESTRUCTA,*LPCREATESTRUCTA; 2901 2902 typedef struct tagCREATESTRUCTW { 2903 LPVOID lpCreateParams; 2904 HINSTANCE hInstance; 2905 HMENU hMenu; 2906 HWND hwndParent; 2907 int cy; 2908 int cx; 2909 int y; 2910 int x; 2911 LONG style; 2912 LPCWSTR lpszName; 2913 LPCWSTR lpszClass; 2914 DWORD dwExStyle; 2915 } CREATESTRUCTW,*LPCREATESTRUCTW; 2916 2917 typedef struct tagCBT_CREATEWNDA { 2918 LPCREATESTRUCTA lpcs; 2919 HWND hwndInsertAfter; 2920 } CBT_CREATEWNDA, *LPCBT_CREATEWNDA; 2921 2922 typedef struct tagCBT_CREATEWNDW { 2923 LPCREATESTRUCTW lpcs; 2924 HWND hwndInsertAfter; 2925 } CBT_CREATEWNDW, *LPCBT_CREATEWNDW; 2926 2927 typedef struct tagCBTACTIVATESTRUCT { 2928 BOOL fMouse; 2929 HWND hWndActive; 2930 } CBTACTIVATESTRUCT,*LPCBTACTIVATESTRUCT; 2931 2932 typedef struct tagCLIENTCREATESTRUCT { 2933 HANDLE hWindowMenu; 2934 UINT idFirstChild; 2935 } CLIENTCREATESTRUCT,*LPCLIENTCREATESTRUCT; 2936 2937 typedef struct tagCOMPAREITEMSTRUCT { 2938 UINT CtlType; 2939 UINT CtlID; 2940 HWND hwndItem; 2941 UINT itemID1; 2942 ULONG_PTR itemData1; 2943 UINT itemID2; 2944 ULONG_PTR itemData2; 2945 DWORD dwLocaleId; 2946 } COMPAREITEMSTRUCT, *PCOMPAREITEMSTRUCT,*LPCOMPAREITEMSTRUCT; 2947 2948 typedef struct tagCOPYDATASTRUCT { 2949 ULONG_PTR dwData; 2950 DWORD cbData; 2951 _Field_size_bytes_(cbData) PVOID lpData; 2952 } COPYDATASTRUCT,*PCOPYDATASTRUCT; 2953 2954 typedef struct tagCURSORSHAPE { 2955 int xHotSpot; 2956 int yHotSpot; 2957 int cx; 2958 int cy; 2959 int cbWidth; 2960 BYTE Planes; 2961 BYTE BitsPixel; 2962 } CURSORSHAPE,*LPCURSORSHAPE; 2963 2964 typedef struct tagCWPRETSTRUCT { 2965 LRESULT lResult; 2966 LPARAM lParam; 2967 WPARAM wParam; 2968 DWORD message; 2969 HWND hwnd; 2970 } CWPRETSTRUCT,*PCWPRETSTRUCT, *LPCWPRETSTRUCT; 2971 2972 typedef struct tagCWPSTRUCT { 2973 LPARAM lParam; 2974 WPARAM wParam; 2975 UINT message; 2976 HWND hwnd; 2977 } CWPSTRUCT,*PCWPSTRUCT, *LPCWPSTRUCT; 2978 2979 typedef struct tagDEBUGHOOKINFO { 2980 DWORD idThread; 2981 DWORD idThreadInstaller; 2982 LPARAM lParam; 2983 WPARAM wParam; 2984 int code; 2985 } DEBUGHOOKINFO,*PDEBUGHOOKINFO,*LPDEBUGHOOKINFO; 2986 2987 typedef struct tagDELETEITEMSTRUCT { 2988 UINT CtlType; 2989 UINT CtlID; 2990 UINT itemID; 2991 HWND hwndItem; 2992 ULONG_PTR itemData; 2993 } DELETEITEMSTRUCT,*PDELETEITEMSTRUCT,*LPDELETEITEMSTRUCT; 2994 2995 #include <pshpack2.h> 2996 typedef struct { 2997 DWORD style; 2998 DWORD dwExtendedStyle; 2999 short x; 3000 short y; 3001 short cx; 3002 short cy; 3003 WORD id; 3004 } DLGITEMTEMPLATE,*LPDLGITEMTEMPLATE; 3005 3006 typedef struct { 3007 DWORD style; 3008 DWORD dwExtendedStyle; 3009 WORD cdit; 3010 short x; 3011 short y; 3012 short cx; 3013 short cy; 3014 } DLGTEMPLATE,*LPDLGTEMPLATE,*LPDLGTEMPLATEA,*LPDLGTEMPLATEW; 3015 3016 typedef const DLGTEMPLATE *LPCDLGTEMPLATEA; 3017 typedef const DLGTEMPLATE *LPCDLGTEMPLATEW; 3018 typedef DLGITEMTEMPLATE *PDLGITEMTEMPLATEA; 3019 typedef DLGITEMTEMPLATE *PDLGITEMTEMPLATEW; 3020 DECL_WINELIB_TYPE_AW(PDLGITEMTEMPLATE) 3021 typedef DLGITEMTEMPLATE *LPDLGITEMTEMPLATEA; 3022 typedef DLGITEMTEMPLATE *LPDLGITEMTEMPLATEW; 3023 3024 3025 #ifdef UNICODE 3026 typedef LPCDLGTEMPLATEW LPCDLGTEMPLATE; 3027 #else 3028 typedef LPCDLGTEMPLATEA LPCDLGTEMPLATE; 3029 #endif // UNICODE 3030 #include <poppack.h> 3031 3032 typedef struct tagDRAWITEMSTRUCT { 3033 UINT CtlType; 3034 UINT CtlID; 3035 UINT itemID; 3036 UINT itemAction; 3037 UINT itemState; 3038 HWND hwndItem; 3039 HDC hDC; 3040 RECT rcItem; 3041 ULONG_PTR itemData; 3042 } DRAWITEMSTRUCT,*LPDRAWITEMSTRUCT,*PDRAWITEMSTRUCT; 3043 3044 typedef struct { 3045 UINT cbSize; 3046 int iTabLength; 3047 int iLeftMargin; 3048 int iRightMargin; 3049 UINT uiLengthDrawn; 3050 } DRAWTEXTPARAMS,*LPDRAWTEXTPARAMS; 3051 3052 typedef struct tagPAINTSTRUCT { 3053 HDC hdc; 3054 BOOL fErase; 3055 RECT rcPaint; 3056 BOOL fRestore; 3057 BOOL fIncUpdate; 3058 BYTE rgbReserved[32]; 3059 } PAINTSTRUCT, *PPAINTSTRUCT,*LPPAINTSTRUCT; 3060 3061 typedef struct tagMSG { 3062 HWND hwnd; 3063 UINT message; 3064 WPARAM wParam; 3065 LPARAM lParam; 3066 DWORD time; 3067 POINT pt; 3068 } MSG,*LPMSG,*PMSG; 3069 3070 typedef struct _ICONINFO { 3071 BOOL fIcon; 3072 DWORD xHotspot; 3073 DWORD yHotspot; 3074 HBITMAP hbmMask; 3075 HBITMAP hbmColor; 3076 } ICONINFO,*PICONINFO; 3077 3078 typedef struct _ICONINFOEXA 3079 { 3080 DWORD cbSize; 3081 BOOL fIcon; 3082 DWORD xHotspot; 3083 DWORD yHotspot; 3084 HBITMAP hbmMask; 3085 HBITMAP hbmColor; 3086 WORD wResID; 3087 CHAR szModName[MAX_PATH]; 3088 CHAR szResName[MAX_PATH]; 3089 } ICONINFOEXA, *PICONINFOEXA; 3090 3091 typedef struct _ICONINFOEXW 3092 { 3093 DWORD cbSize; 3094 BOOL fIcon; 3095 DWORD xHotspot; 3096 DWORD yHotspot; 3097 HBITMAP hbmMask; 3098 HBITMAP hbmColor; 3099 WORD wResID; 3100 WCHAR szModName[MAX_PATH]; 3101 WCHAR szResName[MAX_PATH]; 3102 } ICONINFOEXW, *PICONINFOEXW; 3103 3104 typedef struct tagNMHDR { 3105 HWND hwndFrom; 3106 UINT_PTR idFrom; 3107 UINT code; 3108 } NMHDR,*LPNMHDR; 3109 3110 typedef struct _WNDCLASSA { 3111 UINT style; 3112 WNDPROC lpfnWndProc; 3113 int cbClsExtra; 3114 int cbWndExtra; 3115 HINSTANCE hInstance; 3116 HICON hIcon; 3117 HCURSOR hCursor; 3118 HBRUSH hbrBackground; 3119 LPCSTR lpszMenuName; 3120 LPCSTR lpszClassName; 3121 } WNDCLASSA,*LPWNDCLASSA,*PWNDCLASSA; 3122 3123 typedef struct _WNDCLASSW { 3124 UINT style; 3125 WNDPROC lpfnWndProc; 3126 int cbClsExtra; 3127 int cbWndExtra; 3128 HINSTANCE hInstance; 3129 HICON hIcon; 3130 HCURSOR hCursor; 3131 HBRUSH hbrBackground; 3132 LPCWSTR lpszMenuName; 3133 LPCWSTR lpszClassName; 3134 } WNDCLASSW,*LPWNDCLASSW,*PWNDCLASSW; 3135 3136 typedef enum tagAR_STATE { 3137 AR_ENABLED = 0x0, 3138 AR_DISABLED = 0x1, 3139 AR_SUPPRESSED = 0x2, 3140 AR_REMOTESESSION = 0x4, 3141 AR_MULTIMON = 0x8, 3142 AR_NOSENSOR = 0x10, 3143 AR_NOT_SUPPORTED = 0x20, 3144 AR_DOCKED = 0x40, 3145 AR_LAPTOP = 0x80 3146 } AR_STATE, *PAR_STATE; 3147 3148 typedef struct _WNDCLASSEXA { 3149 UINT cbSize; 3150 UINT style; 3151 WNDPROC lpfnWndProc; 3152 int cbClsExtra; 3153 int cbWndExtra; 3154 HINSTANCE hInstance; 3155 HICON hIcon; 3156 HCURSOR hCursor; 3157 HBRUSH hbrBackground; 3158 LPCSTR lpszMenuName; 3159 LPCSTR lpszClassName; 3160 HICON hIconSm; 3161 } WNDCLASSEXA,*LPWNDCLASSEXA,*PWNDCLASSEXA; 3162 3163 typedef struct _WNDCLASSEXW { 3164 UINT cbSize; 3165 UINT style; 3166 WNDPROC lpfnWndProc; 3167 int cbClsExtra; 3168 int cbWndExtra; 3169 HINSTANCE hInstance; 3170 HICON hIcon; 3171 HCURSOR hCursor; 3172 HBRUSH hbrBackground; 3173 LPCWSTR lpszMenuName; 3174 LPCWSTR lpszClassName; 3175 HICON hIconSm; 3176 } WNDCLASSEXW,*LPWNDCLASSEXW,*PWNDCLASSEXW; 3177 3178 typedef struct tagMENUITEMINFOA { 3179 UINT cbSize; 3180 UINT fMask; 3181 UINT fType; 3182 UINT fState; 3183 UINT wID; 3184 HMENU hSubMenu; 3185 HBITMAP hbmpChecked; 3186 HBITMAP hbmpUnchecked; 3187 ULONG_PTR dwItemData; 3188 LPSTR dwTypeData; 3189 UINT cch; 3190 #if (_WIN32_WINNT >= 0x0500) 3191 HBITMAP hbmpItem; 3192 #endif 3193 } MENUITEMINFOA,*LPMENUITEMINFOA; 3194 typedef const MENUITEMINFOA *LPCMENUITEMINFOA; 3195 3196 typedef struct tagMENUITEMINFOW { 3197 UINT cbSize; 3198 UINT fMask; 3199 UINT fType; 3200 UINT fState; 3201 UINT wID; 3202 HMENU hSubMenu; 3203 HBITMAP hbmpChecked; 3204 HBITMAP hbmpUnchecked; 3205 ULONG_PTR dwItemData; 3206 LPWSTR dwTypeData; 3207 UINT cch; 3208 #if (_WIN32_WINNT >= 0x0500) 3209 HBITMAP hbmpItem; 3210 #endif 3211 } MENUITEMINFOW,*LPMENUITEMINFOW; 3212 3213 typedef const MENUITEMINFOW *LPCMENUITEMINFOW; 3214 3215 typedef struct tagSCROLLINFO { 3216 UINT cbSize; 3217 UINT fMask; 3218 int nMin; 3219 int nMax; 3220 UINT nPage; 3221 int nPos; 3222 int nTrackPos; 3223 } SCROLLINFO,*LPSCROLLINFO; 3224 typedef const SCROLLINFO *LPCSCROLLINFO; 3225 3226 typedef struct _WINDOWPLACEMENT { 3227 UINT length; 3228 UINT flags; 3229 UINT showCmd; 3230 POINT ptMinPosition; 3231 POINT ptMaxPosition; 3232 RECT rcNormalPosition; 3233 } WINDOWPLACEMENT,*LPWINDOWPLACEMENT,*PWINDOWPLACEMENT; 3234 3235 typedef struct { 3236 WORD versionNumber; 3237 WORD offset; 3238 } MENUITEMTEMPLATEHEADER, *PMENUITEMTEMPLATEHEADER; 3239 3240 typedef struct { 3241 WORD mtOption; 3242 WORD mtID; 3243 WCHAR mtString[1]; 3244 } MENUITEMTEMPLATE, *PMENUITEMTEMPLATE; 3245 3246 typedef void MENUTEMPLATE,MENUTEMPLATEA,MENUTEMPLATEW,*LPMENUTEMPLATEA,*LPMENUTEMPLATEW,*LPMENUTEMPLATE; 3247 3248 typedef struct tagHELPINFO { 3249 UINT cbSize; 3250 int iContextType; 3251 int iCtrlId; 3252 HANDLE hItemHandle; 3253 DWORD_PTR dwContextId; 3254 POINT MousePos; 3255 } HELPINFO,*LPHELPINFO; 3256 3257 typedef void(CALLBACK *MSGBOXCALLBACK)(LPHELPINFO); 3258 3259 typedef struct { 3260 UINT cbSize; 3261 HWND hwndOwner; 3262 HINSTANCE hInstance; 3263 LPCSTR lpszText; 3264 LPCSTR lpszCaption; 3265 DWORD dwStyle; 3266 LPCSTR lpszIcon; 3267 DWORD_PTR dwContextHelpId; 3268 MSGBOXCALLBACK lpfnMsgBoxCallback; 3269 DWORD dwLanguageId; 3270 } MSGBOXPARAMSA,*PMSGBOXPARAMSA,*LPMSGBOXPARAMSA; 3271 3272 typedef struct { 3273 UINT cbSize; 3274 HWND hwndOwner; 3275 HINSTANCE hInstance; 3276 LPCWSTR lpszText; 3277 LPCWSTR lpszCaption; 3278 DWORD dwStyle; 3279 LPCWSTR lpszIcon; 3280 DWORD_PTR dwContextHelpId; 3281 MSGBOXCALLBACK lpfnMsgBoxCallback; 3282 DWORD dwLanguageId; 3283 } MSGBOXPARAMSW,*PMSGBOXPARAMSW,*LPMSGBOXPARAMSW; 3284 3285 typedef struct tagUSEROBJECTFLAGS { 3286 BOOL fInherit; 3287 BOOL fReserved; 3288 DWORD dwFlags; 3289 } USEROBJECTFLAGS, *PUSEROBJECTFLAGS; 3290 3291 typedef struct tagFILTERKEYS { 3292 UINT cbSize; 3293 DWORD dwFlags; 3294 DWORD iWaitMSec; 3295 DWORD iDelayMSec; 3296 DWORD iRepeatMSec; 3297 DWORD iBounceMSec; 3298 } FILTERKEYS, *LPFILTERKEYS; 3299 3300 typedef struct tagHIGHCONTRASTA { 3301 UINT cbSize; 3302 DWORD dwFlags; 3303 LPSTR lpszDefaultScheme; 3304 } HIGHCONTRASTA,*LPHIGHCONTRASTA; 3305 3306 typedef struct tagHIGHCONTRASTW { 3307 UINT cbSize; 3308 DWORD dwFlags; 3309 LPWSTR lpszDefaultScheme; 3310 } HIGHCONTRASTW,*LPHIGHCONTRASTW; 3311 3312 #if defined(_WINGDI_) && !defined(NOGDI) 3313 typedef struct tagICONMETRICSA { 3314 UINT cbSize; 3315 int iHorzSpacing; 3316 int iVertSpacing; 3317 int iTitleWrap; 3318 LOGFONTA lfFont; 3319 } ICONMETRICSA, *PICONMETRICSA, *LPICONMETRICSA; 3320 3321 typedef struct tagICONMETRICSW { 3322 UINT cbSize; 3323 int iHorzSpacing; 3324 int iVertSpacing; 3325 int iTitleWrap; 3326 LOGFONTW lfFont; 3327 } ICONMETRICSW, *PICONMETRICSW, *LPICONMETRICSW; 3328 3329 #ifdef UNICODE 3330 typedef ICONMETRICSW ICONMETRICS,*LPICONMETRICS; 3331 #else /* UNICODE */ 3332 typedef ICONMETRICSA ICONMETRICS,*LPICONMETRICS; 3333 #endif /* UNICODE */ 3334 #endif /* NOGDI */ 3335 3336 typedef struct tagMINIMIZEDMETRICS { 3337 UINT cbSize; 3338 int iWidth; 3339 int iHorzGap; 3340 int iVertGap; 3341 int iArrange; 3342 } MINIMIZEDMETRICS, *PMINIMIZEDMETRICS,*LPMINIMIZEDMETRICS; 3343 3344 #define WDA_NONE 0x0 3345 #define WDA_MONITOR 0x1 3346 3347 typedef struct tagMOUSEKEYS{ 3348 UINT cbSize; 3349 DWORD dwFlags; 3350 DWORD iMaxSpeed; 3351 DWORD iTimeToMaxSpeed; 3352 DWORD iCtrlSpeed; 3353 DWORD dwReserved1; 3354 DWORD dwReserved2; 3355 } MOUSEKEYS,*LPMOUSEKEYS; 3356 3357 #if defined(_WINGDI_) && !defined(NOGDI) 3358 typedef struct tagNONCLIENTMETRICSA { 3359 UINT cbSize; 3360 int iBorderWidth; 3361 int iScrollWidth; 3362 int iScrollHeight; 3363 int iCaptionWidth; 3364 int iCaptionHeight; 3365 LOGFONTA lfCaptionFont; 3366 int iSmCaptionWidth; 3367 int iSmCaptionHeight; 3368 LOGFONTA lfSmCaptionFont; 3369 int iMenuWidth; 3370 int iMenuHeight; 3371 LOGFONTA lfMenuFont; 3372 LOGFONTA lfStatusFont; 3373 LOGFONTA lfMessageFont; 3374 #if (WINVER >= 0x0600) 3375 int iPaddedBorderWidth; 3376 #endif 3377 } NONCLIENTMETRICSA, *PNONCLIENTMETRICSA,*LPNONCLIENTMETRICSA; 3378 3379 typedef struct tagNONCLIENTMETRICSW { 3380 UINT cbSize; 3381 int iBorderWidth; 3382 int iScrollWidth; 3383 int iScrollHeight; 3384 int iCaptionWidth; 3385 int iCaptionHeight; 3386 LOGFONTW lfCaptionFont; 3387 int iSmCaptionWidth; 3388 int iSmCaptionHeight; 3389 LOGFONTW lfSmCaptionFont; 3390 int iMenuWidth; 3391 int iMenuHeight; 3392 LOGFONTW lfMenuFont; 3393 LOGFONTW lfStatusFont; 3394 LOGFONTW lfMessageFont; 3395 #if (WINVER >= 0x0600) 3396 int iPaddedBorderWidth; 3397 #endif 3398 } NONCLIENTMETRICSW, *PNONCLIENTMETRICSW,*LPNONCLIENTMETRICSW; 3399 3400 #ifdef UNICODE 3401 typedef NONCLIENTMETRICSW NONCLIENTMETRICS,*LPNONCLIENTMETRICS; 3402 #else /* UNICODE */ 3403 typedef NONCLIENTMETRICSA NONCLIENTMETRICS,*LPNONCLIENTMETRICS; 3404 #endif /* UNICODE */ 3405 #endif 3406 3407 typedef struct tagSERIALKEYSA { 3408 UINT cbSize; 3409 DWORD dwFlags; 3410 LPSTR lpszActivePort; 3411 LPSTR lpszPort; 3412 UINT iBaudRate; 3413 UINT iPortState; 3414 UINT iActive; 3415 } SERIALKEYSA,*LPSERIALKEYSA; 3416 3417 typedef struct tagSERIALKEYSW { 3418 UINT cbSize; 3419 DWORD dwFlags; 3420 LPWSTR lpszActivePort; 3421 LPWSTR lpszPort; 3422 UINT iBaudRate; 3423 UINT iPortState; 3424 UINT iActive; 3425 } SERIALKEYSW,*LPSERIALKEYSW; 3426 3427 typedef struct tagSOUNDSENTRYA { 3428 UINT cbSize; 3429 DWORD dwFlags; 3430 DWORD iFSTextEffect; 3431 DWORD iFSTextEffectMSec; 3432 DWORD iFSTextEffectColorBits; 3433 DWORD iFSGrafEffect; 3434 DWORD iFSGrafEffectMSec; 3435 DWORD iFSGrafEffectColor; 3436 DWORD iWindowsEffect; 3437 DWORD iWindowsEffectMSec; 3438 LPSTR lpszWindowsEffectDLL; 3439 DWORD iWindowsEffectOrdinal; 3440 } SOUNDSENTRYA,*LPSOUNDSENTRYA; 3441 3442 typedef struct tagSOUNDSENTRYW { 3443 UINT cbSize; 3444 DWORD dwFlags; 3445 DWORD iFSTextEffect; 3446 DWORD iFSTextEffectMSec; 3447 DWORD iFSTextEffectColorBits; 3448 DWORD iFSGrafEffect; 3449 DWORD iFSGrafEffectMSec; 3450 DWORD iFSGrafEffectColor; 3451 DWORD iWindowsEffect; 3452 DWORD iWindowsEffectMSec; 3453 LPWSTR lpszWindowsEffectDLL; 3454 DWORD iWindowsEffectOrdinal; 3455 } SOUNDSENTRYW,*LPSOUNDSENTRYW; 3456 3457 #if (_WIN32_WINNT >= 0x0600) 3458 typedef struct tagAUDIODESCRIPTION { 3459 UINT cbSize; 3460 BOOL Enabled; 3461 LCID Locale; 3462 } AUDIODESCRIPTION, *LPAUDIODESCRIPTION; 3463 #endif 3464 3465 typedef struct tagSTICKYKEYS { 3466 DWORD cbSize; 3467 DWORD dwFlags; 3468 } STICKYKEYS,*LPSTICKYKEYS; 3469 3470 typedef struct tagTOGGLEKEYS { 3471 DWORD cbSize; 3472 DWORD dwFlags; 3473 } TOGGLEKEYS, *LPTOGGLEKEYS; 3474 3475 typedef struct tagMOUSEHOOKSTRUCT { 3476 POINT pt; 3477 HWND hwnd; 3478 UINT wHitTestCode; 3479 ULONG_PTR dwExtraInfo; 3480 } MOUSEHOOKSTRUCT,*LPMOUSEHOOKSTRUCT,*PMOUSEHOOKSTRUCT; 3481 3482 typedef struct tagHARDWAREHOOKSTRUCT { 3483 HWND hwnd; 3484 UINT message; 3485 WPARAM wParam; 3486 LPARAM lParam; 3487 } HARDWAREHOOKSTRUCT, *PHARDWAREHOOKSTRUCT, *LPHARDWAREHOOKSTRUCT; 3488 3489 #if ( _WIN32_WINNT >= 0x0500 ) 3490 #ifdef __cplusplus 3491 typedef struct tagMOUSEHOOKSTRUCTEX : public tagMOUSEHOOKSTRUCT 3492 { 3493 DWORD mouseData; 3494 } MOUSEHOOKSTRUCTEX, *LPMOUSEHOOKSTRUCTEX, *PMOUSEHOOKSTRUCTEX; 3495 #else 3496 typedef struct tagMOUSEHOOKSTRUCTEX 3497 { 3498 MOUSEHOOKSTRUCT MOUSEHOOKSTRUCT; 3499 DWORD mouseData; 3500 } MOUSEHOOKSTRUCTEX, *LPMOUSEHOOKSTRUCTEX, *PMOUSEHOOKSTRUCTEX; 3501 #endif 3502 #endif 3503 3504 typedef struct tagTRACKMOUSEEVENT { 3505 DWORD cbSize; 3506 DWORD dwFlags; 3507 HWND hwndTrack; 3508 DWORD dwHoverTime; 3509 } TRACKMOUSEEVENT,*LPTRACKMOUSEEVENT; 3510 3511 typedef struct tagTPMPARAMS { 3512 UINT cbSize; 3513 RECT rcExclude; 3514 } TPMPARAMS,*LPTPMPARAMS; 3515 3516 typedef struct tagEVENTMSG { 3517 UINT message; 3518 UINT paramL; 3519 UINT paramH; 3520 DWORD time; 3521 HWND hwnd; 3522 } EVENTMSG,*PEVENTMSGMSG,*LPEVENTMSGMSG,*PEVENTMSG,*LPEVENTMSG; 3523 3524 typedef struct _WINDOWPOS { 3525 HWND hwnd; 3526 HWND hwndInsertAfter; 3527 int x; 3528 int y; 3529 int cx; 3530 int cy; 3531 UINT flags; 3532 } WINDOWPOS,*PWINDOWPOS,*LPWINDOWPOS; 3533 3534 typedef struct tagNCCALCSIZE_PARAMS { 3535 RECT rgrc[3]; 3536 PWINDOWPOS lppos; 3537 } NCCALCSIZE_PARAMS, *LPNCCALCSIZE_PARAMS; 3538 3539 typedef struct tagMDICREATESTRUCTA { 3540 LPCSTR szClass; 3541 LPCSTR szTitle; 3542 HANDLE hOwner; 3543 int x; 3544 int y; 3545 int cx; 3546 int cy; 3547 DWORD style; 3548 LPARAM lParam; 3549 } MDICREATESTRUCTA,*LPMDICREATESTRUCTA; 3550 3551 typedef struct tagMDICREATESTRUCTW { 3552 LPCWSTR szClass; 3553 LPCWSTR szTitle; 3554 HANDLE hOwner; 3555 int x; 3556 int y; 3557 int cx; 3558 int cy; 3559 DWORD style; 3560 LPARAM lParam; 3561 } MDICREATESTRUCTW,*LPMDICREATESTRUCTW; 3562 3563 typedef struct tagMINMAXINFO { 3564 POINT ptReserved; 3565 POINT ptMaxSize; 3566 POINT ptMaxPosition; 3567 POINT ptMinTrackSize; 3568 POINT ptMaxTrackSize; 3569 } MINMAXINFO,*PMINMAXINFO,*LPMINMAXINFO; 3570 3571 typedef struct tagMDINEXTMENU { 3572 HMENU hmenuIn; 3573 HMENU hmenuNext; 3574 HWND hwndNext; 3575 } MDINEXTMENU,*PMDINEXTMENU,*LPMDINEXTMENU; 3576 3577 typedef struct tagMEASUREITEMSTRUCT { 3578 UINT CtlType; 3579 UINT CtlID; 3580 UINT itemID; 3581 UINT itemWidth; 3582 UINT itemHeight; 3583 ULONG_PTR itemData; 3584 } MEASUREITEMSTRUCT,*PMEASUREITEMSTRUCT,*LPMEASUREITEMSTRUCT; 3585 3586 typedef struct tagDROPSTRUCT { 3587 HWND hwndSource; 3588 HWND hwndSink; 3589 DWORD wFmt; 3590 ULONG_PTR dwData; 3591 POINT ptDrop; 3592 DWORD dwControlData; 3593 } DROPSTRUCT,*PDROPSTRUCT,*LPDROPSTRUCT; 3594 3595 typedef DWORD HELPPOLY; 3596 typedef struct tagMULTIKEYHELPA { 3597 DWORD mkSize; 3598 CHAR mkKeylist; 3599 CHAR szKeyphrase[1]; 3600 } MULTIKEYHELPA,*PMULTIKEYHELPA,*LPMULTIKEYHELPA; 3601 3602 typedef struct tagMULTIKEYHELPW { 3603 DWORD mkSize; 3604 WCHAR mkKeylist; 3605 WCHAR szKeyphrase[1]; 3606 } MULTIKEYHELPW,*PMULTIKEYHELPW,*LPMULTIKEYHELPW; 3607 3608 typedef struct tagHELPWININFOA { 3609 int wStructSize; 3610 int x; 3611 int y; 3612 int dx; 3613 int dy; 3614 int wMax; 3615 CHAR rgchMember[2]; 3616 } HELPWININFOA,*PHELPWININFOA,*LPHELPWININFOA; 3617 3618 typedef struct tagHELPWININFOW { 3619 int wStructSize; 3620 int x; 3621 int y; 3622 int dx; 3623 int dy; 3624 int wMax; 3625 WCHAR rgchMember[2]; 3626 } HELPWININFOW,*PHELPWININFOW,*LPHELPWININFOW; 3627 3628 typedef struct tagSTYLESTRUCT { 3629 DWORD styleOld; 3630 DWORD styleNew; 3631 } STYLESTRUCT,*LPSTYLESTRUCT; 3632 3633 typedef struct tagALTTABINFO { 3634 DWORD cbSize; 3635 int cItems; 3636 int cColumns; 3637 int cRows; 3638 int iColFocus; 3639 int iRowFocus; 3640 int cxItem; 3641 int cyItem; 3642 POINT ptStart; 3643 } ALTTABINFO,*PALTTABINFO,*LPALTTABINFO; 3644 3645 typedef struct tagCOMBOBOXINFO { 3646 DWORD cbSize; 3647 RECT rcItem; 3648 RECT rcButton; 3649 DWORD stateButton; 3650 HWND hwndCombo; 3651 HWND hwndItem; 3652 HWND hwndList; 3653 } COMBOBOXINFO,*PCOMBOBOXINFO,*LPCOMBOBOXINFO; 3654 3655 typedef struct tagCURSORINFO { 3656 DWORD cbSize; 3657 DWORD flags; 3658 HCURSOR hCursor; 3659 POINT ptScreenPos; 3660 } CURSORINFO,*PCURSORINFO,*LPCURSORINFO; 3661 3662 typedef struct tagMENUBARINFO { 3663 DWORD cbSize; 3664 RECT rcBar; 3665 HMENU hMenu; 3666 HWND hwndMenu; 3667 BOOL fBarFocused:1; 3668 BOOL fFocused:1; 3669 } MENUBARINFO,*PMENUBARINFO; 3670 3671 typedef struct tagMENUINFO { 3672 DWORD cbSize; 3673 DWORD fMask; 3674 DWORD dwStyle; 3675 UINT cyMax; 3676 HBRUSH hbrBack; 3677 DWORD dwContextHelpID; 3678 ULONG_PTR dwMenuData; 3679 } MENUINFO,*LPMENUINFO; 3680 3681 typedef MENUINFO CONST *LPCMENUINFO; 3682 #define CCHILDREN_SCROLLBAR 5 3683 3684 typedef struct tagSCROLLBARINFO { 3685 DWORD cbSize; 3686 RECT rcScrollBar; 3687 int dxyLineButton; 3688 int xyThumbTop; 3689 int xyThumbBottom; 3690 int reserved; 3691 DWORD rgstate[CCHILDREN_SCROLLBAR+1]; 3692 } SCROLLBARINFO,*PSCROLLBARINFO,*LPSCROLLBARINFO; 3693 3694 #define CCHILDREN_TITLEBAR 5 3695 3696 typedef struct tagTITLEBARINFO { 3697 DWORD cbSize; 3698 RECT rcTitleBar; 3699 DWORD rgstate[CCHILDREN_TITLEBAR+1]; 3700 } TITLEBARINFO,*PTITLEBARINFO,*LPTITLEBARINFO; 3701 3702 typedef struct tagWINDOWINFO { 3703 DWORD cbSize; 3704 RECT rcWindow; 3705 RECT rcClient; 3706 DWORD dwStyle; 3707 DWORD dwExStyle; 3708 DWORD dwWindowStatus; 3709 UINT cxWindowBorders; 3710 UINT cyWindowBorders; 3711 ATOM atomWindowType; 3712 WORD wCreatorVersion; 3713 } WINDOWINFO,*PWINDOWINFO,*LPWINDOWINFO; 3714 3715 typedef struct tagLASTINPUTINFO { 3716 UINT cbSize; 3717 DWORD dwTime; 3718 } LASTINPUTINFO,*PLASTINPUTINFO; 3719 3720 typedef struct tagMONITORINFO { 3721 DWORD cbSize; 3722 RECT rcMonitor; 3723 RECT rcWork; 3724 DWORD dwFlags; 3725 } MONITORINFO,*LPMONITORINFO; 3726 3727 #define CCHDEVICENAME 32 3728 typedef struct tagMONITORINFOEXA { 3729 DWORD cbSize; 3730 RECT rcMonitor; 3731 RECT rcWork; 3732 DWORD dwFlags; 3733 CHAR szDevice[CCHDEVICENAME]; 3734 } MONITORINFOEXA,*LPMONITORINFOEXA; 3735 3736 typedef struct tagMONITORINFOEXW { 3737 DWORD cbSize; 3738 RECT rcMonitor; 3739 RECT rcWork; 3740 DWORD dwFlags; 3741 WCHAR szDevice[CCHDEVICENAME]; 3742 } MONITORINFOEXW,*LPMONITORINFOEXW; 3743 3744 typedef struct tagKBDLLHOOKSTRUCT { 3745 DWORD vkCode; 3746 DWORD scanCode; 3747 DWORD flags; 3748 DWORD time; 3749 ULONG_PTR dwExtraInfo; 3750 } KBDLLHOOKSTRUCT,*LPKBDLLHOOKSTRUCT,*PKBDLLHOOKSTRUCT; 3751 3752 typedef struct tagMSLLHOOKSTRUCT 3753 { 3754 POINT pt; 3755 DWORD mouseData; 3756 DWORD flags; 3757 DWORD time; 3758 ULONG_PTR dwExtraInfo; 3759 } MSLLHOOKSTRUCT, *LPMSLLHOOKSTRUCT, *PMSLLHOOKSTRUCT; 3760 3761 #if (_WIN32_WINNT >= 0x0500 || _WIN32_WINDOWS >= 0x0410) 3762 typedef struct { 3763 UINT cbSize; 3764 HWND hwnd; 3765 DWORD dwFlags; 3766 UINT uCount; 3767 DWORD dwTimeout; 3768 } FLASHWINFO,*PFLASHWINFO; 3769 #endif /* (WINVER >= 0x0500 || _WIN32_WINDOWS >= 0x0410) */ 3770 3771 #if (_WIN32_WINNT >= 0x0500 || _WIN32_WINDOWS >= 0x0490) 3772 typedef struct tagMOUSEMOVEPOINT { 3773 int x; 3774 int y; 3775 DWORD time; 3776 ULONG_PTR dwExtraInfo; 3777 } MOUSEMOVEPOINT,*PMOUSEMOVEPOINT,*LPMOUSEMOVEPOINT; 3778 #endif 3779 3780 #if (_WIN32_WINNT >= 0x0400) 3781 typedef struct tagMOUSEINPUT { 3782 LONG dx; 3783 LONG dy; 3784 DWORD mouseData; 3785 DWORD dwFlags; 3786 DWORD time; 3787 ULONG_PTR dwExtraInfo; 3788 } MOUSEINPUT,*PMOUSEINPUT, *LPMOUSEINPUT; 3789 3790 typedef struct tagKEYBDINPUT { 3791 WORD wVk; 3792 WORD wScan; 3793 DWORD dwFlags; 3794 DWORD time; 3795 ULONG_PTR dwExtraInfo; 3796 } KEYBDINPUT, *PKEYBDINPUT, *LPKEYBDINPUT; 3797 3798 typedef struct tagHARDWAREINPUT { 3799 DWORD uMsg; 3800 WORD wParamL; 3801 WORD wParamH; 3802 } HARDWAREINPUT, *PHARDWAREINPUT, *LPHARDWAREINPUT; 3803 3804 typedef struct tagINPUT { 3805 DWORD type; 3806 _ANONYMOUS_UNION union { 3807 MOUSEINPUT mi; 3808 KEYBDINPUT ki; 3809 HARDWAREINPUT hi; 3810 } DUMMYUNIONNAME; 3811 } INPUT,*PINPUT,*LPINPUT; 3812 #endif /* (_WIN32_WINNT >= 0x0400) */ 3813 3814 #if (WINVER >= 0x0500) 3815 typedef struct tagGUITHREADINFO { 3816 DWORD cbSize; 3817 DWORD flags; 3818 HWND hwndActive; 3819 HWND hwndFocus; 3820 HWND hwndCapture; 3821 HWND hwndMenuOwner; 3822 HWND hwndMoveSize; 3823 HWND hwndCaret; 3824 RECT rcCaret; 3825 } GUITHREADINFO,*PGUITHREADINFO,*LPGUITHREADINFO; 3826 3827 typedef VOID (CALLBACK *WINEVENTPROC)(HWINEVENTHOOK,DWORD,HWND,LONG,LONG,DWORD,DWORD); 3828 #endif /* (WINVER >= 0x0500) */ 3829 3830 #if (_WIN32_WINNT >= 0x0501) 3831 typedef struct { 3832 UINT cbSize; 3833 HDESK hdesk; 3834 HWND hwnd; 3835 LUID luid; 3836 } BSMINFO,*PBSMINFO; 3837 DECLARE_HANDLE(HRAWINPUT); 3838 3839 typedef struct tagRAWINPUTHEADER { 3840 DWORD dwType; 3841 DWORD dwSize; 3842 HANDLE hDevice; 3843 WPARAM wParam; 3844 } RAWINPUTHEADER,*PRAWINPUTHEADER; 3845 3846 typedef struct tagRAWMOUSE { 3847 USHORT usFlags; 3848 _ANONYMOUS_UNION union { 3849 ULONG ulButtons; 3850 _ANONYMOUS_STRUCT struct { 3851 USHORT usButtonFlags; 3852 USHORT usButtonData; 3853 }; 3854 }; 3855 ULONG ulRawButtons; 3856 LONG lLastX; 3857 LONG lLastY; 3858 ULONG ulExtraInformation; 3859 } RAWMOUSE,*PRAWMOUSE,*LPRAWMOUSE; 3860 3861 typedef struct tagRAWKEYBOARD { 3862 USHORT MakeCode; 3863 USHORT Flags; 3864 USHORT Reserved; 3865 USHORT VKey; 3866 UINT Message; 3867 ULONG ExtraInformation; 3868 } RAWKEYBOARD,*PRAWKEYBOARD,*LPRAWKEYBOARD; 3869 3870 typedef struct tagRAWHID { 3871 DWORD dwSizeHid; 3872 DWORD dwCount; 3873 BYTE bRawData; 3874 } RAWHID,*PRAWHID,*LPRAWHID; 3875 3876 typedef struct tagRAWINPUT { 3877 RAWINPUTHEADER header; 3878 union { 3879 RAWMOUSE mouse; 3880 RAWKEYBOARD keyboard; 3881 RAWHID hid; 3882 } data; 3883 } RAWINPUT,*PRAWINPUT,*LPRAWINPUT; 3884 3885 typedef struct tagRAWINPUTDEVICE { 3886 USHORT usUsagePage; 3887 USHORT usUsage; 3888 DWORD dwFlags; 3889 HWND hwndTarget; 3890 } RAWINPUTDEVICE,*PRAWINPUTDEVICE,*LPRAWINPUTDEVICE; 3891 3892 typedef const RAWINPUTDEVICE *PCRAWINPUTDEVICE; 3893 3894 typedef struct tagRAWINPUTDEVICELIST { 3895 HANDLE hDevice; 3896 DWORD dwType; 3897 } RAWINPUTDEVICELIST,*PRAWINPUTDEVICELIST; 3898 #endif /* (_WIN32_WINNT >= 0x0501) */ 3899 3900 #define AnsiToOem CharToOemA 3901 #define OemToAnsi OemToCharA 3902 #define AnsiToOemBuff CharToOemBuffA 3903 #define OemToAnsiBuff OemToCharBuffA 3904 #define AnsiUpper CharUpperA 3905 #define AnsiUpperBuff CharUpperBuffA 3906 #define AnsiLower CharLowerA 3907 #define AnsiLowerBuff CharLowerBuffA 3908 #define AnsiNext CharNextA 3909 #define AnsiPrev CharPrevA 3910 #define MAKELPARAM(l,h) ((LPARAM)MAKELONG(l,h)) 3911 #define MAKEWPARAM(l,h) ((WPARAM)MAKELONG(l,h)) 3912 #define MAKELRESULT(l,h) ((LRESULT)MAKELONG(l,h)) 3913 #define POINTSTOPOINT(p,ps) { \ 3914 (p).x=LOWORD(*(DWORD *)&ps); \ 3915 (p).y=HIWORD(*(DWORD *)&ps); \ 3916 } 3917 #define POINTTOPOINTS(p) ((POINTS)MAKELONG((p).x,(p).y)) 3918 3919 HKL WINAPI ActivateKeyboardLayout(_In_ HKL, _In_ UINT); 3920 BOOL WINAPI AdjustWindowRect(_Inout_ LPRECT, _In_ DWORD, _In_ BOOL); 3921 BOOL WINAPI AdjustWindowRectEx(_Inout_ LPRECT, _In_ DWORD, _In_ BOOL, _In_ DWORD); 3922 #if (_WIN32_WINNT >= 0x0500) 3923 BOOL WINAPI AnimateWindow(_In_ HWND, _In_ DWORD, _In_ DWORD); 3924 #endif /* (_WIN32_WINNT >= 0x0500) */ 3925 BOOL WINAPI AnyPopup(void); 3926 BOOL WINAPI AppendMenuA(_In_ HMENU, _In_ UINT, _In_ UINT_PTR, _In_opt_ LPCSTR); 3927 BOOL WINAPI AppendMenuW(_In_ HMENU, _In_ UINT, _In_ UINT_PTR, _In_opt_ LPCWSTR); 3928 UINT WINAPI ArrangeIconicWindows(_In_ HWND); 3929 BOOL WINAPI AttachThreadInput(_In_ DWORD, _In_ DWORD, _In_ BOOL); 3930 HDWP WINAPI BeginDeferWindowPos(_In_ int); 3931 HDC WINAPI BeginPaint(_In_ HWND, _Out_ LPPAINTSTRUCT); 3932 BOOL WINAPI BringWindowToTop(_In_ HWND); 3933 long WINAPI BroadcastSystemMessage(_In_ DWORD, _Inout_opt_ LPDWORD, _In_ UINT, _In_ WPARAM, _In_ LPARAM); 3934 3935 #if (_WIN32_WINNT >= 0x0400) 3936 3937 LONG 3938 WINAPI 3939 BroadcastSystemMessageA( 3940 _In_ DWORD flags, 3941 _Inout_opt_ LPDWORD lpInfo, 3942 _In_ UINT Msg, 3943 _In_ WPARAM wParam, 3944 _In_ LPARAM lParam); 3945 3946 LONG 3947 WINAPI 3948 BroadcastSystemMessageW( 3949 _In_ DWORD flags, 3950 _Inout_opt_ LPDWORD lpInfo, 3951 _In_ UINT Msg, 3952 _In_ WPARAM wParam, 3953 _In_ LPARAM lParam); 3954 3955 #endif /* (_WIN32_WINNT >= 0x0400) */ 3956 3957 #if (_WIN32_WINNT >= 0x0501) 3958 3959 LONG 3960 WINAPI 3961 BroadcastSystemMessageExA( 3962 _In_ DWORD flags, 3963 _Inout_opt_ LPDWORD lpInfo, 3964 _In_ UINT Msg, 3965 _In_ WPARAM wParam, 3966 _In_ LPARAM lParam, 3967 _Out_opt_ PBSMINFO pbsmInfo); 3968 3969 LONG 3970 WINAPI 3971 BroadcastSystemMessageExW( 3972 _In_ DWORD flags, 3973 _Inout_opt_ LPDWORD lpInfo, 3974 _In_ UINT Msg, 3975 _In_ WPARAM wParam, 3976 _In_ LPARAM lParam, 3977 _Out_opt_ PBSMINFO pbsmInfo); 3978 3979 #endif /* (_WIN32_WINNT >= 0x0501) */ 3980 3981 void WINAPI CalcChildScroll(HWND, INT); 3982 BOOL WINAPI CallMsgFilterA(_In_ LPMSG, _In_ INT); 3983 BOOL WINAPI CallMsgFilterW(_In_ LPMSG, _In_ INT); 3984 LRESULT WINAPI CallNextHookEx(_In_opt_ HHOOK, _In_ int, _In_ WPARAM, _In_ LPARAM); 3985 LRESULT WINAPI CallWindowProcA(_In_ WNDPROC, _In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM); 3986 LRESULT WINAPI CallWindowProcW(_In_ WNDPROC, _In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM); 3987 3988 WORD 3989 WINAPI 3990 CascadeWindows( 3991 _In_opt_ HWND hwndParent, 3992 _In_ UINT wHow, 3993 _In_opt_ CONST RECT * lpRect, 3994 _In_ UINT cKids, 3995 _In_reads_opt_(cKids) const HWND FAR *lpKids); 3996 3997 BOOL WINAPI ChangeClipboardChain(_In_ HWND, _In_ HWND); 3998 #if defined(_WINGDI_) && !defined(NOGDI) 3999 LONG WINAPI ChangeDisplaySettingsA(_In_opt_ PDEVMODEA, _In_ DWORD); 4000 LONG WINAPI ChangeDisplaySettingsW(_In_opt_ PDEVMODEW, _In_ DWORD); 4001 LONG WINAPI ChangeDisplaySettingsExA(_In_opt_ LPCSTR, _In_opt_ LPDEVMODEA, _Reserved_ HWND, _In_ DWORD, _In_opt_ LPVOID); 4002 LONG WINAPI ChangeDisplaySettingsExW(_In_opt_ LPCWSTR, _In_opt_ LPDEVMODEW, _Reserved_ HWND, _In_ DWORD, _In_opt_ LPVOID); 4003 #endif 4004 BOOL WINAPI ChangeMenuA(_In_ HMENU, _In_ UINT, _In_opt_ LPCSTR, _In_ UINT, _In_ UINT); 4005 BOOL WINAPI ChangeMenuW(_In_ HMENU, _In_ UINT, _In_opt_ LPCWSTR, _In_ UINT, _In_ UINT); 4006 LPSTR WINAPI CharLowerA(_Inout_ LPSTR); 4007 LPWSTR WINAPI CharLowerW(_Inout_ LPWSTR); 4008 4009 DWORD 4010 WINAPI 4011 CharLowerBuffA( 4012 _Inout_updates_(cchLength) LPSTR lpsz, 4013 _In_ DWORD cchLength); 4014 4015 DWORD 4016 WINAPI 4017 CharLowerBuffW( 4018 _Inout_updates_(cchLength) LPWSTR lpsz, 4019 _In_ DWORD cchLength); 4020 4021 LPSTR WINAPI CharNextA(_In_ LPCSTR); 4022 LPWSTR WINAPI CharNextW(_In_ LPCWSTR); 4023 4024 LPSTR WINAPI CharNextExA(_In_ WORD, _In_ LPCSTR, _In_ DWORD); 4025 LPWSTR WINAPI CharNextExW(_In_ WORD, _In_ LPCWSTR, _In_ DWORD); 4026 LPSTR WINAPI CharPrevA(_In_ LPCSTR, _In_ LPCSTR); 4027 LPWSTR WINAPI CharPrevW(_In_ LPCWSTR, _In_ LPCWSTR); 4028 LPSTR WINAPI CharPrevExA(_In_ WORD, _In_ LPCSTR, _In_ LPCSTR, _In_ DWORD); 4029 LPWSTR WINAPI CharPrevExW(_In_ WORD, _In_ LPCWSTR, _In_ LPCWSTR, _In_ DWORD); 4030 4031 BOOL 4032 WINAPI 4033 CharToOemA( 4034 _In_ LPCSTR pSrc, 4035 _Out_writes_(_Inexpressible_(strlen(pSrc) + 1)) LPSTR pDst); 4036 4037 BOOL 4038 WINAPI 4039 CharToOemW( 4040 _In_ LPCWSTR pSrc, 4041 _Out_writes_(_Inexpressible_(strlen(pSrc) + 1)) LPSTR pDst); 4042 4043 BOOL 4044 WINAPI 4045 CharToOemBuffA( 4046 _In_ LPCSTR lpszSrc, 4047 _Out_writes_(cchDstLength) LPSTR lpszDst, 4048 _In_ DWORD cchDstLength); 4049 4050 BOOL 4051 WINAPI 4052 CharToOemBuffW( 4053 _In_ LPCWSTR lpszSrc, 4054 _Out_writes_(cchDstLength) LPSTR lpszDst, 4055 _In_ DWORD cchDstLength); 4056 4057 LPSTR WINAPI CharUpperA(_Inout_ LPSTR); 4058 LPWSTR WINAPI CharUpperW(_Inout_ LPWSTR); 4059 4060 DWORD 4061 WINAPI 4062 CharUpperBuffA( 4063 _Inout_updates_(cchLength) LPSTR lpsz, 4064 _In_ DWORD cchLength); 4065 4066 DWORD 4067 WINAPI 4068 CharUpperBuffW( 4069 _Inout_updates_(cchLength) LPWSTR lpsz, 4070 _In_ DWORD cchLength); 4071 4072 BOOL WINAPI CheckDlgButton(_In_ HWND, _In_ int, _In_ UINT); 4073 DWORD WINAPI CheckMenuItem(_In_ HMENU, _In_ UINT, _In_ UINT); 4074 BOOL WINAPI CheckMenuRadioItem(_In_ HMENU, _In_ UINT, _In_ UINT, _In_ UINT, _In_ UINT); 4075 BOOL WINAPI CheckRadioButton(_In_ HWND, _In_ int, _In_ int, _In_ int); 4076 HWND WINAPI ChildWindowFromPoint(_In_ HWND, _In_ POINT); 4077 HWND WINAPI ChildWindowFromPointEx(_In_ HWND, _In_ POINT, _In_ UINT); 4078 BOOL WINAPI ClientToScreen(_In_ HWND, _Inout_ LPPOINT); 4079 BOOL WINAPI ClipCursor(_In_opt_ LPCRECT); 4080 BOOL WINAPI CloseClipboard(void); 4081 BOOL WINAPI CloseDesktop(_In_ HDESK); 4082 BOOL WINAPI CloseWindow(_In_ HWND); 4083 BOOL WINAPI CloseWindowStation(_In_ HWINSTA); 4084 4085 int 4086 WINAPI 4087 CopyAcceleratorTableA( 4088 _In_ HACCEL hAccelSrc, 4089 _Out_writes_to_opt_(cAccelEntries, return) LPACCEL lpAccelDst, 4090 _In_ int cAccelEntries); 4091 4092 int 4093 WINAPI 4094 CopyAcceleratorTableW( 4095 _In_ HACCEL hAccelSrc, 4096 _Out_writes_to_opt_(cAccelEntries, return) LPACCEL lpAccelDst, 4097 _In_ int cAccelEntries); 4098 4099 #define CopyCursor(c) ((HCURSOR)CopyIcon((HICON)(c))) 4100 HICON WINAPI CopyIcon(_In_ HICON); 4101 HANDLE WINAPI CopyImage(_In_ HANDLE, _In_ UINT, _In_ int, _In_ int, _In_ UINT); 4102 BOOL WINAPI CopyRect(_Out_ LPRECT, _In_ LPCRECT); 4103 int WINAPI CountClipboardFormats(void); 4104 4105 HACCEL 4106 WINAPI 4107 CreateAcceleratorTableA( 4108 _In_reads_(cAccel) LPACCEL paccel, 4109 _In_ int cAccel); 4110 4111 HACCEL 4112 WINAPI 4113 CreateAcceleratorTableW( 4114 _In_reads_(cAccel) LPACCEL paccel, 4115 _In_ int cAccel); 4116 4117 BOOL WINAPI CreateCaret(_In_ HWND, _In_opt_ HBITMAP, _In_ int, _In_ int); 4118 HCURSOR WINAPI CreateCursor(_In_opt_ HINSTANCE, _In_ int, _In_ int, _In_ int, _In_ int, _In_ CONST VOID*, _In_ CONST VOID*); 4119 4120 #if defined(_WINGDI_) && !defined(NOGDI) 4121 4122 HDESK 4123 WINAPI 4124 CreateDesktopA( 4125 _In_ LPCSTR lpszDesktop, 4126 _Reserved_ LPCSTR lpszDevice, 4127 _Reserved_ DEVMODEA* pDevmode, 4128 _In_ DWORD dwFlags, 4129 _In_ ACCESS_MASK dwDesiredAccess, 4130 _In_opt_ LPSECURITY_ATTRIBUTES lpsa); 4131 4132 HDESK 4133 WINAPI 4134 CreateDesktopW( 4135 _In_ LPCWSTR lpszDesktop, 4136 _Reserved_ LPCWSTR lpszDevice, 4137 _Reserved_ DEVMODEW* pDevmode, 4138 _In_ DWORD dwFlags, 4139 _In_ ACCESS_MASK dwDesiredAccess, 4140 _In_opt_ LPSECURITY_ATTRIBUTES lpsa); 4141 4142 #endif 4143 4144 #define CreateDialogA(h,n,w,f) CreateDialogParamA(h,n,w,f,0) 4145 #define CreateDialogW(h,n,w,f) CreateDialogParamW(h,n,w,f,0) 4146 #define CreateDialogIndirectA(h,t,w,f) CreateDialogIndirectParamA(h,t,w,f,0) 4147 #define CreateDialogIndirectW(h,t,w,f) CreateDialogIndirectParamW(h,t,w,f,0) 4148 HWND WINAPI CreateDialogIndirectParamA(_In_opt_ HINSTANCE, _In_ LPCDLGTEMPLATE, _In_opt_ HWND, _In_opt_ DLGPROC, _In_ LPARAM); 4149 HWND WINAPI CreateDialogIndirectParamW(_In_opt_ HINSTANCE, _In_ LPCDLGTEMPLATE, _In_opt_ HWND, _In_opt_ DLGPROC, _In_ LPARAM); 4150 HWND WINAPI CreateDialogParamA(_In_opt_ HINSTANCE, _In_ LPCSTR, _In_opt_ HWND, _In_opt_ DLGPROC, _In_ LPARAM); 4151 HWND WINAPI CreateDialogParamW(_In_opt_ HINSTANCE, _In_ LPCWSTR, _In_opt_ HWND, _In_opt_ DLGPROC, _In_ LPARAM); 4152 HICON WINAPI CreateIcon(_In_opt_ HINSTANCE, _In_ int, _In_ int, _In_ BYTE, _In_ BYTE, _In_ const BYTE*, _In_ const BYTE*); 4153 4154 HICON 4155 WINAPI 4156 CreateIconFromResource( 4157 _In_reads_bytes_(dwResSize) PBYTE presbits, 4158 _In_ DWORD dwResSize, 4159 _In_ BOOL fIcon, 4160 _In_ DWORD dwVer); 4161 4162 HICON 4163 WINAPI 4164 CreateIconFromResourceEx( 4165 _In_reads_bytes_(dwResSize) PBYTE presbits, 4166 _In_ DWORD dwResSize, 4167 _In_ BOOL fIcon, 4168 _In_ DWORD dwVer, 4169 _In_ int cxDesired, 4170 _In_ int cyDesired, 4171 _In_ UINT Flags); 4172 4173 HICON WINAPI CreateIconIndirect(_In_ PICONINFO); 4174 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); 4175 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); 4176 HMENU WINAPI CreateMenu(void); 4177 HMENU WINAPI CreatePopupMenu(void); 4178 4179 #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) 4180 #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) 4181 4182 HWND 4183 WINAPI 4184 CreateWindowExA( 4185 _In_ DWORD dwExStyle, 4186 _In_opt_ LPCSTR lpClassName, 4187 _In_opt_ LPCSTR lpWindowName, 4188 _In_ DWORD dwStyle, 4189 _In_ int X, 4190 _In_ int Y, 4191 _In_ int nWidth, 4192 _In_ int nHeight, 4193 _In_opt_ HWND hWndParent, 4194 _In_opt_ HMENU hMenu, 4195 _In_opt_ HINSTANCE hInstance, 4196 _In_opt_ LPVOID lpParam); 4197 4198 HWND 4199 WINAPI 4200 CreateWindowExW( 4201 _In_ DWORD dwExStyle, 4202 _In_opt_ LPCWSTR lpClassName, 4203 _In_opt_ LPCWSTR lpWindowName, 4204 _In_ DWORD dwStyle, 4205 _In_ int X, 4206 _In_ int Y, 4207 _In_ int nWidth, 4208 _In_ int nHeight, 4209 _In_opt_ HWND hWndParent, 4210 _In_opt_ HMENU hMenu, 4211 _In_opt_ HINSTANCE hInstance, 4212 _In_opt_ LPVOID lpParam); 4213 4214 #ifndef NOWINDOWSTATION 4215 4216 HWINSTA 4217 WINAPI 4218 CreateWindowStationA( 4219 _In_opt_ LPCSTR lpwinsta, 4220 _In_ DWORD dwFlags, 4221 _In_ ACCESS_MASK dwDesiredAccess, 4222 _In_opt_ LPSECURITY_ATTRIBUTES lpsa); 4223 4224 HWINSTA 4225 WINAPI 4226 CreateWindowStationW( 4227 _In_opt_ LPCWSTR lpwinsta, 4228 _In_ DWORD dwFlags, 4229 _In_ ACCESS_MASK dwDesiredAccess, 4230 _In_opt_ LPSECURITY_ATTRIBUTES lpsa); 4231 4232 #endif 4233 4234 LRESULT WINAPI DefDlgProcA(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM); 4235 LRESULT WINAPI DefDlgProcW(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM); 4236 HDWP WINAPI DeferWindowPos(_In_ HDWP, _In_ HWND, _In_opt_ HWND, _In_ int, _In_ int, _In_ int, _In_ int, _In_ UINT); 4237 LRESULT WINAPI DefFrameProcA(_In_ HWND, _In_opt_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM); 4238 LRESULT WINAPI DefFrameProcW(_In_ HWND, _In_opt_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM); 4239 #define DefHookProc(c,p,lp,h) CallNextHookEx((HHOOK)*h,c,p,lp) 4240 LRESULT WINAPI DefMDIChildProcA(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM); 4241 LRESULT WINAPI DefMDIChildProcW(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM); 4242 4243 #if (_WIN32_WINNT >= 0x0501) 4244 LRESULT 4245 WINAPI 4246 DefRawInputProc( 4247 _In_reads_(nInput) PRAWINPUT *paRawInput, 4248 _In_ INT nInput, 4249 _In_ UINT cbSizeHeader); 4250 #endif 4251 4252 LRESULT WINAPI DefWindowProcA(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM); 4253 LRESULT WINAPI DefWindowProcW(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM); 4254 BOOL WINAPI DeleteMenu(_In_ HMENU, _In_ UINT, _In_ UINT); 4255 BOOL WINAPI DeregisterShellHookWindow(_In_ HWND); 4256 BOOL WINAPI DestroyAcceleratorTable(_In_ HACCEL); 4257 BOOL WINAPI DestroyCaret(void); 4258 BOOL WINAPI DestroyCursor(_In_ HCURSOR); 4259 BOOL WINAPI DestroyIcon(_In_ HICON); 4260 BOOL WINAPI DestroyMenu(_In_ HMENU); 4261 BOOL WINAPI DestroyWindow(_In_ HWND); 4262 #define DialogBoxA(i,t,p,f) DialogBoxParamA(i,t,p,f,0) 4263 #define DialogBoxW(i,t,p,f) DialogBoxParamW(i,t,p,f,0) 4264 #define DialogBoxIndirectA(i,t,p,f) DialogBoxIndirectParamA(i,t,p,f,0) 4265 #define DialogBoxIndirectW(i,t,p,f) DialogBoxIndirectParamW(i,t,p,f,0) 4266 INT_PTR WINAPI DialogBoxIndirectParamA(_In_opt_ HINSTANCE, _In_ LPCDLGTEMPLATE, _In_opt_ HWND, _In_opt_ DLGPROC, _In_ LPARAM); 4267 INT_PTR WINAPI DialogBoxIndirectParamW(_In_opt_ HINSTANCE, _In_ LPCDLGTEMPLATE, _In_opt_ HWND, _In_opt_ DLGPROC, _In_ LPARAM); 4268 INT_PTR WINAPI DialogBoxParamA(_In_opt_ HINSTANCE, _In_ LPCSTR, _In_opt_ HWND, _In_opt_ DLGPROC, _In_ LPARAM); 4269 INT_PTR WINAPI DialogBoxParamW(_In_opt_ HINSTANCE, _In_ LPCWSTR, _In_opt_ HWND, _In_opt_ DLGPROC, _In_ LPARAM); 4270 LRESULT WINAPI DispatchMessageA(_In_ const MSG*); 4271 LRESULT WINAPI DispatchMessageW(_In_ const MSG*); 4272 int WINAPI DlgDirListA(_In_ HWND, _Inout_ LPSTR, _In_ int, _In_ int, _In_ UINT); 4273 int WINAPI DlgDirListW(_In_ HWND, _Inout_ LPWSTR, _In_ int, _In_ int, _In_ UINT); 4274 int WINAPI DlgDirListComboBoxA(_In_ HWND, _Inout_ LPSTR, _In_ int, _In_ int, _In_ UINT); 4275 int WINAPI DlgDirListComboBoxW(_In_ HWND, _Inout_ LPWSTR, _In_ int, _In_ int, _In_ UINT); 4276 4277 BOOL 4278 WINAPI 4279 DlgDirSelectComboBoxExA( 4280 _In_ HWND hwndDlg, 4281 _Out_writes_(cchOut) LPSTR lpString, 4282 _In_ int cchOut, 4283 _In_ int idComboBox); 4284 4285 BOOL 4286 WINAPI 4287 DlgDirSelectComboBoxExW( 4288 _In_ HWND hwndDlg, 4289 _Out_writes_(cchOut) LPWSTR lpString, 4290 _In_ int cchOut, 4291 _In_ int idComboBox); 4292 4293 BOOL 4294 WINAPI 4295 DlgDirSelectExA( 4296 _In_ HWND hwndDlg, 4297 _Out_writes_(chCount) LPSTR lpString, 4298 _In_ int chCount, 4299 _In_ int idListBox); 4300 4301 BOOL 4302 WINAPI 4303 DlgDirSelectExW( 4304 _In_ HWND hwndDlg, 4305 _Out_writes_(chCount) LPWSTR lpString, 4306 _In_ int chCount, 4307 _In_ int idListBox); 4308 4309 BOOL WINAPI DragDetect(_In_ HWND, _In_ POINT); 4310 DWORD WINAPI DragObject(_In_ HWND, _In_ HWND, _In_ UINT, _In_ ULONG_PTR, _In_opt_ HCURSOR); 4311 BOOL WINAPI DrawAnimatedRects(_In_opt_ HWND, _In_ int, _In_ LPCRECT, _In_ LPCRECT); 4312 BOOL WINAPI DrawCaption(_In_ HWND, _In_ HDC, _In_ LPCRECT, _In_ UINT); 4313 BOOL WINAPI DrawEdge(_In_ HDC, _Inout_ LPRECT, _In_ UINT, _In_ UINT); 4314 BOOL WINAPI DrawFocusRect(_In_ HDC, _In_ LPCRECT); 4315 BOOL WINAPI DrawFrameControl(_In_ HDC, _Inout_ LPRECT, _In_ UINT, _In_ UINT); 4316 BOOL WINAPI DrawIcon(_In_ HDC, _In_ int, _In_ int, _In_ HICON); 4317 BOOL WINAPI DrawIconEx(_In_ HDC, _In_ int, _In_ int, _In_ HICON, _In_ int, _In_ int, _In_ UINT, _In_opt_ HBRUSH, _In_ UINT); 4318 BOOL WINAPI DrawMenuBar(_In_ HWND); 4319 DWORD WINAPI DrawMenuBarTemp(HWND,HDC,LPRECT,HMENU,HFONT); 4320 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); 4321 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); 4322 4323 _Success_(return) 4324 int 4325 WINAPI 4326 DrawTextA( 4327 _In_ HDC hdc, 4328 _At_((LPSTR)lpchText, _Inout_updates_opt_(cchText)) LPCSTR lpchText, 4329 _In_ int cchText, 4330 _Inout_ LPRECT lprc, 4331 _In_ UINT format); 4332 4333 _Success_(return) 4334 int 4335 WINAPI 4336 DrawTextW( 4337 _In_ HDC hdc, 4338 _At_((LPWSTR)lpchText, _Inout_updates_opt_(cchText)) LPCWSTR lpchText, 4339 _In_ int cchText, 4340 _Inout_ LPRECT lprc, 4341 _In_ UINT format); 4342 4343 int 4344 WINAPI 4345 DrawTextExA( 4346 _In_ HDC hdc, 4347 _Inout_updates_opt_(cchText) LPSTR lpchText, 4348 _In_ int cchText, 4349 _Inout_ LPRECT lprc, 4350 _In_ UINT format, 4351 _In_opt_ LPDRAWTEXTPARAMS lpdtp); 4352 4353 int 4354 WINAPI 4355 DrawTextExW( 4356 _In_ HDC hdc, 4357 _Inout_updates_opt_(cchText) LPWSTR lpchText, 4358 _In_ int cchText, 4359 _Inout_ LPRECT lprc, 4360 _In_ UINT format, 4361 _In_opt_ LPDRAWTEXTPARAMS lpdtp); 4362 4363 BOOL WINAPI EmptyClipboard(void); 4364 BOOL WINAPI EnableMenuItem(_In_ HMENU, _In_ UINT, _In_ UINT); 4365 BOOL WINAPI EnableScrollBar(_In_ HWND, _In_ UINT, _In_ UINT); 4366 BOOL WINAPI EnableWindow(_In_ HWND, _In_ BOOL); 4367 BOOL WINAPI EndDeferWindowPos(_In_ HDWP); 4368 BOOL WINAPI EndDialog(_In_ HWND, _In_ INT_PTR); 4369 BOOL WINAPI EndMenu(void); 4370 BOOL WINAPI EndPaint(_In_ HWND, _In_ const PAINTSTRUCT*); 4371 #if (_WIN32_WINNT >= 0x0500) 4372 BOOL WINAPI EndTask(_In_ HWND, _In_ BOOL, _In_ BOOL); 4373 #endif 4374 BOOL WINAPI EnumChildWindows(_In_opt_ HWND, _In_ WNDENUMPROC, _In_ LPARAM); 4375 UINT WINAPI EnumClipboardFormats(_In_ UINT); 4376 BOOL WINAPI EnumDesktopsA(_In_opt_ HWINSTA, _In_ DESKTOPENUMPROCA, _In_ LPARAM); 4377 BOOL WINAPI EnumDesktopsW(_In_opt_ HWINSTA, _In_ DESKTOPENUMPROCW, _In_ LPARAM); 4378 BOOL WINAPI EnumDesktopWindows(_In_opt_ HDESK, _In_ WNDENUMPROC, _In_ LPARAM); 4379 BOOL WINAPI EnumDisplayMonitors(_In_opt_ HDC, _In_opt_ LPCRECT, _In_ MONITORENUMPROC, _In_ LPARAM); 4380 #if defined(_WINGDI_) && !defined(NOGDI) 4381 BOOL WINAPI EnumDisplaySettingsA(_In_opt_ LPCSTR, _In_ DWORD, _Inout_ PDEVMODEA); 4382 BOOL WINAPI EnumDisplaySettingsW(_In_opt_ LPCWSTR, _In_ DWORD, _Inout_ PDEVMODEW); 4383 #if (_WIN32_WINNT >= 0x0500 || _WIN32_WINDOWS >= 0x0410) 4384 BOOL WINAPI EnumDisplaySettingsExA(_In_opt_ LPCSTR, _In_ DWORD, _Inout_ LPDEVMODEA, _In_ DWORD); 4385 BOOL WINAPI EnumDisplaySettingsExW(_In_opt_ LPCWSTR, _In_ DWORD, _Inout_ LPDEVMODEW, _In_ DWORD); 4386 #endif 4387 BOOL WINAPI EnumDisplayDevicesA(_In_opt_ LPCSTR, _In_ DWORD, _Inout_ PDISPLAY_DEVICEA, _In_ DWORD); 4388 BOOL WINAPI EnumDisplayDevicesW(_In_opt_ LPCWSTR, _In_ DWORD, _Inout_ PDISPLAY_DEVICEW, _In_ DWORD); 4389 #endif 4390 int WINAPI EnumPropsA(_In_ HWND, _In_ PROPENUMPROCA); 4391 int WINAPI EnumPropsW(_In_ HWND, _In_ PROPENUMPROCW); 4392 int WINAPI EnumPropsExA(_In_ HWND, _In_ PROPENUMPROCEXA, _In_ LPARAM); 4393 int WINAPI EnumPropsExW(_In_ HWND, _In_ PROPENUMPROCEXW, _In_ LPARAM); 4394 #define EnumTaskWindows(h,f,p) EnumThreadWindows((DWORD)h,f,p) 4395 BOOL WINAPI EnumThreadWindows(_In_ DWORD, _In_ WNDENUMPROC, _In_ LPARAM); 4396 BOOL WINAPI EnumWindows(_In_ WNDENUMPROC, _In_ LPARAM); 4397 BOOL WINAPI EnumWindowStationsA(_In_ WINSTAENUMPROCA, _In_ LPARAM); 4398 BOOL WINAPI EnumWindowStationsW(_In_ WINSTAENUMPROCW, _In_ LPARAM); 4399 BOOL WINAPI EqualRect(_In_ LPCRECT, _In_ LPCRECT); 4400 #define ExitWindows(r,c) ExitWindowsEx(EWX_LOGOFF,0) 4401 BOOL WINAPI ExitWindowsEx(_In_ UINT, _In_ DWORD); 4402 HWND WINAPI FindWindowA(_In_opt_ LPCSTR, _In_opt_ LPCSTR); 4403 HWND WINAPI FindWindowW(_In_opt_ LPCWSTR, _In_opt_ LPCWSTR); 4404 HWND WINAPI FindWindowExA(_In_opt_ HWND, _In_opt_ HWND, _In_opt_ LPCSTR, _In_opt_ LPCSTR); 4405 HWND WINAPI FindWindowExW(_In_opt_ HWND, _In_opt_ HWND, _In_opt_ LPCWSTR, _In_opt_ LPCWSTR); 4406 BOOL WINAPI FlashWindow(_In_ HWND, _In_ BOOL); 4407 #if (_WIN32_WINNT >= 0x0500 || _WIN32_WINDOWS >= 0x0410) 4408 BOOL WINAPI FlashWindowEx(_In_ PFLASHWINFO); 4409 #endif 4410 int WINAPI FrameRect(_In_ HDC, _In_ LPCRECT, _In_ HBRUSH); 4411 HWND WINAPI GetActiveWindow(void); 4412 HWND WINAPI GetAncestor(_In_ HWND, _In_ UINT); 4413 SHORT WINAPI GetAsyncKeyState(_In_ int); 4414 HWND WINAPI GetCapture(void); 4415 UINT WINAPI GetCaretBlinkTime(void); 4416 BOOL WINAPI GetCaretPos(_Out_ LPPOINT); 4417 BOOL WINAPI GetClassInfoA(_In_opt_ HINSTANCE, _In_ LPCSTR, _Out_ LPWNDCLASSA); 4418 BOOL WINAPI GetClassInfoExA(_In_opt_ HINSTANCE, _In_ LPCSTR, _Out_ LPWNDCLASSEXA); 4419 BOOL WINAPI GetClassInfoW(_In_opt_ HINSTANCE, _In_ LPCWSTR, _Out_ LPWNDCLASSW); 4420 BOOL WINAPI GetClassInfoExW(_In_opt_ HINSTANCE, _In_ LPCWSTR, _Out_ LPWNDCLASSEXW); 4421 DWORD WINAPI GetClassLongA(_In_ HWND, _In_ int); 4422 DWORD WINAPI GetClassLongW(_In_ HWND, _In_ int); 4423 #ifdef _WIN64 4424 ULONG_PTR WINAPI GetClassLongPtrA(_In_ HWND, _In_ int); 4425 ULONG_PTR WINAPI GetClassLongPtrW(_In_ HWND, _In_ int); 4426 #else 4427 #define GetClassLongPtrA GetClassLongA 4428 #define GetClassLongPtrW GetClassLongW 4429 #endif 4430 4431 int 4432 WINAPI 4433 GetClassNameA( 4434 _In_ HWND hWnd, 4435 _Out_writes_to_(nMaxCount, return) LPSTR lpClassName, 4436 _In_ int nMaxCount); 4437 4438 int 4439 WINAPI 4440 GetClassNameW( 4441 _In_ HWND hWnd, 4442 _Out_writes_to_(nMaxCount, return) LPWSTR lpClassName, 4443 _In_ int nMaxCount); 4444 4445 WORD WINAPI GetClassWord(_In_ HWND, _In_ int); 4446 BOOL WINAPI GetClientRect(_In_ HWND, _Out_ LPRECT); 4447 HANDLE WINAPI GetClipboardData(_In_ UINT); 4448 4449 int 4450 WINAPI 4451 GetClipboardFormatNameA( 4452 _In_ UINT format, 4453 _Out_writes_(cchMaxCount) LPSTR lpszFormatName, 4454 _In_ int cchMaxCount); 4455 4456 int 4457 WINAPI 4458 GetClipboardFormatNameW( 4459 _In_ UINT format, 4460 _Out_writes_(cchMaxCount) LPWSTR lpszFormatName, 4461 _In_ int cchMaxCount); 4462 4463 HWND WINAPI GetClipboardOwner(void); 4464 #if (_WIN32_WINNT >= 0x0500 || _WIN32_WINDOWS >= 0x0410) 4465 DWORD WINAPI GetClipboardSequenceNumber(void); 4466 #endif 4467 HWND WINAPI GetClipboardViewer(void); 4468 BOOL WINAPI GetClipCursor(_Out_ LPRECT); 4469 BOOL WINAPI GetCursorPos(_Out_ LPPOINT); 4470 HDC WINAPI GetDC(_In_opt_ HWND); 4471 HDC WINAPI GetDCEx(_In_opt_ HWND, _In_opt_ HRGN, _In_ DWORD); 4472 HWND WINAPI GetDesktopWindow(void); 4473 LONG WINAPI GetDialogBaseUnits(void); 4474 int WINAPI GetDlgCtrlID(_In_ HWND); 4475 HWND WINAPI GetDlgItem(_In_opt_ HWND, _In_ int); 4476 UINT WINAPI GetDlgItemInt(_In_ HWND, _In_ int, _Out_opt_ PBOOL, _In_ BOOL); 4477 4478 _Ret_range_(0, cchMax) 4479 UINT 4480 WINAPI 4481 GetDlgItemTextA( 4482 _In_ HWND hDlg, 4483 _In_ int nIDDlgItem, 4484 _Out_writes_(cchMax) LPSTR lpString, 4485 _In_ int cchMax); 4486 4487 _Ret_range_(0, cchMax) 4488 UINT 4489 WINAPI 4490 GetDlgItemTextW( 4491 _In_ HWND hDlg, 4492 _In_ int nIDDlgItem, 4493 _Out_writes_(cchMax) LPWSTR lpString, 4494 _In_ int cchMax); 4495 4496 UINT WINAPI GetDoubleClickTime(void); 4497 HWND WINAPI GetFocus(void); 4498 HWND WINAPI GetForegroundWindow(void); 4499 #if (_WIN32_WINNT >= 0x0500) 4500 DWORD WINAPI GetGuiResources(_In_ HANDLE, _In_ DWORD); 4501 #endif 4502 BOOL WINAPI GetIconInfo(_In_ HICON, _Out_ PICONINFO); 4503 BOOL WINAPI GetIconInfoExA(_In_ HICON, _Inout_ ICONINFOEXA*); 4504 BOOL WINAPI GetIconInfoExW(_In_ HICON, _Inout_ ICONINFOEXW*); 4505 BOOL WINAPI GetInputState(void); 4506 UINT WINAPI GetKBCodePage(void); 4507 HKL WINAPI GetKeyboardLayout(_In_ DWORD); 4508 4509 UINT 4510 WINAPI 4511 GetKeyboardLayoutList( 4512 _In_ int nBuff, 4513 _Out_writes_to_opt_(nBuff, return) HKL FAR *lpList); 4514 4515 BOOL WINAPI GetKeyboardLayoutNameA(_Out_writes_(KL_NAMELENGTH) LPSTR); 4516 BOOL WINAPI GetKeyboardLayoutNameW(_Out_writes_(KL_NAMELENGTH) LPWSTR); 4517 4518 _Check_return_ 4519 BOOL 4520 WINAPI 4521 GetKeyboardState( 4522 _Out_writes_(256) PBYTE lpKeyState); 4523 4524 int WINAPI GetKeyboardType(_In_ int); 4525 4526 int 4527 WINAPI 4528 GetKeyNameTextA( 4529 _In_ LONG lParam, 4530 _Out_writes_(cchSize) LPSTR lpString, 4531 _In_ int cchSize); 4532 4533 int 4534 WINAPI 4535 GetKeyNameTextW( 4536 _In_ LONG lParam, 4537 _Out_writes_(cchSize) LPWSTR lpString, 4538 _In_ int cchSize); 4539 4540 SHORT WINAPI GetKeyState(_In_ int); 4541 HWND WINAPI GetLastActivePopup(_In_ HWND); 4542 HMENU WINAPI GetMenu(_In_ HWND); 4543 LONG WINAPI GetMenuCheckMarkDimensions(void); 4544 DWORD WINAPI GetMenuContextHelpId(_In_ HMENU); 4545 UINT WINAPI GetMenuDefaultItem(_In_ HMENU, _In_ UINT, _In_ UINT); 4546 int WINAPI GetMenuItemCount(_In_opt_ HMENU); 4547 UINT WINAPI GetMenuItemID(_In_ HMENU, _In_ int); 4548 BOOL WINAPI GetMenuItemInfoA(_In_ HMENU, _In_ UINT, _In_ BOOL, _Inout_ LPMENUITEMINFOA); 4549 BOOL WINAPI GetMenuItemInfoW(_In_ HMENU, _In_ UINT, _In_ BOOL, _Inout_ LPMENUITEMINFOW); 4550 BOOL WINAPI GetMenuItemRect(_In_opt_ HWND, _In_ HMENU, _In_ UINT, _Out_ LPRECT); 4551 UINT WINAPI GetMenuState(_In_ HMENU, _In_ UINT, _In_ UINT); 4552 4553 int 4554 WINAPI 4555 GetMenuStringA( 4556 _In_ HMENU hMenu, 4557 _In_ UINT uIDItem, 4558 _Out_writes_opt_(cchMax) LPSTR lpString, 4559 _In_ int cchMax, 4560 _In_ UINT flags); 4561 4562 int 4563 WINAPI 4564 GetMenuStringW( 4565 _In_ HMENU hMenu, 4566 _In_ UINT uIDItem, 4567 _Out_writes_opt_(cchMax) LPWSTR lpString, 4568 _In_ int cchMax, 4569 _In_ UINT flags); 4570 4571 BOOL WINAPI GetMessageA(_Out_ LPMSG, _In_opt_ HWND, _In_ UINT, _In_ UINT); 4572 BOOL WINAPI GetMessageW(_Out_ LPMSG, _In_opt_ HWND, _In_ UINT, _In_ UINT); 4573 4574 LPARAM WINAPI GetMessageExtraInfo(void); 4575 DWORD WINAPI GetMessagePos(void); 4576 LONG WINAPI GetMessageTime(void); 4577 4578 #if (_WIN32_WINNT >= 0x0500 || _WIN32_WINDOWS >= 0x0490) 4579 int 4580 WINAPI 4581 GetMouseMovePointsEx( 4582 _In_ UINT cbSize, 4583 _In_ LPMOUSEMOVEPOINT lppt, 4584 _Out_writes_(nBufPoints) LPMOUSEMOVEPOINT lpptBuf, 4585 _In_ int nBufPoints, 4586 _In_ DWORD resolution); 4587 #endif 4588 4589 HWND WINAPI GetNextDlgGroupItem(_In_ HWND, _In_opt_ HWND, _In_ BOOL); 4590 HWND WINAPI GetNextDlgTabItem(_In_ HWND, _In_opt_ HWND, _In_ BOOL); 4591 #define GetNextWindow(h,c) GetWindow(h,c) 4592 HWND WINAPI GetOpenClipboardWindow(void); 4593 HWND WINAPI GetParent(_In_ HWND); 4594 4595 int 4596 WINAPI 4597 GetPriorityClipboardFormat( 4598 _In_reads_(cFormats) UINT *paFormatPriorityList, 4599 _In_ int cFormats); 4600 4601 HANDLE WINAPI GetPropA(_In_ HWND, _In_ LPCSTR); 4602 HANDLE WINAPI GetPropW(_In_ HWND, _In_ LPCWSTR); 4603 4604 #if (_WIN32_WINNT >= 0x0501) 4605 4606 UINT 4607 WINAPI 4608 GetRawInputBuffer( 4609 _Out_writes_bytes_opt_(*pcbSize) PRAWINPUT pData, 4610 _Inout_ PUINT pcbSize, 4611 _In_ UINT cbSizeHeader); 4612 4613 UINT 4614 WINAPI 4615 GetRawInputData( 4616 _In_ HRAWINPUT hRawInput, 4617 _In_ UINT uiCommand, 4618 _Out_writes_bytes_to_opt_(*pcbSize, return) LPVOID pData, 4619 _Inout_ PUINT pcbSize, 4620 _In_ UINT cbSizeHeader); 4621 4622 UINT 4623 WINAPI 4624 GetRawInputDeviceInfoA( 4625 _In_opt_ HANDLE hDevice, 4626 _In_ UINT uiCommand, 4627 _Inout_updates_bytes_to_opt_(*pcbSize, *pcbSize) LPVOID pData, 4628 _Inout_ PUINT pcbSize); 4629 4630 UINT 4631 WINAPI 4632 GetRawInputDeviceInfoW( 4633 _In_opt_ HANDLE hDevice, 4634 _In_ UINT uiCommand, 4635 _Inout_updates_bytes_to_opt_(*pcbSize, *pcbSize) LPVOID pData, 4636 _Inout_ PUINT pcbSize); 4637 4638 UINT 4639 WINAPI 4640 GetRawInputDeviceList( 4641 _Out_writes_opt_(*puiNumDevices) PRAWINPUTDEVICELIST pRawInputDeviceList, 4642 _Inout_ PUINT puiNumDevices, 4643 _In_ UINT cbSize); 4644 4645 UINT 4646 WINAPI 4647 GetRegisteredRawInputDevices( 4648 _Out_writes_opt_(*puiNumDevices) PRAWINPUTDEVICE pRawInputDevices, 4649 _Inout_ PUINT puiNumDevices, 4650 _In_ UINT cbSize); 4651 4652 #endif /* (_WIN32_WINNT >= 0x0501) */ 4653 4654 DWORD WINAPI GetQueueStatus(_In_ UINT); 4655 BOOL WINAPI GetScrollInfo(_In_ HWND, _In_ int, _Inout_ LPSCROLLINFO); 4656 int WINAPI GetScrollPos(_In_ HWND, _In_ int); 4657 BOOL WINAPI GetScrollRange(_In_ HWND, _In_ int, _Out_ LPINT, _Out_ LPINT); 4658 #if (_WIN32_WINNT >= 0x0500) 4659 HWND WINAPI GetShellWindow(void); 4660 #endif 4661 HMENU WINAPI GetSubMenu(_In_ HMENU, _In_ int); 4662 DWORD WINAPI GetSysColor(_In_ int); 4663 HBRUSH WINAPI GetSysColorBrush(_In_ int); 4664 #define GetSysModalWindow() (NULL) 4665 HMENU WINAPI GetSystemMenu(_In_ HWND, _In_ BOOL); 4666 int WINAPI GetSystemMetrics(_In_ int); 4667 4668 DWORD 4669 WINAPI 4670 GetTabbedTextExtentA( 4671 _In_ HDC hdc, 4672 _In_reads_(chCount) LPCSTR lpString, 4673 _In_ int chCount, 4674 _In_ int nTabPositions, 4675 _In_reads_opt_(nTabPositions) CONST INT *lpnTabStopPositions); 4676 4677 DWORD 4678 WINAPI 4679 GetTabbedTextExtentW( 4680 _In_ HDC hdc, 4681 _In_reads_(chCount) LPCWSTR lpString, 4682 _In_ int chCount, 4683 _In_ int nTabPositions, 4684 _In_reads_opt_(nTabPositions) CONST INT *lpnTabStopPositions); 4685 4686 LONG WINAPI GetWindowLongA(_In_ HWND, _In_ int); 4687 LONG WINAPI GetWindowLongW(_In_ HWND, _In_ int); 4688 #ifdef _WIN64 4689 LONG_PTR WINAPI GetWindowLongPtrA(_In_ HWND, _In_ int); 4690 LONG_PTR WINAPI GetWindowLongPtrW(_In_ HWND, _In_ int); 4691 #else 4692 #define GetWindowLongPtrA GetWindowLongA 4693 #define GetWindowLongPtrW GetWindowLongW 4694 #endif 4695 HDESK WINAPI GetThreadDesktop(_In_ DWORD); 4696 HWND WINAPI GetTopWindow(_In_opt_ HWND); 4697 BOOL WINAPI GetUpdateRect(_In_ HWND, _Out_opt_ LPRECT, _In_ BOOL); 4698 int WINAPI GetUpdateRgn(_In_ HWND, _In_ HRGN, _In_ BOOL); 4699 4700 BOOL 4701 WINAPI 4702 GetUserObjectInformationA( 4703 _In_ HANDLE hObj, 4704 _In_ int nIndex, 4705 _Out_writes_bytes_opt_(nLength) PVOID pvInfo, 4706 _In_ DWORD nLength, 4707 _Out_opt_ LPDWORD lpnLengthNeeded); 4708 4709 BOOL 4710 WINAPI 4711 GetUserObjectInformationW( 4712 _In_ HANDLE hObj, 4713 _In_ int nIndex, 4714 _Out_writes_bytes_opt_(nLength) PVOID pvInfo, 4715 _In_ DWORD nLength, 4716 _Out_opt_ LPDWORD lpnLengthNeeded); 4717 4718 BOOL 4719 WINAPI 4720 GetUserObjectSecurity( 4721 _In_ HANDLE hObj, 4722 _In_ PSECURITY_INFORMATION pSIRequested, 4723 _Out_writes_bytes_opt_(nLength) PSECURITY_DESCRIPTOR pSID, 4724 _In_ DWORD nLength, 4725 _Out_ LPDWORD lpnLengthNeeded); 4726 4727 HWND WINAPI GetWindow(_In_ HWND, _In_ UINT); 4728 DWORD WINAPI GetWindowContextHelpId(_In_ HWND); 4729 HDC WINAPI GetWindowDC(_In_opt_ HWND); 4730 BOOL WINAPI GetWindowPlacement(_In_ HWND, _Inout_ WINDOWPLACEMENT*); 4731 BOOL WINAPI GetWindowRect(_In_ HWND, _Out_ LPRECT); 4732 int WINAPI GetWindowRgn(_In_ HWND, _In_ HRGN); 4733 #define GetWindowTask(hWnd) ((HANDLE)GetWindowThreadProcessId(hWnd, NULL)) 4734 4735 _Ret_range_(0, nMaxCount) 4736 int 4737 WINAPI 4738 GetWindowTextA( 4739 _In_ HWND hWnd, 4740 _Out_writes_(nMaxCount) LPSTR lpString, 4741 _In_ int nMaxCount); 4742 4743 _Ret_range_(0, nMaxCount) 4744 int 4745 WINAPI 4746 GetWindowTextW( 4747 _In_ HWND hWnd, 4748 _Out_writes_(nMaxCount) LPWSTR lpString, 4749 _In_ int nMaxCount); 4750 4751 int WINAPI GetWindowTextLengthA(_In_ HWND); 4752 int WINAPI GetWindowTextLengthW(_In_ HWND); 4753 WORD WINAPI GetWindowWord(_In_ HWND, _In_ int); 4754 4755 BOOL 4756 WINAPI 4757 GetAltTabInfoA( 4758 _In_opt_ HWND hwnd, 4759 _In_ int iItem, 4760 _Inout_ PALTTABINFO pati, 4761 _Out_writes_opt_(cchItemText) LPSTR pszItemText, 4762 _In_ UINT cchItemText); 4763 4764 BOOL 4765 WINAPI 4766 GetAltTabInfoW( 4767 _In_opt_ HWND hwnd, 4768 _In_ int iItem, 4769 _Inout_ PALTTABINFO pati, 4770 _Out_writes_opt_(cchItemText) LPWSTR pszItemText, 4771 _In_ UINT cchItemText); 4772 4773 BOOL WINAPI GetComboBoxInfo(_In_ HWND, _Inout_ PCOMBOBOXINFO); 4774 BOOL WINAPI GetCursorInfo(_Inout_ PCURSORINFO); 4775 #if (WINVER >= 0x0500) 4776 BOOL WINAPI GetGUIThreadInfo(_In_ DWORD, _Inout_ LPGUITHREADINFO); 4777 #endif 4778 BOOL WINAPI GetLastInputInfo(_Out_ PLASTINPUTINFO); 4779 DWORD WINAPI GetListBoxInfo(_In_ HWND); 4780 BOOL WINAPI GetMenuBarInfo(_In_ HWND, _In_ LONG, _In_ LONG, _Inout_ PMENUBARINFO); 4781 BOOL WINAPI GetMenuInfo(_In_ HMENU, _Inout_ LPMENUINFO); 4782 #if (_WIN32_WINNT >= 0x0500) 4783 BOOL WINAPI GetProcessDefaultLayout(_Out_ DWORD*); 4784 #endif 4785 BOOL WINAPI GetScrollBarInfo(_In_ HWND, _In_ LONG, _Inout_ PSCROLLBARINFO); 4786 BOOL WINAPI GetTitleBarInfo(_In_ HWND, _Inout_ PTITLEBARINFO); 4787 BOOL WINAPI GetWindowInfo(_In_ HWND, _Inout_ PWINDOWINFO); 4788 BOOL WINAPI GetMonitorInfoA(_In_ HMONITOR, _Inout_ LPMONITORINFO); 4789 BOOL WINAPI GetMonitorInfoW(_In_ HMONITOR, _Inout_ LPMONITORINFO); 4790 4791 UINT 4792 WINAPI 4793 GetWindowModuleFileNameA( 4794 _In_ HWND hwnd, 4795 _Out_writes_to_(cchFileNameMax, return) LPSTR pszFileName, 4796 _In_ UINT cchFileNameMax); 4797 4798 UINT 4799 WINAPI 4800 GetWindowModuleFileNameW( 4801 _In_ HWND hwnd, 4802 _Out_writes_to_(cchFileNameMax, return) LPWSTR pszFileName, 4803 _In_ UINT cchFileNameMax); 4804 4805 BOOL WINAPI GrayStringA(_In_ HDC, _In_opt_ HBRUSH, _In_opt_ GRAYSTRINGPROC, _In_ LPARAM, _In_ int, _In_ int, _In_ int, _In_ int, _In_ int); 4806 BOOL WINAPI GrayStringW(_In_ HDC, _In_opt_ HBRUSH, _In_opt_ GRAYSTRINGPROC, _In_ LPARAM, _In_ int, _In_ int, _In_ int, _In_ int, _In_ int); 4807 BOOL WINAPI HideCaret(_In_opt_ HWND); 4808 BOOL WINAPI HiliteMenuItem(_In_ HWND, _In_ HMENU, _In_ UINT, _In_ UINT); 4809 BOOL WINAPI InflateRect(_Inout_ LPRECT, _In_ int, _In_ int); 4810 BOOL WINAPI InSendMessage(void); 4811 #if (_WIN32_WINNT >= 0x0500 || _WIN32_WINDOWS >= 0x0410) 4812 DWORD WINAPI InSendMessageEx(_Reserved_ LPVOID); 4813 #endif 4814 BOOL WINAPI InsertMenuA(_In_ HMENU, _In_ UINT, _In_ UINT, _In_ UINT_PTR, _In_opt_ LPCSTR); 4815 BOOL WINAPI InsertMenuW(_In_ HMENU, _In_ UINT, _In_ UINT, _In_ UINT_PTR, _In_opt_ LPCWSTR); 4816 BOOL WINAPI InsertMenuItemA(_In_ HMENU, _In_ UINT, _In_ BOOL, _In_ LPCMENUITEMINFOA); 4817 BOOL WINAPI InsertMenuItemW(_In_ HMENU, _In_ UINT, _In_ BOOL, _In_ LPCMENUITEMINFOW); 4818 4819 INT 4820 WINAPI 4821 InternalGetWindowText( 4822 _In_ HWND hWnd, 4823 _Out_writes_to_(cchMaxCount, return + 1) LPWSTR pString, 4824 _In_ int cchMaxCount); 4825 4826 BOOL WINAPI IntersectRect(_Out_ LPRECT, _In_ LPCRECT, _In_ LPCRECT); 4827 BOOL WINAPI InvalidateRect(_In_opt_ HWND, _In_opt_ LPCRECT, _In_ BOOL); 4828 BOOL WINAPI InvalidateRgn(_In_ HWND, _In_opt_ HRGN, _In_ BOOL); 4829 BOOL WINAPI InvertRect(_In_ HDC, _In_ LPCRECT); 4830 BOOL WINAPI IsCharAlphaA(_In_ CHAR ch); 4831 BOOL WINAPI IsCharAlphaNumericA(_In_ CHAR); 4832 BOOL WINAPI IsCharAlphaNumericW(_In_ WCHAR); 4833 BOOL WINAPI IsCharAlphaW( _In_ WCHAR); 4834 BOOL WINAPI IsCharLowerA(_In_ CHAR); 4835 BOOL WINAPI IsCharLowerW(_In_ WCHAR); 4836 BOOL WINAPI IsCharUpperA(_In_ CHAR); 4837 BOOL WINAPI IsCharUpperW(_In_ WCHAR); 4838 BOOL WINAPI IsChild(_In_ HWND, _In_ HWND); 4839 BOOL WINAPI IsClipboardFormatAvailable(_In_ UINT); 4840 BOOL WINAPI IsDialogMessageA(_In_ HWND, _In_ LPMSG); 4841 BOOL WINAPI IsDialogMessageW(_In_ HWND, _In_ LPMSG); 4842 UINT WINAPI IsDlgButtonChecked(_In_ HWND, _In_ int); 4843 #if(_WIN32_WINNT >= 0x0501) 4844 BOOL WINAPI IsGUIThread(_In_ BOOL); 4845 #endif 4846 #if(_WIN32_WINNT >= 0x0500) 4847 BOOL WINAPI IsHungAppWindow(_In_ HWND); 4848 #endif 4849 BOOL WINAPI IsIconic(_In_ HWND); 4850 BOOL WINAPI IsMenu(_In_ HMENU); 4851 BOOL WINAPI IsRectEmpty(_In_ LPCRECT); 4852 BOOL WINAPI IsWindow(_In_opt_ HWND); 4853 BOOL WINAPI IsWindowEnabled(_In_ HWND); 4854 BOOL WINAPI IsWindowUnicode(_In_ HWND); 4855 BOOL WINAPI IsWindowVisible(_In_ HWND); 4856 #if (_WIN32_WINNT >= 0x0501) 4857 BOOL WINAPI IsWinEventHookInstalled(_In_ DWORD); 4858 #endif 4859 BOOL WINAPI IsZoomed(_In_ HWND); 4860 VOID WINAPI keybd_event(_In_ BYTE, _In_ BYTE, _In_ DWORD, _In_ ULONG_PTR); 4861 BOOL WINAPI KillTimer(_In_opt_ HWND, _In_ UINT_PTR); 4862 BOOL WINAPI KillSystemTimer(HWND,UINT_PTR); 4863 HACCEL WINAPI LoadAcceleratorsA(_In_opt_ HINSTANCE, _In_ LPCSTR); 4864 HACCEL WINAPI LoadAcceleratorsW(_In_opt_ HINSTANCE, _In_ LPCWSTR); 4865 HBITMAP WINAPI LoadBitmapA(_In_opt_ HINSTANCE, _In_ LPCSTR); 4866 HBITMAP WINAPI LoadBitmapW(_In_opt_ HINSTANCE, _In_ LPCWSTR); 4867 HCURSOR WINAPI LoadCursorA(_In_opt_ HINSTANCE, _In_ LPCSTR); 4868 HCURSOR WINAPI LoadCursorW(_In_opt_ HINSTANCE, _In_ LPCWSTR); 4869 HCURSOR WINAPI LoadCursorFromFileA(_In_ LPCSTR); 4870 HCURSOR WINAPI LoadCursorFromFileW(_In_ LPCWSTR); 4871 HICON WINAPI LoadIconA(_In_opt_ HINSTANCE, _In_ LPCSTR); 4872 HICON WINAPI LoadIconW(_In_opt_ HINSTANCE, _In_ LPCWSTR); 4873 HANDLE WINAPI LoadImageA(_In_opt_ HINSTANCE, _In_ LPCSTR, _In_ UINT, _In_ int, _In_ int, _In_ UINT); 4874 HANDLE WINAPI LoadImageW(_In_opt_ HINSTANCE, _In_ LPCWSTR, _In_ UINT, _In_ int, _In_ int, _In_ UINT); 4875 HKL WINAPI LoadKeyboardLayoutA(_In_ LPCSTR, _In_ UINT); 4876 HKL WINAPI LoadKeyboardLayoutW(_In_ LPCWSTR, _In_ UINT); 4877 HMENU WINAPI LoadMenuA(_In_opt_ HINSTANCE, _In_ LPCSTR); 4878 HMENU WINAPI LoadMenuIndirectA(_In_ const MENUTEMPLATE*); 4879 HMENU WINAPI LoadMenuIndirectW(_In_ const MENUTEMPLATE*); 4880 HMENU WINAPI LoadMenuW(_In_opt_ HINSTANCE, _In_ LPCWSTR); 4881 4882 int 4883 WINAPI 4884 LoadStringA( 4885 _In_opt_ HINSTANCE hInstance, 4886 _In_ UINT uID, 4887 _Out_writes_to_(cchBufferMax, return + 1) LPSTR lpBuffer, 4888 _In_ int cchBufferMax); 4889 4890 int 4891 WINAPI 4892 LoadStringW( 4893 _In_opt_ HINSTANCE hInstance, 4894 _In_ UINT uID, 4895 _Out_writes_to_(cchBufferMax, return + 1) LPWSTR lpBuffer, 4896 _In_ int cchBufferMax); 4897 4898 BOOL WINAPI LockWindowUpdate(_In_opt_ HWND); 4899 #if (_WIN32_WINNT >= 0x0500) 4900 BOOL WINAPI LockWorkStation(void); 4901 #endif 4902 4903 typedef struct { 4904 WORD Reserved; 4905 WORD ResType; 4906 WORD ResCount; 4907 } NEWHEADER; 4908 4909 int WINAPI LookupIconIdFromDirectory(_In_reads_bytes_(sizeof(NEWHEADER)) PBYTE, _In_ BOOL); 4910 int WINAPI LookupIconIdFromDirectoryEx(_In_reads_bytes_(sizeof(NEWHEADER)) PBYTE, _In_ BOOL, _In_ int, _In_ int, _In_ UINT); 4911 BOOL WINAPI MapDialogRect(_In_ HWND, _Inout_ LPRECT); 4912 UINT WINAPI MapVirtualKeyA(_In_ UINT, _In_ UINT); 4913 UINT WINAPI MapVirtualKeyExA(_In_ UINT, _In_ UINT, _In_opt_ HKL); 4914 UINT WINAPI MapVirtualKeyExW(_In_ UINT, _In_ UINT, _In_opt_ HKL); 4915 UINT WINAPI MapVirtualKeyW(_In_ UINT, _In_ UINT); 4916 4917 int 4918 WINAPI 4919 MapWindowPoints( 4920 _In_opt_ HWND hWndFrom, 4921 _In_opt_ HWND hWndTo, 4922 _Inout_updates_(cPoints) LPPOINT lpPoints, 4923 _In_ UINT cPoints); 4924 4925 int WINAPI MenuItemFromPoint(_In_opt_ HWND, _In_ HMENU, _In_ POINT); 4926 BOOL WINAPI MessageBeep(_In_ UINT); 4927 int WINAPI MessageBoxA(_In_opt_ HWND, _In_opt_ LPCSTR, _In_opt_ LPCSTR, _In_ UINT); 4928 int WINAPI MessageBoxW(_In_opt_ HWND, _In_opt_ LPCWSTR, _In_opt_ LPCWSTR, _In_ UINT); 4929 int WINAPI MessageBoxExA(_In_opt_ HWND, _In_opt_ LPCSTR, _In_opt_ LPCSTR, _In_ UINT, _In_ WORD); 4930 int WINAPI MessageBoxExW(_In_opt_ HWND, _In_opt_ LPCWSTR, _In_opt_ LPCWSTR, _In_ UINT, _In_ WORD); 4931 int WINAPI MessageBoxIndirectA(_In_ CONST MSGBOXPARAMSA*); 4932 int WINAPI MessageBoxIndirectW(_In_ CONST MSGBOXPARAMSW*); 4933 BOOL WINAPI ModifyMenuA(_In_ HMENU, _In_ UINT, _In_ UINT, _In_ UINT_PTR, _In_opt_ LPCSTR); 4934 BOOL WINAPI ModifyMenuW(_In_ HMENU, _In_ UINT, _In_ UINT, _In_ UINT_PTR, _In_opt_ LPCWSTR); 4935 HMONITOR WINAPI MonitorFromPoint(_In_ POINT, _In_ DWORD); 4936 HMONITOR WINAPI MonitorFromRect(_In_ LPCRECT, _In_ DWORD); 4937 HMONITOR WINAPI MonitorFromWindow(_In_ HWND, _In_ DWORD); 4938 void WINAPI mouse_event(_In_ DWORD, _In_ DWORD, _In_ DWORD, _In_ DWORD, _In_ ULONG_PTR); 4939 BOOL WINAPI MoveWindow(_In_ HWND, _In_ int, _In_ int, _In_ int, _In_ int, _In_ BOOL); 4940 4941 DWORD 4942 WINAPI 4943 MsgWaitForMultipleObjects( 4944 _In_ DWORD nCount, 4945 _In_reads_opt_(nCount) CONST HANDLE *pHandles, 4946 _In_ BOOL fWaitAll, 4947 _In_ DWORD dwMilliseconds, 4948 _In_ DWORD dwWakeMask); 4949 4950 DWORD 4951 WINAPI 4952 MsgWaitForMultipleObjectsEx( 4953 _In_ DWORD nCount, 4954 _In_reads_opt_(nCount) CONST HANDLE *pHandles, 4955 _In_ DWORD dwMilliseconds, 4956 _In_ DWORD dwWakeMask, 4957 _In_ DWORD dwFlags); 4958 4959 #if (WINVER >= 0x0500) 4960 void WINAPI NotifyWinEvent(_In_ DWORD, _In_ HWND, _In_ LONG, _In_ LONG); 4961 #endif 4962 DWORD WINAPI OemKeyScan(_In_ WORD); 4963 4964 BOOL 4965 WINAPI 4966 OemToCharA( 4967 _In_ LPCSTR pSrc, 4968 _Out_writes_(_Inexpressible_(strlen(pSrc) + 1)) LPSTR pDst); 4969 4970 BOOL 4971 WINAPI 4972 OemToCharBuffA( 4973 _In_ LPCSTR lpszSrc, 4974 _Out_writes_(cchDstLength) LPSTR lpszDst, 4975 _In_ DWORD cchDstLength); 4976 4977 BOOL 4978 WINAPI 4979 OemToCharBuffW( 4980 _In_ LPCSTR lpszSrc, 4981 _Out_writes_(cchDstLength) LPWSTR lpszDst, 4982 _In_ DWORD cchDstLength); 4983 4984 BOOL 4985 WINAPI 4986 OemToCharW( 4987 _In_ LPCSTR pSrc, 4988 _Out_writes_(_Inexpressible_(strlen(pSrc) + 1)) LPWSTR pDst); 4989 4990 BOOL WINAPI OffsetRect(_Inout_ LPRECT, _In_ int, _In_ int); 4991 BOOL WINAPI OpenClipboard(_In_opt_ HWND); 4992 HDESK WINAPI OpenDesktopA(_In_ LPCSTR, _In_ DWORD, _In_ BOOL, _In_ DWORD); 4993 HDESK WINAPI OpenDesktopW(_In_ LPCWSTR, _In_ DWORD, _In_ BOOL, _In_ DWORD); 4994 BOOL WINAPI OpenIcon(_In_ HWND); 4995 HDESK WINAPI OpenInputDesktop(_In_ DWORD, _In_ BOOL, _In_ DWORD); 4996 HWINSTA WINAPI OpenWindowStationA(_In_ LPCSTR, _In_ BOOL, _In_ DWORD); 4997 HWINSTA WINAPI OpenWindowStationW(_In_ LPCWSTR, _In_ BOOL, _In_ DWORD); 4998 BOOL WINAPI PaintDesktop(_In_ HDC); 4999 BOOL WINAPI PeekMessageA(_Out_ LPMSG, _In_opt_ HWND, _In_ UINT, _In_ UINT, _In_ UINT); 5000 BOOL WINAPI PeekMessageW(_Out_ LPMSG, _In_opt_ HWND, _In_ UINT, _In_ UINT, _In_ UINT); 5001 #define PostAppMessageA(t,m,w,l) PostThreadMessageA((DWORD)t,m,w,l) 5002 #define PostAppMessageW(t,m,w,l) PostThreadMessageW((DWORD)t,m,w,l) 5003 BOOL WINAPI PostMessageA(_In_opt_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM); 5004 BOOL WINAPI PostMessageW(_In_opt_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM); 5005 5006 __analysis_noreturn 5007 void WINAPI PostQuitMessage(_In_ int); 5008 5009 BOOL WINAPI PostThreadMessageA(_In_ DWORD, _In_ UINT, _In_ WPARAM, _In_ LPARAM); 5010 BOOL WINAPI PostThreadMessageW(_In_ DWORD, _In_ UINT, _In_ WPARAM, _In_ LPARAM); 5011 #if (_WIN32_WINNT >= 0x0501) 5012 BOOL WINAPI PrintWindow(_In_ HWND, _In_ HDC, _In_ UINT); 5013 #endif 5014 5015 UINT 5016 WINAPI 5017 PrivateExtractIconsA( 5018 _In_reads_(MAX_PATH) LPCSTR szFileName, 5019 _In_ int nIconIndex, 5020 _In_ int cxIcon, 5021 _In_ int cyIcon, 5022 _Out_writes_opt_(nIcons) HICON *phicon, 5023 _Out_writes_opt_(nIcons) UINT *piconid, 5024 _In_ UINT nIcons, 5025 _In_ UINT flags); 5026 5027 UINT 5028 WINAPI 5029 PrivateExtractIconsW( 5030 _In_reads_(MAX_PATH) LPCWSTR szFileName, 5031 _In_ int nIconIndex, 5032 _In_ int cxIcon, 5033 _In_ int cyIcon, 5034 _Out_writes_opt_(nIcons) HICON *phicon, 5035 _Out_writes_opt_(nIcons) UINT *piconid, 5036 _In_ UINT nIcons, 5037 _In_ UINT flags); 5038 5039 UINT WINAPI WINAPI PrivateExtractIconExA(LPCSTR,int,HICON*,HICON*,UINT); 5040 UINT WINAPI WINAPI PrivateExtractIconExW(LPCWSTR,int,HICON*,HICON*,UINT); 5041 BOOL WINAPI PtInRect(_In_ LPCRECT, _In_ POINT); 5042 HWND WINAPI RealChildWindowFromPoint(_In_ HWND, _In_ POINT); 5043 5044 UINT 5045 WINAPI 5046 RealGetWindowClassA( 5047 _In_ HWND hwnd, 5048 _Out_writes_to_(cchClassNameMax, return) LPSTR ptszClassName, 5049 _In_ UINT cchClassNameMax); 5050 5051 UINT 5052 WINAPI 5053 RealGetWindowClassW( 5054 _In_ HWND hwnd, 5055 _Out_writes_to_(cchClassNameMax, return) LPWSTR ptszClassName, 5056 _In_ UINT cchClassNameMax); 5057 5058 BOOL WINAPI RedrawWindow(_In_opt_ HWND, _In_opt_ LPCRECT, _In_opt_ HRGN, _In_ UINT); 5059 ATOM WINAPI RegisterClassA(_In_ CONST WNDCLASSA*); 5060 ATOM WINAPI RegisterClassW(_In_ CONST WNDCLASSW*); 5061 ATOM WINAPI RegisterClassExA(_In_ CONST WNDCLASSEXA*); 5062 ATOM WINAPI RegisterClassExW(_In_ CONST WNDCLASSEXW*); 5063 #if(_WIN32_WINNT >= 0x0501) 5064 typedef BOOLEAN (WINAPI * PREGISTERCLASSNAMEW)(LPCWSTR); 5065 #endif 5066 UINT WINAPI RegisterClipboardFormatA(_In_ LPCSTR); 5067 UINT WINAPI RegisterClipboardFormatW(_In_ LPCWSTR); 5068 #if (WINVER >= 0x0500) 5069 HDEVNOTIFY WINAPI RegisterDeviceNotificationA(_In_ HANDLE, _In_ LPVOID, _In_ DWORD); 5070 HDEVNOTIFY WINAPI RegisterDeviceNotificationW(_In_ HANDLE, _In_ LPVOID, _In_ DWORD); 5071 #endif 5072 BOOL WINAPI RegisterHotKey(_In_opt_ HWND, _In_ int, _In_ UINT, _In_ UINT); 5073 BOOL WINAPI RegisterLogonProcess(DWORD,BOOL); 5074 5075 #if (_WIN32_WINNT >= 0x0501) 5076 BOOL 5077 WINAPI 5078 RegisterRawInputDevices( 5079 _In_reads_(uiNumDevices) PCRAWINPUTDEVICE pRawInputDevices, 5080 _In_ UINT uiNumDevices, 5081 _In_ UINT cbSize); 5082 #endif 5083 5084 BOOL WINAPI RegisterShellHookWindow(_In_ HWND); 5085 UINT WINAPI RegisterWindowMessageA(_In_ LPCSTR); 5086 UINT WINAPI RegisterWindowMessageW(_In_ LPCWSTR); 5087 BOOL WINAPI ReleaseCapture(void); 5088 int WINAPI ReleaseDC(_In_opt_ HWND, _In_ HDC); 5089 BOOL WINAPI RemoveMenu(_In_ HMENU, _In_ UINT, _In_ UINT); 5090 HANDLE WINAPI RemovePropA(_In_ HWND, _In_ LPCSTR); 5091 HANDLE WINAPI RemovePropW(_In_ HWND, _In_ LPCWSTR); 5092 BOOL WINAPI ReplyMessage(_In_ LRESULT); 5093 BOOL WINAPI ScreenToClient(_In_ HWND, _Inout_ LPPOINT); 5094 VOID WINAPI ScrollChildren(HWND,UINT,WPARAM,LPARAM); 5095 BOOL WINAPI ScrollDC(_In_ HDC, _In_ int, _In_ int, _In_opt_ LPCRECT, _In_opt_ LPCRECT, _In_opt_ HRGN, _Out_opt_ LPRECT); 5096 BOOL WINAPI ScrollWindow(_In_ HWND, _In_ int, _In_ int, _In_opt_ LPCRECT, _In_opt_ LPCRECT); 5097 int WINAPI ScrollWindowEx(_In_ HWND, _In_ int, _In_ int, _In_opt_ LPCRECT, _In_opt_ LPCRECT, _In_opt_ HRGN, _Out_opt_ LPRECT, _In_ UINT); 5098 LRESULT WINAPI SendDlgItemMessageA(_In_ HWND, _In_ int, _In_ UINT, _In_ WPARAM, _In_ LPARAM); 5099 LRESULT WINAPI SendDlgItemMessageW(_In_ HWND, _In_ int, _In_ UINT, _In_ WPARAM, _In_ LPARAM); 5100 5101 #if (_WIN32_WINNT >= 0x0403) 5102 UINT 5103 WINAPI 5104 SendInput( 5105 _In_ UINT cInputs, 5106 _In_reads_(cInputs) LPINPUT pInputs, 5107 _In_ int cbSize); 5108 #endif 5109 5110 LRESULT WINAPI SendMessageA(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM); 5111 BOOL WINAPI SendMessageCallbackA(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM, _In_ SENDASYNCPROC, _In_ ULONG_PTR); 5112 BOOL WINAPI SendMessageCallbackW(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM, _In_ SENDASYNCPROC, _In_ ULONG_PTR); 5113 LRESULT WINAPI SendMessageTimeoutA(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM, _In_ UINT, _In_ UINT, _Out_opt_ PDWORD_PTR); 5114 LRESULT WINAPI SendMessageTimeoutW(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM, _In_ UINT, _In_ UINT, _Out_opt_ PDWORD_PTR); 5115 LRESULT WINAPI SendMessageW(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM); 5116 BOOL WINAPI SendNotifyMessageA(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM); 5117 BOOL WINAPI SendNotifyMessageW(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM); 5118 HWND WINAPI SetActiveWindow(_In_ HWND); 5119 HWND WINAPI SetCapture(_In_ HWND hWnd); 5120 BOOL WINAPI SetCaretBlinkTime(_In_ UINT); 5121 BOOL WINAPI SetCaretPos(_In_ int, _In_ int); 5122 DWORD WINAPI SetClassLongA(_In_ HWND, _In_ int, _In_ LONG); 5123 DWORD WINAPI SetClassLongW(_In_ HWND, _In_ int, _In_ LONG); 5124 #ifdef _WIN64 5125 ULONG_PTR WINAPI SetClassLongPtrA(_In_ HWND, _In_ INT, _In_ LONG_PTR); 5126 ULONG_PTR WINAPI SetClassLongPtrW(_In_ HWND, _In_ INT, _In_ LONG_PTR); 5127 #else 5128 #define SetClassLongPtrA SetClassLongA 5129 #define SetClassLongPtrW SetClassLongW 5130 #endif 5131 WORD WINAPI SetClassWord(_In_ HWND, _In_ int, _In_ WORD); 5132 HANDLE WINAPI SetClipboardData(_In_ UINT, _In_opt_ HANDLE); 5133 HWND WINAPI SetClipboardViewer(_In_ HWND); 5134 HCURSOR WINAPI SetCursor(_In_opt_ HCURSOR); 5135 BOOL WINAPI SetCursorPos(_In_ int, _In_ int); 5136 VOID WINAPI SetDebugErrorLevel(_In_ DWORD); 5137 BOOL WINAPI SetDeskWallPaper(LPCSTR); 5138 BOOL WINAPI SetDlgItemInt(_In_ HWND, _In_ int, _In_ UINT, _In_ BOOL); 5139 BOOL WINAPI SetDlgItemTextA(_In_ HWND, _In_ int, _In_ LPCSTR); 5140 BOOL WINAPI SetDlgItemTextW(_In_ HWND, _In_ int, _In_ LPCWSTR); 5141 BOOL WINAPI SetDoubleClickTime(_In_ UINT); 5142 HWND WINAPI SetFocus(_In_opt_ HWND); 5143 BOOL WINAPI SetForegroundWindow(_In_ HWND); 5144 BOOL WINAPI SetKeyboardState(_In_reads_(256) LPBYTE); 5145 BOOL WINAPI SetMenu(_In_ HWND, _In_opt_ HMENU); 5146 BOOL WINAPI SetMenuContextHelpId(_In_ HMENU, _In_ DWORD); 5147 BOOL WINAPI SetMenuDefaultItem(_In_ HMENU, _In_ UINT, _In_ UINT); 5148 BOOL WINAPI SetMenuInfo(_In_ HMENU, _In_ LPCMENUINFO); 5149 BOOL WINAPI SetMenuItemBitmaps(_In_ HMENU, _In_ UINT, _In_ UINT, _In_opt_ HBITMAP, _In_opt_ HBITMAP); 5150 BOOL WINAPI SetMenuItemInfoA(_In_ HMENU, _In_ UINT, _In_ BOOL, _In_ LPCMENUITEMINFOA); 5151 BOOL WINAPI SetMenuItemInfoW(_In_ HMENU, _In_ UINT, _In_ BOOL, _In_ LPCMENUITEMINFOW); 5152 LPARAM WINAPI SetMessageExtraInfo(_In_ LPARAM); 5153 BOOL WINAPI SetMessageQueue(_In_ int); 5154 HWND WINAPI SetParent(_In_ HWND, _In_opt_ HWND); 5155 #if (_WIN32_WINNT >= 0x0500) 5156 BOOL WINAPI SetProcessDefaultLayout(_In_ DWORD); 5157 #endif /* (_WIN32_WINNT >= 0x0500) */ 5158 BOOL WINAPI SetProcessWindowStation(_In_ HWINSTA); 5159 BOOL WINAPI SetPropA(_In_ HWND, _In_ LPCSTR, _In_opt_ HANDLE); 5160 BOOL WINAPI SetPropW(_In_ HWND, _In_ LPCWSTR, _In_opt_ HANDLE); 5161 BOOL WINAPI SetRect(_Out_ LPRECT, _In_ int, _In_ int, _In_ int, _In_ int); 5162 BOOL WINAPI SetRectEmpty(_Out_ LPRECT); 5163 int WINAPI SetScrollInfo(_In_ HWND, _In_ int, _In_ LPCSCROLLINFO, _In_ BOOL); 5164 int WINAPI SetScrollPos(_In_ HWND, _In_ int, _In_ int, _In_ BOOL); 5165 BOOL WINAPI SetScrollRange(_In_ HWND, _In_ int, _In_ int, _In_ int, _In_ BOOL); 5166 5167 BOOL 5168 WINAPI 5169 SetSysColors( 5170 _In_ int cElements, 5171 _In_reads_(cElements) CONST INT * lpaElements, 5172 _In_reads_(cElements) CONST COLORREF * lpaRgbValues); 5173 5174 DWORD_PTR WINAPI SetSysColorsTemp(const COLORREF *, const HBRUSH *, DWORD_PTR); 5175 #define SetSysModalWindow(h) (NULL) 5176 BOOL WINAPI SetSystemCursor(_In_ HCURSOR, _In_ DWORD); 5177 BOOL WINAPI SetSystemMenu(HWND,HMENU); 5178 BOOL WINAPI SetThreadDesktop(_In_ HDESK); 5179 UINT_PTR WINAPI SetTimer(_In_opt_ HWND, _In_ UINT_PTR, _In_ UINT, _In_opt_ TIMERPROC); 5180 UINT_PTR WINAPI SetSystemTimer(HWND,UINT_PTR,UINT,TIMERPROC); 5181 5182 BOOL 5183 WINAPI 5184 SetUserObjectInformationA( 5185 _In_ HANDLE hObj, 5186 _In_ int nIndex, 5187 _In_reads_bytes_(nLength) PVOID pvInfo, 5188 _In_ DWORD nLength); 5189 5190 BOOL 5191 WINAPI 5192 SetUserObjectInformationW( 5193 _In_ HANDLE hObj, 5194 _In_ int nIndex, 5195 _In_reads_bytes_(nLength) PVOID pvInfo, 5196 _In_ DWORD nLength); 5197 5198 BOOL WINAPI SetUserObjectSecurity(_In_ HANDLE, _In_ PSECURITY_INFORMATION, _In_ PSECURITY_DESCRIPTOR); 5199 #if (WINVER >= 0x0500) 5200 HWINEVENTHOOK WINAPI SetWinEventHook(_In_ UINT, _In_ UINT, _In_opt_ HMODULE, _In_ WINEVENTPROC, _In_ DWORD, _In_ DWORD, _In_ UINT); 5201 #endif 5202 BOOL WINAPI SetWindowContextHelpId(_In_ HWND, _In_ DWORD); 5203 LONG WINAPI SetWindowLongA(_In_ HWND, _In_ int, _In_ LONG); 5204 LONG WINAPI SetWindowLongW(_In_ HWND, _In_ int, _In_ LONG); 5205 #ifdef _WIN64 5206 LONG_PTR WINAPI SetWindowLongPtrA(_In_ HWND, _In_ int, _In_ LONG_PTR); 5207 LONG_PTR WINAPI SetWindowLongPtrW(_In_ HWND, _In_ int, _In_ LONG_PTR); 5208 #else 5209 #define SetWindowLongPtrA SetWindowLongA 5210 #define SetWindowLongPtrW SetWindowLongW 5211 #endif 5212 BOOL WINAPI SetWindowPlacement(_In_ HWND hWnd, _In_ const WINDOWPLACEMENT*); 5213 BOOL WINAPI SetWindowPos(_In_ HWND, _In_opt_ HWND, _In_ int, _In_ int, _In_ int, _In_ int, _In_ UINT); 5214 int WINAPI SetWindowRgn(_In_ HWND, _In_opt_ HRGN, _In_ BOOL); 5215 HHOOK WINAPI SetWindowsHookA(_In_ int, _In_ HOOKPROC); 5216 HHOOK WINAPI SetWindowsHookW(_In_ int, _In_ HOOKPROC); 5217 HHOOK WINAPI SetWindowsHookExA(_In_ int, _In_ HOOKPROC, _In_opt_ HINSTANCE, _In_ DWORD); 5218 HHOOK WINAPI SetWindowsHookExW(_In_ int, _In_ HOOKPROC, _In_opt_ HINSTANCE, _In_ DWORD); 5219 BOOL WINAPI SetWindowTextA(_In_ HWND, _In_opt_ LPCSTR); 5220 BOOL WINAPI SetWindowTextW(_In_ HWND, _In_opt_ LPCWSTR); 5221 WORD WINAPI SetWindowWord(_In_ HWND, _In_ int, _In_ WORD); 5222 BOOL WINAPI ShowCaret(_In_opt_ HWND); 5223 int WINAPI ShowCursor(_In_ BOOL); 5224 BOOL WINAPI ShowOwnedPopups(_In_ HWND, _In_ BOOL); 5225 BOOL WINAPI ShowScrollBar(_In_ HWND, _In_ int, _In_ BOOL); 5226 BOOL WINAPI ShowWindow(_In_ HWND, _In_ int); 5227 BOOL WINAPI ShowWindowAsync(_In_ HWND, _In_ int); 5228 BOOL WINAPI SubtractRect(_Out_ LPRECT, _In_ LPCRECT, _In_ LPCRECT); 5229 BOOL WINAPI SwapMouseButton(_In_ BOOL); 5230 BOOL WINAPI SwitchDesktop(_In_ HDESK); 5231 #if(_WIN32_WINNT >= 0x0500) 5232 VOID WINAPI SwitchToThisWindow(_In_ HWND, _In_ BOOL); 5233 #endif /* (_WIN32_WINNT >= 0x0500) */ 5234 BOOL WINAPI SystemParametersInfoA(_In_ UINT, _In_ UINT, _Inout_opt_ PVOID, _In_ UINT); 5235 BOOL WINAPI SystemParametersInfoW(_In_ UINT, _In_ UINT, _Inout_opt_ PVOID, _In_ UINT); 5236 5237 LONG 5238 WINAPI 5239 TabbedTextOutA( 5240 _In_ HDC hdc, 5241 _In_ int x, 5242 _In_ int y, 5243 _In_reads_(chCount) LPCSTR lpString, 5244 _In_ int chCount, 5245 _In_ int nTabPositions, 5246 _In_reads_opt_(nTabPositions) CONST INT *lpnTabStopPositions, 5247 _In_ int nTabOrigin); 5248 5249 LONG 5250 WINAPI 5251 TabbedTextOutW( 5252 _In_ HDC hdc, 5253 _In_ int x, 5254 _In_ int y, 5255 _In_reads_(chCount) LPCWSTR lpString, 5256 _In_ int chCount, 5257 _In_ int nTabPositions, 5258 _In_reads_opt_(nTabPositions) CONST INT *lpnTabStopPositions, 5259 _In_ int nTabOrigin); 5260 5261 WORD 5262 WINAPI 5263 TileWindows( 5264 _In_opt_ HWND hwndParent, 5265 _In_ UINT wHow, 5266 _In_opt_ CONST RECT * lpRect, 5267 _In_ UINT cKids, 5268 _In_reads_opt_(cKids) const HWND FAR *lpKids); 5269 5270 int WINAPI ToAscii(_In_ UINT, _In_ UINT, _In_reads_opt_(256) CONST BYTE*, _Out_ LPWORD, _In_ UINT); 5271 int WINAPI ToAsciiEx(_In_ UINT, _In_ UINT, _In_reads_opt_(256) CONST BYTE*, _Out_ LPWORD, _In_ UINT, _In_opt_ HKL); 5272 5273 int 5274 WINAPI 5275 ToUnicode( 5276 _In_ UINT wVirtKey, 5277 _In_ UINT wScanCode, 5278 _In_reads_bytes_opt_(256) CONST BYTE *lpKeyState, 5279 _Out_writes_(cchBuff) LPWSTR pwszBuff, 5280 _In_ int cchBuff, 5281 _In_ UINT wFlags); 5282 5283 int 5284 WINAPI 5285 ToUnicodeEx( 5286 _In_ UINT wVirtKey, 5287 _In_ UINT wScanCode, 5288 _In_reads_bytes_(256) CONST BYTE *lpKeyState, 5289 _Out_writes_(cchBuff) LPWSTR pwszBuff, 5290 _In_ int cchBuff, 5291 _In_ UINT wFlags, 5292 _In_opt_ HKL dwhkl); 5293 5294 BOOL WINAPI TrackMouseEvent(_Inout_ LPTRACKMOUSEEVENT); 5295 BOOL WINAPI TrackPopupMenu(_In_ HMENU, _In_ UINT, _In_ int, _In_ int, _Reserved_ int, _In_ HWND, _Reserved_ LPCRECT); 5296 BOOL WINAPI TrackPopupMenuEx(_In_ HMENU, _In_ UINT, _In_ int, _In_ int, _In_ HWND, _In_opt_ LPTPMPARAMS); 5297 int WINAPI TranslateAcceleratorA(_In_ HWND, _In_ HACCEL, _In_ LPMSG); 5298 int WINAPI TranslateAcceleratorW(_In_ HWND, _In_ HACCEL, _In_ LPMSG); 5299 BOOL WINAPI TranslateMDISysAccel(_In_ HWND, _In_ LPMSG); 5300 BOOL WINAPI TranslateMessage(_In_ const MSG*); 5301 BOOL WINAPI UnhookWindowsHook(_In_ int, _In_ HOOKPROC); 5302 BOOL WINAPI UnhookWindowsHookEx(_In_ HHOOK); 5303 #if (WINVER >= 0x0500) 5304 BOOL WINAPI UnhookWinEvent(_In_ HWINEVENTHOOK); 5305 #endif 5306 BOOL WINAPI UnionRect(_Out_ LPRECT, _In_ LPCRECT, _In_ LPCRECT); 5307 BOOL WINAPI UnloadKeyboardLayout(_In_ HKL); 5308 BOOL WINAPI UnregisterClassA(_In_ LPCSTR,HINSTANCE); 5309 BOOL WINAPI UnregisterClassW(_In_ LPCWSTR,HINSTANCE); 5310 BOOL WINAPI UnregisterHotKey(_In_opt_ HWND, _In_ int); 5311 BOOL WINAPI UpdateWindow(_In_ HWND); 5312 #if (_WIN32_WINNT >= 0x0500) 5313 BOOL WINAPI UserHandleGrantAccess(_In_ HANDLE, _In_ HANDLE, _In_ BOOL); 5314 #endif 5315 BOOL WINAPI ValidateRect(_In_opt_ HWND, _In_opt_ LPCRECT); 5316 BOOL WINAPI ValidateRgn(_In_ HWND, _In_opt_ HRGN); 5317 SHORT WINAPI VkKeyScanA(_In_ CHAR); 5318 SHORT WINAPI VkKeyScanExA(_In_ CHAR, _In_ HKL); 5319 SHORT WINAPI VkKeyScanExW(_In_ WCHAR, _In_ HKL); 5320 SHORT WINAPI VkKeyScanW(_In_ WCHAR); 5321 DWORD WINAPI WaitForInputIdle(_In_ HANDLE, _In_ DWORD); 5322 BOOL WINAPI WaitMessage(void); 5323 HWND WINAPI WindowFromDC(_In_ HDC hDC); 5324 #if (_WIN32_WINNT >= 0x0600) 5325 HWND WINAPI WindowFromPhysicalPoint(_In_ POINT); 5326 #endif 5327 HWND WINAPI WindowFromPoint(_In_ POINT); 5328 UINT WINAPI WinExec(LPCSTR,UINT); 5329 BOOL WINAPI WinHelpA(_In_opt_ HWND, _In_opt_ LPCSTR, _In_ UINT, _In_ ULONG_PTR); 5330 BOOL WINAPI WinHelpW(_In_opt_ HWND, _In_opt_ LPCWSTR, _In_ UINT, _In_ ULONG_PTR); 5331 5332 int 5333 WINAPIV 5334 wsprintfA( 5335 _Out_ LPSTR, 5336 _In_ _Printf_format_string_ LPCSTR, 5337 ...); 5338 5339 int 5340 WINAPIV 5341 wsprintfW( 5342 _Out_ LPWSTR, 5343 _In_ _Printf_format_string_ LPCWSTR, 5344 ...); 5345 5346 int 5347 WINAPI 5348 wvsprintfA( 5349 _Out_ LPSTR, 5350 _In_ _Printf_format_string_ LPCSTR, 5351 _In_ va_list arglist); 5352 5353 int 5354 WINAPI 5355 wvsprintfW( 5356 _Out_ LPWSTR, 5357 _In_ _Printf_format_string_ LPCWSTR, 5358 _In_ va_list arglist); 5359 5360 #if (_WIN32_WINNT >= 0x0500 || _WIN32_WINDOWS >= 0x0490) 5361 BOOL WINAPI AllowSetForegroundWindow(_In_ DWORD); 5362 BOOL WINAPI LockSetForegroundWindow(_In_ UINT); 5363 #endif 5364 #if (_WIN32_WINNT >= 0x0500) 5365 5366 BOOL WINAPI SetLayeredWindowAttributes(_In_ HWND, _In_ COLORREF, _In_ BYTE, _In_ DWORD); 5367 5368 #if defined(_WINGDI_) && !defined(NOGDI) 5369 5370 BOOL 5371 WINAPI 5372 UpdateLayeredWindow( 5373 _In_ HWND hWnd, 5374 _In_opt_ HDC hdcDst, 5375 _In_opt_ POINT* pptDst, 5376 _In_opt_ SIZE* psize, 5377 _In_opt_ HDC hdcSrc, 5378 _In_opt_ POINT* pptSrc, 5379 _In_ COLORREF crKey, 5380 _In_opt_ BLENDFUNCTION* pblend, 5381 _In_ DWORD dwFlags); 5382 5383 typedef struct tagUPDATELAYEREDWINDOWINFO { 5384 DWORD cbSize; 5385 HDC hdcDst; 5386 POINT CONST* pptDst; 5387 SIZE CONST* psize; 5388 HDC hdcSrc; 5389 POINT CONST* pptSrc; 5390 COLORREF crKey; 5391 BLENDFUNCTION CONST* pblend; 5392 DWORD dwFlags; 5393 RECT CONST* prcDirty; 5394 } UPDATELAYEREDWINDOWINFO, *PUPDATELAYEREDWINDOWINFO; 5395 5396 BOOL WINAPI UpdateLayeredWindowIndirect(_In_ HWND, _In_ const UPDATELAYEREDWINDOWINFO*); 5397 5398 #endif /* defined(_WINGDI_) && !defined(NOGDI) */ 5399 5400 #endif /* (_WIN32_WINNT >= 0x0500) */ 5401 5402 #if (_WIN32_WINNT >= 0x0501) 5403 BOOL WINAPI GetLayeredWindowAttributes(_In_ HWND, _Out_opt_ COLORREF*, _Out_opt_ BYTE*, _Out_opt_ DWORD*); 5404 #endif 5405 #ifdef UNICODE 5406 #define EDITWORDBREAKPROC EDITWORDBREAKPROCW 5407 #define PROPENUMPROC PROPENUMPROCW 5408 #define PROPENUMPROCEX PROPENUMPROCEXW 5409 #define DEKSTOPENUMPROC DEKSTOPENUMPROCW 5410 #define WINSTAENUMPROC WINSTAENUMPROCW 5411 #define PROPENUMPROC PROPENUMPROCW 5412 #define PROPENUMPROCEX PROPENUMPROCEXW 5413 typedef WNDCLASSW WNDCLASS,*LPWNDCLASS,*PWNDCLASS; 5414 typedef WNDCLASSEXW WNDCLASSEX,*LPWNDCLASSEX,*PWNDCLASSEX; 5415 typedef MENUITEMINFOW MENUITEMINFO,*LPMENUITEMINFO; 5416 typedef LPCMENUITEMINFOW LPCMENUITEMINFO; 5417 typedef MSGBOXPARAMSW MSGBOXPARAMS,*PMSGBOXPARAMS,*LPMSGBOXPARAMS; 5418 typedef HIGHCONTRASTW HIGHCONTRAST,*LPHIGHCONTRAST; 5419 typedef SERIALKEYSW SERIALKEYS,*LPSERIALKEYS; 5420 typedef SOUNDSENTRYW SOUNDSENTRY,*LPSOUNDSENTRY; 5421 typedef CREATESTRUCTW CREATESTRUCT, *LPCREATESTRUCT; 5422 typedef CBT_CREATEWNDW CBT_CREATEWND, *LPCBT_CREATEWND; 5423 typedef MDICREATESTRUCTW MDICREATESTRUCT,*LPMDICREATESTRUCT; 5424 typedef MULTIKEYHELPW MULTIKEYHELP,*PMULTIKEYHELP,*LPMULTIKEYHELP; 5425 typedef MONITORINFOEXW MONITORINFOEX, *LPMONITORINFOEX; 5426 #define AppendMenu AppendMenuW 5427 #define BroadcastSystemMessage BroadcastSystemMessageW 5428 #define BroadcastSystemMessageEx BroadcastSystemMessageExW 5429 #define CallMsgFilter CallMsgFilterW 5430 #define CallWindowProc CallWindowProcW 5431 #define ChangeMenu ChangeMenuW 5432 #define CharLower CharLowerW 5433 #define CharLowerBuff CharLowerBuffW 5434 #define CharNext CharNextW 5435 #define CharNextEx CharNextExW 5436 #define CharPrev CharPrevW 5437 #define CharPrevEx CharPrevExW 5438 #define CharToOem CharToOemW 5439 #define CharToOemBuff CharToOemBuffW 5440 #define CharUpper CharUpperW 5441 #define CharUpperBuff CharUpperBuffW 5442 #define CopyAcceleratorTable CopyAcceleratorTableW 5443 #define CreateAcceleratorTable CreateAcceleratorTableW 5444 #define CreateDialog CreateDialogW 5445 #define CreateDialogIndirect CreateDialogIndirectW 5446 #define CreateDialogIndirectParam CreateDialogIndirectParamW 5447 #define CreateDialogParam CreateDialogParamW 5448 #define CreateMDIWindow CreateMDIWindowW 5449 #define CreateWindow CreateWindowW 5450 #define CreateWindowEx CreateWindowExW 5451 #define CreateWindowStation CreateWindowStationW 5452 #define DefDlgProc DefDlgProcW 5453 #define DefFrameProc DefFrameProcW 5454 #define DefMDIChildProc DefMDIChildProcW 5455 #define DefWindowProc DefWindowProcW 5456 #define DialogBox DialogBoxW 5457 #define DialogBoxIndirect DialogBoxIndirectW 5458 #define DialogBoxIndirectParam DialogBoxIndirectParamW 5459 #define DialogBoxParam DialogBoxParamW 5460 #define DispatchMessage DispatchMessageW 5461 #define DlgDirList DlgDirListW 5462 #define DlgDirListComboBox DlgDirListComboBoxW 5463 #define DlgDirSelectComboBoxEx DlgDirSelectComboBoxExW 5464 #define DlgDirSelectEx DlgDirSelectExW 5465 #define DrawState DrawStateW 5466 #define DrawText DrawTextW 5467 #define DrawTextEx DrawTextExW 5468 #define EnumDesktops EnumDesktopsW 5469 #define EnumProps EnumPropsW 5470 #define EnumPropsEx EnumPropsExW 5471 #define EnumWindowStations EnumWindowStationsW 5472 #define FindWindow FindWindowW 5473 #define FindWindowEx FindWindowExW 5474 #define GetClassInfo GetClassInfoW 5475 #define GetClassInfoEx GetClassInfoExW 5476 #define GetClassLong GetClassLongW 5477 #define GetClassLongPtr GetClassLongPtrW 5478 #define GetClassName GetClassNameW 5479 #define GetClipboardFormatName GetClipboardFormatNameW 5480 #define GetDlgItemText GetDlgItemTextW 5481 #define GetKeyboardLayoutName GetKeyboardLayoutNameW 5482 #define GetKeyNameText GetKeyNameTextW 5483 #define GetMenuItemInfo GetMenuItemInfoW 5484 #define GetMenuString GetMenuStringW 5485 #define GetMessage GetMessageW 5486 #define GetMonitorInfo GetMonitorInfoW 5487 #define GetProp GetPropW 5488 #define GetRawInputDeviceInfo GetRawInputDeviceInfoW 5489 #define GetTabbedTextExtent GetTabbedTextExtentW 5490 #define GetUserObjectInformation GetUserObjectInformationW 5491 #define GetWindowLong GetWindowLongW 5492 #define GetWindowLongPtr GetWindowLongPtrW 5493 #define GetWindowText GetWindowTextW 5494 #define GetWindowTextLength GetWindowTextLengthW 5495 #define GetAltTabInfo GetAltTabInfoW 5496 #define GetWindowModuleFileName GetWindowModuleFileNameW 5497 #define GrayString GrayStringW 5498 #define InsertMenu InsertMenuW 5499 #define InsertMenuItem InsertMenuItemW 5500 #define IsCharAlpha IsCharAlphaW 5501 #define IsCharAlphaNumeric IsCharAlphaNumericW 5502 #define IsCharLower IsCharLowerW 5503 #define IsCharUpper IsCharUpperW 5504 #define IsDialogMessage IsDialogMessageW 5505 #define LoadAccelerators LoadAcceleratorsW 5506 #define LoadBitmap LoadBitmapW 5507 #define LoadCursor LoadCursorW 5508 #define LoadCursorFromFile LoadCursorFromFileW 5509 #define LoadIcon LoadIconW 5510 #define LoadImage LoadImageW 5511 #define LoadKeyboardLayout LoadKeyboardLayoutW 5512 #define LoadMenu LoadMenuW 5513 #define LoadMenuIndirect LoadMenuIndirectW 5514 #define LoadString LoadStringW 5515 #define MapVirtualKey MapVirtualKeyW 5516 #define MapVirtualKeyEx MapVirtualKeyExW 5517 #define MessageBox MessageBoxW 5518 #define MessageBoxEx MessageBoxExW 5519 #define MessageBoxIndirect MessageBoxIndirectW 5520 #define ModifyMenu ModifyMenuW 5521 #define OemToChar OemToCharW 5522 #define OemToCharBuff OemToCharBuffW 5523 #define OpenDesktop OpenDesktopW 5524 #define OpenWindowStation OpenWindowStationW 5525 #define PeekMessage PeekMessageW 5526 #define PostAppMessage PostAppMessageW 5527 #define PostMessage PostMessageW 5528 #define PostThreadMessage PostThreadMessageW 5529 #define PrivateExtractIcons PrivateExtractIconsW 5530 #define RealGetWindowClass RealGetWindowClassW 5531 #define RegisterClass RegisterClassW 5532 #define RegisterClassEx RegisterClassExW 5533 #define RegisterClipboardFormat RegisterClipboardFormatW 5534 #define RegisterDeviceNotification RegisterDeviceNotificationW 5535 #define RegisterWindowMessage RegisterWindowMessageW 5536 #define RemoveProp RemovePropW 5537 #define SendDlgItemMessage SendDlgItemMessageW 5538 #define SendMessage SendMessageW 5539 #define SendMessageCallback SendMessageCallbackW 5540 #define SendMessageTimeout SendMessageTimeoutW 5541 #define SendNotifyMessage SendNotifyMessageW 5542 #define SetClassLong SetClassLongW 5543 #define SetClassLongPtr SetClassLongPtrW 5544 #define SetDlgItemText SetDlgItemTextW 5545 #define SetMenuItemInfo SetMenuItemInfoW 5546 #define SetProp SetPropW 5547 #define SetUserObjectInformation SetUserObjectInformationW 5548 #define SetWindowLong SetWindowLongW 5549 #define SetWindowLongPtr SetWindowLongPtrW 5550 #define SetWindowsHook SetWindowsHookW 5551 #define SetWindowsHookEx SetWindowsHookExW 5552 #define SetWindowText SetWindowTextW 5553 #define SystemParametersInfo SystemParametersInfoW 5554 #define TabbedTextOut TabbedTextOutW 5555 #define TranslateAccelerator TranslateAcceleratorW 5556 #define UnregisterClass UnregisterClassW 5557 #define VkKeyScan VkKeyScanW 5558 #define VkKeyScanEx VkKeyScanExW 5559 #define WinHelp WinHelpW 5560 #define wsprintf wsprintfW 5561 #define wvsprintf wvsprintfW 5562 5563 #ifndef NOGDI 5564 #define ChangeDisplaySettings ChangeDisplaySettingsW 5565 #define ChangeDisplaySettingsEx ChangeDisplaySettingsExW 5566 #define CreateDesktop CreateDesktopW 5567 #define EnumDisplaySettings EnumDisplaySettingsW 5568 #define EnumDisplaySettingsEx EnumDisplaySettingsExW 5569 #define EnumDisplayDevices EnumDisplayDevicesW 5570 #endif /* NOGDI */ 5571 #else /* UNICODE */ 5572 #define EDITWORDBREAKPROC EDITWORDBREAKPROCA 5573 #define PROPENUMPROC PROPENUMPROCA 5574 #define PROPENUMPROCEX PROPENUMPROCEXA 5575 #define DEKSTOPENUMPROC DEKSTOPENUMPROCA 5576 #define WINSTAENUMPROC WINSTAENUMPROCA 5577 #define PROPENUMPROC PROPENUMPROCA 5578 #define PROPENUMPROCEX PROPENUMPROCEXA 5579 typedef WNDCLASSA WNDCLASS,*LPWNDCLASS,*PWNDCLASS; 5580 typedef WNDCLASSEXA WNDCLASSEX,*LPWNDCLASSEX,*PWNDCLASSEX; 5581 typedef MENUITEMINFOA MENUITEMINFO,*LPMENUITEMINFO; 5582 typedef LPCMENUITEMINFOA LPCMENUITEMINFO; 5583 typedef MSGBOXPARAMSA MSGBOXPARAMS,*PMSGBOXPARAMS,*LPMSGBOXPARAMS; 5584 typedef HIGHCONTRASTA HIGHCONTRAST,*LPHIGHCONTRAST; 5585 typedef SERIALKEYSA SERIALKEYS,*LPSERIALKEYS; 5586 typedef SOUNDSENTRYA SOUNDSENTRY,*LPSOUNDSENTRY; 5587 typedef CREATESTRUCTA CREATESTRUCT, *LPCREATESTRUCT; 5588 typedef CBT_CREATEWNDA CBT_CREATEWND, *LPCBT_CREATEWND; 5589 typedef MDICREATESTRUCTA MDICREATESTRUCT,*LPMDICREATESTRUCT; 5590 typedef MULTIKEYHELPA MULTIKEYHELP,*PMULTIKEYHELP,*LPMULTIKEYHELP; 5591 typedef MONITORINFOEXA MONITORINFOEX, *LPMONITORINFOEX; 5592 #define AppendMenu AppendMenuA 5593 #define BroadcastSystemMessage BroadcastSystemMessageA 5594 #define BroadcastSystemMessageEx BroadcastSystemMessageExA 5595 #define CallMsgFilter CallMsgFilterA 5596 #define CallWindowProc CallWindowProcA 5597 #define ChangeMenu ChangeMenuA 5598 #define CharLower CharLowerA 5599 #define CharLowerBuff CharLowerBuffA 5600 #define CharNext CharNextA 5601 #define CharNextEx CharNextExA 5602 #define CharPrev CharPrevA 5603 #define CharPrevEx CharPrevExA 5604 #define CharToOem CharToOemA 5605 #define CharToOemBuff CharToOemBuffA 5606 #define CharUpper CharUpperA 5607 #define CharUpperBuff CharUpperBuffA 5608 #define CopyAcceleratorTable CopyAcceleratorTableA 5609 #define CreateAcceleratorTable CreateAcceleratorTableA 5610 #define CreateDialog CreateDialogA 5611 #define CreateDialogIndirect CreateDialogIndirectA 5612 #define CreateDialogIndirectParam CreateDialogIndirectParamA 5613 #define CreateDialogParam CreateDialogParamA 5614 #define CreateMDIWindow CreateMDIWindowA 5615 #define CreateWindow CreateWindowA 5616 #define CreateWindowEx CreateWindowExA 5617 #define CreateWindowStation CreateWindowStationA 5618 #define DefDlgProc DefDlgProcA 5619 #define DefFrameProc DefFrameProcA 5620 #define DefMDIChildProc DefMDIChildProcA 5621 #define DefWindowProc DefWindowProcA 5622 #define DialogBox DialogBoxA 5623 #define DialogBoxIndirect DialogBoxIndirectA 5624 #define DialogBoxIndirectParam DialogBoxIndirectParamA 5625 #define DialogBoxParam DialogBoxParamA 5626 #define DispatchMessage DispatchMessageA 5627 #define DlgDirList DlgDirListA 5628 #define DlgDirListComboBox DlgDirListComboBoxA 5629 #define DlgDirSelectComboBoxEx DlgDirSelectComboBoxExA 5630 #define DlgDirSelectEx DlgDirSelectExA 5631 #define DrawState DrawStateA 5632 #define DrawText DrawTextA 5633 #define DrawTextEx DrawTextExA 5634 #define EnumDesktops EnumDesktopsA 5635 #define EnumProps EnumPropsA 5636 #define EnumPropsEx EnumPropsExA 5637 #define EnumWindowStations EnumWindowStationsA 5638 #define FindWindow FindWindowA 5639 #define FindWindowEx FindWindowExA 5640 #define GetClassInfo GetClassInfoA 5641 #define GetClassInfoEx GetClassInfoExA 5642 #define GetClassLong GetClassLongA 5643 #define GetClassLongPtr GetClassLongPtrA 5644 #define GetClassName GetClassNameA 5645 #define GetClipboardFormatName GetClipboardFormatNameA 5646 #define GetDlgItemText GetDlgItemTextA 5647 #define GetKeyboardLayoutName GetKeyboardLayoutNameA 5648 #define GetKeyNameText GetKeyNameTextA 5649 #define GetMenuItemInfo GetMenuItemInfoA 5650 #define GetMenuString GetMenuStringA 5651 #define GetMessage GetMessageA 5652 #define GetMonitorInfo GetMonitorInfoA 5653 #define GetProp GetPropA 5654 #define GetRawInputDeviceInfo GetRawInputDeviceInfoA 5655 #define GetTabbedTextExtent GetTabbedTextExtentA 5656 #define GetUserObjectInformation GetUserObjectInformationA 5657 #define GetWindowLong GetWindowLongA 5658 #define GetWindowLongPtr GetWindowLongPtrA 5659 #define GetWindowText GetWindowTextA 5660 #define GetWindowTextLength GetWindowTextLengthA 5661 #define GetAltTabInfo GetAltTabInfoA 5662 #define GetWindowModuleFileName GetWindowModuleFileNameA 5663 #define GrayString GrayStringA 5664 #define InsertMenu InsertMenuA 5665 #define InsertMenuItem InsertMenuItemA 5666 #define IsCharAlpha IsCharAlphaA 5667 #define IsCharAlphaNumeric IsCharAlphaNumericA 5668 #define IsCharLower IsCharLowerA 5669 #define IsCharUpper IsCharUpperA 5670 #define IsDialogMessage IsDialogMessageA 5671 #define LoadAccelerators LoadAcceleratorsA 5672 #define LoadBitmap LoadBitmapA 5673 #define LoadCursor LoadCursorA 5674 #define LoadIcon LoadIconA 5675 #define LoadCursorFromFile LoadCursorFromFileA 5676 #define LoadImage LoadImageA 5677 #define LoadKeyboardLayout LoadKeyboardLayoutA 5678 #define LoadMenu LoadMenuA 5679 #define LoadMenuIndirect LoadMenuIndirectA 5680 #define LoadString LoadStringA 5681 #define MapVirtualKey MapVirtualKeyA 5682 #define MapVirtualKeyEx MapVirtualKeyExA 5683 #define MessageBox MessageBoxA 5684 #define MessageBoxEx MessageBoxExA 5685 #define MessageBoxIndirect MessageBoxIndirectA 5686 #define ModifyMenu ModifyMenuA 5687 #define OemToChar OemToCharA 5688 #define OemToCharBuff OemToCharBuffA 5689 #define OpenDesktop OpenDesktopA 5690 #define OpenWindowStation OpenWindowStationA 5691 #define PeekMessage PeekMessageA 5692 #define PostAppMessage PostAppMessageA 5693 #define PostMessage PostMessageA 5694 #define PostThreadMessage PostThreadMessageA 5695 #define PrivateExtractIcons PrivateExtractIconsA 5696 #define RealGetWindowClass RealGetWindowClassA 5697 #define RegisterClass RegisterClassA 5698 #define RegisterClassEx RegisterClassExA 5699 #define RegisterClipboardFormat RegisterClipboardFormatA 5700 #define RegisterDeviceNotification RegisterDeviceNotificationA 5701 #define RegisterWindowMessage RegisterWindowMessageA 5702 #define RemoveProp RemovePropA 5703 #define SendDlgItemMessage SendDlgItemMessageA 5704 #define SendMessage SendMessageA 5705 #define SendMessageCallback SendMessageCallbackA 5706 #define SendMessageTimeout SendMessageTimeoutA 5707 #define SendNotifyMessage SendNotifyMessageA 5708 #define SetClassLong SetClassLongA 5709 #define SetClassLongPtr SetClassLongPtrA 5710 #define SetDlgItemText SetDlgItemTextA 5711 #define SetMenuItemInfo SetMenuItemInfoA 5712 #define SetProp SetPropA 5713 #define SetUserObjectInformation SetUserObjectInformationA 5714 #define SetWindowLong SetWindowLongA 5715 #define SetWindowLongPtr SetWindowLongPtrA 5716 #define SetWindowsHook SetWindowsHookA 5717 #define SetWindowsHookEx SetWindowsHookExA 5718 #define SetWindowText SetWindowTextA 5719 #define SystemParametersInfo SystemParametersInfoA 5720 #define TabbedTextOut TabbedTextOutA 5721 #define TranslateAccelerator TranslateAcceleratorA 5722 #define UnregisterClass UnregisterClassA 5723 #define VkKeyScan VkKeyScanA 5724 #define VkKeyScanEx VkKeyScanExA 5725 #define WinHelp WinHelpA 5726 #define wsprintf wsprintfA 5727 #define wvsprintf wvsprintfA 5728 #if defined(_WINGDI_) && !defined(NOGDI) 5729 #define ChangeDisplaySettings ChangeDisplaySettingsA 5730 #define ChangeDisplaySettingsEx ChangeDisplaySettingsExA 5731 #define CreateDesktop CreateDesktopA 5732 #define EnumDisplaySettings EnumDisplaySettingsA 5733 #define EnumDisplaySettingsEx EnumDisplaySettingsExA 5734 #define EnumDisplayDevices EnumDisplayDevicesA 5735 #endif /* NOGDI */ 5736 #endif /* UNICODE */ 5737 #endif /* RC_INVOKED */ 5738 5739 #ifdef _WINE 5740 #include "reactos/undocuser.h" 5741 #endif 5742 5743 #ifdef _MSC_VER 5744 #pragma warning(pop) 5745 #endif 5746 5747 #ifdef __cplusplus 5748 } 5749 #endif 5750 #endif 5751