12 /* Define a bunch of callback types */
14 #if defined(STRICT) || defined(__WINE__)
15 typedef BOOL
CALLBACK (*DLGPROC
)(HWND
,UINT
,WPARAM
,LPARAM
);
16 typedef BOOL
CALLBACK (*DRAWSTATEPROC
)(HDC
,LPARAM
,WPARAM
,int,int);
17 typedef INT
CALLBACK (*EDITWORDBREAKPROCA
)(LPSTR
,INT
,INT
,INT
);
18 typedef INT
CALLBACK (*EDITWORDBREAKPROCW
)(LPWSTR
,INT
,INT
,INT
);
19 typedef BOOL
CALLBACK (*GRAYSTRINGPROC
)(HDC
,LPARAM
,INT
);
20 typedef LRESULT
CALLBACK (*HOOKPROC
)(INT
,WPARAM
,LPARAM
);
21 typedef BOOL
CALLBACK (*NAMEENUMPROCA
)(LPSTR
,LPARAM
);
22 typedef BOOL
CALLBACK (*NAMEENUMPROCW
)(LPWSTR
,LPARAM
);
23 typedef BOOL
CALLBACK (*PROPENUMPROCA
)(HWND
,LPCSTR
,HANDLE
);
24 typedef BOOL
CALLBACK (*PROPENUMPROCW
)(HWND
,LPCWSTR
,HANDLE
);
25 typedef BOOL
CALLBACK (*PROPENUMPROCEXA
)(HWND
,LPCSTR
,HANDLE
,ULONG_PTR
);
26 typedef BOOL
CALLBACK (*PROPENUMPROCEXW
)(HWND
,LPCWSTR
,HANDLE
,ULONG_PTR
);
27 typedef VOID
CALLBACK (*SENDASYNCPROC
)(HWND
,UINT
,ULONG_PTR
,LRESULT
);
28 typedef VOID
CALLBACK (*TIMERPROC
)(HWND
,UINT
,UINT
,DWORD
);
29 typedef BOOL
CALLBACK (*WNDENUMPROC
)(HWND
,LPARAM
);
31 typedef FARPROC DLGPROC
;
32 typedef FARPROC DRAWSTATEPROC
;
33 typedef FARPROC EDITWORDBREAKPROCA
;
34 typedef FARPROC EDITWORDBREAKPROCW
;
35 typedef FARPROC GRAYSTRINGPROC
;
36 typedef FARPROC HOOKPROC
;
37 typedef FARPROC NAMEENUMPROCA
;
38 typedef FARPROC NAMEENUMPROCW
;
39 typedef FARPROC PROPENUMPROCA
;
40 typedef FARPROC PROPENUMPROCW
;
41 typedef FARPROC PROPENUMPROCEXA
;
42 typedef FARPROC PROPENUMPROCEXW
;
43 typedef FARPROC SENDASYNCPROC
;
44 typedef FARPROC TIMERPROC
;
45 typedef FARPROC WNDENUMPROC
;
46 #endif /* STRICT || __WINE__ */
48 typedef NAMEENUMPROCA WINSTAENUMPROCA
;
49 typedef NAMEENUMPROCA DESKTOPENUMPROCA
;
50 typedef NAMEENUMPROCW WINSTAENUMPROCW
;
51 typedef NAMEENUMPROCW DESKTOPENUMPROCW
;
53 typedef LRESULT
CALLBACK (*WNDPROC
)(HWND
,UINT
,WPARAM
,LPARAM
);
55 DECL_WINELIB_TYPE_AW(DESKTOPENUMPROC
)
56 DECL_WINELIB_TYPE_AW(EDITWORDBREAKPROC
)
57 DECL_WINELIB_TYPE_AW(NAMEENUMPROC
)
58 DECL_WINELIB_TYPE_AW(PROPENUMPROC
)
59 DECL_WINELIB_TYPE_AW(PROPENUMPROCEX
)
60 DECL_WINELIB_TYPE_AW(WINSTAENUMPROC
)
66 /* flags for HIGHCONTRAST dwFlags field */
67 #define HCF_HIGHCONTRASTON 0x00000001
68 #define HCF_AVAILABLE 0x00000002
69 #define HCF_HOTKEYACTIVE 0x00000004
70 #define HCF_CONFIRMHOTKEY 0x00000008
71 #define HCF_HOTKEYSOUND 0x00000010
72 #define HCF_INDICATOR 0x00000020
73 #define HCF_HOTKEYAVAILABLE 0x00000040
75 typedef struct tagHIGHCONTRASTA
79 LPSTR lpszDefaultScheme
;
80 } HIGHCONTRASTA
, *LPHIGHCONTRASTA
;
82 typedef struct tagHIGHCONTRASTW
86 LPWSTR lpszDefaultScheme
;
87 } HIGHCONTRASTW
, *LPHIGHCONTRASTW
;
89 DECL_WINELIB_TYPE_AW(HIGHCONTRAST
)
90 DECL_WINELIB_TYPE_AW(LPHIGHCONTRAST
)
99 } EVENTMSG
, *PEVENTMSG
, *LPEVENTMSG
;
102 /* WH_KEYBOARD_LL structure */
103 typedef struct tagKBDLLHOOKSTRUCT
109 ULONG_PTR dwExtraInfo
;
110 } KBDLLHOOKSTRUCT
, *LPKBDLLHOOKSTRUCT
, *PKBDLLHOOKSTRUCT
;
112 #define LLKHF_EXTENDED (KF_EXTENDED >> 8)
113 #define LLKHF_INJECTED 0x00000010
114 #define LLKHF_ALTDOWN (KF_ALTDOWN >> 8)
115 #define LLKHF_UP (KF_UP >> 8)
117 /* WH_MOUSE_LL structure */
118 typedef struct tagMSLLHOOKSTRUCT
124 ULONG_PTR dwExtraInfo
;
125 } MSLLHOOKSTRUCT
, *LPMSLLHOOKSTRUCT
, *PMSLLHOOKSTRUCT
;
127 #define LLMHF_INJECTED 0x00000001
129 /* Mouse hook structure */
137 } MOUSEHOOKSTRUCT
, *PMOUSEHOOKSTRUCT
, *LPMOUSEHOOKSTRUCT
;
140 /* Hardware hook structure */
148 } HARDWAREHOOKSTRUCT
, *PHARDWAREHOOKSTRUCT
, *LPHARDWAREHOOKSTRUCT
;
151 /* Debug hook structure */
156 DWORD idThreadInstaller
;
160 } DEBUGHOOKINFO
, *PDEBUGHOOKINFO
, *LPDEBUGHOOKINFO
;
165 #define KLF_ACTIVATE 0x00000001
166 #define KLF_SUBSTITUTE_OK 0x00000002
167 #define KLF_UNLOADPREVIOUS 0x00000004
168 #define KLF_REORDER 0x00000008
169 #define KLF_REPLACELANG 0x00000010
170 #define KLF_NOTELLSHELL 0x00000080
172 #define KL_NAMELENGTH 9
174 typedef struct tagMOUSEINPUT
181 ULONG_PTR dwExtraInfo
;
182 } MOUSEINPUT
, *PMOUSEINPUT
, *LPMOUSEINPUT
;
184 typedef struct tagKEYBDINPUT
190 ULONG_PTR dwExtraInfo
;
191 } KEYBDINPUT
, *PKEYBDINPUT
, *LPKEYBDINPUT
;
193 typedef struct tagHARDWAREINPUT
198 } HARDWAREINPUT
, *PHARDWAREINPUT
, *LPHARDWAREINPUT
;
200 #define INPUT_MOUSE 0
201 #define INPUT_KEYBOARD 1
202 #define INPUT_HARDWARE 2
204 typedef struct tagINPUT
213 } INPUT
, *PINPUT
, *LPINPUT
;
216 /***** Dialogs *****/
218 /* Gcc on Solaris has a version of this that we don't care about */
221 #define FVIRTKEY TRUE /* Assumed to be == TRUE */
222 #define FNOINVERT 0x02
224 #define FCONTROL 0x08
228 typedef struct tagANIMATIONINFO
232 } ANIMATIONINFO
, *LPANIMATIONINFO
;
234 typedef struct tagNMHDR
248 } DRAWTEXTPARAMS
,*LPDRAWTEXTPARAMS
;
250 #define WM_USER 0x0400
252 #define DT_EDITCONTROL 0x00002000
253 #define DT_PATH_ELLIPSIS 0x00004000
254 #define DT_END_ELLIPSIS 0x00008000
255 #define DT_MODIFYSTRING 0x00010000
256 #define DT_RTLREADING 0x00020000
257 #define DT_WORD_ELLIPSIS 0x00040000
265 } CWPSTRUCT
, *PCWPSTRUCT
, *LPCWPSTRUCT
;
274 } CWPRETSTRUCT
, *PCWPRETSTRUCT
, *LPCWPRETSTRUCT
;
281 POINT ptMinPosition WINE_PACKED
;
282 POINT ptMaxPosition WINE_PACKED
;
283 RECT rcNormalPosition WINE_PACKED
;
284 } WINDOWPLACEMENT
, *PWINDOWPLACEMENT
, *LPWINDOWPLACEMENT
;
287 /* WINDOWPLACEMENT flags */
288 #define WPF_SETMINPOSITION 0x0001
289 #define WPF_RESTORETOMAXIMIZED 0x0002
291 /***** Dialogs *****/
293 #define MAKEINTRESOURCEA(i) (LPSTR)((DWORD)((WORD)(i)))
294 #define MAKEINTRESOURCEW(i) (LPWSTR)((DWORD)((WORD)(i)))
295 #define MAKEINTRESOURCE WINELIB_NAME_AW(MAKEINTRESOURCE)
297 /* Predefined resource types */
298 #define RT_CURSORA MAKEINTRESOURCEA(1)
299 #define RT_CURSORW MAKEINTRESOURCEW(1)
300 #define RT_CURSOR WINELIB_NAME_AW(RT_CURSOR)
301 #define RT_BITMAPA MAKEINTRESOURCEA(2)
302 #define RT_BITMAPW MAKEINTRESOURCEW(2)
303 #define RT_BITMAP WINELIB_NAME_AW(RT_BITMAP)
304 #define RT_ICONA MAKEINTRESOURCEA(3)
305 #define RT_ICONW MAKEINTRESOURCEW(3)
306 #define RT_ICON WINELIB_NAME_AW(RT_ICON)
307 #define RT_MENUA MAKEINTRESOURCEA(4)
308 #define RT_MENUW MAKEINTRESOURCEW(4)
309 #define RT_MENU WINELIB_NAME_AW(RT_MENU)
310 #define RT_DIALOGA MAKEINTRESOURCEA(5)
311 #define RT_DIALOGW MAKEINTRESOURCEW(5)
312 #define RT_DIALOG WINELIB_NAME_AW(RT_DIALOG)
313 #define RT_STRINGA MAKEINTRESOURCEA(6)
314 #define RT_STRINGW MAKEINTRESOURCEW(6)
315 #define RT_STRING WINELIB_NAME_AW(RT_STRING)
316 #define RT_FONTDIRA MAKEINTRESOURCEA(7)
317 #define RT_FONTDIRW MAKEINTRESOURCEW(7)
318 #define RT_FONTDIR WINELIB_NAME_AW(RT_FONTDIR)
319 #define RT_FONTA MAKEINTRESOURCEA(8)
320 #define RT_FONTW MAKEINTRESOURCEW(8)
321 #define RT_FONT WINELIB_NAME_AW(RT_FONT)
322 #define RT_ACCELERATORA MAKEINTRESOURCEA(9)
323 #define RT_ACCELERATORW MAKEINTRESOURCEW(9)
324 #define RT_ACCELERATOR WINELIB_NAME_AW(RT_ACCELERATOR)
325 #define RT_RCDATAA MAKEINTRESOURCEA(10)
326 #define RT_RCDATAW MAKEINTRESOURCEW(10)
327 #define RT_RCDATA WINELIB_NAME_AW(RT_RCDATA)
328 #define RT_MESSAGETABLEA MAKEINTRESOURCEA(11)
329 #define RT_MESSAGETABLEW MAKEINTRESOURCEW(11)
330 #define RT_MESSAGETABLE WINELIB_NAME_AW(RT_MESSAGETABLE)
331 #define RT_GROUP_CURSORA MAKEINTRESOURCEA(12)
332 #define RT_GROUP_CURSORW MAKEINTRESOURCEW(12)
333 #define RT_GROUP_CURSOR WINELIB_NAME_AW(RT_GROUP_CURSOR)
334 #define RT_GROUP_ICONA MAKEINTRESOURCEA(14)
335 #define RT_GROUP_ICONW MAKEINTRESOURCEW(14)
336 #define RT_GROUP_ICON WINELIB_NAME_AW(RT_GROUP_ICON)
337 #define RT_VERSIONA MAKEINTRESOURCEA(16)
338 #define RT_VERSIONW MAKEINTRESOURCEW(16)
339 #define RT_VERSION WINELIB_NAME_AW(RT_VERSION)
340 #define RT_DLGINCLUDEA MAKEINTRESOURCEA(17)
341 #define RT_DLGINCLUDEW MAKEINTRESOURCEW(17)
342 #define RT_DLGINCLUDE WINELIB_NAME_AW(RT_DLGINCLUDE)
343 #define RT_PLUGPLAYA MAKEINTRESOURCEA(19)
344 #define RT_PLUGPLAYW MAKEINTRESOURCEW(19)
345 #define RT_PLUGPLAY WINELIB_NAME_AW(RT_PLUGPLAY)
346 #define RT_VXDA MAKEINTRESOURCEA(20)
347 #define RT_VXDW MAKEINTRESOURCEW(20)
348 #define RT_VXD WINELIB_NAME_AW(RT_VXD)
349 #define RT_ANICURSORA MAKEINTRESOURCEA(21)
350 #define RT_ANICURSORW MAKEINTRESOURCEW(21)
351 #define RT_ANICURSOR WINELIB_NAME_AW(RT_ANICURSOR)
352 #define RT_ANIICONA MAKEINTRESOURCEA(22)
353 #define RT_ANIICONW MAKEINTRESOURCEW(22)
354 #define RT_ANIICON WINELIB_NAME_AW(RT_ANIICON)
355 #define RT_HTMLA MAKEINTRESOURCEA(23)
356 #define RT_HTMLW MAKEINTRESOURCEW(23)
357 #define RT_HTML WINELIB_NAME_AW(RT_HTML)
360 /* cbWndExtra bytes for dialog class */
361 #define DLGWINDOWEXTRA 30
363 /* Button control styles */
364 #define BS_PUSHBUTTON 0x00000000L
365 #define BS_DEFPUSHBUTTON 0x00000001L
366 #define BS_CHECKBOX 0x00000002L
367 #define BS_AUTOCHECKBOX 0x00000003L
368 #define BS_RADIOBUTTON 0x00000004L
369 #define BS_3STATE 0x00000005L
370 #define BS_AUTO3STATE 0x00000006L
371 #define BS_GROUPBOX 0x00000007L
372 #define BS_USERBUTTON 0x00000008L
373 #define BS_AUTORADIOBUTTON 0x00000009L
374 #define BS_OWNERDRAW 0x0000000BL
375 #define BS_LEFTTEXT 0x00000020L
376 #define BS_RIGHTBUTTON BS_LEFTTEXT
378 #define BS_TEXT 0x00000000L
379 #define BS_ICON 0x00000040L
380 #define BS_BITMAP 0x00000080L
381 #define BS_LEFT 0x00000100L
382 #define BS_RIGHT 0x00000200L
383 #define BS_CENTER 0x00000300L
384 #define BS_TOP 0x00000400L
385 #define BS_BOTTOM 0x00000800L
386 #define BS_VCENTER 0x00000C00L
387 #define BS_PUSHLIKE 0x00001000L
388 #define BS_MULTILINE 0x00002000L
389 #define BS_NOTIFY 0x00004000L
390 #define BS_FLAT 0x00008000L
393 #define DS_ABSALIGN 0x0001
394 #define DS_SYSMODAL 0x0002
395 #define DS_3DLOOK 0x0004 /* win95 */
396 #define DS_FIXEDSYS 0x0008 /* win95 */
397 #define DS_NOFAILCREATE 0x0010 /* win95 */
398 #define DS_LOCALEDIT 0x0020
399 #define DS_SETFONT 0x0040
400 #define DS_MODALFRAME 0x0080
401 #define DS_NOIDLEMSG 0x0100
402 #define DS_SETFOREGROUND 0x0200 /* win95 */
403 #define DS_CONTROL 0x0400 /* win95 */
404 #define DS_CENTER 0x0800 /* win95 */
405 #define DS_CENTERMOUSE 0x1000 /* win95 */
406 #define DS_CONTEXTHELP 0x2000 /* win95 */
409 /* Dialog messages */
410 #define DM_GETDEFID (WM_USER+0)
411 #define DM_SETDEFID (WM_USER+1)
412 #define DM_REPOSITION (WM_USER+2)
414 #define DC_HASDEFID 0x534b
416 /* Owner draw control types */
418 #define ODT_LISTBOX 2
419 #define ODT_COMBOBOX 3
423 /* Owner draw actions */
424 #define ODA_DRAWENTIRE 0x0001
425 #define ODA_SELECT 0x0002
426 #define ODA_FOCUS 0x0004
428 /* Owner draw state */
429 #define ODS_SELECTED 0x0001
430 #define ODS_GRAYED 0x0002
431 #define ODS_DISABLED 0x0004
432 #define ODS_CHECKED 0x0008
433 #define ODS_FOCUS 0x0010
434 #define ODS_COMBOBOXEDIT 0x1000
435 #define ODS_HOTLIGHT 0x0040
436 #define ODS_INACTIVE 0x0080
438 /* Edit control styles */
439 #define ES_LEFT 0x00000000
440 #define ES_CENTER 0x00000001
441 #define ES_RIGHT 0x00000002
442 #define ES_MULTILINE 0x00000004
443 #define ES_UPPERCASE 0x00000008
444 #define ES_LOWERCASE 0x00000010
445 #define ES_PASSWORD 0x00000020
446 #define ES_AUTOVSCROLL 0x00000040
447 #define ES_AUTOHSCROLL 0x00000080
448 #define ES_NOHIDESEL 0x00000100
449 #define ES_COMBO 0x00000200 /* Undocumented. Parent is a combobox */
450 #define ES_OEMCONVERT 0x00000400
451 #define ES_READONLY 0x00000800
452 #define ES_WANTRETURN 0x00001000
453 #define ES_NUMBER 0x00002000
455 /* OEM Resource Ordinal Numbers */
456 #define OBM_CLOSED 32731
457 #define OBM_TRTYPE 32732
458 #define OBM_LFARROWI 32734
459 #define OBM_RGARROWI 32735
460 #define OBM_DNARROWI 32736
461 #define OBM_UPARROWI 32737
462 #define OBM_COMBO 32738
463 #define OBM_MNARROW 32739
464 #define OBM_LFARROWD 32740
465 #define OBM_RGARROWD 32741
466 #define OBM_DNARROWD 32742
467 #define OBM_UPARROWD 32743
468 #define OBM_RESTORED 32744
469 #define OBM_ZOOMD 32745
470 #define OBM_REDUCED 32746
471 #define OBM_RESTORE 32747
472 #define OBM_ZOOM 32748
473 #define OBM_REDUCE 32749
474 #define OBM_LFARROW 32750
475 #define OBM_RGARROW 32751
476 #define OBM_DNARROW 32752
477 #define OBM_UPARROW 32753
478 #define OBM_CLOSE 32754
479 #define OBM_OLD_RESTORE 32755
480 #define OBM_OLD_ZOOM 32756
481 #define OBM_OLD_REDUCE 32757
482 #define OBM_BTNCORNERS 32758
483 #define OBM_CHECKBOXES 32759
484 #define OBM_CHECK 32760
485 #define OBM_BTSIZE 32761
486 #define OBM_OLD_LFARROW 32762
487 #define OBM_OLD_RGARROW 32763
488 #define OBM_OLD_DNARROW 32764
489 #define OBM_OLD_UPARROW 32765
490 #define OBM_SIZE 32766
491 #define OBM_OLD_CLOSE 32767
493 #define OCR_NORMAL 32512
494 #define OCR_IBEAM 32513
495 #define OCR_WAIT 32514
496 #define OCR_CROSS 32515
498 #define OCR_SIZE 32640
499 #define OCR_ICON 32641
500 #define OCR_SIZENWSE 32642
501 #define OCR_SIZENESW 32643
502 #define OCR_SIZEWE 32644
503 #define OCR_SIZENS 32645
504 #define OCR_SIZEALL 32646
505 #define OCR_ICOCUR 32647
507 #define OCR_HAND 32649
508 #define OCR_APPSTARTING 32650
509 #define OCR_HELP 32651
511 /* only defined in wine (FIXME) */
512 #define OCR_DRAGOBJECT 32653
514 #define OIC_SAMPLE 32512
515 #define OIC_HAND 32513
516 #define OIC_QUES 32514
517 #define OIC_BANG 32515
518 #define OIC_NOTE 32516
519 #define OIC_WINLOGO 32517
520 #define OIC_WARNING OIC_BANG
521 #define OIC_ERROR OIC_HAND
522 #define OIC_INFORMATION OIC_NOTE
526 #define COLOR_SCROLLBAR 0
527 #define COLOR_BACKGROUND 1
528 #define COLOR_ACTIVECAPTION 2
529 #define COLOR_INACTIVECAPTION 3
531 #define COLOR_WINDOW 5
532 #define COLOR_WINDOWFRAME 6
533 #define COLOR_MENUTEXT 7
534 #define COLOR_WINDOWTEXT 8
535 #define COLOR_CAPTIONTEXT 9
536 #define COLOR_ACTIVEBORDER 10
537 #define COLOR_INACTIVEBORDER 11
538 #define COLOR_APPWORKSPACE 12
539 #define COLOR_HIGHLIGHT 13
540 #define COLOR_HIGHLIGHTTEXT 14
541 #define COLOR_BTNFACE 15
542 #define COLOR_BTNSHADOW 16
543 #define COLOR_GRAYTEXT 17
544 #define COLOR_BTNTEXT 18
545 #define COLOR_INACTIVECAPTIONTEXT 19
546 #define COLOR_BTNHIGHLIGHT 20
548 #define COLOR_3DDKSHADOW 21
549 #define COLOR_3DLIGHT 22
550 #define COLOR_INFOTEXT 23
551 #define COLOR_INFOBK 24
552 #define COLOR_DESKTOP COLOR_BACKGROUND
553 #define COLOR_3DFACE COLOR_BTNFACE
554 #define COLOR_3DSHADOW COLOR_BTNSHADOW
555 #define COLOR_3DHIGHLIGHT COLOR_BTNHIGHLIGHT
556 #define COLOR_3DHILIGHT COLOR_BTNHIGHLIGHT
557 #define COLOR_BTNHILIGHT COLOR_BTNHIGHLIGHT
559 #define COLOR_ALTERNATEBTNFACE 25 /* undocumented, constant's name unknown */
560 #define COLOR_HOTLIGHT 26
561 #define COLOR_GRADIENTACTIVECAPTION 27
562 #define COLOR_GRADIENTINACTIVECAPTION 28
564 /* WM_CTLCOLOR values */
565 #define CTLCOLOR_MSGBOX 0
566 #define CTLCOLOR_EDIT 1
567 #define CTLCOLOR_LISTBOX 2
568 #define CTLCOLOR_BTN 3
569 #define CTLCOLOR_DLG 4
570 #define CTLCOLOR_SCROLLBAR 5
571 #define CTLCOLOR_STATIC 6
573 COLORREF WINAPI
GetSysColor(INT
);
574 BOOL WINAPI
SetSysColors(INT
,const INT
*,const COLORREF
*);
578 /* Edit control messages */
579 #define EM_GETSEL 0x00b0
580 #define EM_SETSEL 0x00b1
581 #define EM_GETRECT 0x00b2
582 #define EM_SETRECT 0x00b3
583 #define EM_SETRECTNP 0x00b4
584 #define EM_SCROLL 0x00b5
585 #define EM_LINESCROLL 0x00b6
586 #define EM_SCROLLCARET 0x00b7
587 #define EM_GETMODIFY 0x00b8
588 #define EM_SETMODIFY 0x00b9
589 #define EM_GETLINECOUNT 0x00ba
590 #define EM_LINEINDEX 0x00bb
591 #define EM_SETHANDLE 0x00bc
592 #define EM_GETHANDLE 0x00bd
593 #define EM_GETTHUMB 0x00be
594 /* FIXME : missing from specs 0x00bf and 0x00c0 */
595 #define EM_LINELENGTH 0x00c1
596 #define EM_REPLACESEL 0x00c2
597 /* FIXME : missing from specs 0x00c3 */
598 #define EM_GETLINE 0x00c4
599 #define EM_LIMITTEXT 0x00c5
600 #define EM_CANUNDO 0x00c6
601 #define EM_UNDO 0x00c7
602 #define EM_FMTLINES 0x00c8
603 #define EM_LINEFROMCHAR 0x00c9
604 /* FIXME : missing from specs 0x00ca */
605 #define EM_SETTABSTOPS 0x00cb
606 #define EM_SETPASSWORDCHAR 0x00cc
607 #define EM_EMPTYUNDOBUFFER 0x00cd
608 #define EM_GETFIRSTVISIBLELINE 0x00ce
609 #define EM_SETREADONLY 0x00cf
610 #define EM_SETWORDBREAKPROC 0x00d0
611 #define EM_GETWORDBREAKPROC 0x00d1
612 #define EM_GETPASSWORDCHAR 0x00d2
613 #define EM_SETMARGINS 0x00d3
614 #define EM_GETMARGINS 0x00d4
615 #define EM_GETLIMITTEXT 0x00d5
616 #define EM_POSFROMCHAR 0x00d6
617 #define EM_CHARFROMPOS 0x00d7
618 /* a name change since win95 */
619 #define EM_SETLIMITTEXT EM_LIMITTEXT
621 /* EDITWORDBREAKPROC code values */
624 #define WB_ISDELIMITER 2
626 /* Edit control notification codes */
627 #define EN_SETFOCUS 0x0100
628 #define EN_KILLFOCUS 0x0200
629 #define EN_CHANGE 0x0300
630 #define EN_UPDATE 0x0400
631 #define EN_ERRSPACE 0x0500
632 #define EN_MAXTEXT 0x0501
633 #define EN_HSCROLL 0x0601
634 #define EN_VSCROLL 0x0602
636 /* New since win95 : EM_SETMARGIN parameters */
637 #define EC_LEFTMARGIN 0x0001
638 #define EC_RIGHTMARGIN 0x0002
639 #define EC_USEFONTINFO 0xffff
642 /* GetSystemMetrics() codes */
643 #define SM_CXSCREEN 0
644 #define SM_CYSCREEN 1
645 #define SM_CXVSCROLL 2
646 #define SM_CYHSCROLL 3
647 #define SM_CYCAPTION 4
648 #define SM_CXBORDER 5
649 #define SM_CYBORDER 6
650 #define SM_CXDLGFRAME 7
651 #define SM_CYDLGFRAME 8
652 #define SM_CYVTHUMB 9
653 #define SM_CXHTHUMB 10
656 #define SM_CXCURSOR 13
657 #define SM_CYCURSOR 14
659 #define SM_CXFULLSCREEN 16
660 #define SM_CYFULLSCREEN 17
661 #define SM_CYKANJIWINDOW 18
662 #define SM_MOUSEPRESENT 19
663 #define SM_CYVSCROLL 20
664 #define SM_CXHSCROLL 21
666 #define SM_SWAPBUTTON 23
667 #define SM_RESERVED1 24
668 #define SM_RESERVED2 25
669 #define SM_RESERVED3 26
670 #define SM_RESERVED4 27
675 #define SM_CXFRAME 32
676 #define SM_CYFRAME 33
677 #define SM_CXMINTRACK 34
678 #define SM_CYMINTRACK 35
679 #define SM_CXDOUBLECLK 36
680 #define SM_CYDOUBLECLK 37
681 #define SM_CXICONSPACING 38
682 #define SM_CYICONSPACING 39
683 #define SM_MENUDROPALIGNMENT 40
684 #define SM_PENWINDOWS 41
685 #define SM_DBCSENABLED 42
686 #define SM_CMOUSEBUTTONS 43
687 #define SM_CXFIXEDFRAME SM_CXDLGFRAME
688 #define SM_CYFIXEDFRAME SM_CYDLGFRAME
689 #define SM_CXSIZEFRAME SM_CXFRAME
690 #define SM_CYSIZEFRAME SM_CYFRAME
694 #define SM_CXMINSPACING 47
695 #define SM_CYMINSPACING 48
696 #define SM_CXSMICON 49
697 #define SM_CYSMICON 50
698 #define SM_CYSMCAPTION 51
699 #define SM_CXSMSIZE 52
700 #define SM_CYSMSIZE 53
701 #define SM_CXMENUSIZE 54
702 #define SM_CYMENUSIZE 55
703 #define SM_ARRANGE 56
704 #define SM_CXMINIMIZED 57
705 #define SM_CYMINIMIZED 58
706 #define SM_CXMAXTRACK 59
707 #define SM_CYMAXTRACK 60
708 #define SM_CXMAXIMIZED 61
709 #define SM_CYMAXIMIZED 62
710 #define SM_NETWORK 63
711 #define SM_CLEANBOOT 67
714 #define SM_SHOWSOUNDS 70
715 #define SM_CXMENUCHECK 71
716 #define SM_CYMENUCHECK 72
717 #define SM_SLOWMACHINE 73
718 #define SM_MIDEASTENABLED 74
719 #define SM_MOUSEWHEELPRESENT 75
720 #define SM_XVIRTUALSCREEN 76
721 #define SM_YVIRTUALSCREEN 77
722 #define SM_CXVIRTUALSCREEN 78
723 #define SM_CYVIRTUALSCREEN 79
724 #define SM_CMONITORS 80
725 #define SM_SAMEDISPLAYFORMAT 81
726 #define SM_CMETRICS 83
731 /* WM_GETDLGCODE values */
734 #define WM_NULL 0x0000
735 #define WM_CREATE 0x0001
736 #define WM_DESTROY 0x0002
737 #define WM_MOVE 0x0003
738 #define WM_SIZEWAIT 0x0004
739 #define WM_SIZE 0x0005
740 #define WM_ACTIVATE 0x0006
741 #define WM_SETFOCUS 0x0007
742 #define WM_KILLFOCUS 0x0008
743 #define WM_SETVISIBLE 0x0009
744 #define WM_ENABLE 0x000a
745 #define WM_SETREDRAW 0x000b
746 #define WM_SETTEXT 0x000c
747 #define WM_GETTEXT 0x000d
748 #define WM_GETTEXTLENGTH 0x000e
749 #define WM_PAINT 0x000f
750 #define WM_CLOSE 0x0010
751 #define WM_QUERYENDSESSION 0x0011
752 #define WM_QUIT 0x0012
753 #define WM_QUERYOPEN 0x0013
754 #define WM_ERASEBKGND 0x0014
755 #define WM_SYSCOLORCHANGE 0x0015
756 #define WM_ENDSESSION 0x0016
757 #define WM_SYSTEMERROR 0x0017
758 #define WM_SHOWWINDOW 0x0018
759 #define WM_CTLCOLOR 0x0019
760 #define WM_WININICHANGE 0x001a
761 #define WM_SETTINGCHANGE WM_WININICHANGE
762 #define WM_DEVMODECHANGE 0x001b
763 #define WM_ACTIVATEAPP 0x001c
764 #define WM_FONTCHANGE 0x001d
765 #define WM_TIMECHANGE 0x001e
766 #define WM_CANCELMODE 0x001f
767 #define WM_SETCURSOR 0x0020
768 #define WM_MOUSEACTIVATE 0x0021
769 #define WM_CHILDACTIVATE 0x0022
770 #define WM_QUEUESYNC 0x0023
771 #define WM_GETMINMAXINFO 0x0024
773 #define WM_PAINTICON 0x0026
774 #define WM_ICONERASEBKGND 0x0027
775 #define WM_NEXTDLGCTL 0x0028
776 #define WM_ALTTABACTIVE 0x0029
777 #define WM_SPOOLERSTATUS 0x002a
778 #define WM_DRAWITEM 0x002b
779 #define WM_MEASUREITEM 0x002c
780 #define WM_DELETEITEM 0x002d
781 #define WM_VKEYTOITEM 0x002e
782 #define WM_CHARTOITEM 0x002f
783 #define WM_SETFONT 0x0030
784 #define WM_GETFONT 0x0031
785 #define WM_SETHOTKEY 0x0032
786 #define WM_GETHOTKEY 0x0033
787 #define WM_FILESYSCHANGE 0x0034
788 #define WM_ISACTIVEICON 0x0035
789 #define WM_QUERYPARKICON 0x0036
790 #define WM_QUERYDRAGICON 0x0037
791 #define WM_QUERYSAVESTATE 0x0038
792 #define WM_COMPAREITEM 0x0039
793 #define WM_TESTING 0x003a
795 #define WM_OTHERWINDOWCREATED 0x003c
796 #define WM_OTHERWINDOWDESTROYED 0x003d
797 #define WM_ACTIVATESHELLWINDOW 0x003e
799 #define WM_COMPACTING 0x0041
801 #define WM_COMMNOTIFY 0x0044
802 #define WM_WINDOWPOSCHANGING 0x0046
803 #define WM_WINDOWPOSCHANGED 0x0047
804 #define WM_POWER 0x0048
806 /* Win32 4.0 messages */
807 #define WM_COPYDATA 0x004a
808 #define WM_CANCELJOURNAL 0x004b
809 #define WM_NOTIFY 0x004e
810 #define WM_INPUTLANGCHANGEREQUEST 0x0050
811 #define WM_INPUTLANGCHANGE 0x0051
812 #define WM_TCARD 0x0052
813 #define WM_HELP 0x0053
814 #define WM_USERCHANGED 0x0054
815 #define WM_NOTIFYFORMAT 0x0055
817 #define WM_CONTEXTMENU 0x007b
818 #define WM_STYLECHANGING 0x007c
819 #define WM_STYLECHANGED 0x007d
820 #define WM_DISPLAYCHANGE 0x007e
821 #define WM_GETICON 0x007f
822 #define WM_SETICON 0x0080
824 /* Non-client system messages */
825 #define WM_NCCREATE 0x0081
826 #define WM_NCDESTROY 0x0082
827 #define WM_NCCALCSIZE 0x0083
828 #define WM_NCHITTEST 0x0084
829 #define WM_NCPAINT 0x0085
830 #define WM_NCACTIVATE 0x0086
832 #define WM_GETDLGCODE 0x0087
833 #define WM_SYNCPAINT 0x0088
834 #define WM_SYNCTASK 0x0089
836 /* Non-client mouse messages */
837 #define WM_NCMOUSEMOVE 0x00a0
838 #define WM_NCLBUTTONDOWN 0x00a1
839 #define WM_NCLBUTTONUP 0x00a2
840 #define WM_NCLBUTTONDBLCLK 0x00a3
841 #define WM_NCRBUTTONDOWN 0x00a4
842 #define WM_NCRBUTTONUP 0x00a5
843 #define WM_NCRBUTTONDBLCLK 0x00a6
844 #define WM_NCMBUTTONDOWN 0x00a7
845 #define WM_NCMBUTTONUP 0x00a8
846 #define WM_NCMBUTTONDBLCLK 0x00a9
848 #define WM_NCXBUTTONDOWN 0x00ab
849 #define WM_NCXBUTTONUP 0x00ac
850 #define WM_NCXBUTTONDBLCLK 0x00ad
852 /* Keyboard messages */
853 #define WM_KEYDOWN 0x0100
854 #define WM_KEYUP 0x0101
855 #define WM_CHAR 0x0102
856 #define WM_DEADCHAR 0x0103
857 #define WM_SYSKEYDOWN 0x0104
858 #define WM_SYSKEYUP 0x0105
859 #define WM_SYSCHAR 0x0106
860 #define WM_SYSDEADCHAR 0x0107
861 #define WM_KEYFIRST WM_KEYDOWN
862 #define WM_KEYLAST 0x0108
864 /* Win32 4.0 messages for IME */
865 #define WM_IME_STARTCOMPOSITION 0x010d
866 #define WM_IME_ENDCOMPOSITION 0x010e
867 #define WM_IME_COMPOSITION 0x010f
868 #define WM_IME_KEYLAST 0x010f
870 #define WM_INITDIALOG 0x0110
871 #define WM_COMMAND 0x0111
872 #define WM_SYSCOMMAND 0x0112
873 #define WM_TIMER 0x0113
874 #define WM_SYSTIMER 0x0118
876 /* scroll messages */
877 #define WM_HSCROLL 0x0114
878 #define WM_VSCROLL 0x0115
881 #define WM_INITMENU 0x0116
882 #define WM_INITMENUPOPUP 0x0117
884 #define WM_MENUSELECT 0x011F
885 #define WM_MENUCHAR 0x0120
886 #define WM_ENTERIDLE 0x0121
888 #define WM_LBTRACKPOINT 0x0131
890 /* Win32 CTLCOLOR messages */
891 #define WM_CTLCOLORMSGBOX 0x0132
892 #define WM_CTLCOLOREDIT 0x0133
893 #define WM_CTLCOLORLISTBOX 0x0134
894 #define WM_CTLCOLORBTN 0x0135
895 #define WM_CTLCOLORDLG 0x0136
896 #define WM_CTLCOLORSCROLLBAR 0x0137
897 #define WM_CTLCOLORSTATIC 0x0138
900 #define WM_MOUSEMOVE 0x0200
901 #define WM_LBUTTONDOWN 0x0201
902 #define WM_LBUTTONUP 0x0202
903 #define WM_LBUTTONDBLCLK 0x0203
904 #define WM_RBUTTONDOWN 0x0204
905 #define WM_RBUTTONUP 0x0205
906 #define WM_RBUTTONDBLCLK 0x0206
907 #define WM_MBUTTONDOWN 0x0207
908 #define WM_MBUTTONUP 0x0208
909 #define WM_MBUTTONDBLCLK 0x0209
910 #define WM_MOUSEWHEEL 0x020A
911 #define WM_XBUTTONDOWN 0x020B
912 #define WM_XBUTTONUP 0x020C
913 #define WM_XBUTTONDBLCLK 0x020D
915 #define WM_MOUSEFIRST 0x0200
916 #define WM_MOUSELAST 0x020D
918 #define WHEEL_DELTA 120
919 #define WHEEL_PAGESCROLL (UINT_MAX)
920 #define WM_PARENTNOTIFY 0x0210
921 #define WM_ENTERMENULOOP 0x0211
922 #define WM_EXITMENULOOP 0x0212
923 #define WM_NEXTMENU 0x0213
925 /* Win32 4.0 messages */
926 #define WM_SIZING 0x0214
927 #define WM_CAPTURECHANGED 0x0215
928 #define WM_MOVING 0x0216
929 #define WM_POWERBROADCAST 0x0218
930 #define WM_DEVICECHANGE 0x0219
932 /* wParam for WM_SIZING message */
936 #define WMSZ_TOPLEFT 4
937 #define WMSZ_TOPRIGHT 5
938 #define WMSZ_BOTTOM 6
939 #define WMSZ_BOTTOMLEFT 7
940 #define WMSZ_BOTTOMRIGHT 8
943 #define WM_MDICREATE 0x0220
944 #define WM_MDIDESTROY 0x0221
945 #define WM_MDIACTIVATE 0x0222
946 #define WM_MDIRESTORE 0x0223
947 #define WM_MDINEXT 0x0224
948 #define WM_MDIMAXIMIZE 0x0225
949 #define WM_MDITILE 0x0226
950 #define WM_MDICASCADE 0x0227
951 #define WM_MDIICONARRANGE 0x0228
952 #define WM_MDIGETACTIVE 0x0229
953 #define WM_MDIREFRESHMENU 0x0234
956 #define WM_DROPOBJECT 0x022A
957 #define WM_QUERYDROPOBJECT 0x022B
958 #define WM_BEGINDRAG 0x022C
959 #define WM_DRAGLOOP 0x022D
960 #define WM_DRAGSELECT 0x022E
961 #define WM_DRAGMOVE 0x022F
962 #define WM_MDISETMENU 0x0230
964 #define WM_ENTERSIZEMOVE 0x0231
965 #define WM_EXITSIZEMOVE 0x0232
966 #define WM_DROPFILES 0x0233
969 /* Win32 4.0 messages for IME */
970 #define WM_IME_SETCONTEXT 0x0281
971 #define WM_IME_NOTIFY 0x0282
972 #define WM_IME_CONTROL 0x0283
973 #define WM_IME_COMPOSITIONFULL 0x0284
974 #define WM_IME_SELECT 0x0285
975 #define WM_IME_CHAR 0x0286
976 /* Win32 5.0 messages for IME */
977 #define WM_IME_REQUEST 0x0288
979 /* Win32 4.0 messages for IME */
980 #define WM_IME_KEYDOWN 0x0290
981 #define WM_IME_KEYUP 0x0291
983 /* Clipboard command messages */
984 #define WM_CUT 0x0300
985 #define WM_COPY 0x0301
986 #define WM_PASTE 0x0302
987 #define WM_CLEAR 0x0303
988 #define WM_UNDO 0x0304
990 /* Clipboard owner messages */
991 #define WM_RENDERFORMAT 0x0305
992 #define WM_RENDERALLFORMATS 0x0306
993 #define WM_DESTROYCLIPBOARD 0x0307
995 /* Clipboard viewer messages */
996 #define WM_DRAWCLIPBOARD 0x0308
997 #define WM_PAINTCLIPBOARD 0x0309
998 #define WM_VSCROLLCLIPBOARD 0x030A
999 #define WM_SIZECLIPBOARD 0x030B
1000 #define WM_ASKCBFORMATNAME 0x030C
1001 #define WM_CHANGECBCHAIN 0x030D
1002 #define WM_HSCROLLCLIPBOARD 0x030E
1004 #define WM_QUERYNEWPALETTE 0x030F
1005 #define WM_PALETTEISCHANGING 0x0310
1006 #define WM_PALETTECHANGED 0x0311
1007 #define WM_HOTKEY 0x0312
1009 #define WM_PRINT 0x0317
1010 #define WM_PRINTCLIENT 0x0318
1012 #define WM_PENWINFIRST 0x0380
1013 #define WM_PENWINLAST 0x038F
1016 #define WM_APP 0x8000
1018 /* MsgWaitForMultipleObjectsEx flags */
1019 #define MWMO_WAITALL 0x0001
1020 #define MWMO_ALERTABLE 0x0002
1021 #define MWMO_INPUTAVAILABLE 0x0004
1023 #define DLGC_WANTARROWS 0x0001
1024 #define DLGC_WANTTAB 0x0002
1025 #define DLGC_WANTALLKEYS 0x0004
1026 #define DLGC_WANTMESSAGE 0x0004
1027 #define DLGC_HASSETSEL 0x0008
1028 #define DLGC_DEFPUSHBUTTON 0x0010
1029 #define DLGC_UNDEFPUSHBUTTON 0x0020
1030 #define DLGC_RADIOBUTTON 0x0040
1031 #define DLGC_WANTCHARS 0x0080
1032 #define DLGC_STATIC 0x0100
1033 #define DLGC_BUTTON 0x2000
1035 /* Standard dialog button IDs */
1046 /****** Window classes ******/
1048 typedef struct tagCREATESTRUCTA
1050 LPVOID lpCreateParams
;
1051 HINSTANCE hInstance
;
1062 } CREATESTRUCTA
, *LPCREATESTRUCTA
;
1066 LPVOID lpCreateParams
;
1067 HINSTANCE hInstance
;
1078 } CREATESTRUCTW
, *LPCREATESTRUCTW
;
1080 DECL_WINELIB_TYPE_AW(CREATESTRUCT
)
1081 DECL_WINELIB_TYPE_AW(LPCREATESTRUCT
)
1090 BYTE rgbReserved
[32];
1091 } PAINTSTRUCT
, *PPAINTSTRUCT
, *LPPAINTSTRUCT
;
1097 } CLIENTCREATESTRUCT
, *LPCLIENTCREATESTRUCT
;
1111 } MDICREATESTRUCTA
, *LPMDICREATESTRUCTA
;
1124 } MDICREATESTRUCTW
, *LPMDICREATESTRUCTW
;
1126 DECL_WINELIB_TYPE_AW(MDICREATESTRUCT
)
1127 DECL_WINELIB_TYPE_AW(LPMDICREATESTRUCT
)
1129 #define MDITILE_VERTICAL 0x0000
1130 #define MDITILE_HORIZONTAL 0x0001
1131 #define MDITILE_SKIPDISABLED 0x0002
1133 #define MDIS_ALLCHILDSTYLES 0x0001
1138 } STYLESTRUCT
, *LPSTYLESTRUCT
;
1140 #define WC_DIALOGA MAKEINTATOMA(0x8002)
1141 #define WC_DIALOGW MAKEINTATOMW(0x8002)
1142 #define WC_DIALOG WINELIB_NAME_AW(WC_DIALOG)
1144 /* Offsets for GetWindowLong() and GetWindowWord() */
1145 #define GWL_USERDATA (-21)
1146 #define GWL_EXSTYLE (-20)
1147 #define GWL_STYLE (-16)
1148 #define GWL_ID (-12)
1149 #define GWL_HWNDPARENT (-8)
1150 #define GWL_HINSTANCE (-6)
1151 #define GWL_WNDPROC (-4)
1152 #define DWL_MSGRESULT 0
1153 #define DWL_DLGPROC 4
1156 /* GetWindow() constants */
1157 #define GW_HWNDFIRST 0
1158 #define GW_HWNDLAST 1
1159 #define GW_HWNDNEXT 2
1160 #define GW_HWNDPREV 3
1164 /* GetAncestor() constants */
1167 #define GA_ROOTOWNER 3
1169 /* WM_GETMINMAXINFO struct */
1174 POINT ptMaxPosition
;
1175 POINT ptMinTrackSize
;
1176 POINT ptMaxTrackSize
;
1177 } MINMAXINFO
, *PMINMAXINFO
, *LPMINMAXINFO
;
1180 /* RedrawWindow() flags */
1181 #define RDW_INVALIDATE 0x0001
1182 #define RDW_INTERNALPAINT 0x0002
1183 #define RDW_ERASE 0x0004
1184 #define RDW_VALIDATE 0x0008
1185 #define RDW_NOINTERNALPAINT 0x0010
1186 #define RDW_NOERASE 0x0020
1187 #define RDW_NOCHILDREN 0x0040
1188 #define RDW_ALLCHILDREN 0x0080
1189 #define RDW_UPDATENOW 0x0100
1190 #define RDW_ERASENOW 0x0200
1191 #define RDW_FRAME 0x0400
1192 #define RDW_NOFRAME 0x0800
1195 #define DBGFILL_ALLOC 0xfd
1196 #define DBGFILL_FREE 0xfb
1197 #define DBGFILL_BUFFER 0xf9
1198 #define DBGFILL_STACK 0xf7
1200 /* WM_WINDOWPOSCHANGING/CHANGED struct */
1201 typedef struct tagWINDOWPOS
1204 HWND hwndInsertAfter
;
1210 } WINDOWPOS
, *PWINDOWPOS
, *LPWINDOWPOS
;
1213 /* WM_MOUSEACTIVATE return values */
1214 #define MA_ACTIVATE 1
1215 #define MA_ACTIVATEANDEAT 2
1216 #define MA_NOACTIVATE 3
1217 #define MA_NOACTIVATEANDEAT 4
1219 /* WM_ACTIVATE wParam values */
1220 #define WA_INACTIVE 0
1222 #define WA_CLICKACTIVE 2
1224 /* WM_GETICON/WM_SETICON params values */
1225 #define ICON_SMALL 0
1228 /* WM_NCCALCSIZE parameter structure */
1233 } NCCALCSIZE_PARAMS
, *LPNCCALCSIZE_PARAMS
;
1236 /* WM_NCCALCSIZE return flags */
1237 #define WVR_ALIGNTOP 0x0010
1238 #define WVR_ALIGNLEFT 0x0020
1239 #define WVR_ALIGNBOTTOM 0x0040
1240 #define WVR_ALIGNRIGHT 0x0080
1241 #define WVR_HREDRAW 0x0100
1242 #define WVR_VREDRAW 0x0200
1243 #define WVR_REDRAW (WVR_HREDRAW | WVR_VREDRAW)
1244 #define WVR_VALIDRECTS 0x0400
1246 /* WM_NCHITTEST return codes */
1247 #define HTERROR (-2)
1248 #define HTTRANSPARENT (-1)
1257 #define HTMINBUTTON 8
1258 #define HTMAXBUTTON 9
1262 #define HTTOPLEFT 13
1263 #define HTTOPRIGHT 14
1265 #define HTBOTTOMLEFT 16
1266 #define HTBOTTOMRIGHT 17
1268 #define HTGROWBOX HTSIZE
1269 #define HTREDUCE HTMINBUTTON
1270 #define HTZOOM HTMAXBUTTON
1274 #define HTSIZEFIRST HTLEFT
1275 #define HTSIZELAST HTBOTTOMRIGHT
1277 /* SendMessageTimeout flags */
1278 #define SMTO_NORMAL 0x0000
1279 #define SMTO_BLOCK 0x0001
1280 #define SMTO_ABORTIFHUNG 0x0002
1281 #define SMTO_NOTIMEOUTIFNOTHUNG 0x0008
1283 /* WM_SYSCOMMAND parameters */
1284 #ifdef SC_SIZE /* at least HP-UX: already defined in /usr/include/sys/signal.h */
1287 #define SC_SIZE 0xf000
1288 #define SC_MOVE 0xf010
1289 #define SC_MINIMIZE 0xf020
1290 #define SC_MAXIMIZE 0xf030
1291 #define SC_NEXTWINDOW 0xf040
1292 #define SC_PREVWINDOW 0xf050
1293 #define SC_CLOSE 0xf060
1294 #define SC_VSCROLL 0xf070
1295 #define SC_HSCROLL 0xf080
1296 #define SC_MOUSEMENU 0xf090
1297 #define SC_KEYMENU 0xf100
1298 #define SC_ARRANGE 0xf110
1299 #define SC_RESTORE 0xf120
1300 #define SC_TASKLIST 0xf130
1301 #define SC_SCREENSAVE 0xf140
1302 #define SC_HOTKEY 0xf150
1304 #define SC_DEFAULT 0xf160
1305 #define SC_MONITORPOWER 0xf170
1306 #define SC_CONTEXTHELP 0xf180
1307 #define SC_SEPARATOR 0xf00f
1309 /* obsolete names(SC_ICON and SC_ZOOM) */
1310 #define SC_ICON SC_MINIMIZE
1311 #define SC_ZOOM SC_MAXIMIZE
1314 #define CS_VREDRAW 0x0001
1315 #define CS_HREDRAW 0x0002
1316 #define CS_KEYCVTWINDOW 0x0004
1317 #define CS_DBLCLKS 0x0008
1318 #define CS_OWNDC 0x0020
1319 #define CS_CLASSDC 0x0040
1320 #define CS_PARENTDC 0x0080
1321 #define CS_NOKEYCVT 0x0100
1322 #define CS_NOCLOSE 0x0200
1323 #define CS_SAVEBITS 0x0800
1324 #define CS_BYTEALIGNCLIENT 0x1000
1325 #define CS_BYTEALIGNWINDOW 0x2000
1326 #define CS_GLOBALCLASS 0x4000
1327 #define CS_IME 0x00010000
1329 #define PRF_CHECKVISIBLE 0x00000001L
1330 #define PRF_NONCLIENT 0x00000002L
1331 #define PRF_CLIENT 0x00000004L
1332 #define PRF_ERASEBKGND 0x00000008L
1333 #define PRF_CHILDREN 0x00000010L
1334 #define PRF_OWNED 0x00000020L
1336 /* Offsets for GetClassLong() and GetClassWord() */
1337 #define GCL_MENUNAME (-8)
1338 #define GCL_HBRBACKGROUND (-10)
1339 #define GCL_HCURSOR (-12)
1340 #define GCL_HICON (-14)
1341 #define GCL_HMODULE (-16)
1342 #define GCL_CBWNDEXTRA (-18)
1343 #define GCL_CBCLSEXTRA (-20)
1344 #define GCL_WNDPROC (-24)
1345 #define GCL_STYLE (-26)
1346 #define GCW_ATOM (-32)
1347 #define GCL_HICONSM (-34)
1350 /***** Window hooks *****/
1354 #define WH_MSGFILTER (-1)
1355 #define WH_JOURNALRECORD 0
1356 #define WH_JOURNALPLAYBACK 1
1357 #define WH_KEYBOARD 2
1358 #define WH_GETMESSAGE 3
1359 #define WH_CALLWNDPROC 4
1361 #define WH_SYSMSGFILTER 6
1363 #define WH_HARDWARE 8
1366 #define WH_FOREGROUNDIDLE 11
1367 #define WH_CALLWNDPROCRET 12
1368 #define WH_KEYBOARD_LL 13
1369 #define WH_MOUSE_LL 14
1372 #define WH_MINHOOK WH_MIN
1373 #define WH_MAXHOOK WH_MAX
1375 /* Hook action codes */
1377 #define HC_GETNEXT 1
1379 #define HC_NOREMOVE 3
1380 #define HC_NOREM HC_NOREMOVE
1381 #define HC_SYSMODALON 4
1382 #define HC_SYSMODALOFF 5
1384 /* CallMsgFilter() values */
1385 #define MSGF_DIALOGBOX 0
1386 #define MSGF_MESSAGEBOX 1
1390 #define MSGF_SCROLLBAR 5
1391 #define MSGF_NEXTWINDOW 6
1393 #define MSGF_USER 0x1000
1394 #define MSGF_DDEMGR 0x8001
1399 WNDPROC lpfnWndProc
;
1402 HINSTANCE hInstance
;
1405 HBRUSH hbrBackground
;
1406 LPCSTR lpszMenuName
;
1407 LPCSTR lpszClassName
;
1408 } WNDCLASSA
, *PWNDCLASSA
, *LPWNDCLASSA
;
1413 WNDPROC lpfnWndProc
;
1416 HINSTANCE hInstance
;
1419 HBRUSH hbrBackground
;
1420 LPCWSTR lpszMenuName
;
1421 LPCWSTR lpszClassName
;
1422 } WNDCLASSW
, *PWNDCLASSW
, *LPWNDCLASSW
;
1424 DECL_WINELIB_TYPE_AW(WNDCLASS
)
1425 DECL_WINELIB_TYPE_AW(PWNDCLASS
)
1426 DECL_WINELIB_TYPE_AW(LPWNDCLASS
)
1432 } COPYDATASTRUCT
, *PCOPYDATASTRUCT
;
1438 } MDINEXTMENU
, *PMDINEXTMENU
, *LPMDINEXTMENU
;
1444 CHAR szKeyphrase
[1];
1445 } MULTIKEYHELPA
, *PMULTIKEYHELPA
, *LPMULTIKEYHELPA
;
1451 WCHAR szKeyphrase
[1];
1452 } MULTIKEYHELPW
, *PMULTIKEYHELPW
, *LPMULTIKEYHELPW
;
1454 DECL_WINELIB_TYPE_AW(MULTIKEYHELP
)
1455 DECL_WINELIB_TYPE_AW(PMULTIKEYHELP
)
1456 DECL_WINELIB_TYPE_AW(LPMULTIKEYHELP
)
1466 } HELPWININFOA
, *PHELPWININFOA
, *LPHELPWININFOA
;
1475 WCHAR rgchMember
[2];
1476 } HELPWININFOW
, *PHELPWININFOW
, *LPHELPWININFOW
;
1478 DECL_WINELIB_TYPE_AW(HELPWININFO
)
1479 DECL_WINELIB_TYPE_AW(PHELPWININFO
)
1480 DECL_WINELIB_TYPE_AW(LPHELPWININFO
)
1482 #define HELP_CONTEXT 0x0001
1483 #define HELP_QUIT 0x0002
1484 #define HELP_INDEX 0x0003
1485 #define HELP_CONTENTS 0x0003
1486 #define HELP_HELPONHELP 0x0004
1487 #define HELP_SETINDEX 0x0005
1488 #define HELP_SETCONTENTS 0x0005
1489 #define HELP_CONTEXTPOPUP 0x0008
1490 #define HELP_FORCEFILE 0x0009
1491 #define HELP_KEY 0x0101
1492 #define HELP_COMMAND 0x0102
1493 #define HELP_PARTIALKEY 0x0105
1494 #define HELP_MULTIKEY 0x0201
1495 #define HELP_SETWINPOS 0x0203
1496 #define HELP_CONTEXTMENU 0x000a
1497 #define HELP_FINDER 0x000b
1498 #define HELP_WM_HELP 0x000c
1499 #define HELP_SETPOPUP_POS 0x000d
1501 #define HELP_TCARD 0x8000
1502 #define HELP_TCARD_DATA 0x0010
1503 #define HELP_TCARD_OTHER_CALLER 0x0011
1506 /* ChangeDisplaySettings return codes */
1508 #define DISP_CHANGE_SUCCESSFUL 0
1509 #define DISP_CHANGE_RESTART 1
1510 #define DISP_CHANGE_FAILED (-1)
1511 #define DISP_CHANGE_BADMODE (-2)
1512 #define DISP_CHANGE_NOTUPDATED (-3)
1513 #define DISP_CHANGE_BADFLAGS (-4)
1514 #define DISP_CHANGE_BADPARAM (-5)
1516 /* ChangeDisplaySettings.dwFlags */
1517 #define CDS_UPDATEREGISTRY 0x00000001
1518 #define CDS_TEST 0x00000002
1519 #define CDS_FULLSCREEN 0x00000004
1520 #define CDS_GLOBAL 0x00000008
1521 #define CDS_SET_PRIMARY 0x00000010
1522 #define CDS_RESET 0x40000000
1523 #define CDS_SETRECT 0x20000000
1524 #define CDS_NORESET 0x10000000
1530 WNDPROC lpfnWndProc
;
1533 HINSTANCE hInstance
;
1536 HBRUSH hbrBackground
;
1537 LPCSTR lpszMenuName
;
1538 LPCSTR lpszClassName
;
1540 } WNDCLASSEXA
, *PWNDCLASSEXA
, *LPWNDCLASSEXA
;
1546 WNDPROC lpfnWndProc
;
1549 HINSTANCE hInstance
;
1552 HBRUSH hbrBackground
;
1553 LPCWSTR lpszMenuName
;
1554 LPCWSTR lpszClassName
;
1556 } WNDCLASSEXW
, *PWNDCLASSEXW
, *LPWNDCLASSEXW
;
1558 DECL_WINELIB_TYPE_AW(WNDCLASSEX
)
1559 DECL_WINELIB_TYPE_AW(PWNDCLASSEX
)
1560 DECL_WINELIB_TYPE_AW(LPWNDCLASSEX
)
1562 typedef struct tagMSG
1570 } MSG
, *PMSG
, *LPMSG
;
1572 #define POINTSTOPOINT(pt, pts) \
1573 { (pt).x = (LONG)(SHORT)LOWORD(*(LONG*)&pts); \
1574 (pt).y = (LONG)(SHORT)HIWORD(*(LONG*)&pts); }
1576 #define POINTTOPOINTS(pt) (MAKELONG((short)((pt).x), (short)((pt).y)))
1579 /* Cursors / Icons */
1587 } ICONINFO
, *PICONINFO
;
1590 /* this is the 6 byte accel struct used in Win32 when presented to the user */
1600 /* Flags for TrackPopupMenu */
1601 #define TPM_LEFTBUTTON 0x0000
1602 #define TPM_RIGHTBUTTON 0x0002
1603 #define TPM_LEFTALIGN 0x0000
1604 #define TPM_CENTERALIGN 0x0004
1605 #define TPM_RIGHTALIGN 0x0008
1606 #define TPM_TOPALIGN 0x0000
1607 #define TPM_VCENTERALIGN 0x0010
1608 #define TPM_BOTTOMALIGN 0x0020
1609 #define TPM_HORIZONTAL 0x0000
1610 #define TPM_VERTICAL 0x0040
1611 #define TPM_NONOTIFY 0x0080
1612 #define TPM_RETURNCMD 0x0100
1618 } TPMPARAMS
, *LPTPMPARAMS
;
1620 /* FIXME: not sure this one is correct */
1628 HBITMAP hbmpChecked
;
1629 HBITMAP hbmpUnchecked
;
1634 } MENUITEMINFOA
, *LPMENUITEMINFOA
;
1643 HBITMAP hbmpChecked
;
1644 HBITMAP hbmpUnchecked
;
1649 } MENUITEMINFOW
, *LPMENUITEMINFOW
;
1651 DECL_WINELIB_TYPE_AW(MENUITEMINFO
)
1652 DECL_WINELIB_TYPE_AW(LPMENUITEMINFO
)
1653 typedef const MENUITEMINFOA
*LPCMENUITEMINFOA
;
1654 typedef const MENUITEMINFOW
*LPCMENUITEMINFOW
;
1655 DECL_WINELIB_TYPE_AW(LPCMENUITEMINFO
)
1663 DWORD dwContextHelpID
;
1665 } MENUINFO
, *LPMENUINFO
;
1667 typedef const MENUINFO
*LPCMENUINFO
;
1669 #define MIM_MAXHEIGHT 0x00000001
1670 #define MIM_BACKGROUND 0x00000002
1671 #define MIM_HELPID 0x00000004
1672 #define MIM_MENUDATA 0x00000008
1673 #define MIM_STYLE 0x00000010
1674 #define MIM_APPLYTOSUBMENUS 0x80000000
1679 } MENUITEMTEMPLATEHEADER
, *PMENUITEMTEMPLATEHEADER
;
1686 } MENUITEMTEMPLATE
, *PMENUITEMTEMPLATE
;
1689 typedef VOID MENUTEMPLATE
;
1690 typedef PVOID
*LPMENUTEMPLATE
;
1692 /* Field specifiers for MENUITEMINFO[AW] type. */
1693 #define MIIM_STATE 0x00000001
1694 #define MIIM_ID 0x00000002
1695 #define MIIM_SUBMENU 0x00000004
1696 #define MIIM_CHECKMARKS 0x00000008
1697 #define MIIM_TYPE 0x00000010
1698 #define MIIM_DATA 0x00000020
1699 #define MIIM_STRING 0x00000040
1700 #define MIIM_BITMAP 0x00000080
1701 #define MIIM_FTYPE 0x00000100
1703 #define HBMMENU_CALLBACK ((HBITMAP) -1)
1704 #define HBMMENU_SYSTEM ((HBITMAP) 1)
1705 #define HBMMENU_MBAR_RESTORE ((HBITMAP) 2)
1706 #define HBMMENU_MBAR_MINIMIZE ((HBITMAP) 3)
1707 #define HBMMENU_MBAR_CLOSE ((HBITMAP) 5)
1708 #define HBMMENU_MBAR_CLOSE_D ((HBITMAP) 6)
1709 #define HBMMENU_MBAR_MINIMIZE_D ((HBITMAP) 7)
1710 #define HBMMENU_POPUP_CLOSE ((HBITMAP) 8)
1711 #define HBMMENU_POPUP_RESTORE ((HBITMAP) 9)
1712 #define HBMMENU_POPUP_MAXIMIZE ((HBITMAP) 10)
1713 #define HBMMENU_POPUP_MINIMIZE ((HBITMAP) 11)
1715 /* WM_H/VSCROLL commands */
1717 #define SB_LINELEFT 0
1718 #define SB_LINEDOWN 1
1719 #define SB_LINERIGHT 1
1721 #define SB_PAGELEFT 2
1722 #define SB_PAGEDOWN 3
1723 #define SB_PAGERIGHT 3
1724 #define SB_THUMBPOSITION 4
1725 #define SB_THUMBTRACK 5
1730 #define SB_ENDSCROLL 8
1732 /* Scroll bar selection constants */
1738 /* Scrollbar styles */
1739 #define SBS_HORZ 0x0000L
1740 #define SBS_VERT 0x0001L
1741 #define SBS_TOPALIGN 0x0002L
1742 #define SBS_LEFTALIGN 0x0002L
1743 #define SBS_BOTTOMALIGN 0x0004L
1744 #define SBS_RIGHTALIGN 0x0004L
1745 #define SBS_SIZEBOXTOPLEFTALIGN 0x0002L
1746 #define SBS_SIZEBOXBOTTOMRIGHTALIGN 0x0004L
1747 #define SBS_SIZEBOX 0x0008L
1748 #define SBS_SIZEGRIP 0x0010L
1750 /* EnableScrollBar() flags */
1751 #define ESB_ENABLE_BOTH 0x0000
1752 #define ESB_DISABLE_BOTH 0x0003
1754 #define ESB_DISABLE_LEFT 0x0001
1755 #define ESB_DISABLE_RIGHT 0x0002
1757 #define ESB_DISABLE_UP 0x0001
1758 #define ESB_DISABLE_DOWN 0x0002
1760 #define ESB_DISABLE_LTUP ESB_DISABLE_LEFT
1761 #define ESB_DISABLE_RTDN ESB_DISABLE_RIGHT
1763 /* Win32 button control messages */
1764 #define BM_GETCHECK 0x00f0
1765 #define BM_SETCHECK 0x00f1
1766 #define BM_GETSTATE 0x00f2
1767 #define BM_SETSTATE 0x00f3
1768 #define BM_SETSTYLE 0x00f4
1769 #define BM_CLICK 0x00f5
1770 #define BM_GETIMAGE 0x00f6
1771 #define BM_SETIMAGE 0x00f7
1772 /* Winelib button control messages */
1774 /* Button notification codes */
1775 #define BN_CLICKED 0
1778 #define BN_UNHILITE 3
1779 #define BN_DISABLE 4
1780 #define BN_DOUBLECLICKED 5
1781 #define BN_DBLCLK BN_DOUBLECLICKED
1784 #define BST_UNCHECKED 0x0000
1785 #define BST_CHECKED 0x0001
1786 #define BST_INDETERMINATE 0x0002
1787 #define BST_PUSHED 0x0004
1788 #define BST_FOCUS 0x0008
1790 /* Static Control Styles */
1791 #define SS_LEFT 0x00000000L
1792 #define SS_CENTER 0x00000001L
1793 #define SS_RIGHT 0x00000002L
1794 #define SS_ICON 0x00000003L
1795 #define SS_BLACKRECT 0x00000004L
1796 #define SS_GRAYRECT 0x00000005L
1797 #define SS_WHITERECT 0x00000006L
1798 #define SS_BLACKFRAME 0x00000007L
1799 #define SS_GRAYFRAME 0x00000008L
1800 #define SS_WHITEFRAME 0x00000009L
1802 #define SS_SIMPLE 0x0000000BL
1803 #define SS_LEFTNOWORDWRAP 0x0000000CL
1805 #define SS_OWNERDRAW 0x0000000DL
1806 #define SS_BITMAP 0x0000000EL
1807 #define SS_ENHMETAFILE 0x0000000FL
1809 #define SS_ETCHEDHORZ 0x00000010L
1810 #define SS_ETCHEDVERT 0x00000011L
1811 #define SS_ETCHEDFRAME 0x00000012L
1812 #define SS_TYPEMASK 0x0000001FL
1814 #define SS_NOPREFIX 0x00000080L
1815 #define SS_NOTIFY 0x00000100L
1816 #define SS_CENTERIMAGE 0x00000200L
1817 #define SS_RIGHTJUST 0x00000400L
1818 #define SS_REALSIZEIMAGE 0x00000800L
1819 #define SS_SUNKEN 0x00001000L
1821 /* Static Control Messages */
1822 #define STM_SETICON 0x0170
1823 #define STM_GETICON 0x0171
1824 #define STM_SETIMAGE 0x0172
1825 #define STM_GETIMAGE 0x0173
1826 #define STM_MSGMAX 0x0174
1828 #define STN_CLICKED 0
1829 #define STN_DBLCLK 1
1830 #define STN_ENABLE 2
1831 #define STN_DISABLE 3
1833 /* Scrollbar messages */
1834 #define SBM_SETPOS 0x00e0
1835 #define SBM_GETPOS 0x00e1
1836 #define SBM_SETRANGE 0x00e2
1837 #define SBM_GETRANGE 0x00e3
1838 #define SBM_ENABLE_ARROWS 0x00e4
1839 #define SBM_SETRANGEREDRAW 0x00e6
1840 #define SBM_SETSCROLLINFO 0x00e9
1841 #define SBM_GETSCROLLINFO 0x00ea
1843 /* Scrollbar info */
1853 } SCROLLINFO
, *LPSCROLLINFO
;
1855 typedef const SCROLLINFO
*LPCSCROLLINFO
;
1857 /* GetScrollInfo() flags */
1858 #define SIF_RANGE 0x0001
1859 #define SIF_PAGE 0x0002
1860 #define SIF_POS 0x0004
1861 #define SIF_DISABLENOSCROLL 0x0008
1862 #define SIF_TRACKPOS 0x0010
1863 #define SIF_ALL (SIF_RANGE | SIF_PAGE | SIF_POS | SIF_TRACKPOS)
1865 /* Listbox styles */
1866 #define LBS_NOTIFY 0x0001
1867 #define LBS_SORT 0x0002
1868 #define LBS_NOREDRAW 0x0004
1869 #define LBS_MULTIPLESEL 0x0008
1870 #define LBS_OWNERDRAWFIXED 0x0010
1871 #define LBS_OWNERDRAWVARIABLE 0x0020
1872 #define LBS_HASSTRINGS 0x0040
1873 #define LBS_USETABSTOPS 0x0080
1874 #define LBS_NOINTEGRALHEIGHT 0x0100
1875 #define LBS_MULTICOLUMN 0x0200
1876 #define LBS_WANTKEYBOARDINPUT 0x0400
1877 #define LBS_EXTENDEDSEL 0x0800
1878 #define LBS_DISABLENOSCROLL 0x1000
1879 #define LBS_NODATA 0x2000
1880 #define LBS_NOSEL 0x4000
1881 #define LBS_STANDARD (LBS_NOTIFY | LBS_SORT | WS_VSCROLL | WS_BORDER)
1883 /* Listbox messages */
1884 #define LB_ADDSTRING 0x0180
1885 #define LB_INSERTSTRING 0x0181
1886 #define LB_DELETESTRING 0x0182
1887 #define LB_SELITEMRANGEEX 0x0183
1888 #define LB_RESETCONTENT 0x0184
1889 #define LB_SETSEL 0x0185
1890 #define LB_SETCURSEL 0x0186
1891 #define LB_GETSEL 0x0187
1892 #define LB_GETCURSEL 0x0188
1893 #define LB_GETTEXT 0x0189
1894 #define LB_GETTEXTLEN 0x018a
1895 #define LB_GETCOUNT 0x018b
1896 #define LB_SELECTSTRING 0x018c
1897 #define LB_DIR 0x018d
1898 #define LB_GETTOPINDEX 0x018e
1899 #define LB_FINDSTRING 0x018f
1900 #define LB_GETSELCOUNT 0x0190
1901 #define LB_GETSELITEMS 0x0191
1902 #define LB_SETTABSTOPS 0x0192
1903 #define LB_GETHORIZONTALEXTENT 0x0193
1904 #define LB_SETHORIZONTALEXTENT 0x0194
1905 #define LB_SETCOLUMNWIDTH 0x0195
1906 #define LB_ADDFILE 0x0196
1907 #define LB_SETTOPINDEX 0x0197
1908 #define LB_GETITEMRECT 0x0198
1909 #define LB_GETITEMDATA 0x0199
1910 #define LB_SETITEMDATA 0x019a
1911 #define LB_SELITEMRANGE 0x019b
1912 #define LB_SETANCHORINDEX 0x019c
1913 #define LB_GETANCHORINDEX 0x019d
1914 #define LB_SETCARETINDEX 0x019e
1915 #define LB_GETCARETINDEX 0x019f
1916 #define LB_SETITEMHEIGHT 0x01a0
1917 #define LB_GETITEMHEIGHT 0x01a1
1918 #define LB_FINDSTRINGEXACT 0x01a2
1919 #define LB_CARETON 0x01a3
1920 #define LB_CARETOFF 0x01a4
1921 #define LB_SETLOCALE 0x01a5
1922 #define LB_GETLOCALE 0x01a6
1923 #define LB_SETCOUNT 0x01a7
1924 #define LB_INITSTORAGE 0x01a8
1925 #define LB_ITEMFROMPOINT 0x01a9
1927 /* Listbox notification codes */
1928 #define LBN_ERRSPACE (-2)
1929 #define LBN_SELCHANGE 1
1930 #define LBN_DBLCLK 2
1931 #define LBN_SELCANCEL 3
1932 #define LBN_SETFOCUS 4
1933 #define LBN_KILLFOCUS 5
1935 /* Listbox message return values */
1938 #define LB_ERRSPACE (-2)
1940 #define LB_CTLCODE 0L
1942 /* Combo box styles */
1943 #define CBS_SIMPLE 0x0001L
1944 #define CBS_DROPDOWN 0x0002L
1945 #define CBS_DROPDOWNLIST 0x0003L
1946 #define CBS_OWNERDRAWFIXED 0x0010L
1947 #define CBS_OWNERDRAWVARIABLE 0x0020L
1948 #define CBS_AUTOHSCROLL 0x0040L
1949 #define CBS_OEMCONVERT 0x0080L
1950 #define CBS_SORT 0x0100L
1951 #define CBS_HASSTRINGS 0x0200L
1952 #define CBS_NOINTEGRALHEIGHT 0x0400L
1953 #define CBS_DISABLENOSCROLL 0x0800L
1955 #define CBS_UPPERCASE 0x2000L
1956 #define CBS_LOWERCASE 0x4000L
1959 /* Combo box messages */
1960 #define CB_GETEDITSEL 0x0140
1961 #define CB_LIMITTEXT 0x0141
1962 #define CB_SETEDITSEL 0x0142
1963 #define CB_ADDSTRING 0x0143
1964 #define CB_DELETESTRING 0x0144
1965 #define CB_DIR 0x0145
1966 #define CB_GETCOUNT 0x0146
1967 #define CB_GETCURSEL 0x0147
1968 #define CB_GETLBTEXT 0x0148
1969 #define CB_GETLBTEXTLEN 0x0149
1970 #define CB_INSERTSTRING 0x014a
1971 #define CB_RESETCONTENT 0x014b
1972 #define CB_FINDSTRING 0x014c
1973 #define CB_SELECTSTRING 0x014d
1974 #define CB_SETCURSEL 0x014e
1975 #define CB_SHOWDROPDOWN 0x014f
1976 #define CB_GETITEMDATA 0x0150
1977 #define CB_SETITEMDATA 0x0151
1978 #define CB_GETDROPPEDCONTROLRECT 0x0152
1979 #define CB_SETITEMHEIGHT 0x0153
1980 #define CB_GETITEMHEIGHT 0x0154
1981 #define CB_SETEXTENDEDUI 0x0155
1982 #define CB_GETEXTENDEDUI 0x0156
1983 #define CB_GETDROPPEDSTATE 0x0157
1984 #define CB_FINDSTRINGEXACT 0x0158
1985 #define CB_SETLOCALE 0x0159
1986 #define CB_GETLOCALE 0x015a
1987 #define CB_GETTOPINDEX 0x015b
1988 #define CB_SETTOPINDEX 0x015c
1989 #define CB_GETHORIZONTALEXTENT 0x015d
1990 #define CB_SETHORIZONTALEXTENT 0x015e
1991 #define CB_GETDROPPEDWIDTH 0x015f
1992 #define CB_SETDROPPEDWIDTH 0x0160
1993 #define CB_INITSTORAGE 0x0161
1995 /* Combo box notification codes */
1996 #define CBN_ERRSPACE (-1)
1997 #define CBN_SELCHANGE 1
1998 #define CBN_DBLCLK 2
1999 #define CBN_SETFOCUS 3
2000 #define CBN_KILLFOCUS 4
2001 #define CBN_EDITCHANGE 5
2002 #define CBN_EDITUPDATE 6
2003 #define CBN_DROPDOWN 7
2004 #define CBN_CLOSEUP 8
2005 #define CBN_SELENDOK 9
2006 #define CBN_SELENDCANCEL 10
2008 /* Combo box message return values */
2011 #define CB_ERRSPACE (-2)
2013 #define MB_OK 0x00000000
2014 #define MB_OKCANCEL 0x00000001
2015 #define MB_ABORTRETRYIGNORE 0x00000002
2016 #define MB_YESNOCANCEL 0x00000003
2017 #define MB_YESNO 0x00000004
2018 #define MB_RETRYCANCEL 0x00000005
2019 #define MB_TYPEMASK 0x0000000F
2021 #define MB_ICONHAND 0x00000010
2022 #define MB_ICONQUESTION 0x00000020
2023 #define MB_ICONEXCLAMATION 0x00000030
2024 #define MB_ICONASTERISK 0x00000040
2025 #define MB_USERICON 0x00000080
2026 #define MB_ICONMASK 0x000000F0
2028 #define MB_ICONINFORMATION MB_ICONASTERISK
2029 #define MB_ICONSTOP MB_ICONHAND
2030 #define MB_ICONWARNING MB_ICONEXCLAMATION
2031 #define MB_ICONERROR MB_ICONHAND
2033 #define MB_DEFBUTTON1 0x00000000
2034 #define MB_DEFBUTTON2 0x00000100
2035 #define MB_DEFBUTTON3 0x00000200
2036 #define MB_DEFBUTTON4 0x00000300
2037 #define MB_DEFMASK 0x00000F00
2039 #define MB_APPLMODAL 0x00000000
2040 #define MB_SYSTEMMODAL 0x00001000
2041 #define MB_TASKMODAL 0x00002000
2042 #define MB_MODEMASK 0x00003000
2044 #define MB_HELP 0x00004000
2045 #define MB_NOFOCUS 0x00008000
2046 #define MB_MISCMASK 0x0000C000
2048 #define MB_SETFOREGROUND 0x00010000
2049 #define MB_DEFAULT_DESKTOP_ONLY 0x00020000
2050 #define MB_SERVICE_NOTIFICATION 0x00040000
2051 #define MB_TOPMOST 0x00040000
2052 #define MB_RIGHT 0x00080000
2053 #define MB_RTLREADING 0x00100000
2055 #define HELPINFO_WINDOW 0x0001
2056 #define HELPINFO_MENUITEM 0x0002
2058 /* Structure pointed to by lParam of WM_HELP */
2061 UINT cbSize
; /* Size in bytes of this struct */
2062 INT iContextType
; /* Either HELPINFO_WINDOW or HELPINFO_MENUITEM */
2063 INT iCtrlId
; /* Control Id or a Menu item Id. */
2064 HANDLE hItemHandle
; /* hWnd of control or hMenu. */
2065 DWORD dwContextId
; /* Context Id associated with this item */
2066 POINT MousePos
; /* Mouse Position in screen co-ordinates */
2067 } HELPINFO
,*LPHELPINFO
;
2069 typedef void CALLBACK (*MSGBOXCALLBACK
)(LPHELPINFO lpHelpInfo
);
2075 HINSTANCE hInstance
;
2080 DWORD dwContextHelpId
;
2081 MSGBOXCALLBACK lpfnMsgBoxCallback
;
2083 } MSGBOXPARAMSA
, *PMSGBOXPARAMSA
, *LPMSGBOXPARAMSA
;
2089 HINSTANCE hInstance
;
2091 LPCWSTR lpszCaption
;
2094 DWORD dwContextHelpId
;
2095 MSGBOXCALLBACK lpfnMsgBoxCallback
;
2097 } MSGBOXPARAMSW
, *PMSGBOXPARAMSW
, *LPMSGBOXPARAMSW
;
2099 DECL_WINELIB_TYPE_AW(MSGBOXPARAMS
)
2100 DECL_WINELIB_TYPE_AW(PMSGBOXPARAMS
)
2101 DECL_WINELIB_TYPE_AW(LPMSGBOXPARAMS
)
2103 #define MONITOR_DEFAULTTONULL 0x00000000
2104 #define MONITOR_DEFAULTTOPRIMARY 0x00000001
2105 #define MONITOR_DEFAULTTONEAREST 0x00000002
2107 #define MONITORINFOF_PRIMARY 0x00000001
2109 #ifndef CCHDEVICENAME
2110 #define CCHDEVICENAME 32
2113 typedef struct tagMONITORINFO
2119 } MONITORINFO
, *LPMONITORINFO
;
2121 typedef struct tagMONITORINFOEXA
2124 CHAR szDevice
[CCHDEVICENAME
];
2125 } MONITORINFOEXA
, *LPMONITORINFOEXA
;
2127 typedef struct tagMONITORINFOEXW
2130 WCHAR szDevice
[CCHDEVICENAME
];
2131 } MONITORINFOEXW
, *LPMONITORINFOEXW
;
2133 DECL_WINELIB_TYPE_AW(MONITORINFOEX
)
2134 DECL_WINELIB_TYPE_AW(LPMONITORINFOEX
)
2136 typedef BOOL
CALLBACK (*MONITORENUMPROC
)(HMONITOR
,HDC
,LPRECT
,LPARAM
);
2138 #include "pshpack2.h"
2140 /* FIXME: use this instead of LPCVOID for CreateDialogIndirectParam
2141 and DialogBoxIndirectParam */
2142 typedef struct tagDLGTEMPLATE
2145 DWORD dwExtendedStyle
;
2153 typedef DLGTEMPLATE
*LPDLGTEMPLATEA
;
2154 typedef DLGTEMPLATE
*LPDLGTEMPLATEW
;
2155 DECL_WINELIB_TYPE_AW(LPDLGTEMPLATE
)
2156 typedef const DLGTEMPLATE
*LPCDLGTEMPLATEA
;
2157 typedef const DLGTEMPLATE
*LPCDLGTEMPLATEW
;
2158 DECL_WINELIB_TYPE_AW(LPCDLGTEMPLATE
)
2160 typedef struct tagDLGITEMTEMPLATE
2163 DWORD dwExtendedStyle
;
2171 typedef DLGITEMTEMPLATE
*PDLGITEMTEMPLATEA
;
2172 typedef DLGITEMTEMPLATE
*PDLGITEMTEMPLATEW
;
2173 DECL_WINELIB_TYPE_AW(PDLGITEMTEMPLATE
)
2174 typedef DLGITEMTEMPLATE
*LPDLGITEMTEMPLATEA
;
2175 typedef DLGITEMTEMPLATE
*LPDLGITEMTEMPLATEW
;
2176 DECL_WINELIB_TYPE_AW(LPDLGITEMTEMPLATE
)
2178 #include "poppack.h"
2180 /* CBT hook values */
2181 #define HCBT_MOVESIZE 0
2182 #define HCBT_MINMAX 1
2184 #define HCBT_CREATEWND 3
2185 #define HCBT_DESTROYWND 4
2186 #define HCBT_ACTIVATE 5
2187 #define HCBT_CLICKSKIPPED 6
2188 #define HCBT_KEYSKIPPED 7
2189 #define HCBT_SYSCOMMAND 8
2190 #define HCBT_SETFOCUS 9
2192 /* CBT hook structures */
2196 CREATESTRUCTA
*lpcs
;
2197 HWND hwndInsertAfter
;
2198 } CBT_CREATEWNDA
, *LPCBT_CREATEWNDA
;
2202 CREATESTRUCTW
*lpcs
;
2203 HWND hwndInsertAfter
;
2204 } CBT_CREATEWNDW
, *LPCBT_CREATEWNDW
;
2206 DECL_WINELIB_TYPE_AW(CBT_CREATEWND
)
2207 DECL_WINELIB_TYPE_AW(LPCBT_CREATEWND
)
2213 } CBTACTIVATESTRUCT
, *LPCBTACTIVATESTRUCT
;
2216 /* modifiers for RegisterHotKey */
2217 #define MOD_ALT 0x0001
2218 #define MOD_CONTROL 0x0002
2219 #define MOD_SHIFT 0x0004
2220 #define MOD_WIN 0x0008
2222 /* ids for RegisterHotKey */
2223 #define IDHOT_SNAPWINDOW (-1) /* SHIFT-PRINTSCRN */
2224 #define IDHOT_SNAPDESKTOP (-2) /* PRINTSCRN */
2226 /* keybd_event flags */
2227 #define KEYEVENTF_EXTENDEDKEY 0x0001
2228 #define KEYEVENTF_KEYUP 0x0002
2230 /* mouse_event flags */
2231 #define MOUSEEVENTF_MOVE 0x0001
2232 #define MOUSEEVENTF_LEFTDOWN 0x0002
2233 #define MOUSEEVENTF_LEFTUP 0x0004
2234 #define MOUSEEVENTF_RIGHTDOWN 0x0008
2235 #define MOUSEEVENTF_RIGHTUP 0x0010
2236 #define MOUSEEVENTF_MIDDLEDOWN 0x0020
2237 #define MOUSEEVENTF_MIDDLEUP 0x0040
2238 #define MOUSEEVENTF_WHEEL 0x0800
2239 #define MOUSEEVENTF_ABSOLUTE 0x8000
2241 /* ExitWindows() flags */
2242 #define EW_RESTARTWINDOWS 0x0042
2243 #define EW_REBOOTSYSTEM 0x0043
2244 #define EW_EXITANDEXECAPP 0x0044
2246 /* ExitWindowsEx() flags */
2247 #define EWX_LOGOFF 0
2248 #define EWX_SHUTDOWN 1
2249 #define EWX_REBOOT 2
2251 #define EWX_POWEROFF 8
2253 /* SetLastErrorEx types */
2254 #define SLE_ERROR 0x00000001
2255 #define SLE_MINORERROR 0x00000002
2256 #define SLE_WARNING 0x00000003
2258 /* Predefined resources */
2259 #define IDI_APPLICATIONA MAKEINTRESOURCEA(32512)
2260 #define IDI_APPLICATIONW MAKEINTRESOURCEW(32512)
2261 #define IDI_APPLICATION WINELIB_NAME_AW(IDI_APPLICATION)
2262 #define IDI_HANDA MAKEINTRESOURCEA(32513)
2263 #define IDI_HANDW MAKEINTRESOURCEW(32513)
2264 #define IDI_HAND WINELIB_NAME_AW(IDI_HAND)
2265 #define IDI_QUESTIONA MAKEINTRESOURCEA(32514)
2266 #define IDI_QUESTIONW MAKEINTRESOURCEW(32514)
2267 #define IDI_QUESTION WINELIB_NAME_AW(IDI_QUESTION)
2268 #define IDI_EXCLAMATIONA MAKEINTRESOURCEA(32515)
2269 #define IDI_EXCLAMATIONW MAKEINTRESOURCEW(32515)
2270 #define IDI_EXCLAMATION WINELIB_NAME_AW(IDI_EXCLAMATION)
2271 #define IDI_ASTERISKA MAKEINTRESOURCEA(32516)
2272 #define IDI_ASTERISKW MAKEINTRESOURCEW(32516)
2273 #define IDI_ASTERISK WINELIB_NAME_AW(IDI_ASTERISK)
2274 #define IDI_WINLOGOA MAKEINTRESOURCEA(32517)
2275 #define IDI_WINLOGOW MAKEINTRESOURCEW(32517)
2276 #define IDI_WINLOGO WINELIB_NAME_AW(IDI_WINLOGO)
2278 #define IDI_WARNING IDI_EXCLAMATION
2279 #define IDI_ERROR IDI_HAND
2280 #define IDI_INFORMATION IDI_ASTERISK
2282 #define IDC_ARROWA MAKEINTRESOURCEA(32512)
2283 #define IDC_ARROWW MAKEINTRESOURCEW(32512)
2284 #define IDC_ARROW WINELIB_NAME_AW(IDC_ARROW)
2285 #define IDC_IBEAMA MAKEINTRESOURCEA(32513)
2286 #define IDC_IBEAMW MAKEINTRESOURCEW(32513)
2287 #define IDC_IBEAM WINELIB_NAME_AW(IDC_IBEAM)
2288 #define IDC_WAITA MAKEINTRESOURCEA(32514)
2289 #define IDC_WAITW MAKEINTRESOURCEW(32514)
2290 #define IDC_WAIT WINELIB_NAME_AW(IDC_WAIT)
2291 #define IDC_CROSSA MAKEINTRESOURCEA(32515)
2292 #define IDC_CROSSW MAKEINTRESOURCEW(32515)
2293 #define IDC_CROSS WINELIB_NAME_AW(IDC_CROSS)
2294 #define IDC_UPARROWA MAKEINTRESOURCEA(32516)
2295 #define IDC_UPARROWW MAKEINTRESOURCEW(32516)
2296 #define IDC_UPARROW WINELIB_NAME_AW(IDC_UPARROW)
2297 #define IDC_SIZEA MAKEINTRESOURCEA(32640)
2298 #define IDC_SIZEW MAKEINTRESOURCEW(32640)
2299 #define IDC_SIZE WINELIB_NAME_AW(IDC_SIZE)
2300 #define IDC_ICONA MAKEINTRESOURCEA(32641)
2301 #define IDC_ICONW MAKEINTRESOURCEW(32641)
2302 #define IDC_ICON WINELIB_NAME_AW(IDC_ICON)
2303 #define IDC_SIZENWSEA MAKEINTRESOURCEA(32642)
2304 #define IDC_SIZENWSEW MAKEINTRESOURCEW(32642)
2305 #define IDC_SIZENWSE WINELIB_NAME_AW(IDC_SIZENWSE)
2306 #define IDC_SIZENESWA MAKEINTRESOURCEA(32643)
2307 #define IDC_SIZENESWW MAKEINTRESOURCEW(32643)
2308 #define IDC_SIZENESW WINELIB_NAME_AW(IDC_SIZENESW)
2309 #define IDC_SIZEWEA MAKEINTRESOURCEA(32644)
2310 #define IDC_SIZEWEW MAKEINTRESOURCEW(32644)
2311 #define IDC_SIZEWE WINELIB_NAME_AW(IDC_SIZEWE)
2312 #define IDC_SIZENSA MAKEINTRESOURCEA(32645)
2313 #define IDC_SIZENSW MAKEINTRESOURCEW(32645)
2314 #define IDC_SIZENS WINELIB_NAME_AW(IDC_SIZENS)
2315 #define IDC_SIZEALLA MAKEINTRESOURCEA(32646)
2316 #define IDC_SIZEALLW MAKEINTRESOURCEW(32646)
2317 #define IDC_SIZEALL WINELIB_NAME_AW(IDC_SIZEALL)
2318 #define IDC_NOA MAKEINTRESOURCEA(32648)
2319 #define IDC_NOW MAKEINTRESOURCEW(32648)
2320 #define IDC_NO WINELIB_NAME_AW(IDC_NO)
2321 #define IDC_HANDA MAKEINTRESOURCEA(32649)
2322 #define IDC_HANDW MAKEINTRESOURCEW(32649)
2323 #define IDC_HAND WINELIB_NAME_AW(IDC_HAND)
2324 #define IDC_APPSTARTINGA MAKEINTRESOURCEA(32650)
2325 #define IDC_APPSTARTINGW MAKEINTRESOURCEW(32650)
2326 #define IDC_APPSTARTING WINELIB_NAME_AW(IDC_APPSTARTING)
2327 #define IDC_HELPA MAKEINTRESOURCEA(32651)
2328 #define IDC_HELPW MAKEINTRESOURCEW(32651)
2329 #define IDC_HELP WINELIB_NAME_AW(IDC_HELP)
2331 #define MNC_IGNORE 0
2333 #define MNC_EXECUTE 2
2334 #define MNC_SELECT 3
2336 /* SystemParametersInfo */
2337 /* defines below are for all win versions */
2338 #define SPI_GETBEEP 1
2339 #define SPI_SETBEEP 2
2340 #define SPI_GETMOUSE 3
2341 #define SPI_SETMOUSE 4
2342 #define SPI_GETBORDER 5
2343 #define SPI_SETBORDER 6
2344 #define SPI_GETKEYBOARDSPEED 10
2345 #define SPI_SETKEYBOARDSPEED 11
2346 #define SPI_LANGDRIVER 12
2347 #define SPI_ICONHORIZONTALSPACING 13
2348 #define SPI_GETSCREENSAVETIMEOUT 14
2349 #define SPI_SETSCREENSAVETIMEOUT 15
2350 #define SPI_GETSCREENSAVEACTIVE 16
2351 #define SPI_SETSCREENSAVEACTIVE 17
2352 #define SPI_GETGRIDGRANULARITY 18
2353 #define SPI_SETGRIDGRANULARITY 19
2354 #define SPI_SETDESKWALLPAPER 20
2355 #define SPI_SETDESKPATTERN 21
2356 #define SPI_GETKEYBOARDDELAY 22
2357 #define SPI_SETKEYBOARDDELAY 23
2358 #define SPI_ICONVERTICALSPACING 24
2359 #define SPI_GETICONTITLEWRAP 25
2360 #define SPI_SETICONTITLEWRAP 26
2361 #define SPI_GETMENUDROPALIGNMENT 27
2362 #define SPI_SETMENUDROPALIGNMENT 28
2363 #define SPI_SETDOUBLECLKWIDTH 29
2364 #define SPI_SETDOUBLECLKHEIGHT 30
2365 #define SPI_GETICONTITLELOGFONT 31
2366 #define SPI_SETDOUBLECLICKTIME 32
2367 #define SPI_SETMOUSEBUTTONSWAP 33
2368 #define SPI_SETICONTITLELOGFONT 34
2369 #define SPI_GETFASTTASKSWITCH 35
2370 #define SPI_SETFASTTASKSWITCH 36
2371 #define SPI_SETDRAGFULLWINDOWS 37
2372 #define SPI_GETDRAGFULLWINDOWS 38
2374 #define SPI_GETFILTERKEYS 50
2375 #define SPI_SETFILTERKEYS 51
2376 #define SPI_GETTOGGLEKEYS 52
2377 #define SPI_SETTOGGLEKEYS 53
2378 #define SPI_GETMOUSEKEYS 54
2379 #define SPI_SETMOUSEKEYS 55
2380 #define SPI_GETSHOWSOUNDS 56
2381 #define SPI_SETSHOWSOUNDS 57
2382 #define SPI_GETSTICKYKEYS 58
2383 #define SPI_SETSTICKYKEYS 59
2384 #define SPI_GETACCESSTIMEOUT 60
2385 #define SPI_SETACCESSTIMEOUT 61
2387 #define SPI_GETSOUNDSENTRY 64
2388 #define SPI_SETSOUNDSENTRY 65
2390 /* defines below are for all win versions WINVER >= 0x0400 */
2391 #define SPI_SETDRAGFULLWINDOWS 37
2392 #define SPI_GETDRAGFULLWINDOWS 38
2393 #define SPI_GETNONCLIENTMETRICS 41
2394 #define SPI_SETNONCLIENTMETRICS 42
2395 #define SPI_GETMINIMIZEDMETRICS 43
2396 #define SPI_SETMINIMIZEDMETRICS 44
2397 #define SPI_GETICONMETRICS 45
2398 #define SPI_SETICONMETRICS 46
2399 #define SPI_SETWORKAREA 47
2400 #define SPI_GETWORKAREA 48
2401 #define SPI_SETPENWINDOWS 49
2403 #define SPI_GETSERIALKEYS 62
2404 #define SPI_SETSERIALKEYS 63
2405 #define SPI_GETHIGHCONTRAST 66
2406 #define SPI_SETHIGHCONTRAST 67
2407 #define SPI_GETKEYBOARDPREF 68
2408 #define SPI_SETKEYBOARDPREF 69
2409 #define SPI_GETSCREENREADER 70
2410 #define SPI_SETSCREENREADER 71
2411 #define SPI_GETANIMATION 72
2412 #define SPI_SETANIMATION 73
2413 #define SPI_GETFONTSMOOTHING 74
2414 #define SPI_SETFONTSMOOTHING 75
2415 #define SPI_SETDRAGWIDTH 76
2416 #define SPI_SETDRAGHEIGHT 77
2417 #define SPI_SETHANDHELD 78
2418 #define SPI_GETLOWPOWERTIMEOUT 79
2419 #define SPI_GETPOWEROFFTIMEOUT 80
2420 #define SPI_SETLOWPOWERTIMEOUT 81
2421 #define SPI_SETPOWEROFFTIMEOUT 82
2422 #define SPI_GETLOWPOWERACTIVE 83
2423 #define SPI_GETPOWEROFFACTIVE 84
2424 #define SPI_SETLOWPOWERACTIVE 85
2425 #define SPI_SETPOWEROFFACTIVE 86
2426 #define SPI_SETCURSORS 87
2427 #define SPI_SETICONS 88
2428 #define SPI_GETDEFAULTINPUTLANG 89
2429 #define SPI_SETDEFAULTINPUTLANG 90
2430 #define SPI_SETLANGTOGGLE 91
2431 #define SPI_GETWINDOWSEXTENSION 92
2432 #define SPI_SETMOUSETRAILS 93
2433 #define SPI_GETMOUSETRAILS 94
2434 #define SPI_SETSCREENSAVERRUNNING 97
2435 #define SPI_SCREENSAVERRUNNING SPI_SETSCREENSAVERRUNNING
2437 /* defines below are for all win versions (_WIN32_WINNT >= 0x0400) ||
2438 * (_WIN32_WINDOWS > 0x0400) */
2439 #define SPI_GETMOUSEHOVERWIDTH 98
2440 #define SPI_SETMOUSEHOVERWIDTH 99
2441 #define SPI_GETMOUSEHOVERHEIGHT 100
2442 #define SPI_SETMOUSEHOVERHEIGHT 101
2443 #define SPI_GETMOUSEHOVERTIME 102
2444 #define SPI_SETMOUSEHOVERTIME 103
2445 #define SPI_GETWHEELSCROLLLINES 104
2446 #define SPI_SETWHEELSCROLLLINES 105
2447 #define SPI_GETMENUSHOWDELAY 106
2448 #define SPI_SETMENUSHOWDELAY 107
2450 #define SPI_GETSHOWIMEUI 110
2451 #define SPI_SETSHOWIMEUI 111
2453 /* defines below are for all win versions WINVER >= 0x0500 */
2454 #define SPI_GETMOUSESPEED 112
2455 #define SPI_SETMOUSESPEED 113
2456 #define SPI_GETSCREENSAVERRUNNING 114
2457 #define SPI_GETDESKWALLPAPER 115
2459 #define SPI_GETACTIVEWINDOWTRACKING 0x1000
2460 #define SPI_SETACTIVEWINDOWTRACKING 0x1001
2461 #define SPI_GETMENUANIMATION 0x1002
2462 #define SPI_SETMENUANIMATION 0x1003
2463 #define SPI_GETCOMBOBOXANIMATION 0x1004
2464 #define SPI_SETCOMBOBOXANIMATION 0x1005
2465 #define SPI_GETLISTBOXSMOOTHSCROLLING 0x1006
2466 #define SPI_SETLISTBOXSMOOTHSCROLLING 0x1007
2467 #define SPI_GETGRADIENTCAPTIONS 0x1008
2468 #define SPI_SETGRADIENTCAPTIONS 0x1009
2469 #define SPI_GETMENUUNDERLINES 0x100A
2470 #define SPI_SETMENUUNDERLINES 0x100B
2471 #define SPI_GETACTIVEWNDTRKZORDER 0x100C
2472 #define SPI_SETACTIVEWNDTRKZORDER 0x100D
2473 #define SPI_GETHOTTRACKING 0x100E
2474 #define SPI_SETHOTTRACKING 0x100F
2475 #define SPI_GETFOREGROUNDLOCKTIMEOUT 0x2000
2476 #define SPI_SETFOREGROUNDLOCKTIMEOUT 0x2001
2477 #define SPI_GETACTIVEWNDTRKTIMEOUT 0x2002
2478 #define SPI_SETACTIVEWNDTRKTIMEOUT 0x2003
2479 #define SPI_GETFOREGROUNDFLASHCOUNT 0x2004
2480 #define SPI_SETFOREGROUNDFLASHCOUNT 0x2005
2482 /* SystemParametersInfo flags */
2484 #define SPIF_UPDATEINIFILE 1
2485 #define SPIF_SENDWININICHANGE 2
2486 #define SPIF_SENDCHANGE SPIF_SENDWININICHANGE
2488 #if defined(_WINGDI_) && !defined(NOGDI)
2496 LOGFONTA lfCaptionFont
;
2497 INT iSmCaptionWidth
;
2498 INT iSmCaptionHeight
;
2499 LOGFONTA lfSmCaptionFont
;
2502 LOGFONTA lfMenuFont
;
2503 LOGFONTA lfStatusFont
;
2504 LOGFONTA lfMessageFont
;
2505 } NONCLIENTMETRICSA
, *PNONCLIENTMETRICSA
, *LPNONCLIENTMETRICSA
;
2514 LOGFONTW lfCaptionFont
;
2515 INT iSmCaptionWidth
;
2516 INT iSmCaptionHeight
;
2517 LOGFONTW lfSmCaptionFont
;
2520 LOGFONTW lfMenuFont
;
2521 LOGFONTW lfStatusFont
;
2522 LOGFONTW lfMessageFont
;
2523 } NONCLIENTMETRICSW
, *PNONCLIENTMETRICSW
, *LPNONCLIENTMETRICSW
;
2525 DECL_WINELIB_TYPE_AW(NONCLIENTMETRICS
)
2526 DECL_WINELIB_TYPE_AW(PNONCLIENTMETRICS
)
2527 DECL_WINELIB_TYPE_AW(LPNONCLIENTMETRICS
)
2529 typedef struct tagICONMETRICSA
{
2535 } ICONMETRICSA
, *PICONMETRICSA
, *LPICONMETRICSA
;
2537 typedef struct tagICONMETRICSW
{
2543 } ICONMETRICSW
, *PICONMETRICSW
, *LPICONMETRICSW
;
2545 DECL_WINELIB_TYPE_AW(ICONMETRICS
)
2546 DECL_WINELIB_TYPE_AW(PICONMETRICS
)
2547 DECL_WINELIB_TYPE_AW(LPICONMETRICS
)
2548 #endif /* defined(_WINGDI_) && !defined(NOGDI) */
2550 #define ARW_BOTTOMLEFT 0x0000L
2551 #define ARW_BOTTOMRIGHT 0x0001L
2552 #define ARW_TOPLEFT 0x0002L
2553 #define ARW_TOPRIGHT 0x0003L
2554 #define ARW_STARTMASK 0x0003L
2555 #define ARW_STARTRIGHT 0x0001L
2556 #define ARW_STARTTOP 0x0002L
2558 #define ARW_LEFT 0x0000L
2559 #define ARW_RIGHT 0x0000L
2560 #define ARW_UP 0x0004L
2561 #define ARW_DOWN 0x0004L
2562 #define ARW_HIDE 0x0008L
2564 typedef struct tagMINIMIZEDMETRICS
{
2570 } MINIMIZEDMETRICS
, *PMINIMIZEDMETRICS
, *LPMINIMIZEDMETRICS
;
2573 #define WS_OVERLAPPED 0x00000000L
2574 #define WS_POPUP 0x80000000L
2575 #define WS_CHILD 0x40000000L
2576 #define WS_MINIMIZE 0x20000000L
2577 #define WS_VISIBLE 0x10000000L
2578 #define WS_DISABLED 0x08000000L
2579 #define WS_CLIPSIBLINGS 0x04000000L
2580 #define WS_CLIPCHILDREN 0x02000000L
2581 #define WS_MAXIMIZE 0x01000000L
2582 #define WS_CAPTION 0x00C00000L
2583 #define WS_BORDER 0x00800000L
2584 #define WS_DLGFRAME 0x00400000L
2585 #define WS_VSCROLL 0x00200000L
2586 #define WS_HSCROLL 0x00100000L
2587 #define WS_SYSMENU 0x00080000L
2588 #define WS_THICKFRAME 0x00040000L
2589 #define WS_GROUP 0x00020000L
2590 #define WS_TABSTOP 0x00010000L
2591 #define WS_MINIMIZEBOX 0x00020000L
2592 #define WS_MAXIMIZEBOX 0x00010000L
2593 #define WS_TILED WS_OVERLAPPED
2594 #define WS_ICONIC WS_MINIMIZE
2595 #define WS_SIZEBOX WS_THICKFRAME
2596 #define WS_OVERLAPPEDWINDOW (WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME| WS_MINIMIZEBOX | WS_MAXIMIZEBOX)
2597 #define WS_POPUPWINDOW (WS_POPUP | WS_BORDER | WS_SYSMENU)
2598 #define WS_CHILDWINDOW (WS_CHILD)
2599 #define WS_TILEDWINDOW (WS_OVERLAPPEDWINDOW)
2601 /* Window extended styles */
2602 #define WS_EX_DLGMODALFRAME 0x00000001L
2603 #define WS_EX_DRAGDETECT 0x00000002L
2604 #define WS_EX_NOPARENTNOTIFY 0x00000004L
2605 #define WS_EX_TOPMOST 0x00000008L
2606 #define WS_EX_ACCEPTFILES 0x00000010L
2607 #define WS_EX_TRANSPARENT 0x00000020L
2609 /* New Win95/WinNT4 styles */
2610 #define WS_EX_MDICHILD 0x00000040L
2611 #define WS_EX_TOOLWINDOW 0x00000080L
2612 #define WS_EX_WINDOWEDGE 0x00000100L
2613 #define WS_EX_CLIENTEDGE 0x00000200L
2614 #define WS_EX_CONTEXTHELP 0x00000400L
2615 #define WS_EX_RIGHT 0x00001000L
2616 #define WS_EX_LEFT 0x00000000L
2617 #define WS_EX_RTLREADING 0x00002000L
2618 #define WS_EX_LTRREADING 0x00000000L
2619 #define WS_EX_LEFTSCROLLBAR 0x00004000L
2620 #define WS_EX_RIGHTSCROLLBAR 0x00000000L
2621 #define WS_EX_CONTROLPARENT 0x00010000L
2622 #define WS_EX_STATICEDGE 0x00020000L
2623 #define WS_EX_APPWINDOW 0x00040000L
2625 #define WS_EX_OVERLAPPEDWINDOW (WS_EX_WINDOWEDGE|WS_EX_CLIENTEDGE)
2626 #define WS_EX_PALETTEWINDOW (WS_EX_WINDOWEDGE|WS_EX_TOOLWINDOW|WS_EX_TOPMOST)
2628 /* New Win2000 styles */
2629 #define WS_EX_LAYERED 0x00080000L
2631 /* WINE internal... */
2632 #define WS_EX_TRAYWINDOW 0x80000000L
2633 #define WS_EX_MANAGED 0x40000000L /* Window managed by the window system */
2635 /* Window scrolling */
2636 #define SW_SCROLLCHILDREN 0x0001
2637 #define SW_INVALIDATE 0x0002
2638 #define SW_ERASE 0x0004
2640 /* CreateWindow() coordinates */
2641 #define CW_USEDEFAULT ((INT)0x80000000)
2643 /* ChildWindowFromPointEx Flags */
2644 #define CWP_ALL 0x0000
2645 #define CWP_SKIPINVISIBLE 0x0001
2646 #define CWP_SKIPDISABLED 0x0002
2647 #define CWP_SKIPTRANSPARENT 0x0004
2649 /* PeekMessage() options */
2650 #define PM_NOREMOVE 0x0000
2651 #define PM_REMOVE 0x0001
2652 #define PM_NOYIELD 0x0002
2654 /* AnimateWindow() flags */
2655 #define AW_SLIDE 0x00040000
2656 #define AW_ACTIVATE 0x00020000
2657 #define AW_BLEND 0x00080000
2658 #define AW_HIDE 0x00010000
2659 #define AW_CENTER 0x00000010
2660 #define AW_HOR_POSITIVE 0x00000001
2661 #define AW_HOR_NEGATIVE 0x00000002
2662 #define AW_VER_POSITIVE 0x00000004
2663 #define AW_VER_NEGATIVE 0x00000008
2665 /* WM_SHOWWINDOW wParam codes */
2666 #define SW_PARENTCLOSING 1
2667 #define SW_OTHERMAXIMIZED 2
2668 #define SW_PARENTOPENING 3
2669 #define SW_OTHERRESTORED 4
2671 /* ShowWindow() codes */
2673 #define SW_SHOWNORMAL 1
2675 #define SW_SHOWMINIMIZED 2
2676 #define SW_SHOWMAXIMIZED 3
2677 #define SW_MAXIMIZE 3
2678 #define SW_SHOWNOACTIVATE 4
2680 #define SW_MINIMIZE 6
2681 #define SW_SHOWMINNOACTIVE 7
2683 #define SW_RESTORE 9
2684 #define SW_SHOWDEFAULT 10
2686 #define SW_NORMALNA 0xCC /* undoc. flag in MinMaximize */
2688 /* WM_SIZE message wParam values */
2689 #define SIZE_RESTORED 0
2690 #define SIZE_MINIMIZED 1
2691 #define SIZE_MAXIMIZED 2
2692 #define SIZE_MAXSHOW 3
2693 #define SIZE_MAXHIDE 4
2694 #define SIZENORMAL SIZE_RESTORED
2695 #define SIZEICONIC SIZE_MINIMIZED
2696 #define SIZEFULLSCREEN SIZE_MAXIMIZED
2697 #define SIZEZOOMSHOW SIZE_MAXSHOW
2698 #define SIZEZOOMHIDE SIZE_MAXHIDE
2700 /* SetWindowPos() and WINDOWPOS flags */
2701 #define SWP_NOSIZE 0x0001
2702 #define SWP_NOMOVE 0x0002
2703 #define SWP_NOZORDER 0x0004
2704 #define SWP_NOREDRAW 0x0008
2705 #define SWP_NOACTIVATE 0x0010
2706 #define SWP_FRAMECHANGED 0x0020 /* The frame changed: send WM_NCCALCSIZE */
2707 #define SWP_SHOWWINDOW 0x0040
2708 #define SWP_HIDEWINDOW 0x0080
2709 #define SWP_NOCOPYBITS 0x0100
2710 #define SWP_NOOWNERZORDER 0x0200 /* Don't do owner Z ordering */
2712 #define SWP_DRAWFRAME SWP_FRAMECHANGED
2713 #define SWP_NOREPOSITION SWP_NOOWNERZORDER
2715 #define SWP_NOSENDCHANGING 0x0400
2716 #define SWP_DEFERERASE 0x2000
2717 #define SWP_ASYNCWINDOWPOS 0x4000
2719 #define HWND_DESKTOP ((HWND)0)
2720 #define HWND_BROADCAST ((HWND)0xffff)
2722 /* SetWindowPos() hwndInsertAfter field values */
2723 #define HWND_TOP ((HWND)0)
2724 #define HWND_BOTTOM ((HWND)1)
2725 #define HWND_TOPMOST ((HWND)-1)
2726 #define HWND_NOTOPMOST ((HWND)-2)
2727 #define HWND_MESSAGE ((HWND)-3)
2730 #define DCX_WINDOW 0x00000001
2731 #define DCX_CACHE 0x00000002
2732 #define DCX_NORESETATTRS 0x00000004
2733 #define DCX_CLIPCHILDREN 0x00000008
2734 #define DCX_CLIPSIBLINGS 0x00000010
2735 #define DCX_PARENTCLIP 0x00000020
2736 #define DCX_EXCLUDERGN 0x00000040
2737 #define DCX_INTERSECTRGN 0x00000080
2738 #define DCX_EXCLUDEUPDATE 0x00000100
2739 #define DCX_INTERSECTUPDATE 0x00000200
2740 #define DCX_LOCKWINDOWUPDATE 0x00000400
2741 #define DCX_USESTYLE 0x00010000
2742 #define DCX_NORECOMPUTE 0x00100000
2743 #define DCX_VALIDATE 0x00200000
2745 #define MF_INSERT 0x0000
2746 #define MF_CHANGE 0x0080
2747 #define MF_APPEND 0x0100
2748 #define MF_DELETE 0x0200
2749 #define MF_REMOVE 0x1000
2750 #define MF_END 0x0080
2752 #define MF_ENABLED 0x0000
2753 #define MF_GRAYED 0x0001
2754 #define MF_DISABLED 0x0002
2755 #define MF_STRING 0x0000
2756 #define MF_BITMAP 0x0004
2757 #define MF_UNCHECKED 0x0000
2758 #define MF_CHECKED 0x0008
2759 #define MF_POPUP 0x0010
2760 #define MF_MENUBARBREAK 0x0020
2761 #define MF_MENUBREAK 0x0040
2762 #define MF_UNHILITE 0x0000
2763 #define MF_HILITE 0x0080
2764 #define MF_OWNERDRAW 0x0100
2765 #define MF_USECHECKBITMAPS 0x0200
2766 #define MF_BYCOMMAND 0x0000
2767 #define MF_BYPOSITION 0x0400
2768 #define MF_SEPARATOR 0x0800
2769 #define MF_DEFAULT 0x1000
2770 #define MF_SYSMENU 0x2000
2771 #define MF_HELP 0x4000
2772 #define MF_RIGHTJUSTIFY 0x4000
2773 #define MF_MOUSESELECT 0x8000
2775 /* Flags for extended menu item types. */
2776 #define MFT_STRING MF_STRING
2777 #define MFT_BITMAP MF_BITMAP
2778 #define MFT_MENUBARBREAK MF_MENUBARBREAK
2779 #define MFT_MENUBREAK MF_MENUBREAK
2780 #define MFT_OWNERDRAW MF_OWNERDRAW
2781 #define MFT_RADIOCHECK 0x00000200L
2782 #define MFT_SEPARATOR MF_SEPARATOR
2783 #define MFT_RIGHTORDER 0x00002000L
2784 #define MFT_RIGHTJUSTIFY MF_RIGHTJUSTIFY
2786 /* Flags for extended menu item states. */
2787 #define MFS_GRAYED 0x00000003L
2788 #define MFS_DISABLED MFS_GRAYED
2789 #define MFS_CHECKED MF_CHECKED
2790 #define MFS_HILITE MF_HILITE
2791 #define MFS_ENABLED MF_ENABLED
2792 #define MFS_UNCHECKED MF_UNCHECKED
2793 #define MFS_UNHILITE MF_UNHILITE
2794 #define MFS_DEFAULT MF_DEFAULT
2795 #define MFS_MASK 0x0000108BL
2796 #define MFS_HOTTRACKDRAWN 0x10000000L
2797 #define MFS_CACHEDBMP 0x20000000L
2798 #define MFS_BOTTOMGAPDROP 0x40000000L
2799 #define MFS_TOPGAPDROP 0x80000000L
2800 #define MFS_GAPDROP 0xC0000000L
2802 /* for GetMenuDefaultItem */
2803 #define GMDI_USEDISABLED 0x0001L
2804 #define GMDI_GOINTOPOPUPS 0x0002L
2810 #define DT_VCENTER 4
2812 #define DT_WORDBREAK 16
2813 #define DT_SINGLELINE 32
2814 #define DT_EXPANDTABS 64
2815 #define DT_TABSTOP 128
2816 #define DT_NOCLIP 256
2817 #define DT_EXTERNALLEADING 512
2818 #define DT_CALCRECT 1024
2819 #define DT_NOPREFIX 2048
2820 #define DT_INTERNAL 4096
2822 /* DrawCaption()/DrawCaptionTemp() flags */
2823 #define DC_ACTIVE 0x0001
2824 #define DC_SMALLCAP 0x0002
2825 #define DC_ICON 0x0004
2826 #define DC_TEXT 0x0008
2827 #define DC_INBUTTON 0x0010
2829 /* DrawEdge() flags */
2830 #define BDR_RAISEDOUTER 0x0001
2831 #define BDR_SUNKENOUTER 0x0002
2832 #define BDR_RAISEDINNER 0x0004
2833 #define BDR_SUNKENINNER 0x0008
2835 #define BDR_OUTER 0x0003
2836 #define BDR_INNER 0x000c
2837 #define BDR_RAISED 0x0005
2838 #define BDR_SUNKEN 0x000a
2840 #define EDGE_RAISED (BDR_RAISEDOUTER | BDR_RAISEDINNER)
2841 #define EDGE_SUNKEN (BDR_SUNKENOUTER | BDR_SUNKENINNER)
2842 #define EDGE_ETCHED (BDR_SUNKENOUTER | BDR_RAISEDINNER)
2843 #define EDGE_BUMP (BDR_RAISEDOUTER | BDR_SUNKENINNER)
2846 #define BF_LEFT 0x0001
2847 #define BF_TOP 0x0002
2848 #define BF_RIGHT 0x0004
2849 #define BF_BOTTOM 0x0008
2850 #define BF_DIAGONAL 0x0010
2851 #define BF_MIDDLE 0x0800 /* Fill in the middle */
2852 #define BF_SOFT 0x1000 /* For softer buttons */
2853 #define BF_ADJUST 0x2000 /* Calculate the space left over */
2854 #define BF_FLAT 0x4000 /* For flat rather than 3D borders */
2855 #define BF_MONO 0x8000 /* For monochrome borders */
2856 #define BF_TOPLEFT (BF_TOP | BF_LEFT)
2857 #define BF_TOPRIGHT (BF_TOP | BF_RIGHT)
2858 #define BF_BOTTOMLEFT (BF_BOTTOM | BF_LEFT)
2859 #define BF_BOTTOMRIGHT (BF_BOTTOM | BF_RIGHT)
2860 #define BF_RECT (BF_LEFT | BF_TOP | BF_RIGHT | BF_BOTTOM)
2861 #define BF_DIAGONAL_ENDTOPRIGHT (BF_DIAGONAL | BF_TOP | BF_RIGHT)
2862 #define BF_DIAGONAL_ENDTOPLEFT (BF_DIAGONAL | BF_TOP | BF_LEFT)
2863 #define BF_DIAGONAL_ENDBOTTOMLEFT (BF_DIAGONAL | BF_BOTTOM | BF_LEFT)
2864 #define BF_DIAGONAL_ENDBOTTOMRIGHT (BF_DIAGONAL | BF_BOTTOM | BF_RIGHT)
2866 /* DrawFrameControl() uType's */
2868 #define DFC_CAPTION 1
2870 #define DFC_SCROLL 3
2871 #define DFC_BUTTON 4
2875 #define DFCS_CAPTIONCLOSE 0x0000
2876 #define DFCS_CAPTIONMIN 0x0001
2877 #define DFCS_CAPTIONMAX 0x0002
2878 #define DFCS_CAPTIONRESTORE 0x0003
2879 #define DFCS_CAPTIONHELP 0x0004 /* Windows 95 only */
2881 #define DFCS_MENUARROW 0x0000
2882 #define DFCS_MENUCHECK 0x0001
2883 #define DFCS_MENUBULLET 0x0002
2884 #define DFCS_MENUARROWRIGHT 0x0004
2886 #define DFCS_SCROLLUP 0x0000
2887 #define DFCS_SCROLLDOWN 0x0001
2888 #define DFCS_SCROLLLEFT 0x0002
2889 #define DFCS_SCROLLRIGHT 0x0003
2890 #define DFCS_SCROLLCOMBOBOX 0x0005
2891 #define DFCS_SCROLLSIZEGRIP 0x0008
2892 #define DFCS_SCROLLSIZEGRIPRIGHT 0x0010
2894 #define DFCS_BUTTONCHECK 0x0000
2895 #define DFCS_BUTTONRADIOIMAGE 0x0001
2896 #define DFCS_BUTTONRADIOMASK 0x0002 /* to draw nonsquare button */
2897 #define DFCS_BUTTONRADIO 0x0004
2898 #define DFCS_BUTTON3STATE 0x0008
2899 #define DFCS_BUTTONPUSH 0x0010
2901 /* additional state of the control */
2903 #define DFCS_INACTIVE 0x0100
2904 #define DFCS_PUSHED 0x0200
2905 #define DFCS_CHECKED 0x0400
2906 #define DFCS_ADJUSTRECT 0x2000 /* exclude surrounding edge */
2907 #define DFCS_FLAT 0x4000
2908 #define DFCS_MONO 0x8000
2911 #define DST_COMPLEX 0x0000
2912 #define DST_TEXT 0x0001
2913 #define DST_PREFIXTEXT 0x0002
2914 #define DST_ICON 0x0003
2915 #define DST_BITMAP 0x0004
2918 #define DSS_NORMAL 0x0000
2919 #define DSS_UNION 0x0010 /* Gray string appearance */
2920 #define DSS_DISABLED 0x0020
2921 #define DSS_DEFAULT 0x0040 /* Make it bold */
2922 #define DSS_MONO 0x0080
2923 #define DSS_RIGHT 0x8000
2934 RECT rcItem WINE_PACKED
;
2935 DWORD itemData WINE_PACKED
;
2936 } DRAWITEMSTRUCT
, *PDRAWITEMSTRUCT
, *LPDRAWITEMSTRUCT
;
2947 } MEASUREITEMSTRUCT
, *PMEASUREITEMSTRUCT
, *LPMEASUREITEMSTRUCT
;
2957 } DELETEITEMSTRUCT
, *PDELETEITEMSTRUCT
, *LPDELETEITEMSTRUCT
;
2970 } COMPAREITEMSTRUCT
, *PCOMPAREITEMSTRUCT
, *LPCOMPAREITEMSTRUCT
;
2973 /* WM_KEYUP/DOWN/CHAR HIWORD(lParam) flags */
2974 #define KF_EXTENDED 0x0100
2975 #define KF_DLGMODE 0x0800
2976 #define KF_MENUMODE 0x1000
2977 #define KF_ALTDOWN 0x2000
2978 #define KF_REPEAT 0x4000
2979 #define KF_UP 0x8000
2981 /* Virtual key codes */
2982 #define VK_LBUTTON 0x01
2983 #define VK_RBUTTON 0x02
2984 #define VK_CANCEL 0x03
2985 #define VK_MBUTTON 0x04
2986 #define VK_XBUTTON1 0x05
2987 #define VK_XBUTTON2 0x06
2988 /* 0x07 Undefined */
2989 #define VK_BACK 0x08
2991 /* 0x0A-0x0B Undefined */
2992 #define VK_CLEAR 0x0C
2993 #define VK_RETURN 0x0D
2994 /* 0x0E-0x0F Undefined */
2995 #define VK_SHIFT 0x10
2996 #define VK_CONTROL 0x11
2997 #define VK_MENU 0x12
2998 #define VK_PAUSE 0x13
2999 #define VK_CAPITAL 0x14
3000 /* 0x15-0x19 Reserved for Kanji systems */
3001 /* 0x1A Undefined */
3002 #define VK_ESCAPE 0x1B
3003 /* 0x1C-0x1F Reserved for Kanji systems */
3004 #define VK_SPACE 0x20
3005 #define VK_PRIOR 0x21
3006 #define VK_NEXT 0x22
3008 #define VK_HOME 0x24
3009 #define VK_LEFT 0x25
3011 #define VK_RIGHT 0x27
3012 #define VK_DOWN 0x28
3013 #define VK_SELECT 0x29
3014 #define VK_PRINT 0x2A /* OEM specific in Windows 3.1 SDK */
3015 #define VK_EXECUTE 0x2B
3016 #define VK_SNAPSHOT 0x2C
3017 #define VK_INSERT 0x2D
3018 #define VK_DELETE 0x2E
3019 #define VK_HELP 0x2F
3030 /* 0x3A-0x40 Undefined */
3058 #define VK_LWIN 0x5B
3059 #define VK_RWIN 0x5C
3060 #define VK_APPS 0x5D
3061 /* 0x5E-0x5F Unassigned */
3062 #define VK_NUMPAD0 0x60
3063 #define VK_NUMPAD1 0x61
3064 #define VK_NUMPAD2 0x62
3065 #define VK_NUMPAD3 0x63
3066 #define VK_NUMPAD4 0x64
3067 #define VK_NUMPAD5 0x65
3068 #define VK_NUMPAD6 0x66
3069 #define VK_NUMPAD7 0x67
3070 #define VK_NUMPAD8 0x68
3071 #define VK_NUMPAD9 0x69
3072 #define VK_MULTIPLY 0x6A
3074 #define VK_SEPARATOR 0x6C
3075 #define VK_SUBTRACT 0x6D
3076 #define VK_DECIMAL 0x6E
3077 #define VK_DIVIDE 0x6F
3102 /* 0x88-0x8F Unassigned */
3103 #define VK_NUMLOCK 0x90
3104 #define VK_SCROLL 0x91
3105 /* 0x92-0x9F Unassigned */
3107 * differencing between right and left shift/control/alt key.
3108 * Used only by GetAsyncKeyState() and GetKeyState().
3110 #define VK_LSHIFT 0xA0
3111 #define VK_RSHIFT 0xA1
3112 #define VK_LCONTROL 0xA2
3113 #define VK_RCONTROL 0xA3
3114 #define VK_LMENU 0xA4
3115 #define VK_RMENU 0xA5
3116 /* 0xA6-0xB9 Unassigned */
3117 #define VK_OEM_1 0xBA
3118 #define VK_OEM_PLUS 0xBB
3119 #define VK_OEM_COMMA 0xBC
3120 #define VK_OEM_MINUS 0xBD
3121 #define VK_OEM_PERIOD 0xBE
3122 #define VK_OEM_2 0xBF
3123 #define VK_OEM_3 0xC0
3124 /* 0xC1-0xDA Unassigned */
3125 #define VK_OEM_4 0xDB
3126 #define VK_OEM_5 0xDC
3127 #define VK_OEM_6 0xDD
3128 #define VK_OEM_7 0xDE
3129 #define VK_OEM_8 0xDF
3130 /* 0xE0 OEM specific */
3131 #define VK_OEM_AX 0xE1 /* "AX" key on Japanese AX keyboard */
3132 #define VK_OEM_102 0xE2 /* "<>" or "\|" on RT 102-key keyboard */
3133 #define VK_ICO_HELP 0xE3 /* Help key on ICO */
3134 #define VK_ICO_00 0xE4 /* 00 key on ICO */
3135 #define VK_PROCESSKEY 0xE5
3137 /* 0xE6 OEM specific */
3138 /* 0xE7-0xE8 Unassigned */
3139 /* 0xE9-0xF5 OEM specific */
3141 #define VK_ATTN 0xF6
3142 #define VK_CRSEL 0xF7
3143 #define VK_EXSEL 0xF8
3144 #define VK_EREOF 0xF9
3145 #define VK_PLAY 0xFA
3146 #define VK_ZOOM 0xFB
3147 #define VK_NONAME 0xFC
3149 #define VK_OEM_CLEAR 0xFE
3151 /* Key status flags for mouse events */
3152 #define MK_LBUTTON 0x0001
3153 #define MK_RBUTTON 0x0002
3154 #define MK_SHIFT 0x0004
3155 #define MK_CONTROL 0x0008
3156 #define MK_MBUTTON 0x0010
3157 #define MK_XBUTTON1 0x0020
3158 #define MK_XBUTTON2 0x0040
3160 /* Queue status flags */
3161 #define QS_KEY 0x0001
3162 #define QS_MOUSEMOVE 0x0002
3163 #define QS_MOUSEBUTTON 0x0004
3164 #define QS_MOUSE (QS_MOUSEMOVE | QS_MOUSEBUTTON)
3165 #define QS_POSTMESSAGE 0x0008
3166 #define QS_TIMER 0x0010
3167 #define QS_PAINT 0x0020
3168 #define QS_SENDMESSAGE 0x0040
3169 #define QS_HOTKEY 0x0080
3170 #define QS_INPUT (QS_MOUSE | QS_KEY)
3171 #define QS_ALLEVENTS (QS_INPUT | QS_POSTMESSAGE | QS_TIMER | QS_PAINT | QS_HOTKEY)
3172 #define QS_ALLINPUT (QS_ALLEVENTS | QS_SENDMESSAGE)
3174 /* Extra (undocumented) queue wake bits - see "Undoc. Windows" */
3175 #define QS_SMRESULT 0x8000
3177 /* InSendMessageEx flags */
3178 #define ISMEX_NOSEND 0x00000000
3179 #define ISMEX_SEND 0x00000001
3180 #define ISMEX_NOTIFY 0x00000002
3181 #define ISMEX_CALLBACK 0x00000004
3182 #define ISMEX_REPLIED 0x00000008
3184 #define DDL_READWRITE 0x0000
3185 #define DDL_READONLY 0x0001
3186 #define DDL_HIDDEN 0x0002
3187 #define DDL_SYSTEM 0x0004
3188 #define DDL_DIRECTORY 0x0010
3189 #define DDL_ARCHIVE 0x0020
3191 #define DDL_POSTMSGS 0x2000
3192 #define DDL_DRIVES 0x4000
3193 #define DDL_EXCLUSIVE 0x8000
3195 /* Shell hook values */
3196 #define HSHELL_WINDOWCREATED 1
3197 #define HSHELL_WINDOWDESTROYED 2
3198 #define HSHELL_ACTIVATESHELLWINDOW 3
3200 /* Predefined Clipboard Formats */
3203 #define CF_METAFILEPICT 3
3207 #define CF_OEMTEXT 7
3209 #define CF_PALETTE 9
3210 #define CF_PENDATA 10
3213 #define CF_UNICODETEXT 13
3214 #define CF_ENHMETAFILE 14
3216 #define CF_LOCALE 16
3220 #define CF_OWNERDISPLAY 0x0080
3221 #define CF_DSPTEXT 0x0081
3222 #define CF_DSPBITMAP 0x0082
3223 #define CF_DSPMETAFILEPICT 0x0083
3224 #define CF_DSPENHMETAFILE 0x008E
3226 /* "Private" formats don't get GlobalFree()'d */
3227 #define CF_PRIVATEFIRST 0x0200
3228 #define CF_PRIVATELAST 0x02FF
3230 /* "GDIOBJ" formats do get DeleteObject()'d */
3231 #define CF_GDIOBJFIRST 0x0300
3232 #define CF_GDIOBJLAST 0x03FF
3235 /* types of LoadImage */
3236 #define IMAGE_BITMAP 0
3237 #define IMAGE_ICON 1
3238 #define IMAGE_CURSOR 2
3239 #define IMAGE_ENHMETAFILE 3
3241 /* loadflags to LoadImage */
3242 #define LR_DEFAULTCOLOR 0x0000
3243 #define LR_MONOCHROME 0x0001
3244 #define LR_COLOR 0x0002
3245 #define LR_COPYRETURNORG 0x0004
3246 #define LR_COPYDELETEORG 0x0008
3247 #define LR_LOADFROMFILE 0x0010
3248 #define LR_LOADTRANSPARENT 0x0020
3249 #define LR_DEFAULTSIZE 0x0040
3250 #define LR_VGA_COLOR 0x0080
3251 #define LR_LOADMAP3DCOLORS 0x1000
3252 #define LR_CREATEDIBSECTION 0x2000
3253 #define LR_COPYFROMRESOURCE 0x4000
3254 #define LR_SHARED 0x8000
3256 /* Flags for DrawIconEx. */
3259 #define DI_NORMAL (DI_MASK | DI_IMAGE)
3261 #define DI_DEFAULTSIZE 8
3263 /* WM_NOTIFYFORMAT commands and return values */
3265 #define NFR_UNICODE 2
3267 #define NF_REQUERY 4
3269 /* RegisterDeviceNotification stuff */
3270 typedef PVOID HDEVNOTIFY
;
3271 typedef HDEVNOTIFY
*PHDEVNOTIFY
;
3273 #define DEVICE_NOTIFY_WINDOW_HANDLE 0x00000000
3275 #define EnumTaskWindows(handle,proc,lparam) \
3276 EnumThreadWindows(handle,proc,lparam)
3277 #define OemToAnsiA OemToCharA
3278 #define OemToAnsiW OemToCharW
3279 #define OemToAnsi WINELIB_NAME_AW(OemToAnsi)
3280 #define OemToAnsiBuffA OemToCharBuffA
3281 #define OemToAnsiBuffW OemToCharBuffW
3282 #define OemToAnsiBuff WINELIB_NAME_AW(OemToAnsiBuff)
3283 #define AnsiToOemA CharToOemA
3284 #define AnsiToOemW CharToOemW
3285 #define AnsiToOem WINELIB_NAME_AW(AnsiToOem)
3286 #define AnsiToOemBuffA CharToOemBuffA
3287 #define AnsiToOemBuffW CharToOemBuffW
3288 #define AnsiToOemBuff WINELIB_NAME_AW(AnsiToOemBuff)
3290 #if defined(_WINGDI_) && !defined(NOGDI)
3291 LONG WINAPI
ChangeDisplaySettingsA(LPDEVMODEA
,DWORD
);
3292 LONG WINAPI
ChangeDisplaySettingsW(LPDEVMODEW
,DWORD
);
3293 #define ChangeDisplaySettings WINELIB_NAME_AW(ChangeDisplaySettings)
3294 LONG WINAPI
ChangeDisplaySettingsExA(LPCSTR
,LPDEVMODEA
,HWND
,DWORD
,LPARAM
);
3295 LONG WINAPI
ChangeDisplaySettingsExW(LPCWSTR
,LPDEVMODEW
,HWND
,DWORD
,LPARAM
);
3296 #define ChangeDisplaySettingsEx WINELIB_NAME_AW(ChangeDisplaySettingsEx)
3297 BOOL WINAPI
EnumDisplayDevicesA(LPVOID
,DWORD
,LPDISPLAY_DEVICEA
,DWORD
);
3298 BOOL WINAPI
EnumDisplayDevicesW(LPVOID
,DWORD
,LPDISPLAY_DEVICEW
,DWORD
);
3299 #define EnumDisplayDevices WINELIB_NAME_AW(EnumDisplayDevices)
3300 BOOL WINAPI
EnumDisplaySettingsA(LPCSTR
,DWORD
,LPDEVMODEA
);
3301 BOOL WINAPI
EnumDisplaySettingsW(LPCWSTR
,DWORD
,LPDEVMODEW
);
3302 #define EnumDisplaySettings WINELIB_NAME_AW(EnumDisplaySettings)
3303 #endif /* defined(_WINGDI_) && !defined(NOGDI) */
3305 HKL WINAPI
ActivateKeyboardLayout(HKL
,UINT
);
3306 LONG WINAPI
BroadcastSystemMessage(DWORD
,LPDWORD
,UINT
,WPARAM
,LPARAM
);
3307 WORD WINAPI
CascadeWindows(HWND
, UINT
, const LPRECT
, UINT
, const HWND
*);
3308 INT WINAPI
CopyAcceleratorTableA(HACCEL
,LPACCEL
,INT
);
3309 INT WINAPI
CopyAcceleratorTableW(HACCEL
,LPACCEL
,INT
);
3310 #define CopyAcceleratorTable WINELIB_NAME_AW(CopyAcceleratorTable)
3311 HACCEL WINAPI
CreateAcceleratorTableA(LPACCEL
,INT
);
3312 HACCEL WINAPI
CreateAcceleratorTableW(LPACCEL
,INT
);
3313 #define CreateAcceleratorTable WINELIB_NAME_AW(CreateAcceleratorTable)
3314 HICON WINAPI
CreateIconIndirect(PICONINFO
);
3315 BOOL WINAPI
DestroyAcceleratorTable(HACCEL
);
3316 BOOL WINAPI
EnumDesktopsA(HWINSTA
,DESKTOPENUMPROCA
,LPARAM
);
3317 BOOL WINAPI
EnumDesktopsW(HWINSTA
,DESKTOPENUMPROCW
,LPARAM
);
3318 #define EnumDesktops WINELIB_NAME_AW(EnumDesktops)
3319 BOOL WINAPI
EnumDisplayMonitors(HDC
,LPRECT
,MONITORENUMPROC
,LPARAM
);
3320 INT WINAPI
EnumPropsExA(HWND
,PROPENUMPROCEXA
,LPARAM
);
3321 INT WINAPI
EnumPropsExW(HWND
,PROPENUMPROCEXW
,LPARAM
);
3322 #define EnumPropsEx WINELIB_NAME_AW(EnumPropsEx)
3323 BOOL WINAPI
EnumThreadWindows(DWORD
,WNDENUMPROC
,LPARAM
);
3324 BOOL WINAPI
ExitWindowsEx(UINT
,DWORD
);
3325 BOOL WINAPI
GetIconInfo(HICON
,PICONINFO
);
3326 HKL WINAPI
GetKeyboardLayout(DWORD
);
3327 INT WINAPI
GetKeyboardLayoutList(INT
,HKL
*);
3328 DWORD WINAPI
GetMenuContextHelpId(HMENU
);
3329 UINT WINAPI
GetMenuDefaultItem(HMENU
,UINT
,UINT
);
3330 BOOL WINAPI
GetMenuInfo(HMENU
,LPMENUINFO
);
3331 BOOL WINAPI
GetMenuItemInfoA(HMENU
,UINT
,BOOL
,MENUITEMINFOA
*);
3332 BOOL WINAPI
GetMenuItemInfoW(HMENU
,UINT
,BOOL
,MENUITEMINFOW
*);
3333 #define GetMenuItemInfo WINELIB_NAME_AW(GetMenuItemInfo)
3334 BOOL WINAPI
GetMonitorInfoA(HMONITOR
,LPMONITORINFO
);
3335 BOOL WINAPI
GetMonitorInfoW(HMONITOR
,LPMONITORINFO
);
3336 #define GetMonitorInfo WINELIB_NAME_AW(GetMonitorInfo)
3337 DWORD WINAPI
GetWindowContextHelpId(HWND
);
3338 DWORD WINAPI
GetWindowThreadProcessId(HWND
,LPDWORD
);
3339 BOOL WINAPI
IsWindowUnicode(HWND
);
3340 HKL WINAPI
LoadKeyboardLayoutA(LPCSTR
,UINT
);
3341 HKL WINAPI
LoadKeyboardLayoutW(LPCWSTR
,UINT
);
3342 #define LoadKeyboardLayout WINELIB_NAME_AW(LoadKeyboardLayout)
3343 INT WINAPI
MessageBoxExA(HWND
,LPCSTR
,LPCSTR
,UINT
,WORD
);
3344 INT WINAPI
MessageBoxExW(HWND
,LPCWSTR
,LPCWSTR
,UINT
,WORD
);
3345 #define MessageBoxEx WINELIB_NAME_AW(MessageBoxEx)
3346 HMONITOR WINAPI
MonitorFromPoint(POINT
,DWORD
);
3347 HMONITOR WINAPI
MonitorFromRect(LPRECT
,DWORD
);
3348 HMONITOR WINAPI
MonitorFromWindow(HWND
,DWORD
);
3349 DWORD WINAPI
MsgWaitForMultipleObjects(DWORD
,CONST HANDLE
*,BOOL
,DWORD
,DWORD
);
3350 DWORD WINAPI
MsgWaitForMultipleObjectsEx(DWORD
,CONST HANDLE
*,DWORD
,DWORD
,DWORD
);
3351 BOOL WINAPI
PaintDesktop(HDC
);
3352 BOOL WINAPI
PostThreadMessageA(DWORD
,UINT
,WPARAM
,LPARAM
);
3353 BOOL WINAPI
PostThreadMessageW(DWORD
,UINT
,WPARAM
,LPARAM
);
3354 #define PostThreadMessage WINELIB_NAME_AW(PostThreadMessage)
3355 BOOL WINAPI
RegisterHotKey(HWND
,INT
,UINT
,UINT
);
3356 HDEVNOTIFY WINAPI
RegisterDeviceNotificationA(HANDLE
,LPVOID
,DWORD
);
3357 HDEVNOTIFY WINAPI
RegisterDeviceNotificationW(HANDLE
,LPVOID
,DWORD
);
3358 #define RegisterDeviceNotification WINELIB_NAME_AW(RegisterDeviceNotification)
3359 BOOL WINAPI
SendMessageCallbackA(HWND
,UINT
,WPARAM
,LPARAM
,SENDASYNCPROC
,ULONG_PTR
);
3360 BOOL WINAPI
SendMessageCallbackW(HWND
,UINT
,WPARAM
,LPARAM
,SENDASYNCPROC
,ULONG_PTR
);
3361 #define SendMessageCallback WINELIB_NAME_AW(SendMessageCallback)
3362 BOOL WINAPI
SendNotifyMessageA(HWND
,UINT
,WPARAM
,LPARAM
);
3363 BOOL WINAPI
SendNotifyMessageW(HWND
,UINT
,WPARAM
,LPARAM
);
3364 #define SendNotifyMessage WINELIB_NAME_AW(SendNotifyMessage)
3365 VOID WINAPI
SetDebugErrorLevel(DWORD
);
3366 VOID WINAPI
SetLastErrorEx(DWORD
,DWORD
);
3367 BOOL WINAPI
SetMenuDefaultItem(HMENU
,UINT
,UINT
);
3368 BOOL WINAPI
SetMenuInfo(HMENU
,LPCMENUINFO
);
3369 BOOL WINAPI
SetMenuItemInfoA(HMENU
,UINT
,BOOL
,const MENUITEMINFOA
*);
3370 BOOL WINAPI
SetMenuItemInfoW(HMENU
,UINT
,BOOL
,const MENUITEMINFOW
*);
3371 #define SetMenuItemInfo WINELIB_NAME_AW(SetMenuItemInfo)
3372 BOOL WINAPI
SetWindowContextHelpId(HWND
,DWORD
);
3373 WORD WINAPI
TileWindows (HWND
, UINT
, const LPRECT
,
3374 UINT
, const HWND
*);
3375 INT WINAPI
ToUnicode(UINT
,UINT
,PBYTE
,LPWSTR
,int,UINT
);
3376 BOOL WINAPI
TrackPopupMenuEx(HMENU
,UINT
,INT
,INT
,HWND
,
3378 BOOL WINAPI
UnregisterDeviceNotification(HDEVNOTIFY
);
3379 BOOL WINAPI
UnregisterHotKey(HWND
,INT
);
3380 DWORD WINAPI
WaitForInputIdle(HANDLE
,DWORD
);
3381 VOID WINAPI
keybd_event(BYTE
,BYTE
,DWORD
,DWORD
);
3382 VOID WINAPI
mouse_event(DWORD
,DWORD
,DWORD
,DWORD
,DWORD
);
3384 /* Declarations for functions that are the same in Win16 and Win32 */
3385 VOID WINAPI
EndMenu(void);
3386 DWORD WINAPI
GetDialogBaseUnits(void);
3387 BOOL WINAPI
GetKeyboardState(LPBYTE
);
3388 DWORD WINAPI
GetMenuCheckMarkDimensions(void);
3389 LONG WINAPI
GetMessageExtraInfo(void);
3390 DWORD WINAPI
GetMessagePos(void);
3391 LONG WINAPI
GetMessageTime(void);
3392 DWORD WINAPI
OemKeyScan(WORD
);
3393 BOOL WINAPI
ReleaseCapture(void);
3394 BOOL WINAPI
SetKeyboardState(LPBYTE
);
3396 /* Declarations for functions that change between Win16 and Win32 */
3398 BOOL WINAPI
AdjustWindowRect(LPRECT
,DWORD
,BOOL
);
3399 BOOL WINAPI
AdjustWindowRectEx(LPRECT
,DWORD
,BOOL
,DWORD
);
3400 BOOL WINAPI
AnimateWindow(HWND
,DWORD
,DWORD
);
3401 #define AnsiLowerA CharLowerA
3402 #define AnsiLowerW CharLowerW
3403 #define AnsiLower WINELIB_NAME_AW(AnsiLower)
3404 #define AnsiLowerBuffA CharLowerBuffA
3405 #define AnsiLowerBuffW CharLowerBuffW
3406 #define AnsiLowerBuff WINELIB_NAME_AW(AnsiLowerBuff)
3407 #define AnsiNextA CharNextA
3408 #define AnsiNextW CharNextW
3409 #define AnsiNext WINELIB_NAME_AW(AnsiNext)
3410 #define AnsiPrevA CharPrevA
3411 #define AnsiPrevW CharPrevW
3412 #define AnsiPrev WINELIB_NAME_AW(AnsiPrev)
3413 #define AnsiUpperA CharUpperA
3414 #define AnsiUpperW CharUpperW
3415 #define AnsiUpper WINELIB_NAME_AW(AnsiUpper)
3416 #define AnsiUpperBuffA CharUpperBuffA
3417 #define AnsiUpperBuffW CharUpperBuffW
3418 #define AnsiUpperBuff WINELIB_NAME_AW(AnsiUpperBuff)
3419 BOOL WINAPI
AnyPopup(void);
3420 BOOL WINAPI
AppendMenuA(HMENU
,UINT
,UINT
,LPCSTR
);
3421 BOOL WINAPI
AppendMenuW(HMENU
,UINT
,UINT
,LPCWSTR
);
3422 #define AppendMenu WINELIB_NAME_AW(AppendMenu)
3423 UINT WINAPI
ArrangeIconicWindows(HWND
);
3424 HDWP WINAPI
BeginDeferWindowPos(INT
);
3425 HDC WINAPI
BeginPaint(HWND
,LPPAINTSTRUCT
);
3426 BOOL WINAPI
BringWindowToTop(HWND
);
3427 void WINAPI
CalcChildScroll(HWND
, INT
);
3428 BOOL WINAPI
CallMsgFilterA(LPMSG
,INT
);
3429 BOOL WINAPI
CallMsgFilterW(LPMSG
,INT
);
3430 #define CallMsgFilter WINELIB_NAME_AW(CallMsgFilter)
3431 LRESULT WINAPI
CallNextHookEx(HHOOK
,INT
,WPARAM
,LPARAM
);
3432 LRESULT WINAPI
CallWindowProcA(WNDPROC
,HWND
,UINT
,WPARAM
,LPARAM
);
3433 LRESULT WINAPI
CallWindowProcW(WNDPROC
,HWND
,UINT
,WPARAM
,LPARAM
);
3434 #define CallWindowProc WINELIB_NAME_AW(CallWindowProc)
3435 BOOL WINAPI
ChangeClipboardChain(HWND
,HWND
);
3436 BOOL WINAPI
ChangeMenuA(HMENU
,UINT
,LPCSTR
,UINT
,UINT
);
3437 BOOL WINAPI
ChangeMenuW(HMENU
,UINT
,LPCWSTR
,UINT
,UINT
);
3438 #define ChangeMenu WINELIB_NAME_AW(ChangeMenu)
3439 LPSTR WINAPI
CharLowerA(LPSTR
);
3440 LPWSTR WINAPI
CharLowerW(LPWSTR
);
3441 #define CharLower WINELIB_NAME_AW(CharLower)
3442 DWORD WINAPI
CharLowerBuffA(LPSTR
,DWORD
);
3443 DWORD WINAPI
CharLowerBuffW(LPWSTR
,DWORD
);
3444 #define CharLowerBuff WINELIB_NAME_AW(CharLowerBuff)
3445 LPSTR WINAPI
CharNextA(LPCSTR
);
3446 LPWSTR WINAPI
CharNextW(LPCWSTR
);
3447 #define CharNext WINELIB_NAME_AW(CharNext)
3448 LPSTR WINAPI
CharNextExA(WORD
,LPCSTR
,DWORD
);
3449 /* no CharNextExW (doesn't make sense) */
3450 LPSTR WINAPI
CharPrevA(LPCSTR
,LPCSTR
);
3451 LPWSTR WINAPI
CharPrevW(LPCWSTR
,LPCWSTR
);
3452 #define CharPrev WINELIB_NAME_AW(CharPrev)
3453 LPSTR WINAPI
CharPrevExA(WORD
,LPCSTR
,LPCSTR
,DWORD
);
3454 /* no CharPrevExW (doesn't make sense) */
3455 LPSTR WINAPI
CharUpperA(LPSTR
);
3456 LPWSTR WINAPI
CharUpperW(LPWSTR
);
3457 #define CharUpper WINELIB_NAME_AW(CharUpper)
3458 DWORD WINAPI
CharUpperBuffA(LPSTR
,DWORD
);
3459 DWORD WINAPI
CharUpperBuffW(LPWSTR
,DWORD
);
3460 #define CharUpperBuff WINELIB_NAME_AW(CharUpperBuff)
3461 BOOL WINAPI
CharToOemA(LPCSTR
,LPSTR
);
3462 BOOL WINAPI
CharToOemW(LPCWSTR
,LPSTR
);
3463 #define CharToOem WINELIB_NAME_AW(CharToOem)
3464 BOOL WINAPI
CharToOemBuffA(LPCSTR
,LPSTR
,DWORD
);
3465 BOOL WINAPI
CharToOemBuffW(LPCWSTR
,LPSTR
,DWORD
);
3466 #define CharToOemBuff WINELIB_NAME_AW(CharToOemBuff)
3467 BOOL WINAPI
CheckDlgButton(HWND
,INT
,UINT
);
3468 DWORD WINAPI
CheckMenuItem(HMENU
,UINT
,UINT
);
3469 BOOL WINAPI
CheckMenuRadioItem(HMENU
,UINT
,UINT
,UINT
,UINT
);
3470 BOOL WINAPI
CheckRadioButton(HWND
,UINT
,UINT
,UINT
);
3471 HWND WINAPI
ChildWindowFromPoint(HWND
,POINT
);
3472 HWND WINAPI
ChildWindowFromPointEx(HWND
,POINT
,UINT
);
3473 BOOL WINAPI
ClientToScreen(HWND
,LPPOINT
);
3474 BOOL WINAPI
ClipCursor(const RECT
*);
3475 BOOL WINAPI
CloseClipboard(void);
3476 BOOL WINAPI
CloseDesktop(HDESK
);
3477 BOOL WINAPI
CloseWindow(HWND
);
3478 BOOL WINAPI
CloseWindowStation(HWINSTA
);
3479 #define CopyCursor(cur) ((HCURSOR)CopyIcon((HICON)(cur)))
3480 HICON WINAPI
CopyIcon(HICON
);
3481 HICON WINAPI
CopyImage(HANDLE
,UINT
,INT
,INT
,UINT
);
3482 BOOL WINAPI
CopyRect(RECT
*,const RECT
*);
3483 INT WINAPI
CountClipboardFormats(void);
3484 BOOL WINAPI
CreateCaret(HWND
,HBITMAP
,INT
,INT
);
3485 HCURSOR WINAPI
CreateCursor(HINSTANCE
,INT
,INT
,INT
,INT
,LPCVOID
,LPCVOID
);
3486 #define CreateDialogA(inst,ptr,hwnd,dlg) \
3487 CreateDialogParamA(inst,ptr,hwnd,dlg,0)
3488 #define CreateDialogW(inst,ptr,hwnd,dlg) \
3489 CreateDialogParamW(inst,ptr,hwnd,dlg,0)
3490 #define CreateDialog WINELIB_NAME_AW(CreateDialog)
3491 #define CreateDialogIndirectA(inst,ptr,hwnd,dlg) \
3492 CreateDialogIndirectParamA(inst,ptr,hwnd,dlg,0)
3493 #define CreateDialogIndirectW(inst,ptr,hwnd,dlg) \
3494 CreateDialogIndirectParamW(inst,ptr,hwnd,dlg,0)
3495 #define CreateDialogIndirect WINELIB_NAME_AW(CreateDialogIndirect)
3496 HWND WINAPI
CreateDialogIndirectParamA(HINSTANCE
,LPCVOID
,HWND
,
3498 HWND WINAPI
CreateDialogIndirectParamW(HINSTANCE
,LPCVOID
,HWND
,
3500 #define CreateDialogIndirectParam WINELIB_NAME_AW(CreateDialogIndirectParam)
3501 HWND WINAPI
CreateDialogParamA(HINSTANCE
,LPCSTR
,HWND
,DLGPROC
,LPARAM
);
3502 HWND WINAPI
CreateDialogParamW(HINSTANCE
,LPCWSTR
,HWND
,DLGPROC
,LPARAM
);
3503 #define CreateDialogParam WINELIB_NAME_AW(CreateDialogParam)
3504 HICON WINAPI
CreateIcon(HINSTANCE
,INT
,INT
,BYTE
,BYTE
,LPCVOID
,LPCVOID
);
3505 HICON WINAPI
CreateIconFromResource(LPBYTE
,UINT
,BOOL
,DWORD
);
3506 HICON WINAPI
CreateIconFromResourceEx(LPBYTE
,UINT
,BOOL
,DWORD
,INT
,INT
,UINT
);
3507 HMENU WINAPI
CreateMenu(void);
3508 HMENU WINAPI
CreatePopupMenu(void);
3509 #define CreateWindowA(className,titleName,style,x,y,width,height,\
3510 parent,menu,instance,param) \
3511 CreateWindowExA(0,className,titleName,style,x,y,width,height,\
3512 parent,menu,instance,param)
3513 #define CreateWindowW(className,titleName,style,x,y,width,height,\
3514 parent,menu,instance,param) \
3515 CreateWindowExW(0,className,titleName,style,x,y,width,height,\
3516 parent,menu,instance,param)
3517 #define CreateWindow WINELIB_NAME_AW(CreateWindow)
3518 HWND WINAPI
CreateWindowExA(DWORD
,LPCSTR
,LPCSTR
,DWORD
,INT
,INT
,
3519 INT
,INT
,HWND
,HMENU
,HINSTANCE
,LPVOID
);
3520 HWND WINAPI
CreateWindowExW(DWORD
,LPCWSTR
,LPCWSTR
,DWORD
,INT
,INT
,
3521 INT
,INT
,HWND
,HMENU
,HINSTANCE
,LPVOID
);
3522 #define CreateWindowEx WINELIB_NAME_AW(CreateWindowEx)
3523 HWINSTA WINAPI
CreateWindowStationA(LPSTR
,DWORD
,DWORD
,LPSECURITY_ATTRIBUTES
);
3524 HWINSTA WINAPI
CreateWindowStationW(LPWSTR
,DWORD
,DWORD
,LPSECURITY_ATTRIBUTES
);
3525 #define CreateWindowStation WINELIB_NAME_AW(CreateWindowStation)
3526 HWND WINAPI
CreateMDIWindowA(LPCSTR
,LPCSTR
,DWORD
,INT
,INT
,
3527 INT
,INT
,HWND
,HINSTANCE
,LPARAM
);
3528 HWND WINAPI
CreateMDIWindowW(LPCWSTR
,LPCWSTR
,DWORD
,INT
,INT
,
3529 INT
,INT
,HWND
,HINSTANCE
,LPARAM
);
3530 #define CreateMDIWindow WINELIB_NAME_AW(CreateMDIWindow)
3531 LRESULT WINAPI
DefDlgProcA(HWND
,UINT
,WPARAM
,LPARAM
);
3532 LRESULT WINAPI
DefDlgProcW(HWND
,UINT
,WPARAM
,LPARAM
);
3533 #define DefDlgProc WINELIB_NAME_AW(DefDlgProc)
3534 HDWP WINAPI
DeferWindowPos(HDWP
,HWND
,HWND
,INT
,INT
,INT
,INT
,UINT
);
3535 LRESULT WINAPI
DefFrameProcA(HWND
,HWND
,UINT
,WPARAM
,LPARAM
);
3536 LRESULT WINAPI
DefFrameProcW(HWND
,HWND
,UINT
,WPARAM
,LPARAM
);
3537 #define DefFrameProc WINELIB_NAME_AW(DefFrameProc)
3538 #define DefHookProc(code,wparam,lparam,phhook) \
3539 CallNextHookEx(*(phhook),code,wparam,lparam)
3540 LRESULT WINAPI
DefMDIChildProcA(HWND
,UINT
,WPARAM
,LPARAM
);
3541 LRESULT WINAPI
DefMDIChildProcW(HWND
,UINT
,WPARAM
,LPARAM
);
3542 #define DefMDIChildProc WINELIB_NAME_AW(DefMDIChildProc)
3543 LRESULT WINAPI
DefWindowProcA(HWND
,UINT
,WPARAM
,LPARAM
);
3544 LRESULT WINAPI
DefWindowProcW(HWND
,UINT
,WPARAM
,LPARAM
);
3545 #define DefWindowProc WINELIB_NAME_AW(DefWindowProc)
3546 BOOL WINAPI
DeleteMenu(HMENU
,UINT
,UINT
);
3547 BOOL WINAPI
DestroyCaret(void);
3548 BOOL WINAPI
DestroyCursor(HCURSOR
);
3549 BOOL WINAPI
DestroyIcon(HICON
);
3550 BOOL WINAPI
DestroyMenu(HMENU
);
3551 BOOL WINAPI
DestroyWindow(HWND
);
3552 #define DialogBoxA(inst,template,owner,func) \
3553 DialogBoxParamA(inst,template,owner,func,0)
3554 #define DialogBoxW(inst,template,owner,func) \
3555 DialogBoxParamW(inst,template,owner,func,0)
3556 #define DialogBox WINELIB_NAME_AW(DialogBox)
3557 #define DialogBoxIndirectA(inst,template,owner,func) \
3558 DialogBoxIndirectParamA(inst,template,owner,func,0)
3559 #define DialogBoxIndirectW(inst,template,owner,func) \
3560 DialogBoxIndirectParamW(inst,template,owner,func,0)
3561 #define DialogBoxIndirect WINELIB_NAME_AW(DialogBoxIndirect)
3562 INT WINAPI
DialogBoxIndirectParamA(HINSTANCE
,LPCVOID
,HWND
,DLGPROC
,LPARAM
);
3563 INT WINAPI
DialogBoxIndirectParamW(HINSTANCE
,LPCVOID
,HWND
,DLGPROC
,LPARAM
);
3564 #define DialogBoxIndirectParam WINELIB_NAME_AW(DialogBoxIndirectParam)
3565 INT WINAPI
DialogBoxParamA(HINSTANCE
,LPCSTR
,HWND
,DLGPROC
,LPARAM
);
3566 INT WINAPI
DialogBoxParamW(HINSTANCE
,LPCWSTR
,HWND
,DLGPROC
,LPARAM
);
3567 #define DialogBoxParam WINELIB_NAME_AW(DialogBoxParam)
3568 LONG WINAPI
DispatchMessageA(const MSG
*);
3569 LONG WINAPI
DispatchMessageW(const MSG
*);
3570 #define DispatchMessage WINELIB_NAME_AW(DispatchMessage)
3571 INT WINAPI
DlgDirListA(HWND
,LPSTR
,INT
,INT
,UINT
);
3572 INT WINAPI
DlgDirListW(HWND
,LPWSTR
,INT
,INT
,UINT
);
3573 #define DlgDirList WINELIB_NAME_AW(DlgDirList)
3574 INT WINAPI
DlgDirListComboBoxA(HWND
,LPSTR
,INT
,INT
,UINT
);
3575 INT WINAPI
DlgDirListComboBoxW(HWND
,LPWSTR
,INT
,INT
,UINT
);
3576 #define DlgDirListComboBox WINELIB_NAME_AW(DlgDirListComboBox)
3577 BOOL WINAPI
DlgDirSelectComboBoxExA(HWND
,LPSTR
,INT
,INT
);
3578 BOOL WINAPI
DlgDirSelectComboBoxExW(HWND
,LPWSTR
,INT
,INT
);
3579 #define DlgDirSelectComboBoxEx WINELIB_NAME_AW(DlgDirSelectComboBoxEx)
3580 BOOL WINAPI
DlgDirSelectExA(HWND
,LPSTR
,INT
,INT
);
3581 BOOL WINAPI
DlgDirSelectExW(HWND
,LPWSTR
,INT
,INT
);
3582 #define DlgDirSelectEx WINELIB_NAME_AW(DlgDirSelectEx)
3583 BOOL WINAPI
DragDetect(HWND
,POINT
);
3584 DWORD WINAPI
DragObject(HWND
,HWND
,UINT
,DWORD
,HCURSOR
);
3585 BOOL WINAPI
DrawAnimatedRects(HWND
,int,const RECT
*,const RECT
*);
3586 BOOL WINAPI
DrawCaption(HWND
,HDC
,const RECT
*,UINT
);
3587 BOOL WINAPI
DrawCaptionTempA(HWND
,HDC
,const RECT
*,HFONT
,HICON
,LPCSTR
,UINT
);
3588 BOOL WINAPI
DrawCaptionTempW(HWND
,HDC
,const RECT
*,HFONT
,HICON
,LPCWSTR
,UINT
);
3589 #define DrawCaptionTemp WINELIB_NAME_AW(DrawCaptionTemp)
3590 BOOL WINAPI
DrawEdge(HDC
,LPRECT
,UINT
,UINT
);
3591 BOOL WINAPI
DrawFocusRect(HDC
,const RECT
*);
3592 BOOL WINAPI
DrawFrameControl(HDC
,LPRECT
,UINT
,UINT
);
3593 BOOL WINAPI
DrawIcon(HDC
,INT
,INT
,HICON
);
3594 BOOL WINAPI
DrawIconEx(HDC
,INT
,INT
,HICON
,INT
,INT
,UINT
,HBRUSH
,UINT
);
3595 BOOL WINAPI
DrawMenuBar(HWND
);
3596 BOOL WINAPI
DrawStateA(HDC
,HBRUSH
,DRAWSTATEPROC
,LPARAM
,WPARAM
,INT
,INT
,INT
,INT
,UINT
);
3597 BOOL WINAPI
DrawStateW(HDC
,HBRUSH
,DRAWSTATEPROC
,LPARAM
,WPARAM
,INT
,INT
,INT
,INT
,UINT
);
3598 #define DrawState WINELIB_NAME_AW(DrawState)
3599 INT WINAPI
DrawTextA(HDC
,LPCSTR
,INT
,LPRECT
,UINT
);
3600 INT WINAPI
DrawTextW(HDC
,LPCWSTR
,INT
,LPRECT
,UINT
);
3601 #define DrawText WINELIB_NAME_AW(DrawText)
3602 INT WINAPI
DrawTextExA(HDC
,LPSTR
,INT
,LPRECT
,UINT
,LPDRAWTEXTPARAMS
);
3603 INT WINAPI
DrawTextExW(HDC
,LPWSTR
,INT
,LPRECT
,UINT
,LPDRAWTEXTPARAMS
);
3604 #define DrawTextEx WINELIB_NAME_AW(DrawTextEx)
3605 BOOL WINAPI
EmptyClipboard(void);
3606 UINT WINAPI
EnableMenuItem(HMENU
,UINT
,UINT
);
3607 BOOL WINAPI
EnableScrollBar(HWND
,INT
,UINT
);
3608 BOOL WINAPI
EnableWindow(HWND
,BOOL
);
3609 BOOL WINAPI
EndDeferWindowPos(HDWP
);
3610 BOOL WINAPI
EndDialog(HWND
,INT
);
3611 BOOL WINAPI
EndPaint(HWND
,const PAINTSTRUCT
*);
3612 BOOL WINAPI
EnumChildWindows(HWND
,WNDENUMPROC
,LPARAM
);
3613 UINT WINAPI
EnumClipboardFormats(UINT
);
3614 INT WINAPI
EnumPropsA(HWND
,PROPENUMPROCA
);
3615 INT WINAPI
EnumPropsW(HWND
,PROPENUMPROCW
);
3616 #define EnumProps WINELIB_NAME_AW(EnumProps)
3617 BOOL WINAPI
EnumWindows(WNDENUMPROC
,LPARAM
);
3618 BOOL WINAPI
EnumWindowStationsA(WINSTAENUMPROCA
,LPARAM
);
3619 BOOL WINAPI
EnumWindowStationsW(WINSTAENUMPROCW
,LPARAM
);
3620 #define EnumWindowStations WINELIB_NAME_AW(EnumWindowStations)
3621 BOOL WINAPI
EqualRect(const RECT
*,const RECT
*);
3622 INT WINAPI
ExcludeUpdateRgn(HDC
,HWND
);
3623 #define ExitWindows(a,b) ExitWindowsEx(EWX_LOGOFF,0xffffffff)
3624 INT WINAPI
FillRect(HDC
,const RECT
*,HBRUSH
);
3625 HWND WINAPI
FindWindowA(LPCSTR
,LPCSTR
);
3626 HWND WINAPI
FindWindowW(LPCWSTR
,LPCWSTR
);
3627 #define FindWindow WINELIB_NAME_AW(FindWindow)
3628 HWND WINAPI
FindWindowExA(HWND
,HWND
,LPCSTR
,LPCSTR
);
3629 HWND WINAPI
FindWindowExW(HWND
,HWND
,LPCWSTR
,LPCWSTR
);
3630 #define FindWindowEx WINELIB_NAME_AW(FindWindowEx)
3631 BOOL WINAPI
FlashWindow(HWND
,BOOL
);
3632 INT WINAPI
FrameRect(HDC
,const RECT
*,HBRUSH
);
3633 HWND WINAPI
GetActiveWindow(void);
3634 HWND WINAPI
GetAncestor(HWND
,UINT
);
3635 DWORD WINAPI
GetAppCompatFlags(HTASK
);
3636 WORD WINAPI
GetAsyncKeyState(INT
);
3637 HWND WINAPI
GetCapture(void);
3638 UINT WINAPI
GetCaretBlinkTime(void);
3639 BOOL WINAPI
GetCaretPos(LPPOINT
);
3640 BOOL WINAPI
GetClassInfoA(HINSTANCE
,LPCSTR
,WNDCLASSA
*);
3641 BOOL WINAPI
GetClassInfoW(HINSTANCE
,LPCWSTR
,WNDCLASSW
*);
3642 #define GetClassInfo WINELIB_NAME_AW(GetClassInfo)
3643 BOOL WINAPI
GetClassInfoExA(HINSTANCE
,LPCSTR
,WNDCLASSEXA
*);
3644 BOOL WINAPI
GetClassInfoExW(HINSTANCE
,LPCWSTR
,WNDCLASSEXW
*);
3645 #define GetClassInfoEx WINELIB_NAME_AW(GetClassInfoEx)
3646 LONG WINAPI
GetClassLongA(HWND
,INT
);
3647 LONG WINAPI
GetClassLongW(HWND
,INT
);
3648 #define GetClassLong WINELIB_NAME_AW(GetClassLong)
3649 INT WINAPI
GetClassNameA(HWND
,LPSTR
,INT
);
3650 INT WINAPI
GetClassNameW(HWND
,LPWSTR
,INT
);
3651 #define GetClassName WINELIB_NAME_AW(GetClassName)
3652 WORD WINAPI
GetClassWord(HWND
,INT
);
3653 BOOL WINAPI
GetClientRect(HWND
,LPRECT
);
3654 HANDLE WINAPI
GetClipboardData(UINT
);
3655 INT WINAPI
GetClipboardFormatNameA(UINT
,LPSTR
,INT
);
3656 INT WINAPI
GetClipboardFormatNameW(UINT
,LPWSTR
,INT
);
3657 #define GetClipboardFormatName WINELIB_NAME_AW(GetClipboardFormatName)
3658 HWND WINAPI
GetClipboardOwner(void);
3659 HWND WINAPI
GetClipboardViewer(void);
3660 BOOL WINAPI
GetClipCursor(LPRECT
);
3661 HCURSOR WINAPI
GetCursor(void);
3662 BOOL WINAPI
GetCursorPos(LPPOINT
);
3663 HDC WINAPI
GetDC(HWND
);
3664 HDC WINAPI
GetDCEx(HWND
,HRGN
,DWORD
);
3665 HWND WINAPI
GetDesktopWindow(void);
3666 INT WINAPI
GetDlgCtrlID(HWND
);
3667 HWND WINAPI
GetDlgItem(HWND
,INT
);
3668 UINT WINAPI
GetDlgItemInt(HWND
,INT
,BOOL
*,BOOL
);
3669 INT WINAPI
GetDlgItemTextA(HWND
,INT
,LPSTR
,UINT
);
3670 INT WINAPI
GetDlgItemTextW(HWND
,INT
,LPWSTR
,UINT
);
3671 #define GetDlgItemText WINELIB_NAME_AW(GetDlgItemText)
3672 UINT WINAPI
GetDoubleClickTime(void);
3673 HWND WINAPI
GetFocus(void);
3674 HWND WINAPI
GetForegroundWindow(void);
3675 BOOL WINAPI
GetInputState(void);
3676 UINT WINAPI
GetInternalWindowPos(HWND
,LPRECT
,LPPOINT
);
3677 UINT WINAPI
GetKBCodePage(void);
3678 INT WINAPI
GetKeyboardType(INT
);
3679 INT WINAPI
GetKeyNameTextA(LONG
,LPSTR
,INT
);
3680 INT WINAPI
GetKeyNameTextW(LONG
,LPWSTR
,INT
);
3681 #define GetKeyNameText WINELIB_NAME_AW(GetKeyNameText)
3682 INT WINAPI
GetKeyboardLayoutNameA(LPSTR
);
3683 INT WINAPI
GetKeyboardLayoutNameW(LPWSTR
);
3684 #define GetKeyboardLayoutName WINELIB_NAME_AW(GetKeyboardLayoutName)
3685 SHORT WINAPI
GetKeyState(INT
);
3686 HWND WINAPI
GetLastActivePopup(HWND
);
3687 HMENU WINAPI
GetMenu(HWND
);
3688 INT WINAPI
GetMenuItemCount(HMENU
);
3689 UINT WINAPI
GetMenuItemID(HMENU
,INT
);
3690 BOOL WINAPI
GetMenuItemRect(HWND
,HMENU
,UINT
,LPRECT
);
3691 UINT WINAPI
GetMenuState(HMENU
,UINT
,UINT
);
3692 INT WINAPI
GetMenuStringA(HMENU
,UINT
,LPSTR
,INT
,UINT
);
3693 INT WINAPI
GetMenuStringW(HMENU
,UINT
,LPWSTR
,INT
,UINT
);
3694 #define GetMenuString WINELIB_NAME_AW(GetMenuString)
3695 BOOL WINAPI
GetMessageA(LPMSG
,HWND
,UINT
,UINT
);
3696 BOOL WINAPI
GetMessageW(LPMSG
,HWND
,UINT
,UINT
);
3697 #define GetMessage WINELIB_NAME_AW(GetMessage)
3698 HWND WINAPI
GetNextDlgGroupItem(HWND
,HWND
,BOOL
);
3699 HWND WINAPI
GetNextDlgTabItem(HWND
,HWND
,BOOL
);
3700 #define GetNextWindow GetWindow
3701 HWND WINAPI
GetOpenClipboardWindow(void);
3702 HWND WINAPI
GetParent(HWND
);
3703 INT WINAPI
GetPriorityClipboardFormat(UINT
*,INT
);
3704 BOOL WINAPI
GetProcessDefaultLayout(DWORD
*);
3705 HANDLE WINAPI
GetPropA(HWND
,LPCSTR
);
3706 HANDLE WINAPI
GetPropW(HWND
,LPCWSTR
);
3707 #define GetProp WINELIB_NAME_AW(GetProp)
3708 DWORD WINAPI
GetQueueStatus(UINT
);
3709 BOOL WINAPI
GetScrollInfo(HWND
,INT
,LPSCROLLINFO
);
3710 INT WINAPI
GetScrollPos(HWND
,INT
);
3711 BOOL WINAPI
GetScrollRange(HWND
,INT
,LPINT
,LPINT
);
3712 HWND WINAPI
GetShellWindow(void);
3713 HMENU WINAPI
GetSubMenu(HMENU
,INT
);
3714 HBRUSH WINAPI
GetSysColorBrush(INT
);
3715 #define GetSysModalWindow() ((HWND)0)
3716 HMENU WINAPI
GetSystemMenu(HWND
,BOOL
);
3717 INT WINAPI
GetSystemMetrics(INT
);
3718 DWORD WINAPI
GetTabbedTextExtentA(HDC
,LPCSTR
,INT
,INT
,const INT
*);
3719 DWORD WINAPI
GetTabbedTextExtentW(HDC
,LPCWSTR
,INT
,INT
,const INT
*);
3720 #define GetTabbedTextExtent WINELIB_NAME_AW(GetTabbedTextExtent)
3721 HWND WINAPI
GetTopWindow(HWND
);
3722 BOOL WINAPI
GetUpdateRect(HWND
,LPRECT
,BOOL
);
3723 INT WINAPI
GetUpdateRgn(HWND
,HRGN
,BOOL
);
3724 BOOL WINAPI
GetUserObjectInformationA(HANDLE
,INT
,LPVOID
,DWORD
,LPDWORD
);
3725 BOOL WINAPI
GetUserObjectInformationW(HANDLE
,INT
,LPVOID
,DWORD
,LPDWORD
);
3726 #define GetUserObjectInformation WINELIB_NAME_AW(GetUserObjectInformation)
3727 HWND WINAPI
GetWindow(HWND
,UINT
);
3728 HDC WINAPI
GetWindowDC(HWND
);
3729 LONG WINAPI
GetWindowLongA(HWND
,INT
);
3730 LONG WINAPI
GetWindowLongW(HWND
,INT
);
3731 #define GetWindowLong WINELIB_NAME_AW(GetWindowLong)
3732 BOOL WINAPI
GetWindowPlacement(HWND
,LPWINDOWPLACEMENT
);
3733 BOOL WINAPI
GetWindowRect(HWND
,LPRECT
);
3734 INT WINAPI
GetWindowRgn(HWND
,HRGN
);
3735 HWINSTA WINAPI
GetProcessWindowStation(void);
3736 #define GetWindowTask(hwnd) ((HTASK)GetWindowThreadProcessId(hwnd,NULL))
3737 INT WINAPI
GetWindowTextA(HWND
,LPSTR
,INT
);
3738 INT WINAPI
GetWindowTextW(HWND
,LPWSTR
,INT
);
3739 #define GetWindowText WINELIB_NAME_AW(GetWindowText)
3740 INT WINAPI
GetWindowTextLengthA(HWND
);
3741 INT WINAPI
GetWindowTextLengthW(HWND
);
3742 #define GetWindowTextLength WINELIB_NAME_AW(GetWindowTextLength)
3743 WORD WINAPI
GetWindowWord(HWND
,INT
);
3744 BOOL WINAPI
GrayStringA(HDC
,HBRUSH
,GRAYSTRINGPROC
,LPARAM
,
3745 INT
,INT
,INT
,INT
,INT
);
3746 BOOL WINAPI
GrayStringW(HDC
,HBRUSH
,GRAYSTRINGPROC
,LPARAM
,
3747 INT
,INT
,INT
,INT
,INT
);
3748 #define GrayString WINELIB_NAME_AW(GrayString)
3749 BOOL WINAPI
HideCaret(HWND
);
3750 BOOL WINAPI
HiliteMenuItem(HWND
,HMENU
,UINT
,UINT
);
3751 BOOL WINAPI
InflateRect(LPRECT
,INT
,INT
);
3752 BOOL WINAPI
InSendMessage(void);
3753 DWORD WINAPI
InSendMessageEx(LPVOID
);
3754 BOOL WINAPI
InsertMenuA(HMENU
,UINT
,UINT
,UINT
,LPCSTR
);
3755 BOOL WINAPI
InsertMenuW(HMENU
,UINT
,UINT
,UINT
,LPCWSTR
);
3756 #define InsertMenu WINELIB_NAME_AW(InsertMenu)
3757 BOOL WINAPI
InsertMenuItemA(HMENU
,UINT
,BOOL
,const MENUITEMINFOA
*);
3758 BOOL WINAPI
InsertMenuItemW(HMENU
,UINT
,BOOL
,const MENUITEMINFOW
*);
3759 #define InsertMenuItem WINELIB_NAME_AW(InsertMenuItem)
3760 INT WINAPI
InternalGetWindowText(HWND
,LPWSTR
,INT
);
3761 BOOL WINAPI
IntersectRect(LPRECT
,const RECT
*,const RECT
*);
3762 BOOL WINAPI
InvalidateRect(HWND
,const RECT
*,BOOL
);
3763 BOOL WINAPI
InvalidateRgn(HWND
,HRGN
,BOOL
);
3764 BOOL WINAPI
InvertRect(HDC
,const RECT
*);
3765 BOOL WINAPI
IsCharAlphaA(CHAR
);
3766 BOOL WINAPI
IsCharAlphaW(WCHAR
);
3767 #define IsCharAlpha WINELIB_NAME_AW(IsCharAlpha)
3768 BOOL WINAPI
IsCharAlphaNumericA(CHAR
);
3769 BOOL WINAPI
IsCharAlphaNumericW(WCHAR
);
3770 #define IsCharAlphaNumeric WINELIB_NAME_AW(IsCharAlphaNumeric)
3771 BOOL WINAPI
IsCharLowerA(CHAR
);
3772 BOOL WINAPI
IsCharLowerW(WCHAR
);
3773 #define IsCharLower WINELIB_NAME_AW(IsCharLower)
3774 BOOL WINAPI
IsCharUpperA(CHAR
);
3775 BOOL WINAPI
IsCharUpperW(WCHAR
);
3776 #define IsCharUpper WINELIB_NAME_AW(IsCharUpper)
3777 BOOL WINAPI
IsChild(HWND
,HWND
);
3778 BOOL WINAPI
IsClipboardFormatAvailable(UINT
);
3779 BOOL WINAPI
IsDialogMessageA(HWND
,LPMSG
);
3780 BOOL WINAPI
IsDialogMessageW(HWND
,LPMSG
);
3781 #define IsDialogMessage WINELIB_NAME_AW(IsDialogMessage)
3782 UINT WINAPI
IsDlgButtonChecked(HWND
,UINT
);
3783 BOOL WINAPI
IsIconic(HWND
);
3784 BOOL WINAPI
IsMenu(HMENU
);
3785 BOOL WINAPI
IsRectEmpty(const RECT
*);
3786 BOOL WINAPI
IsWindow(HWND
);
3787 BOOL WINAPI
IsWindowEnabled(HWND
);
3788 BOOL WINAPI
IsWindowVisible(HWND
);
3789 BOOL WINAPI
IsZoomed(HWND
);
3790 BOOL WINAPI
KillSystemTimer(HWND
,UINT
);
3791 BOOL WINAPI
KillTimer(HWND
,UINT
);
3792 HACCEL WINAPI
LoadAcceleratorsA(HINSTANCE
,LPCSTR
);
3793 HACCEL WINAPI
LoadAcceleratorsW(HINSTANCE
,LPCWSTR
);
3794 #define LoadAccelerators WINELIB_NAME_AW(LoadAccelerators)
3795 HBITMAP WINAPI
LoadBitmapA(HINSTANCE
,LPCSTR
);
3796 HBITMAP WINAPI
LoadBitmapW(HINSTANCE
,LPCWSTR
);
3797 #define LoadBitmap WINELIB_NAME_AW(LoadBitmap)
3798 HCURSOR WINAPI
LoadCursorA(HINSTANCE
,LPCSTR
);
3799 HCURSOR WINAPI
LoadCursorW(HINSTANCE
,LPCWSTR
);
3800 #define LoadCursor WINELIB_NAME_AW(LoadCursor)
3801 HCURSOR WINAPI
LoadCursorFromFileA(LPCSTR
);
3802 HCURSOR WINAPI
LoadCursorFromFileW(LPCWSTR
);
3803 #define LoadCursorFromFile WINELIB_NAME_AW(LoadCursorFromFile)
3804 HICON WINAPI
LoadIconA(HINSTANCE
,LPCSTR
);
3805 HICON WINAPI
LoadIconW(HINSTANCE
,LPCWSTR
);
3806 #define LoadIcon WINELIB_NAME_AW(LoadIcon)
3807 HANDLE WINAPI
LoadImageA(HINSTANCE
,LPCSTR
,UINT
,INT
,INT
,UINT
);
3808 HANDLE WINAPI
LoadImageW(HINSTANCE
,LPCWSTR
,UINT
,INT
,INT
,UINT
);
3809 #define LoadImage WINELIB_NAME_AW(LoadImage)
3810 HMENU WINAPI
LoadMenuA(HINSTANCE
,LPCSTR
);
3811 HMENU WINAPI
LoadMenuW(HINSTANCE
,LPCWSTR
);
3812 #define LoadMenu WINELIB_NAME_AW(LoadMenu)
3813 HMENU WINAPI
LoadMenuIndirectA(LPCVOID
);
3814 HMENU WINAPI
LoadMenuIndirectW(LPCVOID
);
3815 #define LoadMenuIndirect WINELIB_NAME_AW(LoadMenuIndirect)
3816 INT WINAPI
LoadStringA(HINSTANCE
,UINT
,LPSTR
,INT
);
3817 INT WINAPI
LoadStringW(HINSTANCE
,UINT
,LPWSTR
,INT
);
3818 #define LoadString WINELIB_NAME_AW(LoadString)
3819 BOOL WINAPI
LockWindowUpdate(HWND
);
3820 INT WINAPI
LookupIconIdFromDirectory(LPBYTE
,BOOL
);
3821 INT WINAPI
LookupIconIdFromDirectoryEx(LPBYTE
,BOOL
,INT
,INT
,UINT
);
3822 UINT WINAPI
MapVirtualKeyA(UINT
,UINT
);
3823 UINT WINAPI
MapVirtualKeyW(UINT
,UINT
);
3824 #define MapVirtualKey WINELIB_NAME_AW(MapVirtualKey)
3825 UINT WINAPI
MapVirtualKeyExA(UINT
,UINT
,HKL
);
3826 UINT WINAPI
MapVirtualKeyExW(UINT
,UINT
,HKL
);
3827 #define MapVirtualKeyEx WINELIB_NAME_AW(MapVirtualKeyEx)
3828 BOOL WINAPI
MapDialogRect(HWND
,LPRECT
);
3829 INT WINAPI
MapWindowPoints(HWND
,HWND
,LPPOINT
,UINT
);
3830 UINT WINAPI
MenuItemFromPoint(HWND
,HMENU
,POINT
);
3831 BOOL WINAPI
MessageBeep(UINT
);
3832 INT WINAPI
MessageBoxA(HWND
,LPCSTR
,LPCSTR
,UINT
);
3833 INT WINAPI
MessageBoxW(HWND
,LPCWSTR
,LPCWSTR
,UINT
);
3834 #define MessageBox WINELIB_NAME_AW(MessageBox)
3835 INT WINAPI
MessageBoxIndirectA(LPMSGBOXPARAMSA
);
3836 INT WINAPI
MessageBoxIndirectW(LPMSGBOXPARAMSW
);
3837 #define MessageBoxIndirect WINELIB_NAME_AW(MessageBoxIndirect)
3838 BOOL WINAPI
ModifyMenuA(HMENU
,UINT
,UINT
,UINT
,LPCSTR
);
3839 BOOL WINAPI
ModifyMenuW(HMENU
,UINT
,UINT
,UINT
,LPCWSTR
);
3840 #define ModifyMenu WINELIB_NAME_AW(ModifyMenu)
3841 BOOL WINAPI
MoveWindow(HWND
,INT
,INT
,INT
,INT
,BOOL
);
3842 BOOL WINAPI
OemToCharA(LPCSTR
,LPSTR
);
3843 BOOL WINAPI
OemToCharW(LPCSTR
,LPWSTR
);
3844 #define OemToChar WINELIB_NAME_AW(OemToChar)
3845 BOOL WINAPI
OemToCharBuffA(LPCSTR
,LPSTR
,DWORD
);
3846 BOOL WINAPI
OemToCharBuffW(LPCSTR
,LPWSTR
,DWORD
);
3847 #define OemToCharBuff WINELIB_NAME_AW(OemToCharBuff)
3848 BOOL WINAPI
OffsetRect(LPRECT
,INT
,INT
);
3849 BOOL WINAPI
OpenClipboard(HWND
);
3850 BOOL WINAPI
OpenIcon(HWND
);
3851 HWINSTA WINAPI
OpenWindowStationA(LPSTR
,BOOL
,ACCESS_MASK
);
3852 HWINSTA WINAPI
OpenWindowStationW(LPWSTR
,BOOL
,ACCESS_MASK
);
3853 #define OpenWindowStation WINELIB_NAME_AW(OpenWindowStation)
3854 BOOL WINAPI
PeekMessageA(LPMSG
,HWND
,UINT
,UINT
,UINT
);
3855 BOOL WINAPI
PeekMessageW(LPMSG
,HWND
,UINT
,UINT
,UINT
);
3856 #define PeekMessage WINELIB_NAME_AW(PeekMessage)
3857 #define PostAppMessageA(thread,msg,wparam,lparam) \
3858 PostThreadMessageA((DWORD)(thread),msg,wparam,lparam)
3859 #define PostAppMessageW(thread,msg,wparam,lparam) \
3860 PostThreadMessageW((DWORD)(thread),msg,wparam,lparam)
3861 #define PostAppMessage WINELIB_NAME_AW(PostAppMessage)
3862 BOOL WINAPI
PostMessageA(HWND
,UINT
,WPARAM
,LPARAM
);
3863 BOOL WINAPI
PostMessageW(HWND
,UINT
,WPARAM
,LPARAM
);
3864 #define PostMessage WINELIB_NAME_AW(PostMessage)
3865 void WINAPI
PostQuitMessage(INT
);
3866 BOOL WINAPI
PtInRect(const RECT
*,POINT
);
3867 BOOL WINAPI
RedrawWindow(HWND
,const RECT
*,HRGN
,UINT
);
3868 ATOM WINAPI
RegisterClassA(const WNDCLASSA
*);
3869 ATOM WINAPI
RegisterClassW(const WNDCLASSW
*);
3870 #define RegisterClass WINELIB_NAME_AW(RegisterClass)
3871 ATOM WINAPI
RegisterClassExA(const WNDCLASSEXA
*);
3872 ATOM WINAPI
RegisterClassExW(const WNDCLASSEXW
*);
3873 #define RegisterClassEx WINELIB_NAME_AW(RegisterClassEx)
3874 UINT WINAPI
RegisterClipboardFormatA(LPCSTR
);
3875 UINT WINAPI
RegisterClipboardFormatW(LPCWSTR
);
3876 #define RegisterClipboardFormat WINELIB_NAME_AW(RegisterClipboardFormat)
3877 WORD WINAPI
RegisterWindowMessageA(LPCSTR
);
3878 WORD WINAPI
RegisterWindowMessageW(LPCWSTR
);
3879 #define RegisterWindowMessage WINELIB_NAME_AW(RegisterWindowMessage)
3880 INT WINAPI
ReleaseDC(HWND
,HDC
);
3881 BOOL WINAPI
RemoveMenu(HMENU
,UINT
,UINT
);
3882 HANDLE WINAPI
RemovePropA(HWND
,LPCSTR
);
3883 HANDLE WINAPI
RemovePropW(HWND
,LPCWSTR
);
3884 #define RemoveProp WINELIB_NAME_AW(RemoveProp)
3885 BOOL WINAPI
ReplyMessage(LRESULT
);
3886 BOOL WINAPI
ScreenToClient(HWND
,LPPOINT
);
3887 VOID WINAPI
ScrollChildren(HWND
,UINT
,WPARAM
,LPARAM
);
3888 BOOL WINAPI
ScrollDC(HDC
,INT
,INT
,const RECT
*,const RECT
*,HRGN
,LPRECT
);
3889 BOOL WINAPI
ScrollWindow(HWND
,INT
,INT
,const RECT
*,const RECT
*);
3890 INT WINAPI
ScrollWindowEx(HWND
,INT
,INT
,const RECT
*,const RECT
*,HRGN
,LPRECT
,UINT
);
3891 LRESULT WINAPI
SendDlgItemMessageA(HWND
,INT
,UINT
,WPARAM
,LPARAM
);
3892 LRESULT WINAPI
SendDlgItemMessageW(HWND
,INT
,UINT
,WPARAM
,LPARAM
);
3893 #define SendDlgItemMessage WINELIB_NAME_AW(SendDlgItemMessage)
3894 UINT WINAPI
SendInput(UINT
,LPINPUT
,int);
3895 LRESULT WINAPI
SendMessageA(HWND
,UINT
,WPARAM
,LPARAM
);
3896 LRESULT WINAPI
SendMessageW(HWND
,UINT
,WPARAM
,LPARAM
);
3897 #define SendMessage WINELIB_NAME_AW(SendMessage)
3898 LRESULT WINAPI
SendMessageTimeoutA(HWND
,UINT
,WPARAM
,LPARAM
,UINT
,UINT
,LPDWORD
);
3899 LRESULT WINAPI
SendMessageTimeoutW(HWND
,UINT
,WPARAM
,LPARAM
,UINT
,UINT
,LPDWORD
);
3900 #define SendMessageTimeout WINELIB_NAME_AW(SendMessageTimeout)
3901 HWND WINAPI
SetActiveWindow(HWND
);
3902 HWND WINAPI
SetCapture(HWND
);
3903 BOOL WINAPI
SetCaretBlinkTime(UINT
);
3904 BOOL WINAPI
SetCaretPos(INT
,INT
);
3905 LONG WINAPI
SetClassLongA(HWND
,INT
,LONG
);
3906 LONG WINAPI
SetClassLongW(HWND
,INT
,LONG
);
3907 #define SetClassLong WINELIB_NAME_AW(SetClassLong)
3908 WORD WINAPI
SetClassWord(HWND
,INT
,WORD
);
3909 HANDLE WINAPI
SetClipboardData(UINT
,HANDLE
);
3910 HWND WINAPI
SetClipboardViewer(HWND
);
3911 HCURSOR WINAPI
SetCursor(HCURSOR
);
3912 BOOL WINAPI
SetCursorPos(INT
,INT
);
3913 BOOL WINAPI
SetDeskWallPaper(LPCSTR
);
3914 BOOL WINAPI
SetDlgItemInt(HWND
,INT
,UINT
,BOOL
);
3915 BOOL WINAPI
SetDlgItemTextA(HWND
,INT
,LPCSTR
);
3916 BOOL WINAPI
SetDlgItemTextW(HWND
,INT
,LPCWSTR
);
3917 #define SetDlgItemText WINELIB_NAME_AW(SetDlgItemText)
3918 BOOL WINAPI
SetDoubleClickTime(UINT
);
3919 HWND WINAPI
SetFocus(HWND
);
3920 BOOL WINAPI
SetForegroundWindow(HWND
);
3921 void WINAPI
SetInternalWindowPos(HWND
,UINT
,LPRECT
,LPPOINT
);
3922 BOOL WINAPI
SetMenu(HWND
,HMENU
);
3923 BOOL WINAPI
SetMenuContextHelpId(HMENU
,DWORD
);
3924 BOOL WINAPI
SetMenuItemBitmaps(HMENU
,UINT
,UINT
,HBITMAP
,HBITMAP
);
3925 BOOL WINAPI
SetMessageQueue(INT
);
3926 BOOL WINAPI
SetProcessDefaultLayout(DWORD
);
3927 BOOL WINAPI
SetProcessWindowStation(HWINSTA
);
3928 HWND WINAPI
SetParent(HWND
,HWND
);
3929 BOOL WINAPI
SetPropA(HWND
,LPCSTR
,HANDLE
);
3930 BOOL WINAPI
SetPropW(HWND
,LPCWSTR
,HANDLE
);
3931 #define SetProp WINELIB_NAME_AW(SetProp)
3932 BOOL WINAPI
SetRect(LPRECT
,INT
,INT
,INT
,INT
);
3933 BOOL WINAPI
SetRectEmpty(LPRECT
);
3934 INT WINAPI
SetScrollInfo(HWND
,INT
,const SCROLLINFO
*,BOOL
);
3935 INT WINAPI
SetScrollPos(HWND
,INT
,INT
,BOOL
);
3936 BOOL WINAPI
SetScrollRange(HWND
,INT
,INT
,INT
,BOOL
);
3937 #define SetSysModalWindow(hwnd) ((HWND)0)
3938 BOOL WINAPI
SetSystemCursor(HCURSOR
,DWORD
);
3939 BOOL WINAPI
SetSystemMenu(HWND
,HMENU
);
3940 UINT WINAPI
SetSystemTimer(HWND
,UINT
,UINT
,TIMERPROC
);
3941 UINT WINAPI
SetTimer(HWND
,UINT
,UINT
,TIMERPROC
);
3942 BOOL WINAPI
SetUserObjectSecurity(HANDLE
,PSECURITY_INFORMATION
,PSECURITY_DESCRIPTOR
);
3943 LONG WINAPI
SetWindowLongA(HWND
,INT
,LONG
);
3944 LONG WINAPI
SetWindowLongW(HWND
,INT
,LONG
);
3945 #define SetWindowLong WINELIB_NAME_AW(SetWindowLong)
3946 BOOL WINAPI
SetWindowPlacement(HWND
,const WINDOWPLACEMENT
*);
3947 HHOOK WINAPI
SetWindowsHookA(INT
,HOOKPROC
);
3948 HHOOK WINAPI
SetWindowsHookW(INT
,HOOKPROC
);
3949 #define SetWindowsHook WINELIB_NAME_AW(SetWindowsHook)
3950 HHOOK WINAPI
SetWindowsHookExA(INT
,HOOKPROC
,HINSTANCE
,DWORD
);
3951 HHOOK WINAPI
SetWindowsHookExW(INT
,HOOKPROC
,HINSTANCE
,DWORD
);
3952 #define SetWindowsHookEx WINELIB_NAME_AW(SetWindowsHookEx)
3953 BOOL WINAPI
SetWindowPos(HWND
,HWND
,INT
,INT
,INT
,INT
,UINT
);
3954 INT WINAPI
SetWindowRgn(HWND
,HRGN
,BOOL
);
3955 BOOL WINAPI
SetWindowTextA(HWND
,LPCSTR
);
3956 BOOL WINAPI
SetWindowTextW(HWND
,LPCWSTR
);
3957 #define SetWindowText WINELIB_NAME_AW(SetWindowText)
3958 WORD WINAPI
SetWindowWord(HWND
,INT
,WORD
);
3959 BOOL WINAPI
ShowCaret(HWND
);
3960 INT WINAPI
ShowCursor(BOOL
);
3961 BOOL WINAPI
ShowScrollBar(HWND
,INT
,BOOL
);
3962 BOOL WINAPI
ShowOwnedPopups(HWND
,BOOL
);
3963 BOOL WINAPI
ShowWindow(HWND
,INT
);
3964 BOOL WINAPI
SubtractRect(LPRECT
,const RECT
*,const RECT
*);
3965 BOOL WINAPI
SwapMouseButton(BOOL
);
3966 VOID WINAPI
SwitchToThisWindow(HWND
,BOOL
);
3967 BOOL WINAPI
SystemParametersInfoA(UINT
,UINT
,LPVOID
,UINT
);
3968 BOOL WINAPI
SystemParametersInfoW(UINT
,UINT
,LPVOID
,UINT
);
3969 #define SystemParametersInfo WINELIB_NAME_AW(SystemParametersInfo)
3970 LONG WINAPI
TabbedTextOutA(HDC
,INT
,INT
,LPCSTR
,INT
,INT
,const INT
*,INT
);
3971 LONG WINAPI
TabbedTextOutW(HDC
,INT
,INT
,LPCWSTR
,INT
,INT
,const INT
*,INT
);
3972 #define TabbedTextOut WINELIB_NAME_AW(TabbedTextOut)
3973 INT WINAPI
ToAscii(UINT
,UINT
,LPBYTE
,LPWORD
,UINT
);
3974 INT WINAPI
ToAsciiEx(UINT
,UINT
,LPBYTE
,LPWORD
,UINT
,HKL
);
3975 BOOL WINAPI
TrackPopupMenu(HMENU
,UINT
,INT
,INT
,INT
,HWND
,const RECT
*);
3976 INT WINAPI
TranslateAccelerator(HWND
,HACCEL
,LPMSG
);
3977 BOOL WINAPI
TranslateMDISysAccel(HWND
,LPMSG
);
3978 BOOL WINAPI
TranslateMessage(const MSG
*);
3979 BOOL WINAPI
UnhookWindowsHook(INT
,HOOKPROC
);
3980 BOOL WINAPI
UnhookWindowsHookEx(HHOOK
);
3981 BOOL WINAPI
UnionRect(LPRECT
,const RECT
*,const RECT
*);
3982 BOOL WINAPI
UnregisterClassA(LPCSTR
,HINSTANCE
);
3983 BOOL WINAPI
UnregisterClassW(LPCWSTR
,HINSTANCE
);
3984 #define UnregisterClass WINELIB_NAME_AW(UnregisterClass)
3985 VOID WINAPI
UpdateWindow(HWND
);
3986 UINT WINAPI
UserRealizePalette(HDC
);
3987 VOID WINAPI
ValidateRect(HWND
,const RECT
*);
3988 VOID WINAPI
ValidateRgn(HWND
,HRGN
);
3989 WORD WINAPI
VkKeyScanA(CHAR
);
3990 WORD WINAPI
VkKeyScanW(WCHAR
);
3991 #define VkKeyScan WINELIB_NAME_AW(VkKeyScan)
3992 WORD WINAPI
VkKeyScanExA(CHAR
, HKL
);
3993 WORD WINAPI
VkKeyScanExW(WCHAR
, HKL
);
3994 #define VkKeyScanEx WINELIB_NAME_AW(VkKeyScanEx)
3995 BOOL WINAPI
WaitMessage(void);
3996 HWND WINAPI
WindowFromDC(HDC
);
3997 HWND WINAPI
WindowFromPoint(POINT
);
3998 BOOL WINAPI
WinHelpA(HWND
,LPCSTR
,UINT
,DWORD
);
3999 BOOL WINAPI
WinHelpW(HWND
,LPCWSTR
,UINT
,DWORD
);
4000 #define WinHelp WINELIB_NAME_AW(WinHelp)
4001 INT WINAPIV
wsprintfA(LPSTR
,LPCSTR
,...);
4002 INT WINAPIV
wsprintfW(LPWSTR
,LPCWSTR
,...);
4003 #define wsprintf WINELIB_NAME_AW(wsprintf)
4004 INT WINAPI
wvsprintfA(LPSTR
,LPCSTR
,va_list);
4005 INT WINAPI
wvsprintfW(LPWSTR
,LPCWSTR
,va_list);
4006 #define wvsprintf WINELIB_NAME_AW(wvsprintf)
4008 /* Undocumented functions */
4010 /* NOTE: This is SYSTEM.3, not USER.182, which is also named KillSystemTimer */
4011 WORD WINAPI
SYSTEM_KillSystemTimer( WORD
);
4013 HRESULT WINAPI
PrivateExtractIconsA(LPCSTR
,INT
,DWORD
,DWORD
,HICON
*,DWORD
,UINT
,DWORD
);
4014 HRESULT WINAPI
PrivateExtractIconsW(LPCWSTR
,INT
,DWORD
,DWORD
,HICON
*,DWORD
,UINT
,DWORD
);
4016 /* Extra functions that don't exist in the Windows API */
4018 HPEN WINAPI
GetSysColorPen(INT
);
4019 INT WINAPI
wvsnprintfA(LPSTR
,UINT
,LPCSTR
,va_list);
4020 INT WINAPI
wvsnprintfW(LPWSTR
,UINT
,LPCWSTR
,va_list);
4021 #define wvsnprintf WINELIB_NAME_AW(wvsnprintf)
4027 #endif /* _WINUSER_ */