16 /* flags for HIGHCONTRAST dwFlags field */
17 #define HCF_HIGHCONTRASTON 0x00000001
18 #define HCF_AVAILABLE 0x00000002
19 #define HCF_HOTKEYACTIVE 0x00000004
20 #define HCF_CONFIRMHOTKEY 0x00000008
21 #define HCF_HOTKEYSOUND 0x00000010
22 #define HCF_INDICATOR 0x00000020
23 #define HCF_HOTKEYAVAILABLE 0x00000040
25 typedef struct tagHIGHCONTRASTA
29 LPSTR lpszDefaultScheme
;
30 } HIGHCONTRASTA
, *LPHIGHCONTRASTA
;
32 typedef struct tagHIGHCONTRASTW
36 LPWSTR lpszDefaultScheme
;
37 } HIGHCONTRASTW
, *LPHIGHCONTRASTW
;
39 DECL_WINELIB_TYPE_AW(HIGHCONTRAST
)
40 DECL_WINELIB_TYPE_AW(LPHIGHCONTRAST
)
49 } EVENTMSG
, *LPEVENTMSG
;
52 /* Mouse hook structure */
60 } MOUSEHOOKSTRUCT
, *PMOUSEHOOKSTRUCT
, *LPMOUSEHOOKSTRUCT
;
63 /* Hardware hook structure */
71 } HARDWAREHOOKSTRUCT
, *LPHARDWAREHOOKSTRUCT
;
74 /* Debug hook structure */
79 DWORD idThreadInstaller
;
83 } DEBUGHOOKINFO
, *LPDEBUGHOOKINFO
;
88 #define KLF_ACTIVATE 0x00000001
89 #define KLF_SUBSTITUTE_OK 0x00000002
90 #define KLF_UNLOADPREVIOUS 0x00000004
91 #define KLF_REORDER 0x00000008
92 #define KLF_REPLACELANG 0x00000010
93 #define KLF_NOTELLSHELL 0x00000080
95 #define KL_NAMELENGTH 9
99 /* Gcc on Solaris has a version of this that we don't care about. */
103 #define FVIRTKEY TRUE /* Assumed to be == TRUE */
104 #define FNOINVERT 0x02
106 #define FCONTROL 0x08
110 typedef struct tagANIMATIONINFO
114 } ANIMATIONINFO
, *LPANIMATIONINFO
;
116 typedef struct tagNMHDR
130 } DRAWTEXTPARAMS
,*LPDRAWTEXTPARAMS
;
132 #define WM_USER 0x0400
134 #define DT_EDITCONTROL 0x00002000
135 #define DT_PATH_ELLIPSIS 0x00004000
136 #define DT_END_ELLIPSIS 0x00008000
137 #define DT_MODIFYSTRING 0x00010000
138 #define DT_RTLREADING 0x00020000
139 #define DT_WORD_ELLIPSIS 0x00040000
147 } CWPSTRUCT16
, *LPCWPSTRUCT16
;
155 } CWPSTRUCT
, *LPCWPSTRUCT
;
166 } CWPRETSTRUCT16
, *LPCWPRETSTRUCT16
;
175 } CWPRETSTRUCT
, *LPCWPRETSTRUCT
;
182 POINT ptMinPosition WINE_PACKED
;
183 POINT ptMaxPosition WINE_PACKED
;
184 RECT rcNormalPosition WINE_PACKED
;
185 } WINDOWPLACEMENT
, *LPWINDOWPLACEMENT
;
188 /* WINDOWPLACEMENT flags */
189 #define WPF_SETMINPOSITION 0x0001
190 #define WPF_RESTORETOMAXIMIZED 0x0002
192 /***** Dialogs *****/
194 /* cbWndExtra bytes for dialog class */
195 #define DLGWINDOWEXTRA 30
197 /* Button control styles */
198 #define BS_PUSHBUTTON 0x00000000L
199 #define BS_DEFPUSHBUTTON 0x00000001L
200 #define BS_CHECKBOX 0x00000002L
201 #define BS_AUTOCHECKBOX 0x00000003L
202 #define BS_RADIOBUTTON 0x00000004L
203 #define BS_3STATE 0x00000005L
204 #define BS_AUTO3STATE 0x00000006L
205 #define BS_GROUPBOX 0x00000007L
206 #define BS_USERBUTTON 0x00000008L
207 #define BS_AUTORADIOBUTTON 0x00000009L
208 #define BS_OWNERDRAW 0x0000000BL
209 #define BS_LEFTTEXT 0x00000020L
211 #define BS_TEXT 0x00000000L
212 #define BS_ICON 0x00000040L
213 #define BS_BITMAP 0x00000080L
214 #define BS_LEFT 0x00000100L
215 #define BS_RIGHT 0x00000200L
216 #define BS_CENTER 0x00000300L
217 #define BS_TOP 0x00000400L
218 #define BS_BOTTOM 0x00000800L
219 #define BS_VCENTER 0x00000C00L
220 #define BS_PUSHLIKE 0x00001000L
221 #define BS_MULTILINE 0x00002000L
222 #define BS_NOTIFY 0x00004000L
223 #define BS_FLAT 0x00008000L
226 #define DS_ABSALIGN 0x0001
227 #define DS_SYSMODAL 0x0002
228 #define DS_3DLOOK 0x0004 /* win95 */
229 #define DS_FIXEDSYS 0x0008 /* win95 */
230 #define DS_NOFAILCREATE 0x0010 /* win95 */
231 #define DS_LOCALEDIT 0x0020
232 #define DS_SETFONT 0x0040
233 #define DS_MODALFRAME 0x0080
234 #define DS_NOIDLEMSG 0x0100
235 #define DS_SETFOREGROUND 0x0200 /* win95 */
236 #define DS_CONTROL 0x0400 /* win95 */
237 #define DS_CENTER 0x0800 /* win95 */
238 #define DS_CENTERMOUSE 0x1000 /* win95 */
239 #define DS_CONTEXTHELP 0x2000 /* win95 */
242 /* Dialog messages */
243 #define DM_GETDEFID (WM_USER+0)
244 #define DM_SETDEFID (WM_USER+1)
246 #define DC_HASDEFID 0x534b
248 /* Owner draw control types */
250 #define ODT_LISTBOX 2
251 #define ODT_COMBOBOX 3
255 /* Owner draw actions */
256 #define ODA_DRAWENTIRE 0x0001
257 #define ODA_SELECT 0x0002
258 #define ODA_FOCUS 0x0004
260 /* Owner draw state */
261 #define ODS_SELECTED 0x0001
262 #define ODS_GRAYED 0x0002
263 #define ODS_DISABLED 0x0004
264 #define ODS_CHECKED 0x0008
265 #define ODS_FOCUS 0x0010
266 #define ODS_COMBOBOXEDIT 0x1000
267 #define ODS_HOTLIGHT 0x0040
268 #define ODS_INACTIVE 0x0080
270 /* Edit control styles */
271 #define ES_LEFT 0x00000000
272 #define ES_CENTER 0x00000001
273 #define ES_RIGHT 0x00000002
274 #define ES_MULTILINE 0x00000004
275 #define ES_UPPERCASE 0x00000008
276 #define ES_LOWERCASE 0x00000010
277 #define ES_PASSWORD 0x00000020
278 #define ES_AUTOVSCROLL 0x00000040
279 #define ES_AUTOHSCROLL 0x00000080
280 #define ES_NOHIDESEL 0x00000100
281 #define ES_OEMCONVERT 0x00000400
282 #define ES_READONLY 0x00000800
283 #define ES_WANTRETURN 0x00001000
284 #define ES_NUMBER 0x00002000
286 /* OEM Resource Ordinal Numbers */
287 #define OBM_CLOSED 32731
288 #define OBM_RADIOCHECK 32732
289 #define OBM_TRTYPE 32733
290 #define OBM_LFARROWI 32734
291 #define OBM_RGARROWI 32735
292 #define OBM_DNARROWI 32736
293 #define OBM_UPARROWI 32737
294 #define OBM_COMBO 32738
295 #define OBM_MNARROW 32739
296 #define OBM_LFARROWD 32740
297 #define OBM_RGARROWD 32741
298 #define OBM_DNARROWD 32742
299 #define OBM_UPARROWD 32743
300 #define OBM_RESTORED 32744
301 #define OBM_ZOOMD 32745
302 #define OBM_REDUCED 32746
303 #define OBM_RESTORE 32747
304 #define OBM_ZOOM 32748
305 #define OBM_REDUCE 32749
306 #define OBM_LFARROW 32750
307 #define OBM_RGARROW 32751
308 #define OBM_DNARROW 32752
309 #define OBM_UPARROW 32753
310 #define OBM_CLOSE 32754
311 #define OBM_OLD_RESTORE 32755
312 #define OBM_OLD_ZOOM 32756
313 #define OBM_OLD_REDUCE 32757
314 #define OBM_BTNCORNERS 32758
315 #define OBM_CHECKBOXES 32759
316 #define OBM_CHECK 32760
317 #define OBM_BTSIZE 32761
318 #define OBM_OLD_LFARROW 32762
319 #define OBM_OLD_RGARROW 32763
320 #define OBM_OLD_DNARROW 32764
321 #define OBM_OLD_UPARROW 32765
322 #define OBM_SIZE 32766
323 #define OBM_OLD_CLOSE 32767
325 #define OCR_BUMMER 100
326 #define OCR_DRAGOBJECT 101
328 #define OCR_NORMAL 32512
329 #define OCR_IBEAM 32513
330 #define OCR_WAIT 32514
331 #define OCR_CROSS 32515
333 #define OCR_SIZE 32640
334 #define OCR_ICON 32641
335 #define OCR_SIZENWSE 32642
336 #define OCR_SIZENESW 32643
337 #define OCR_SIZEWE 32644
338 #define OCR_SIZENS 32645
339 #define OCR_SIZEALL 32646
340 #define OCR_ICOCUR 32647
342 #define OCR_APPSTARTING 32650
343 #define OCR_HELP 32651 /* only defined in wine */
345 #define OIC_SAMPLE 32512
346 #define OIC_HAND 32513
347 #define OIC_QUES 32514
348 #define OIC_BANG 32515
349 #define OIC_NOTE 32516
350 #define OIC_PORTRAIT 32517
351 #define OIC_LANDSCAPE 32518
352 #define OIC_WINEICON 32519
353 #define OIC_FOLDER 32520
354 #define OIC_FOLDER2 32521
355 #define OIC_FLOPPY 32522
356 #define OIC_CDROM 32523
357 #define OIC_HDISK 32524
358 #define OIC_NETWORK 32525
360 #define COLOR_SCROLLBAR 0
361 #define COLOR_BACKGROUND 1
362 #define COLOR_ACTIVECAPTION 2
363 #define COLOR_INACTIVECAPTION 3
365 #define COLOR_WINDOW 5
366 #define COLOR_WINDOWFRAME 6
367 #define COLOR_MENUTEXT 7
368 #define COLOR_WINDOWTEXT 8
369 #define COLOR_CAPTIONTEXT 9
370 #define COLOR_ACTIVEBORDER 10
371 #define COLOR_INACTIVEBORDER 11
372 #define COLOR_APPWORKSPACE 12
373 #define COLOR_HIGHLIGHT 13
374 #define COLOR_HIGHLIGHTTEXT 14
375 #define COLOR_BTNFACE 15
376 #define COLOR_BTNSHADOW 16
377 #define COLOR_GRAYTEXT 17
378 #define COLOR_BTNTEXT 18
379 #define COLOR_INACTIVECAPTIONTEXT 19
380 #define COLOR_BTNHIGHLIGHT 20
382 #define COLOR_3DDKSHADOW 21
383 #define COLOR_3DLIGHT 22
384 #define COLOR_INFOTEXT 23
385 #define COLOR_INFOBK 24
386 #define COLOR_DESKTOP COLOR_BACKGROUND
387 #define COLOR_3DFACE COLOR_BTNFACE
388 #define COLOR_3DSHADOW COLOR_BTNSHADOW
389 #define COLOR_3DHIGHLIGHT COLOR_BTNHIGHLIGHT
390 #define COLOR_3DHILIGHT COLOR_BTNHIGHLIGHT
391 #define COLOR_BTNHILIGHT COLOR_BTNHIGHLIGHT
393 #define COLOR_ALTERNATEBTNFACE 25 /* undocumented, constant's name unknown */
394 #define COLOR_HOTLIGHT 26
395 #define COLOR_GRADIENTACTIVECAPTION 27
396 #define COLOR_GRADIENTINACTIVECAPTION 28
398 /* WM_CTLCOLOR values */
399 #define CTLCOLOR_MSGBOX 0
400 #define CTLCOLOR_EDIT 1
401 #define CTLCOLOR_LISTBOX 2
402 #define CTLCOLOR_BTN 3
403 #define CTLCOLOR_DLG 4
404 #define CTLCOLOR_SCROLLBAR 5
405 #define CTLCOLOR_STATIC 6
407 /* Edit control messages */
408 #define EM_GETSEL 0x00b0
409 #define EM_SETSEL 0x00b1
410 #define EM_GETRECT 0x00b2
411 #define EM_SETRECT 0x00b3
412 #define EM_SETRECTNP 0x00b4
413 #define EM_SCROLL 0x00b5
414 #define EM_LINESCROLL 0x00b6
415 #define EM_SCROLLCARET 0x00b7
416 #define EM_GETMODIFY 0x00b8
417 #define EM_SETMODIFY 0x00b9
418 #define EM_GETLINECOUNT 0x00ba
419 #define EM_LINEINDEX 0x00bb
420 #define EM_SETHANDLE 0x00bc
421 #define EM_GETHANDLE 0x00bd
422 #define EM_GETTHUMB 0x00be
423 /* FIXME : missing from specs 0x00bf and 0x00c0 */
424 #define EM_LINELENGTH 0x00c1
425 #define EM_REPLACESEL 0x00c2
426 /* FIXME : missing from specs 0x00c3 */
427 #define EM_GETLINE 0x00c4
428 #define EM_LIMITTEXT 0x00c5
429 #define EM_CANUNDO 0x00c6
430 #define EM_UNDO 0x00c7
431 #define EM_FMTLINES 0x00c8
432 #define EM_LINEFROMCHAR 0x00c9
433 /* FIXME : missing from specs 0x00ca */
434 #define EM_SETTABSTOPS 0x00cb
435 #define EM_SETPASSWORDCHAR 0x00cc
436 #define EM_EMPTYUNDOBUFFER 0x00cd
437 #define EM_GETFIRSTVISIBLELINE 0x00ce
438 #define EM_SETREADONLY 0x00cf
439 #define EM_SETWORDBREAKPROC 0x00d0
440 #define EM_GETWORDBREAKPROC 0x00d1
441 #define EM_GETPASSWORDCHAR 0x00d2
442 #define EM_SETMARGINS 0x00d3
443 #define EM_GETMARGINS 0x00d4
444 #define EM_GETLIMITTEXT 0x00d5
445 #define EM_POSFROMCHAR 0x00d6
446 #define EM_CHARFROMPOS 0x00d7
447 /* a name change since win95 */
448 #define EM_SETLIMITTEXT EM_LIMITTEXT
450 /* EDITWORDBREAKPROC code values */
453 #define WB_ISDELIMITER 2
455 /* Edit control notification codes */
456 #define EN_SETFOCUS 0x0100
457 #define EN_KILLFOCUS 0x0200
458 #define EN_CHANGE 0x0300
459 #define EN_UPDATE 0x0400
460 #define EN_ERRSPACE 0x0500
461 #define EN_MAXTEXT 0x0501
462 #define EN_HSCROLL 0x0601
463 #define EN_VSCROLL 0x0602
465 /* New since win95 : EM_SETMARGIN parameters */
466 #define EC_LEFTMARGIN 0x0001
467 #define EC_RIGHTMARGIN 0x0002
468 #define EC_USEFONTINFO 0xffff
473 /* WM_GETDLGCODE values */
476 #define WM_NULL 0x0000
477 #define WM_CREATE 0x0001
478 #define WM_DESTROY 0x0002
479 #define WM_MOVE 0x0003
480 #define WM_SIZEWAIT 0x0004
481 #define WM_SIZE 0x0005
482 #define WM_ACTIVATE 0x0006
483 #define WM_SETFOCUS 0x0007
484 #define WM_KILLFOCUS 0x0008
485 #define WM_SETVISIBLE 0x0009
486 #define WM_ENABLE 0x000a
487 #define WM_SETREDRAW 0x000b
488 #define WM_SETTEXT 0x000c
489 #define WM_GETTEXT 0x000d
490 #define WM_GETTEXTLENGTH 0x000e
491 #define WM_PAINT 0x000f
492 #define WM_CLOSE 0x0010
493 #define WM_QUERYENDSESSION 0x0011
494 #define WM_QUIT 0x0012
495 #define WM_QUERYOPEN 0x0013
496 #define WM_ERASEBKGND 0x0014
497 #define WM_SYSCOLORCHANGE 0x0015
498 #define WM_ENDSESSION 0x0016
499 #define WM_SYSTEMERROR 0x0017
500 #define WM_SHOWWINDOW 0x0018
501 #define WM_CTLCOLOR 0x0019
502 #define WM_WININICHANGE 0x001a
503 #define WM_SETTINGCHANGE WM_WININICHANGE
504 #define WM_DEVMODECHANGE 0x001b
505 #define WM_ACTIVATEAPP 0x001c
506 #define WM_FONTCHANGE 0x001d
507 #define WM_TIMECHANGE 0x001e
508 #define WM_CANCELMODE 0x001f
509 #define WM_SETCURSOR 0x0020
510 #define WM_MOUSEACTIVATE 0x0021
511 #define WM_CHILDACTIVATE 0x0022
512 #define WM_QUEUESYNC 0x0023
513 #define WM_GETMINMAXINFO 0x0024
515 #define WM_PAINTICON 0x0026
516 #define WM_ICONERASEBKGND 0x0027
517 #define WM_NEXTDLGCTL 0x0028
518 #define WM_ALTTABACTIVE 0x0029
519 #define WM_SPOOLERSTATUS 0x002a
520 #define WM_DRAWITEM 0x002b
521 #define WM_MEASUREITEM 0x002c
522 #define WM_DELETEITEM 0x002d
523 #define WM_VKEYTOITEM 0x002e
524 #define WM_CHARTOITEM 0x002f
525 #define WM_SETFONT 0x0030
526 #define WM_GETFONT 0x0031
527 #define WM_SETHOTKEY 0x0032
528 #define WM_GETHOTKEY 0x0033
529 #define WM_FILESYSCHANGE 0x0034
530 #define WM_ISACTIVEICON 0x0035
531 #define WM_QUERYPARKICON 0x0036
532 #define WM_QUERYDRAGICON 0x0037
533 #define WM_QUERYSAVESTATE 0x0038
534 #define WM_COMPAREITEM 0x0039
535 #define WM_TESTING 0x003a
537 #define WM_OTHERWINDOWCREATED 0x003c
538 #define WM_OTHERWINDOWDESTROYED 0x003d
539 #define WM_ACTIVATESHELLWINDOW 0x003e
541 #define WM_COMPACTING 0x0041
543 #define WM_COMMNOTIFY 0x0044
544 #define WM_WINDOWPOSCHANGING 0x0046
545 #define WM_WINDOWPOSCHANGED 0x0047
546 #define WM_POWER 0x0048
548 /* Win32 4.0 messages */
549 #define WM_COPYDATA 0x004a
550 #define WM_CANCELJOURNAL 0x004b
551 #define WM_NOTIFY 0x004e
552 #define WM_HELP 0x0053
553 #define WM_NOTIFYFORMAT 0x0055
555 #define WM_CONTEXTMENU 0x007b
556 #define WM_STYLECHANGING 0x007c
557 #define WM_STYLECHANGED 0x007d
558 #define WM_DISPLAYCHANGE 0x007e
559 #define WM_GETICON 0x007f
560 #define WM_SETICON 0x0080
562 /* Non-client system messages */
563 #define WM_NCCREATE 0x0081
564 #define WM_NCDESTROY 0x0082
565 #define WM_NCCALCSIZE 0x0083
566 #define WM_NCHITTEST 0x0084
567 #define WM_NCPAINT 0x0085
568 #define WM_NCACTIVATE 0x0086
570 #define WM_GETDLGCODE 0x0087
571 #define WM_SYNCPAINT 0x0088
572 #define WM_SYNCTASK 0x0089
574 /* Non-client mouse messages */
575 #define WM_NCMOUSEMOVE 0x00a0
576 #define WM_NCLBUTTONDOWN 0x00a1
577 #define WM_NCLBUTTONUP 0x00a2
578 #define WM_NCLBUTTONDBLCLK 0x00a3
579 #define WM_NCRBUTTONDOWN 0x00a4
580 #define WM_NCRBUTTONUP 0x00a5
581 #define WM_NCRBUTTONDBLCLK 0x00a6
582 #define WM_NCMBUTTONDOWN 0x00a7
583 #define WM_NCMBUTTONUP 0x00a8
584 #define WM_NCMBUTTONDBLCLK 0x00a9
586 /* Keyboard messages */
587 #define WM_KEYDOWN 0x0100
588 #define WM_KEYUP 0x0101
589 #define WM_CHAR 0x0102
590 #define WM_DEADCHAR 0x0103
591 #define WM_SYSKEYDOWN 0x0104
592 #define WM_SYSKEYUP 0x0105
593 #define WM_SYSCHAR 0x0106
594 #define WM_SYSDEADCHAR 0x0107
595 #define WM_KEYFIRST WM_KEYDOWN
596 #define WM_KEYLAST 0x0108
598 #define WM_INITDIALOG 0x0110
599 #define WM_COMMAND 0x0111
600 #define WM_SYSCOMMAND 0x0112
601 #define WM_TIMER 0x0113
602 #define WM_SYSTIMER 0x0118
604 /* scroll messages */
605 #define WM_HSCROLL 0x0114
606 #define WM_VSCROLL 0x0115
609 #define WM_INITMENU 0x0116
610 #define WM_INITMENUPOPUP 0x0117
612 #define WM_MENUSELECT 0x011F
613 #define WM_MENUCHAR 0x0120
614 #define WM_ENTERIDLE 0x0121
616 #define WM_LBTRACKPOINT 0x0131
618 /* Win32 CTLCOLOR messages */
619 #define WM_CTLCOLORMSGBOX 0x0132
620 #define WM_CTLCOLOREDIT 0x0133
621 #define WM_CTLCOLORLISTBOX 0x0134
622 #define WM_CTLCOLORBTN 0x0135
623 #define WM_CTLCOLORDLG 0x0136
624 #define WM_CTLCOLORSCROLLBAR 0x0137
625 #define WM_CTLCOLORSTATIC 0x0138
628 #define WM_MOUSEMOVE 0x0200
629 #define WM_LBUTTONDOWN 0x0201
630 #define WM_LBUTTONUP 0x0202
631 #define WM_LBUTTONDBLCLK 0x0203
632 #define WM_RBUTTONDOWN 0x0204
633 #define WM_RBUTTONUP 0x0205
634 #define WM_RBUTTONDBLCLK 0x0206
635 #define WM_MBUTTONDOWN 0x0207
636 #define WM_MBUTTONUP 0x0208
637 #define WM_MBUTTONDBLCLK 0x0209
638 #define WM_MOUSEFIRST WM_MOUSEMOVE
639 #define WM_MOUSELAST WM_MBUTTONDBLCLK
641 #define WM_PARENTNOTIFY 0x0210
642 #define WM_ENTERMENULOOP 0x0211
643 #define WM_EXITMENULOOP 0x0212
644 #define WM_NEXTMENU 0x0213
646 /* Win32 4.0 messages */
647 #define WM_SIZING 0x0214
648 #define WM_CAPTURECHANGED 0x0215
649 #define WM_MOVING 0x0216
652 #define WM_MDICREATE 0x0220
653 #define WM_MDIDESTROY 0x0221
654 #define WM_MDIACTIVATE 0x0222
655 #define WM_MDIRESTORE 0x0223
656 #define WM_MDINEXT 0x0224
657 #define WM_MDIMAXIMIZE 0x0225
658 #define WM_MDITILE 0x0226
659 #define WM_MDICASCADE 0x0227
660 #define WM_MDIICONARRANGE 0x0228
661 #define WM_MDIGETACTIVE 0x0229
662 #define WM_MDIREFRESHMENU 0x0234
665 #define WM_DROPOBJECT 0x022A
666 #define WM_QUERYDROPOBJECT 0x022B
667 #define WM_BEGINDRAG 0x022C
668 #define WM_DRAGLOOP 0x022D
669 #define WM_DRAGSELECT 0x022E
670 #define WM_DRAGMOVE 0x022F
671 #define WM_MDISETMENU 0x0230
673 #define WM_ENTERSIZEMOVE 0x0231
674 #define WM_EXITSIZEMOVE 0x0232
675 #define WM_DROPFILES 0x0233
677 /* Clipboard command messages */
678 #define WM_CUT 0x0300
679 #define WM_COPY 0x0301
680 #define WM_PASTE 0x0302
681 #define WM_CLEAR 0x0303
682 #define WM_UNDO 0x0304
684 /* Clipboard owner messages */
685 #define WM_RENDERFORMAT 0x0305
686 #define WM_RENDERALLFORMATS 0x0306
687 #define WM_DESTROYCLIPBOARD 0x0307
689 /* Clipboard viewer messages */
690 #define WM_DRAWCLIPBOARD 0x0308
691 #define WM_PAINTCLIPBOARD 0x0309
692 #define WM_VSCROLLCLIPBOARD 0x030A
693 #define WM_SIZECLIPBOARD 0x030B
694 #define WM_ASKCBFORMATNAME 0x030C
695 #define WM_CHANGECBCHAIN 0x030D
696 #define WM_HSCROLLCLIPBOARD 0x030E
698 #define WM_QUERYNEWPALETTE 0x030F
699 #define WM_PALETTEISCHANGING 0x0310
700 #define WM_PALETTECHANGED 0x0311
701 #define WM_HOTKEY 0x0312
703 #define WM_PRINT 0x0317
704 #define WM_PRINTCLIENT 0x0318
706 /* FIXME: This does not belong to any libwine interface header */
707 /* MFC messages [360-38f] */
709 #define WM_QUERYAFXWNDPROC 0x0360
710 #define WM_SIZEPARENT 0x0361
711 #define WM_SETMESSAGESTRING 0x0362
712 #define WM_IDLEUPDATECMDUI 0x0363
713 #define WM_INITIALUPDATE 0x0364
714 #define WM_COMMANDHELP 0x0365
715 #define WM_HELPHITTEST 0x0366
716 #define WM_EXITHELPMODE 0x0367
717 #define WM_RECALCPARENT 0x0368
718 #define WM_SIZECHILD 0x0369
719 #define WM_KICKIDLE 0x036A
720 #define WM_QUERYCENTERWND 0x036B
721 #define WM_DISABLEMODAL 0x036C
722 #define WM_FLOATSTATUS 0x036D
723 #define WM_ACTIVATETOPLEVEL 0x036E
724 #define WM_QUERY3DCONTROLS 0x036F
725 #define WM_SOCKET_NOTIFY 0x0373
726 #define WM_SOCKET_DEAD 0x0374
727 #define WM_POPMESSAGESTRING 0x0375
728 #define WM_OCC_LOADFROMSTREAM 0x0376
729 #define WM_OCC_LOADFROMSTORAGE 0x0377
730 #define WM_OCC_INITNEW 0x0378
731 #define WM_OCC_LOADFROMSTREAM_EX 0x037A
732 #define WM_OCC_LOADFROMSTORAGE_EX 0x037B
733 #define WM_QUEUE_SENTINEL 0x0379
735 #define WM_PENWINFIRST 0x0380
736 #define WM_PENWINLAST 0x038F
738 /* end of MFC messages */
740 /* FIXME: This does not belong to any libwine interface header */
741 #define WM_COALESCE_FIRST 0x0390
742 #define WM_COALESCE_LAST 0x039F
746 #define DLGC_WANTARROWS 0x0001
747 #define DLGC_WANTTAB 0x0002
748 #define DLGC_WANTALLKEYS 0x0004
749 #define DLGC_WANTMESSAGE 0x0004
750 #define DLGC_HASSETSEL 0x0008
751 #define DLGC_DEFPUSHBUTTON 0x0010
752 #define DLGC_UNDEFPUSHBUTTON 0x0020
753 #define DLGC_RADIOBUTTON 0x0040
754 #define DLGC_WANTCHARS 0x0080
755 #define DLGC_STATIC 0x0100
756 #define DLGC_BUTTON 0x2000
758 /* Standard dialog button IDs */
769 /****** Window classes ******/
771 typedef struct tagCREATESTRUCTA
773 LPVOID lpCreateParams
;
785 } CREATESTRUCTA
, *LPCREATESTRUCTA
;
789 LPVOID lpCreateParams
;
801 } CREATESTRUCTW
, *LPCREATESTRUCTW
;
803 DECL_WINELIB_TYPE_AW(CREATESTRUCT
)
804 DECL_WINELIB_TYPE_AW(LPCREATESTRUCT
)
813 BYTE rgbReserved
[32];
814 } PAINTSTRUCT
, *PPAINTSTRUCT
, *LPPAINTSTRUCT
;
820 } CLIENTCREATESTRUCT
, *LPCLIENTCREATESTRUCT
;
834 } MDICREATESTRUCTA
, *LPMDICREATESTRUCTA
;
847 } MDICREATESTRUCTW
, *LPMDICREATESTRUCTW
;
849 DECL_WINELIB_TYPE_AW(MDICREATESTRUCT
)
850 DECL_WINELIB_TYPE_AW(LPMDICREATESTRUCT
)
852 #define MDITILE_VERTICAL 0x0000
853 #define MDITILE_HORIZONTAL 0x0001
854 #define MDITILE_SKIPDISABLED 0x0002
856 #define MDIS_ALLCHILDSTYLES 0x0001
861 } STYLESTRUCT
, *LPSTYLESTRUCT
;
863 /* Offsets for GetWindowLong() and GetWindowWord() */
864 #define GWL_USERDATA (-21)
865 #define GWL_EXSTYLE (-20)
866 #define GWL_STYLE (-16)
868 #define GWL_ID GWW_ID
869 #define GWW_HWNDPARENT (-8)
870 #define GWL_HWNDPARENT GWW_HWNDPARENT
871 #define GWW_HINSTANCE (-6)
872 #define GWL_HINSTANCE GWW_HINSTANCE
873 #define GWL_WNDPROC (-4)
874 #define DWL_MSGRESULT 0
875 #define DWL_DLGPROC 4
878 /* GetWindow() constants */
879 #define GW_HWNDFIRST 0
880 #define GW_HWNDLAST 1
881 #define GW_HWNDNEXT 2
882 #define GW_HWNDPREV 3
886 /* WM_GETMINMAXINFO struct */
892 POINT ptMinTrackSize
;
893 POINT ptMaxTrackSize
;
894 } MINMAXINFO
, *PMINMAXINFO
, *LPMINMAXINFO
;
897 /* RedrawWindow() flags */
898 #define RDW_INVALIDATE 0x0001
899 #define RDW_INTERNALPAINT 0x0002
900 #define RDW_ERASE 0x0004
901 #define RDW_VALIDATE 0x0008
902 #define RDW_NOINTERNALPAINT 0x0010
903 #define RDW_NOERASE 0x0020
904 #define RDW_NOCHILDREN 0x0040
905 #define RDW_ALLCHILDREN 0x0080
906 #define RDW_UPDATENOW 0x0100
907 #define RDW_ERASENOW 0x0200
908 #define RDW_FRAME 0x0400
909 #define RDW_NOFRAME 0x0800
912 #define DBGFILL_ALLOC 0xfd
913 #define DBGFILL_FREE 0xfb
914 #define DBGFILL_BUFFER 0xf9
915 #define DBGFILL_STACK 0xf7
917 /* WM_WINDOWPOSCHANGING/CHANGED struct */
918 typedef struct tagWINDOWPOS
921 HWND hwndInsertAfter
;
927 } WINDOWPOS
, *PWINDOWPOS
, *LPWINDOWPOS
;
930 /* WM_MOUSEACTIVATE return values */
931 #define MA_ACTIVATE 1
932 #define MA_ACTIVATEANDEAT 2
933 #define MA_NOACTIVATE 3
934 #define MA_NOACTIVATEANDEAT 4
936 /* WM_ACTIVATE wParam values */
937 #define WA_INACTIVE 0
939 #define WA_CLICKACTIVE 2
941 /* WM_GETICON/WM_SETICON params values */
945 /* WM_NCCALCSIZE parameter structure */
950 } NCCALCSIZE_PARAMS
, *LPNCCALCSIZE_PARAMS
;
953 /* WM_NCCALCSIZE return flags */
954 #define WVR_ALIGNTOP 0x0010
955 #define WVR_ALIGNLEFT 0x0020
956 #define WVR_ALIGNBOTTOM 0x0040
957 #define WVR_ALIGNRIGHT 0x0080
958 #define WVR_HREDRAW 0x0100
959 #define WVR_VREDRAW 0x0200
960 #define WVR_REDRAW (WVR_HREDRAW | WVR_VREDRAW)
961 #define WVR_VALIDRECTS 0x0400
963 /* WM_NCHITTEST return codes */
965 #define HTTRANSPARENT (-1)
974 #define HTMINBUTTON 8
975 #define HTMAXBUTTON 9
980 #define HTTOPRIGHT 14
982 #define HTBOTTOMLEFT 16
983 #define HTBOTTOMRIGHT 17
985 #define HTGROWBOX HTSIZE
986 #define HTREDUCE HTMINBUTTON
987 #define HTZOOM HTMAXBUTTON
991 #define HTSIZEFIRST HTLEFT
992 #define HTSIZELAST HTBOTTOMRIGHT
994 /* WM_SYSCOMMAND parameters */
995 #ifdef SC_SIZE /* at least HP-UX: already defined in /usr/include/sys/signal.h */
998 #define SC_SIZE 0xf000
999 #define SC_MOVE 0xf010
1000 #define SC_MINIMIZE 0xf020
1001 #define SC_MAXIMIZE 0xf030
1002 #define SC_NEXTWINDOW 0xf040
1003 #define SC_PREVWINDOW 0xf050
1004 #define SC_CLOSE 0xf060
1005 #define SC_VSCROLL 0xf070
1006 #define SC_HSCROLL 0xf080
1007 #define SC_MOUSEMENU 0xf090
1008 #define SC_KEYMENU 0xf100
1009 #define SC_ARRANGE 0xf110
1010 #define SC_RESTORE 0xf120
1011 #define SC_TASKLIST 0xf130
1012 #define SC_SCREENSAVE 0xf140
1013 #define SC_HOTKEY 0xf150
1015 #define CS_VREDRAW 0x0001
1016 #define CS_HREDRAW 0x0002
1017 #define CS_KEYCVTWINDOW 0x0004
1018 #define CS_DBLCLKS 0x0008
1019 #define CS_OWNDC 0x0020
1020 #define CS_CLASSDC 0x0040
1021 #define CS_PARENTDC 0x0080
1022 #define CS_NOKEYCVT 0x0100
1023 #define CS_NOCLOSE 0x0200
1024 #define CS_SAVEBITS 0x0800
1025 #define CS_BYTEALIGNCLIENT 0x1000
1026 #define CS_BYTEALIGNWINDOW 0x2000
1027 #define CS_GLOBALCLASS 0x4000
1028 #define CS_IME 0x00010000
1030 #define PRF_CHECKVISIBLE 0x00000001L
1031 #define PRF_NONCLIENT 0x00000002L
1032 #define PRF_CLIENT 0x00000004L
1033 #define PRF_ERASEBKGND 0x00000008L
1034 #define PRF_CHILDREN 0x00000010L
1035 #define PRF_OWNED 0x00000020L
1037 /* Offsets for GetClassLong() and GetClassWord() */
1038 #define GCL_MENUNAME (-8)
1039 #define GCW_HBRBACKGROUND (-10)
1040 #define GCL_HBRBACKGROUND GCW_HBRBACKGROUND
1041 #define GCW_HCURSOR (-12)
1042 #define GCL_HCURSOR GCW_HCURSOR
1043 #define GCW_HICON (-14)
1044 #define GCL_HICON GCW_HICON
1045 #define GCW_HMODULE (-16)
1046 #define GCL_HMODULE GCW_HMODULE
1047 #define GCW_CBWNDEXTRA (-18)
1048 #define GCL_CBWNDEXTRA GCW_CBWNDEXTRA
1049 #define GCW_CBCLSEXTRA (-20)
1050 #define GCL_CBCLSEXTRA GCW_CBCLSEXTRA
1051 #define GCL_WNDPROC (-24)
1052 #define GCW_STYLE (-26)
1053 #define GCL_STYLE GCW_STYLE
1054 #define GCW_ATOM (-32)
1055 #define GCW_HICONSM (-34)
1056 #define GCL_HICONSM GCW_HICONSM
1059 /***** Window hooks *****/
1063 #define WH_MSGFILTER (-1)
1064 #define WH_JOURNALRECORD 0
1065 #define WH_JOURNALPLAYBACK 1
1066 #define WH_KEYBOARD 2
1067 #define WH_GETMESSAGE 3
1068 #define WH_CALLWNDPROC 4
1070 #define WH_SYSMSGFILTER 6
1072 #define WH_HARDWARE 8
1075 #define WH_FOREGROUNDIDLE 11
1076 #define WH_CALLWNDPROCRET 12
1079 #define WH_MINHOOK WH_MIN
1080 #define WH_MAXHOOK WH_MAX
1081 #define WH_NB_HOOKS (WH_MAXHOOK-WH_MINHOOK+1)
1083 /* Hook action codes */
1085 #define HC_GETNEXT 1
1087 #define HC_NOREMOVE 3
1088 #define HC_NOREM HC_NOREMOVE
1089 #define HC_SYSMODALON 4
1090 #define HC_SYSMODALOFF 5
1092 /* CallMsgFilter() values */
1093 #define MSGF_DIALOGBOX 0
1094 #define MSGF_MESSAGEBOX 1
1098 #define MSGF_SCROLLBAR 5
1099 #define MSGF_NEXTWINDOW 6
1100 #define MSGF_MAINLOOP 8
1101 #define MSGF_USER 4096
1106 WNDPROC lpfnWndProc
;
1109 HINSTANCE hInstance
;
1112 HBRUSH hbrBackground
;
1113 LPCSTR lpszMenuName
;
1114 LPCSTR lpszClassName
;
1115 } WNDCLASSA
, *LPWNDCLASSA
;
1120 WNDPROC lpfnWndProc
;
1123 HINSTANCE hInstance
;
1126 HBRUSH hbrBackground
;
1127 LPCWSTR lpszMenuName
;
1128 LPCWSTR lpszClassName
;
1129 } WNDCLASSW
, *LPWNDCLASSW
;
1131 DECL_WINELIB_TYPE_AW(WNDCLASS
)
1132 DECL_WINELIB_TYPE_AW(LPWNDCLASS
)
1138 } COPYDATASTRUCT
, *PCOPYDATASTRUCT
, *LPCOPYDATASTRUCT
;
1144 } MDINEXTMENU
, *PMDINEXTMENU
, *LPMDINEXTMENU
;
1146 /* WinHelp internal structure */
1154 } WINHELP
,*LPWINHELP
;
1160 BYTE szKeyphrase
[1];
1161 } MULTIKEYHELP
, *LPMULTIKEYHELP
;
1171 } HELPWININFO
, *LPHELPWININFO
;
1173 #define HELP_CONTEXT 0x0001
1174 #define HELP_QUIT 0x0002
1175 #define HELP_INDEX 0x0003
1176 #define HELP_CONTENTS 0x0003
1177 #define HELP_HELPONHELP 0x0004
1178 #define HELP_SETINDEX 0x0005
1179 #define HELP_SETCONTENTS 0x0005
1180 #define HELP_CONTEXTPOPUP 0x0008
1181 #define HELP_FORCEFILE 0x0009
1182 #define HELP_KEY 0x0101
1183 #define HELP_COMMAND 0x0102
1184 #define HELP_PARTIALKEY 0x0105
1185 #define HELP_MULTIKEY 0x0201
1186 #define HELP_SETWINPOS 0x0203
1187 #define HELP_CONTEXTMENU 0x000a
1188 #define HELP_FINDER 0x000b
1189 #define HELP_WM_HELP 0x000c
1190 #define HELP_SETPOPUP_POS 0x000d
1192 #define HELP_TCARD 0x8000
1193 #define HELP_TCARD_DATA 0x0010
1194 #define HELP_TCARD_OTHER_CALLER 0x0011
1197 /* ChangeDisplaySettings return codes */
1199 #define DISP_CHANGE_SUCCESSFUL 0
1200 #define DISP_CHANGE_RESTART 1
1201 #define DISP_CHANGE_FAILED (-1)
1202 #define DISP_CHANGE_BADMODE (-2)
1203 #define DISP_CHANGE_NOTUPDATED (-3)
1204 #define DISP_CHANGE_BADFLAGS (-4)
1205 #define DISP_CHANGE_BADPARAM (-5)
1207 /* ChangeDisplaySettings.dwFlags */
1208 #define CDS_UPDATEREGISTRY 0x00000001
1209 #define CDS_TEST 0x00000002
1210 #define CDS_FULLSCREEN 0x00000004
1211 #define CDS_GLOBAL 0x00000008
1212 #define CDS_SET_PRIMARY 0x00000010
1213 #define CDS_RESET 0x40000000
1214 #define CDS_SETRECT 0x20000000
1215 #define CDS_NORESET 0x10000000
1217 /* flags to FormatMessage */
1218 #define FORMAT_MESSAGE_ALLOCATE_BUFFER 0x00000100
1219 #define FORMAT_MESSAGE_IGNORE_INSERTS 0x00000200
1220 #define FORMAT_MESSAGE_FROM_STRING 0x00000400
1221 #define FORMAT_MESSAGE_FROM_HMODULE 0x00000800
1222 #define FORMAT_MESSAGE_FROM_SYSTEM 0x00001000
1223 #define FORMAT_MESSAGE_ARGUMENT_ARRAY 0x00002000
1224 #define FORMAT_MESSAGE_MAX_WIDTH_MASK 0x000000FF
1230 WNDPROC lpfnWndProc
;
1233 HINSTANCE hInstance
;
1236 HBRUSH hbrBackground
;
1237 LPCSTR lpszMenuName
;
1238 LPCSTR lpszClassName
;
1240 } WNDCLASSEXA
, *LPWNDCLASSEXA
;
1246 WNDPROC lpfnWndProc
;
1249 HINSTANCE hInstance
;
1252 HBRUSH hbrBackground
;
1253 LPCWSTR lpszMenuName
;
1254 LPCWSTR lpszClassName
;
1256 } WNDCLASSEXW
, *LPWNDCLASSEXW
;
1258 DECL_WINELIB_TYPE_AW(WNDCLASSEX
)
1259 DECL_WINELIB_TYPE_AW(LPWNDCLASSEX
)
1261 typedef struct tagMSG
1272 /* Cursors / Icons */
1280 } ICONINFO
,*LPICONINFO
;
1283 /* this is the 6 byte accel struct used in Win32 when presented to the user */
1292 /* this is the 8 byte accel struct used in Win32 resources (internal only) */
1300 } PE_ACCEL
, *LPPE_ACCEL
;
1303 /* Flags for TrackPopupMenu */
1304 #define TPM_LEFTBUTTON 0x0000
1305 #define TPM_RIGHTBUTTON 0x0002
1306 #define TPM_LEFTALIGN 0x0000
1307 #define TPM_CENTERALIGN 0x0004
1308 #define TPM_RIGHTALIGN 0x0008
1309 #define TPM_TOPALIGN 0x0000
1310 #define TPM_VCENTERALIGN 0x0010
1311 #define TPM_BOTTOMALIGN 0x0020
1312 #define TPM_HORIZONTAL 0x0000
1313 #define TPM_VERTICAL 0x0040
1314 #define TPM_NONOTIFY 0x0080
1315 #define TPM_RETURNCMD 0x0100
1321 } TPMPARAMS
, *LPTPMPARAMS
;
1323 /* FIXME: not sure this one is correct */
1331 HBITMAP hbmpChecked
;
1332 HBITMAP hbmpUnchecked
;
1337 } MENUITEMINFOA
, *LPMENUITEMINFOA
;
1346 HBITMAP hbmpChecked
;
1347 HBITMAP hbmpUnchecked
;
1352 } MENUITEMINFOW
, *LPMENUITEMINFOW
;
1354 DECL_WINELIB_TYPE_AW(MENUITEMINFO
)
1355 DECL_WINELIB_TYPE_AW(LPMENUITEMINFO
)
1363 DWORD dwContextHelpID
;
1365 } MENUINFO
, *LPMENUINFO
;
1367 typedef MENUINFO
const * LPCMENUINFO
;
1369 #define MIM_MAXHEIGHT 0x00000001
1370 #define MIM_BACKGROUND 0x00000002
1371 #define MIM_HELPID 0x00000004
1372 #define MIM_MENUDATA 0x00000008
1373 #define MIM_STYLE 0x00000010
1374 #define MIM_APPLYTOSUBMENUS 0x80000000
1379 } MENUITEMTEMPLATEHEADER
, *PMENUITEMTEMPLATEHEADER
;
1386 } MENUITEMTEMPLATE
, *PMENUITEMTEMPLATE
;
1389 typedef VOID MENUTEMPLATE
;
1390 typedef PVOID
*LPMENUTEMPLATE
;
1392 /* Field specifiers for MENUITEMINFO[AW] type. */
1393 #define MIIM_STATE 0x00000001
1394 #define MIIM_ID 0x00000002
1395 #define MIIM_SUBMENU 0x00000004
1396 #define MIIM_CHECKMARKS 0x00000008
1397 #define MIIM_TYPE 0x00000010
1398 #define MIIM_DATA 0x00000020
1399 #define MIIM_STRING 0x00000040
1400 #define MIIM_BITMAP 0x00000080
1401 #define MIIM_FTYPE 0x00000100
1403 #define HBMMENU_CALLBACK ((HBITMAP) -1)
1404 #define HBMMENU_SYSTEM ((HBITMAP) 1)
1405 #define HBMMENU_MBAR_RESTORE ((HBITMAP) 2)
1406 #define HBMMENU_MBAR_MINIMIZE ((HBITMAP) 3)
1407 #define HBMMENU_MBAR_CLOSE ((HBITMAP) 5)
1408 #define HBMMENU_MBAR_CLOSE_D ((HBITMAP) 6)
1409 #define HBMMENU_MBAR_MINIMIZE_D ((HBITMAP) 7)
1410 #define HBMMENU_POPUP_CLOSE ((HBITMAP) 8)
1411 #define HBMMENU_POPUP_RESTORE ((HBITMAP) 9)
1412 #define HBMMENU_POPUP_MAXIMIZE ((HBITMAP) 10)
1413 #define HBMMENU_POPUP_MINIMIZE ((HBITMAP) 11)
1415 /* DrawState defines ... */
1416 typedef BOOL (CALLBACK
*DRAWSTATEPROC
)(HDC
,LPARAM
,WPARAM
,INT
,INT
);
1418 /* WM_H/VSCROLL commands */
1420 #define SB_LINELEFT 0
1421 #define SB_LINEDOWN 1
1422 #define SB_LINERIGHT 1
1424 #define SB_PAGELEFT 2
1425 #define SB_PAGEDOWN 3
1426 #define SB_PAGERIGHT 3
1427 #define SB_THUMBPOSITION 4
1428 #define SB_THUMBTRACK 5
1433 #define SB_ENDSCROLL 8
1435 /* Scroll bar selection constants */
1441 /* Scrollbar styles */
1442 #define SBS_HORZ 0x0000L
1443 #define SBS_VERT 0x0001L
1444 #define SBS_TOPALIGN 0x0002L
1445 #define SBS_LEFTALIGN 0x0002L
1446 #define SBS_BOTTOMALIGN 0x0004L
1447 #define SBS_RIGHTALIGN 0x0004L
1448 #define SBS_SIZEBOXTOPLEFTALIGN 0x0002L
1449 #define SBS_SIZEBOXBOTTOMRIGHTALIGN 0x0004L
1450 #define SBS_SIZEBOX 0x0008L
1451 #define SBS_SIZEGRIP 0x0010L
1453 /* EnableScrollBar() flags */
1454 #define ESB_ENABLE_BOTH 0x0000
1455 #define ESB_DISABLE_BOTH 0x0003
1457 #define ESB_DISABLE_LEFT 0x0001
1458 #define ESB_DISABLE_RIGHT 0x0002
1460 #define ESB_DISABLE_UP 0x0001
1461 #define ESB_DISABLE_DOWN 0x0002
1463 #define ESB_DISABLE_LTUP ESB_DISABLE_LEFT
1464 #define ESB_DISABLE_RTDN ESB_DISABLE_RIGHT
1466 /* Win32 button control messages */
1467 #define BM_GETCHECK 0x00f0
1468 #define BM_SETCHECK 0x00f1
1469 #define BM_GETSTATE 0x00f2
1470 #define BM_SETSTATE 0x00f3
1471 #define BM_SETSTYLE 0x00f4
1472 #define BM_CLICK 0x00f5
1473 #define BM_GETIMAGE 0x00f6
1474 #define BM_SETIMAGE 0x00f7
1475 /* Winelib button control messages */
1477 /* Button notification codes */
1478 #define BN_CLICKED 0
1481 #define BN_UNHILITE 3
1482 #define BN_DISABLE 4
1483 #define BN_DOUBLECLICKED 5
1486 #define BST_UNCHECKED 0x0000
1487 #define BST_CHECKED 0x0001
1488 #define BST_INDETERMINATE 0x0002
1489 #define BST_PUSHED 0x0004
1490 #define BST_FOCUS 0x0008
1492 /* Static Control Styles */
1493 #define SS_LEFT 0x00000000L
1494 #define SS_CENTER 0x00000001L
1495 #define SS_RIGHT 0x00000002L
1496 #define SS_ICON 0x00000003L
1497 #define SS_BLACKRECT 0x00000004L
1498 #define SS_GRAYRECT 0x00000005L
1499 #define SS_WHITERECT 0x00000006L
1500 #define SS_BLACKFRAME 0x00000007L
1501 #define SS_GRAYFRAME 0x00000008L
1502 #define SS_WHITEFRAME 0x00000009L
1504 #define SS_SIMPLE 0x0000000BL
1505 #define SS_LEFTNOWORDWRAP 0x0000000CL
1507 #define SS_OWNERDRAW 0x0000000DL
1508 #define SS_BITMAP 0x0000000EL
1509 #define SS_ENHMETAFILE 0x0000000FL
1511 #define SS_ETCHEDHORZ 0x00000010L
1512 #define SS_ETCHEDVERT 0x00000011L
1513 #define SS_ETCHEDFRAME 0x00000012L
1514 #define SS_TYPEMASK 0x0000001FL
1516 #define SS_NOPREFIX 0x00000080L
1517 #define SS_NOTIFY 0x00000100L
1518 #define SS_CENTERIMAGE 0x00000200L
1519 #define SS_RIGHTJUST 0x00000400L
1520 #define SS_REALSIZEIMAGE 0x00000800L
1521 #define SS_SUNKEN 0x00001000L
1523 /* Static Control Messages */
1524 #define STM_SETICON 0x0170
1525 #define STM_GETICON 0x0171
1526 #define STM_SETIMAGE 0x0172
1527 #define STM_GETIMAGE 0x0173
1529 /* Scrollbar messages */
1530 #define SBM_SETPOS 0x00e0
1531 #define SBM_GETPOS 0x00e1
1532 #define SBM_SETRANGE 0x00e2
1533 #define SBM_GETRANGE 0x00e3
1534 #define SBM_ENABLE_ARROWS 0x00e4
1535 #define SBM_SETRANGEREDRAW 0x00e6
1536 #define SBM_SETSCROLLINFO 0x00e9
1537 #define SBM_GETSCROLLINFO 0x00ea
1539 /* Scrollbar info */
1549 } SCROLLINFO
, *LPSCROLLINFO
;
1551 /* GetScrollInfo() flags */
1552 #define SIF_RANGE 0x0001
1553 #define SIF_PAGE 0x0002
1554 #define SIF_POS 0x0004
1555 #define SIF_DISABLENOSCROLL 0x0008
1556 #define SIF_TRACKPOS 0x0010
1557 #define SIF_ALL (SIF_RANGE | SIF_PAGE | SIF_POS | SIF_TRACKPOS)
1559 /* Listbox styles */
1560 #define LBS_NOTIFY 0x0001
1561 #define LBS_SORT 0x0002
1562 #define LBS_NOREDRAW 0x0004
1563 #define LBS_MULTIPLESEL 0x0008
1564 #define LBS_OWNERDRAWFIXED 0x0010
1565 #define LBS_OWNERDRAWVARIABLE 0x0020
1566 #define LBS_HASSTRINGS 0x0040
1567 #define LBS_USETABSTOPS 0x0080
1568 #define LBS_NOINTEGRALHEIGHT 0x0100
1569 #define LBS_MULTICOLUMN 0x0200
1570 #define LBS_WANTKEYBOARDINPUT 0x0400
1571 #define LBS_EXTENDEDSEL 0x0800
1572 #define LBS_DISABLENOSCROLL 0x1000
1573 #define LBS_NODATA 0x2000
1574 #define LBS_NOSEL 0x4000
1575 #define LBS_STANDARD (LBS_NOTIFY | LBS_SORT | WS_VSCROLL | WS_BORDER)
1577 /* Listbox messages */
1578 #define LB_ADDSTRING 0x0180
1579 #define LB_INSERTSTRING 0x0181
1580 #define LB_DELETESTRING 0x0182
1581 #define LB_SELITEMRANGEEX 0x0183
1582 #define LB_RESETCONTENT 0x0184
1583 #define LB_SETSEL 0x0185
1584 #define LB_SETCURSEL 0x0186
1585 #define LB_GETSEL 0x0187
1586 #define LB_GETCURSEL 0x0188
1587 #define LB_GETTEXT 0x0189
1588 #define LB_GETTEXTLEN 0x018a
1589 #define LB_GETCOUNT 0x018b
1590 #define LB_SELECTSTRING 0x018c
1591 #define LB_DIR 0x018d
1592 #define LB_GETTOPINDEX 0x018e
1593 #define LB_FINDSTRING 0x018f
1594 #define LB_GETSELCOUNT 0x0190
1595 #define LB_GETSELITEMS 0x0191
1596 #define LB_SETTABSTOPS 0x0192
1597 #define LB_GETHORIZONTALEXTENT 0x0193
1598 #define LB_SETHORIZONTALEXTENT 0x0194
1599 #define LB_SETCOLUMNWIDTH 0x0195
1600 #define LB_ADDFILE 0x0196
1601 #define LB_SETTOPINDEX 0x0197
1602 #define LB_GETITEMRECT 0x0198
1603 #define LB_GETITEMDATA 0x0199
1604 #define LB_SETITEMDATA 0x019a
1605 #define LB_SELITEMRANGE 0x019b
1606 #define LB_SETANCHORINDEX 0x019c
1607 #define LB_GETANCHORINDEX 0x019d
1608 #define LB_SETCARETINDEX 0x019e
1609 #define LB_GETCARETINDEX 0x019f
1610 #define LB_SETITEMHEIGHT 0x01a0
1611 #define LB_GETITEMHEIGHT 0x01a1
1612 #define LB_FINDSTRINGEXACT 0x01a2
1613 #define LB_CARETON 0x01a3
1614 #define LB_CARETOFF 0x01a4
1615 #define LB_SETLOCALE 0x01a5
1616 #define LB_GETLOCALE 0x01a6
1617 #define LB_SETCOUNT 0x01a7
1618 #define LB_INITSTORAGE 0x01a8
1619 #define LB_ITEMFROMPOINT 0x01a9
1621 /* Listbox notification codes */
1622 #define LBN_ERRSPACE (-2)
1623 #define LBN_SELCHANGE 1
1624 #define LBN_DBLCLK 2
1625 #define LBN_SELCANCEL 3
1626 #define LBN_SETFOCUS 4
1627 #define LBN_KILLFOCUS 5
1629 /* Listbox message return values */
1632 #define LB_ERRSPACE (-2)
1634 #define LB_CTLCODE 0L
1636 /* Combo box styles */
1637 #define CBS_SIMPLE 0x0001L
1638 #define CBS_DROPDOWN 0x0002L
1639 #define CBS_DROPDOWNLIST 0x0003L
1640 #define CBS_OWNERDRAWFIXED 0x0010L
1641 #define CBS_OWNERDRAWVARIABLE 0x0020L
1642 #define CBS_AUTOHSCROLL 0x0040L
1643 #define CBS_OEMCONVERT 0x0080L
1644 #define CBS_SORT 0x0100L
1645 #define CBS_HASSTRINGS 0x0200L
1646 #define CBS_NOINTEGRALHEIGHT 0x0400L
1647 #define CBS_DISABLENOSCROLL 0x0800L
1649 #define CBS_UPPERCASE 0x2000L
1650 #define CBS_LOWERCASE 0x4000L
1653 /* Combo box messages */
1654 #define CB_GETEDITSEL 0x0140
1655 #define CB_LIMITTEXT 0x0141
1656 #define CB_SETEDITSEL 0x0142
1657 #define CB_ADDSTRING 0x0143
1658 #define CB_DELETESTRING 0x0144
1659 #define CB_DIR 0x0145
1660 #define CB_GETCOUNT 0x0146
1661 #define CB_GETCURSEL 0x0147
1662 #define CB_GETLBTEXT 0x0148
1663 #define CB_GETLBTEXTLEN 0x0149
1664 #define CB_INSERTSTRING 0x014a
1665 #define CB_RESETCONTENT 0x014b
1666 #define CB_FINDSTRING 0x014c
1667 #define CB_SELECTSTRING 0x014d
1668 #define CB_SETCURSEL 0x014e
1669 #define CB_SHOWDROPDOWN 0x014f
1670 #define CB_GETITEMDATA 0x0150
1671 #define CB_SETITEMDATA 0x0151
1672 #define CB_GETDROPPEDCONTROLRECT 0x0152
1673 #define CB_SETITEMHEIGHT 0x0153
1674 #define CB_GETITEMHEIGHT 0x0154
1675 #define CB_SETEXTENDEDUI 0x0155
1676 #define CB_GETEXTENDEDUI 0x0156
1677 #define CB_GETDROPPEDSTATE 0x0157
1678 #define CB_FINDSTRINGEXACT 0x0158
1679 #define CB_SETLOCALE 0x0159
1680 #define CB_GETLOCALE 0x015a
1681 #define CB_GETTOPINDEX 0x015b
1682 #define CB_SETTOPINDEX 0x015c
1683 #define CB_GETHORIZONTALEXTENT 0x015d
1684 #define CB_SETHORIZONTALEXTENT 0x015e
1685 #define CB_GETDROPPEDWIDTH 0x015f
1686 #define CB_SETDROPPEDWIDTH 0x0160
1687 #define CB_INITSTORAGE 0x0161
1689 /* Combo box notification codes */
1690 #define CBN_ERRSPACE (-1)
1691 #define CBN_SELCHANGE 1
1692 #define CBN_DBLCLK 2
1693 #define CBN_SETFOCUS 3
1694 #define CBN_KILLFOCUS 4
1695 #define CBN_EDITCHANGE 5
1696 #define CBN_EDITUPDATE 6
1697 #define CBN_DROPDOWN 7
1698 #define CBN_CLOSEUP 8
1699 #define CBN_SELENDOK 9
1700 #define CBN_SELENDCANCEL 10
1702 /* Combo box message return values */
1705 #define CB_ERRSPACE (-2)
1707 #define MB_OK 0x00000000
1708 #define MB_OKCANCEL 0x00000001
1709 #define MB_ABORTRETRYIGNORE 0x00000002
1710 #define MB_YESNOCANCEL 0x00000003
1711 #define MB_YESNO 0x00000004
1712 #define MB_RETRYCANCEL 0x00000005
1713 #define MB_TYPEMASK 0x0000000F
1715 #define MB_ICONHAND 0x00000010
1716 #define MB_ICONQUESTION 0x00000020
1717 #define MB_ICONEXCLAMATION 0x00000030
1718 #define MB_ICONASTERISK 0x00000040
1719 #define MB_USERICON 0x00000080
1720 #define MB_ICONMASK 0x000000F0
1722 #define MB_ICONINFORMATION MB_ICONASTERISK
1723 #define MB_ICONSTOP MB_ICONHAND
1724 #define MB_ICONWARNING MB_ICONEXCLAMATION
1725 #define MB_ICONERROR MB_ICONHAND
1727 #define MB_DEFBUTTON1 0x00000000
1728 #define MB_DEFBUTTON2 0x00000100
1729 #define MB_DEFBUTTON3 0x00000200
1730 #define MB_DEFBUTTON4 0x00000300
1731 #define MB_DEFMASK 0x00000F00
1733 #define MB_APPLMODAL 0x00000000
1734 #define MB_SYSTEMMODAL 0x00001000
1735 #define MB_TASKMODAL 0x00002000
1736 #define MB_MODEMASK 0x00003000
1738 #define MB_HELP 0x00004000
1739 #define MB_NOFOCUS 0x00008000
1740 #define MB_MISCMASK 0x0000C000
1742 #define MB_SETFOREGROUND 0x00010000
1743 #define MB_DEFAULT_DESKTOP_ONLY 0x00020000
1744 #define MB_SERVICE_NOTIFICATION 0x00040000
1745 #define MB_TOPMOST 0x00040000
1746 #define MB_RIGHT 0x00080000
1747 #define MB_RTLREADING 0x00100000
1749 #define HELPINFO_WINDOW 0x0001
1750 #define HELPINFO_MENUITEM 0x0002
1752 /* Structure pointed to by lParam of WM_HELP */
1755 UINT cbSize
; /* Size in bytes of this struct */
1756 INT iContextType
; /* Either HELPINFO_WINDOW or HELPINFO_MENUITEM */
1757 INT iCtrlId
; /* Control Id or a Menu item Id. */
1758 HANDLE hItemHandle
; /* hWnd of control or hMenu. */
1759 DWORD dwContextId
; /* Context Id associated with this item */
1760 POINT MousePos
; /* Mouse Position in screen co-ordinates */
1761 } HELPINFO
,*LPHELPINFO
;
1763 typedef void (CALLBACK
*MSGBOXCALLBACK
)(LPHELPINFO lpHelpInfo
);
1769 HINSTANCE hInstance
;
1774 DWORD dwContextHelpId
;
1775 MSGBOXCALLBACK lpfnMsgBoxCallback
;
1777 } MSGBOXPARAMSA
,*LPMSGBOXPARAMSA
;
1783 HINSTANCE hInstance
;
1785 LPCWSTR lpszCaption
;
1788 DWORD dwContextHelpId
;
1789 MSGBOXCALLBACK lpfnMsgBoxCallback
;
1791 } MSGBOXPARAMSW
,*LPMSGBOXPARAMSW
;
1793 DECL_WINELIB_TYPE_AW(MSGBOXPARAMS
)
1794 DECL_WINELIB_TYPE_AW(LPMSGBOXPARAMS
)
1796 typedef struct _numberfmt32a
{
1800 LPCSTR lpDecimalSep
;
1801 LPCSTR lpThousandSep
;
1805 typedef struct _numberfmt32w
{
1809 LPCWSTR lpDecimalSep
;
1810 LPCWSTR lpThousandSep
;
1814 #define MONITOR_DEFAULTTONULL 0x00000000
1815 #define MONITOR_DEFAULTTOPRIMARY 0x00000001
1816 #define MONITOR_DEFAULTTONEAREST 0x00000002
1818 #define MONITORINFOF_PRIMARY 0x00000001
1820 typedef struct tagMONITORINFO
1826 } MONITORINFO
, *LPMONITORINFO
;
1828 typedef struct tagMONITORINFOEXA
1831 CHAR szDevice
[CCHDEVICENAME
];
1832 } MONITORINFOEXA
, *LPMONITORINFOEXA
;
1834 typedef struct tagMONITORINFOEXW
1837 WCHAR szDevice
[CCHDEVICENAME
];
1838 } MONITORINFOEXW
, *LPMONITORINFOEXW
;
1840 DECL_WINELIB_TYPE_AW(MONITORINFOEX
)
1841 DECL_WINELIB_TYPE_AW(LPMONITORINFOEX
)
1843 typedef BOOL (CALLBACK
*MONITORENUMPROC
)(HMONITOR
,HDC
,LPRECT
,LPARAM
);
1845 /* FIXME: use this instead of LPCVOID for CreateDialogIndirectParam
1846 and DialogBoxIndirectParam */
1847 typedef struct tagDLGTEMPLATE
1850 DWORD dwExtendedStyle
;
1858 typedef DLGTEMPLATE
*LPDLGTEMPLATEA
;
1859 typedef DLGTEMPLATE
*LPDLGTEMPLATEW
;
1860 #define LPDLGTEMPLATE WINELIB_NAME_AW(LPDLGTEMPLATE)
1861 typedef const DLGTEMPLATE
*LPCDLGTEMPLATEA
;
1862 typedef const DLGTEMPLATE
*LPCDLGTEMPLATEW
;
1863 #define LPCDLGTEMPLATE WINELIB_NAME_AW(LPCDLGTEMPLATE)
1865 typedef struct tagDLGITEMTEMPLATE
1868 DWORD dwExtendedStyle
;
1876 typedef DLGITEMTEMPLATE
*LPDLGITEMTEMPLATEA
;
1877 typedef DLGITEMTEMPLATE
*LPDLGITEMTEMPLATEW
;
1878 #define LPDLGITEMTEMPLATE WINELIB_NAME_AW(LPDLGITEMTEMPLATE)
1879 typedef const DLGITEMTEMPLATE
*LPCDLGITEMTEMPLATEA
;
1880 typedef const DLGITEMTEMPLATE
*LPCDLGITEMTEMPLATEW
;
1881 #define LPCDLGITEMTEMPLATE WINELIB_NAME_AW(LPCDLGITEMTEMPLATE)
1884 /* CBT hook values */
1885 #define HCBT_MOVESIZE 0
1886 #define HCBT_MINMAX 1
1888 #define HCBT_CREATEWND 3
1889 #define HCBT_DESTROYWND 4
1890 #define HCBT_ACTIVATE 5
1891 #define HCBT_CLICKSKIPPED 6
1892 #define HCBT_KEYSKIPPED 7
1893 #define HCBT_SYSCOMMAND 8
1894 #define HCBT_SETFOCUS 9
1896 /* CBT hook structures */
1900 CREATESTRUCTA
*lpcs
;
1901 HWND hwndInsertAfter
;
1902 } CBT_CREATEWNDA
, *LPCBT_CREATEWNDA
;
1906 CREATESTRUCTW
*lpcs
;
1907 HWND hwndInsertAfter
;
1908 } CBT_CREATEWNDW
, *LPCBT_CREATEWNDW
;
1910 DECL_WINELIB_TYPE_AW(CBT_CREATEWND
)
1911 DECL_WINELIB_TYPE_AW(LPCBT_CREATEWND
)
1917 } CBTACTIVATESTRUCT
, *LPCBTACTIVATESTRUCT
;
1920 /* modifiers for RegisterHotKey */
1921 #define MOD_ALT 0x0001
1922 #define MOD_CONTROL 0x0002
1923 #define MOD_SHIFT 0x0004
1924 #define MOD_WIN 0x0008
1926 /* ids for RegisterHotKey */
1927 #define IDHOT_SNAPWINDOW (-1) /* SHIFT-PRINTSCRN */
1928 #define IDHOT_SNAPDESKTOP (-2) /* PRINTSCRN */
1930 /* keybd_event flags */
1931 #define KEYEVENTF_EXTENDEDKEY 0x0001
1932 #define KEYEVENTF_KEYUP 0x0002
1933 #define KEYEVENTF_WINE_FORCEEXTENDED 0x8000
1935 /* mouse_event flags */
1936 #define MOUSEEVENTF_MOVE 0x0001
1937 #define MOUSEEVENTF_LEFTDOWN 0x0002
1938 #define MOUSEEVENTF_LEFTUP 0x0004
1939 #define MOUSEEVENTF_RIGHTDOWN 0x0008
1940 #define MOUSEEVENTF_RIGHTUP 0x0010
1941 #define MOUSEEVENTF_MIDDLEDOWN 0x0020
1942 #define MOUSEEVENTF_MIDDLEUP 0x0040
1943 #define MOUSEEVENTF_ABSOLUTE 0x8000
1945 /* ExitWindows() flags */
1946 #define EW_RESTARTWINDOWS 0x0042
1947 #define EW_REBOOTSYSTEM 0x0043
1948 #define EW_EXITANDEXECAPP 0x0044
1950 /* ExitWindowsEx() flags */
1951 #define EWX_LOGOFF 0
1952 #define EWX_SHUTDOWN 1
1953 #define EWX_REBOOT 2
1955 #define EWX_POWEROFF 8
1957 /* SetLastErrorEx types */
1958 #define SLE_ERROR 0x00000001
1959 #define SLE_MINORERROR 0x00000002
1960 #define SLE_WARNING 0x00000003
1962 /* Predefined resources */
1963 #define IDI_APPLICATIONA MAKEINTRESOURCEA(32512)
1964 #define IDI_APPLICATIONW MAKEINTRESOURCEW(32512)
1965 #define IDI_APPLICATION WINELIB_NAME_AW(IDI_APPLICATION)
1966 #define IDI_HANDA MAKEINTRESOURCEA(32513)
1967 #define IDI_HANDW MAKEINTRESOURCEW(32513)
1968 #define IDI_HAND WINELIB_NAME_AW(IDI_HAND)
1969 #define IDI_QUESTIONA MAKEINTRESOURCEA(32514)
1970 #define IDI_QUESTIONW MAKEINTRESOURCEW(32514)
1971 #define IDI_QUESTION WINELIB_NAME_AW(IDI_QUESTION)
1972 #define IDI_EXCLAMATIONA MAKEINTRESOURCEA(32515)
1973 #define IDI_EXCLAMATIONW MAKEINTRESOURCEW(32515)
1974 #define IDI_EXCLAMATION WINELIB_NAME_AW(IDI_EXCLAMATION)
1975 #define IDI_ASTERISKA MAKEINTRESOURCEA(32516)
1976 #define IDI_ASTERISKW MAKEINTRESOURCEW(32516)
1977 #define IDI_ASTERISK WINELIB_NAME_AW(IDI_ASTERISK)
1979 #define IDC_BUMMERA MAKEINTRESOURCEA(100)
1980 #define IDC_BUMMERW MAKEINTRESOURCEW(100)
1981 #define IDC_BUMMER WINELIB_NAME_AW(IDC_BUMMER)
1982 #define IDC_ARROWA MAKEINTRESOURCEA(32512)
1983 #define IDC_ARROWW MAKEINTRESOURCEW(32512)
1984 #define IDC_ARROW WINELIB_NAME_AW(IDC_ARROW)
1985 #define IDC_IBEAMA MAKEINTRESOURCEA(32513)
1986 #define IDC_IBEAMW MAKEINTRESOURCEW(32513)
1987 #define IDC_IBEAM WINELIB_NAME_AW(IDC_IBEAM)
1988 #define IDC_WAITA MAKEINTRESOURCEA(32514)
1989 #define IDC_WAITW MAKEINTRESOURCEW(32514)
1990 #define IDC_WAIT WINELIB_NAME_AW(IDC_WAIT)
1991 #define IDC_CROSSA MAKEINTRESOURCEA(32515)
1992 #define IDC_CROSSW MAKEINTRESOURCEW(32515)
1993 #define IDC_CROSS WINELIB_NAME_AW(IDC_CROSS)
1994 #define IDC_UPARROWA MAKEINTRESOURCEA(32516)
1995 #define IDC_UPARROWW MAKEINTRESOURCEW(32516)
1996 #define IDC_UPARROW WINELIB_NAME_AW(IDC_UPARROW)
1997 #define IDC_SIZEA MAKEINTRESOURCEA(32640)
1998 #define IDC_SIZEW MAKEINTRESOURCEW(32640)
1999 #define IDC_SIZE WINELIB_NAME_AW(IDC_SIZE)
2000 #define IDC_ICONA MAKEINTRESOURCEA(32641)
2001 #define IDC_ICONW MAKEINTRESOURCEW(32641)
2002 #define IDC_ICON WINELIB_NAME_AW(IDC_ICON)
2003 #define IDC_SIZENWSEA MAKEINTRESOURCEA(32642)
2004 #define IDC_SIZENWSEW MAKEINTRESOURCEW(32642)
2005 #define IDC_SIZENWSE WINELIB_NAME_AW(IDC_SIZENWSE)
2006 #define IDC_SIZENESWA MAKEINTRESOURCEA(32643)
2007 #define IDC_SIZENESWW MAKEINTRESOURCEW(32643)
2008 #define IDC_SIZENESW WINELIB_NAME_AW(IDC_SIZENESW)
2009 #define IDC_SIZEWEA MAKEINTRESOURCEA(32644)
2010 #define IDC_SIZEWEW MAKEINTRESOURCEW(32644)
2011 #define IDC_SIZEWE WINELIB_NAME_AW(IDC_SIZEWE)
2012 #define IDC_SIZENSA MAKEINTRESOURCEA(32645)
2013 #define IDC_SIZENSW MAKEINTRESOURCEW(32645)
2014 #define IDC_SIZENS WINELIB_NAME_AW(IDC_SIZENS)
2015 #define IDC_SIZEALLA MAKEINTRESOURCEA(32646)
2016 #define IDC_SIZEALLW MAKEINTRESOURCEW(32646)
2017 #define IDC_SIZEALL WINELIB_NAME_AW(IDC_SIZEALL)
2018 #define IDC_NOA MAKEINTRESOURCEA(32648)
2019 #define IDC_NOW MAKEINTRESOURCEW(32648)
2020 #define IDC_NO WINELIB_NAME_AW(IDC_NO)
2021 #define IDC_APPSTARTINGA MAKEINTRESOURCEA(32650)
2022 #define IDC_APPSTARTINGW MAKEINTRESOURCEW(32650)
2023 #define IDC_APPSTARTING WINELIB_NAME_AW(IDC_APPSTARTING)
2024 #define IDC_HELPA MAKEINTRESOURCEA(32651)
2025 #define IDC_HELPW MAKEINTRESOURCEW(32651)
2026 #define IDC_HELP WINELIB_NAME_AW(IDC_HELP)
2028 /* SystemParametersInfo */
2029 /* defines below are for all win versions */
2030 #define SPI_GETBEEP 1
2031 #define SPI_SETBEEP 2
2032 #define SPI_GETMOUSE 3
2033 #define SPI_SETMOUSE 4
2034 #define SPI_GETBORDER 5
2035 #define SPI_SETBORDER 6
2036 #define SPI_GETKEYBOARDSPEED 10
2037 #define SPI_SETKEYBOARDSPEED 11
2038 #define SPI_LANGDRIVER 12
2039 #define SPI_ICONHORIZONTALSPACING 13
2040 #define SPI_GETSCREENSAVETIMEOUT 14
2041 #define SPI_SETSCREENSAVETIMEOUT 15
2042 #define SPI_GETSCREENSAVEACTIVE 16
2043 #define SPI_SETSCREENSAVEACTIVE 17
2044 #define SPI_GETGRIDGRANULARITY 18
2045 #define SPI_SETGRIDGRANULARITY 19
2046 #define SPI_SETDESKWALLPAPER 20
2047 #define SPI_SETDESKPATTERN 21
2048 #define SPI_GETKEYBOARDDELAY 22
2049 #define SPI_SETKEYBOARDDELAY 23
2050 #define SPI_ICONVERTICALSPACING 24
2051 #define SPI_GETICONTITLEWRAP 25
2052 #define SPI_SETICONTITLEWRAP 26
2053 #define SPI_GETMENUDROPALIGNMENT 27
2054 #define SPI_SETMENUDROPALIGNMENT 28
2055 #define SPI_SETDOUBLECLKWIDTH 29
2056 #define SPI_SETDOUBLECLKHEIGHT 30
2057 #define SPI_GETICONTITLELOGFONT 31
2058 #define SPI_SETDOUBLECLICKTIME 32
2059 #define SPI_SETMOUSEBUTTONSWAP 33
2060 #define SPI_SETICONTITLELOGFONT 34
2061 #define SPI_GETFASTTASKSWITCH 35
2062 #define SPI_SETFASTTASKSWITCH 36
2063 #define SPI_SETDRAGFULLWINDOWS 37
2064 #define SPI_GETDRAGFULLWINDOWS 38
2066 #define SPI_GETFILTERKEYS 50
2067 #define SPI_SETFILTERKEYS 51
2068 #define SPI_GETTOGGLEKEYS 52
2069 #define SPI_SETTOGGLEKEYS 53
2070 #define SPI_GETMOUSEKEYS 54
2071 #define SPI_SETMOUSEKEYS 55
2072 #define SPI_GETSHOWSOUNDS 56
2073 #define SPI_SETSHOWSOUNDS 57
2074 #define SPI_GETSTICKYKEYS 58
2075 #define SPI_SETSTICKYKEYS 59
2076 #define SPI_GETACCESSTIMEOUT 60
2077 #define SPI_SETACCESSTIMEOUT 61
2079 #define SPI_GETSOUNDSENTRY 64
2080 #define SPI_SETSOUNDSENTRY 65
2082 /* defines below are for all win versions WINVER >= 0x0400 */
2083 #define SPI_SETDRAGFULLWINDOWS 37
2084 #define SPI_GETDRAGFULLWINDOWS 38
2085 #define SPI_GETNONCLIENTMETRICS 41
2086 #define SPI_SETNONCLIENTMETRICS 42
2087 #define SPI_GETMINIMIZEDMETRICS 43
2088 #define SPI_SETMINIMIZEDMETRICS 44
2089 #define SPI_GETICONMETRICS 45
2090 #define SPI_SETICONMETRICS 46
2091 #define SPI_SETWORKAREA 47
2092 #define SPI_GETWORKAREA 48
2093 #define SPI_SETPENWINDOWS 49
2095 #define SPI_GETSERIALKEYS 62
2096 #define SPI_SETSERIALKEYS 63
2097 #define SPI_GETHIGHCONTRAST 66
2098 #define SPI_SETHIGHCONTRAST 67
2099 #define SPI_GETKEYBOARDPREF 68
2100 #define SPI_SETKEYBOARDPREF 69
2101 #define SPI_GETSCREENREADER 70
2102 #define SPI_SETSCREENREADER 71
2103 #define SPI_GETANIMATION 72
2104 #define SPI_SETANIMATION 73
2105 #define SPI_GETFONTSMOOTHING 74
2106 #define SPI_SETFONTSMOOTHING 75
2107 #define SPI_SETDRAGWIDTH 76
2108 #define SPI_SETDRAGHEIGHT 77
2109 #define SPI_SETHANDHELD 78
2110 #define SPI_GETLOWPOWERTIMEOUT 79
2111 #define SPI_GETPOWEROFFTIMEOUT 80
2112 #define SPI_SETLOWPOWERTIMEOUT 81
2113 #define SPI_SETPOWEROFFTIMEOUT 82
2114 #define SPI_GETLOWPOWERACTIVE 83
2115 #define SPI_GETPOWEROFFACTIVE 84
2116 #define SPI_SETLOWPOWERACTIVE 85
2117 #define SPI_SETPOWEROFFACTIVE 86
2118 #define SPI_SETCURSORS 87
2119 #define SPI_SETICONS 88
2120 #define SPI_GETDEFAULTINPUTLANG 89
2121 #define SPI_SETDEFAULTINPUTLANG 90
2122 #define SPI_SETLANGTOGGLE 91
2123 #define SPI_GETWINDOWSEXTENSION 92
2124 #define SPI_SETMOUSETRAILS 93
2125 #define SPI_GETMOUSETRAILS 94
2126 #define SPI_SETSCREENSAVERRUNNING 97
2127 #define SPI_SCREENSAVERRUNNING SPI_SETSCREENSAVERRUNNING
2129 /* defines below are for all win versions (_WIN32_WINNT >= 0x0400) ||
2130 * (_WIN32_WINDOWS > 0x0400) */
2131 #define SPI_GETMOUSEHOVERWIDTH 98
2132 #define SPI_SETMOUSEHOVERWIDTH 99
2133 #define SPI_GETMOUSEHOVERHEIGHT 100
2134 #define SPI_SETMOUSEHOVERHEIGHT 101
2135 #define SPI_GETMOUSEHOVERTIME 102
2136 #define SPI_SETMOUSEHOVERTIME 103
2137 #define SPI_GETWHEELSCROLLLINES 104
2138 #define SPI_SETWHEELSCROLLLINES 105
2140 #define SPI_GETSHOWIMEUI 110
2141 #define SPI_SETSHOWIMEUI 111
2143 /* defines below are for all win versions WINVER >= 0x0500 */
2144 #define SPI_GETMOUSESPEED 112
2145 #define SPI_SETMOUSESPEED 113
2146 #define SPI_GETSCREENSAVERRUNNING 114
2148 #define SPI_GETACTIVEWINDOWTRACKING 0x1000
2149 #define SPI_SETACTIVEWINDOWTRACKING 0x1001
2150 #define SPI_GETMENUANIMATION 0x1002
2151 #define SPI_SETMENUANIMATION 0x1003
2152 #define SPI_GETCOMBOBOXANIMATION 0x1004
2153 #define SPI_SETCOMBOBOXANIMATION 0x1005
2154 #define SPI_GETLISTBOXSMOOTHSCROLLING 0x1006
2155 #define SPI_SETLISTBOXSMOOTHSCROLLING 0x1007
2156 #define SPI_GETGRADIENTCAPTIONS 0x1008
2157 #define SPI_SETGRADIENTCAPTIONS 0x1009
2158 #define SPI_GETMENUUNDERLINES 0x100A
2159 #define SPI_SETMENUUNDERLINES 0x100B
2160 #define SPI_GETACTIVEWNDTRKZORDER 0x100C
2161 #define SPI_SETACTIVEWNDTRKZORDER 0x100D
2162 #define SPI_GETHOTTRACKING 0x100E
2163 #define SPI_SETHOTTRACKING 0x100F
2164 #define SPI_GETFOREGROUNDLOCKTIMEOUT 0x2000
2165 #define SPI_SETFOREGROUNDLOCKTIMEOUT 0x2001
2166 #define SPI_GETACTIVEWNDTRKTIMEOUT 0x2002
2167 #define SPI_SETACTIVEWNDTRKTIMEOUT 0x2003
2168 #define SPI_GETFOREGROUNDFLASHCOUNT 0x2004
2169 #define SPI_SETFOREGROUNDFLASHCOUNT 0x2005
2171 /* SystemParametersInfo flags */
2173 #define SPIF_UPDATEINIFILE 1
2174 #define SPIF_SENDWININICHANGE 2
2175 #define SPIF_SENDCHANGE SPIF_SENDWININICHANGE
2184 LOGFONTA lfCaptionFont
;
2185 INT iSmCaptionWidth
;
2186 INT iSmCaptionHeight
;
2187 LOGFONTA lfSmCaptionFont
;
2190 LOGFONTA lfMenuFont
;
2191 LOGFONTA lfStatusFont
;
2192 LOGFONTA lfMessageFont
;
2193 } NONCLIENTMETRICSA
,*LPNONCLIENTMETRICSA
;
2202 LOGFONTW lfCaptionFont
;
2203 INT iSmCaptionWidth
;
2204 INT iSmCaptionHeight
;
2205 LOGFONTW lfSmCaptionFont
;
2208 LOGFONTW lfMenuFont
;
2209 LOGFONTW lfStatusFont
;
2210 LOGFONTW lfMessageFont
;
2211 } NONCLIENTMETRICSW
,*LPNONCLIENTMETRICSW
;
2213 DECL_WINELIB_TYPE_AW(NONCLIENTMETRICS
)
2214 DECL_WINELIB_TYPE_AW(LPNONCLIENTMETRICS
)
2218 #define WS_OVERLAPPED 0x00000000L
2219 #define WS_POPUP 0x80000000L
2220 #define WS_CHILD 0x40000000L
2221 #define WS_MINIMIZE 0x20000000L
2222 #define WS_VISIBLE 0x10000000L
2223 #define WS_DISABLED 0x08000000L
2224 #define WS_CLIPSIBLINGS 0x04000000L
2225 #define WS_CLIPCHILDREN 0x02000000L
2226 #define WS_MAXIMIZE 0x01000000L
2227 #define WS_CAPTION 0x00C00000L
2228 #define WS_BORDER 0x00800000L
2229 #define WS_DLGFRAME 0x00400000L
2230 #define WS_VSCROLL 0x00200000L
2231 #define WS_HSCROLL 0x00100000L
2232 #define WS_SYSMENU 0x00080000L
2233 #define WS_THICKFRAME 0x00040000L
2234 #define WS_GROUP 0x00020000L
2235 #define WS_TABSTOP 0x00010000L
2236 #define WS_MINIMIZEBOX 0x00020000L
2237 #define WS_MAXIMIZEBOX 0x00010000L
2238 #define WS_TILED WS_OVERLAPPED
2239 #define WS_ICONIC WS_MINIMIZE
2240 #define WS_SIZEBOX WS_THICKFRAME
2241 #define WS_OVERLAPPEDWINDOW (WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME| WS_MINIMIZEBOX | WS_MAXIMIZEBOX)
2242 #define WS_POPUPWINDOW (WS_POPUP | WS_BORDER | WS_SYSMENU)
2243 #define WS_CHILDWINDOW (WS_CHILD)
2244 #define WS_TILEDWINDOW (WS_OVERLAPPEDWINDOW)
2246 /* Window extended styles */
2247 #define WS_EX_DLGMODALFRAME 0x00000001L
2248 #define WS_EX_DRAGDETECT 0x00000002L
2249 #define WS_EX_NOPARENTNOTIFY 0x00000004L
2250 #define WS_EX_TOPMOST 0x00000008L
2251 #define WS_EX_ACCEPTFILES 0x00000010L
2252 #define WS_EX_TRANSPARENT 0x00000020L
2254 /* New Win95/WinNT4 styles */
2255 #define WS_EX_MDICHILD 0x00000040L
2256 #define WS_EX_TOOLWINDOW 0x00000080L
2257 #define WS_EX_WINDOWEDGE 0x00000100L
2258 #define WS_EX_CLIENTEDGE 0x00000200L
2259 #define WS_EX_CONTEXTHELP 0x00000400L
2260 #define WS_EX_RIGHT 0x00001000L
2261 #define WS_EX_LEFT 0x00000000L
2262 #define WS_EX_RTLREADING 0x00002000L
2263 #define WS_EX_LTRREADING 0x00000000L
2264 #define WS_EX_LEFTSCROLLBAR 0x00004000L
2265 #define WS_EX_RIGHTSCROLLBAR 0x00000000L
2266 #define WS_EX_CONTROLPARENT 0x00010000L
2267 #define WS_EX_STATICEDGE 0x00020000L
2268 #define WS_EX_APPWINDOW 0x00040000L
2270 #define WS_EX_OVERLAPPEDWINDOW (WS_EX_WINDOWEDGE|WS_EX_CLIENTEDGE)
2271 #define WS_EX_PALETTEWINDOW (WS_EX_WINDOWEDGE|WS_EX_TOOLWINDOW|WS_EX_TOPMOST)
2273 /* Window scrolling */
2274 #define SW_SCROLLCHILDREN 0x0001
2275 #define SW_INVALIDATE 0x0002
2276 #define SW_ERASE 0x0004
2278 /* CreateWindow() coordinates */
2279 #define CW_USEDEFAULT ((INT)0x80000000)
2281 /* ChildWindowFromPointEx Flags */
2282 #define CWP_ALL 0x0000
2283 #define CWP_SKIPINVISIBLE 0x0001
2284 #define CWP_SKIPDISABLED 0x0002
2285 #define CWP_SKIPTRANSPARENT 0x0004
2287 /* PeekMessage() options */
2288 #define PM_NOREMOVE 0x0000
2289 #define PM_REMOVE 0x0001
2290 #define PM_NOYIELD 0x0002
2292 /* WM_SHOWWINDOW wParam codes */
2293 #define SW_PARENTCLOSING 1
2294 #define SW_OTHERMAXIMIZED 2
2295 #define SW_PARENTOPENING 3
2296 #define SW_OTHERRESTORED 4
2298 /* ShowWindow() codes */
2300 #define SW_SHOWNORMAL 1
2302 #define SW_SHOWMINIMIZED 2
2303 #define SW_SHOWMAXIMIZED 3
2304 #define SW_MAXIMIZE 3
2305 #define SW_SHOWNOACTIVATE 4
2307 #define SW_MINIMIZE 6
2308 #define SW_SHOWMINNOACTIVE 7
2310 #define SW_RESTORE 9
2311 #define SW_SHOWDEFAULT 10
2313 #define SW_NORMALNA 0xCC /* undoc. flag in MinMaximize */
2315 /* WM_SIZE message wParam values */
2316 #define SIZE_RESTORED 0
2317 #define SIZE_MINIMIZED 1
2318 #define SIZE_MAXIMIZED 2
2319 #define SIZE_MAXSHOW 3
2320 #define SIZE_MAXHIDE 4
2321 #define SIZENORMAL SIZE_RESTORED
2322 #define SIZEICONIC SIZE_MINIMIZED
2323 #define SIZEFULLSCREEN SIZE_MAXIMIZED
2324 #define SIZEZOOMSHOW SIZE_MAXSHOW
2325 #define SIZEZOOMHIDE SIZE_MAXHIDE
2327 /* SetWindowPos() and WINDOWPOS flags */
2328 #define SWP_NOSIZE 0x0001
2329 #define SWP_NOMOVE 0x0002
2330 #define SWP_NOZORDER 0x0004
2331 #define SWP_NOREDRAW 0x0008
2332 #define SWP_NOACTIVATE 0x0010
2333 #define SWP_FRAMECHANGED 0x0020 /* The frame changed: send WM_NCCALCSIZE */
2334 #define SWP_SHOWWINDOW 0x0040
2335 #define SWP_HIDEWINDOW 0x0080
2336 #define SWP_NOCOPYBITS 0x0100
2337 #define SWP_NOOWNERZORDER 0x0200 /* Don't do owner Z ordering */
2339 #define SWP_DRAWFRAME SWP_FRAMECHANGED
2340 #define SWP_NOREPOSITION SWP_NOOWNERZORDER
2342 #define SWP_NOSENDCHANGING 0x0400
2343 #define SWP_DEFERERASE 0x2000
2344 #define SWP_ASYNCWINDOWPOS 0x4000
2346 #define HWND_DESKTOP ((HWND)0)
2347 #define HWND_BROADCAST ((HWND)0xffff)
2349 /* SetWindowPos() hwndInsertAfter field values */
2350 #define HWND_TOP ((HWND)0)
2351 #define HWND_BOTTOM ((HWND)1)
2352 #define HWND_TOPMOST ((HWND)-1)
2353 #define HWND_NOTOPMOST ((HWND)-2)
2355 #define MF_INSERT 0x0000
2356 #define MF_CHANGE 0x0080
2357 #define MF_APPEND 0x0100
2358 #define MF_DELETE 0x0200
2359 #define MF_REMOVE 0x1000
2360 #define MF_END 0x0080
2362 #define MF_ENABLED 0x0000
2363 #define MF_GRAYED 0x0001
2364 #define MF_DISABLED 0x0002
2365 #define MF_STRING 0x0000
2366 #define MF_BITMAP 0x0004
2367 #define MF_UNCHECKED 0x0000
2368 #define MF_CHECKED 0x0008
2369 #define MF_POPUP 0x0010
2370 #define MF_MENUBARBREAK 0x0020
2371 #define MF_MENUBREAK 0x0040
2372 #define MF_UNHILITE 0x0000
2373 #define MF_HILITE 0x0080
2374 #define MF_OWNERDRAW 0x0100
2375 #define MF_USECHECKBITMAPS 0x0200
2376 #define MF_BYCOMMAND 0x0000
2377 #define MF_BYPOSITION 0x0400
2378 #define MF_SEPARATOR 0x0800
2379 #define MF_DEFAULT 0x1000
2380 #define MF_SYSMENU 0x2000
2381 #define MF_HELP 0x4000
2382 #define MF_RIGHTJUSTIFY 0x4000
2383 #define MF_MOUSESELECT 0x8000
2385 /* Flags for extended menu item types. */
2386 #define MFT_STRING MF_STRING
2387 #define MFT_BITMAP MF_BITMAP
2388 #define MFT_MENUBARBREAK MF_MENUBARBREAK
2389 #define MFT_MENUBREAK MF_MENUBREAK
2390 #define MFT_OWNERDRAW MF_OWNERDRAW
2391 #define MFT_RADIOCHECK 0x00000200L
2392 #define MFT_SEPARATOR MF_SEPARATOR
2393 #define MFT_RIGHTORDER 0x00002000L
2394 #define MFT_RIGHTJUSTIFY MF_RIGHTJUSTIFY
2396 /* Flags for extended menu item states. */
2397 #define MFS_GRAYED 0x00000003L
2398 #define MFS_DISABLED MFS_GRAYED
2399 #define MFS_CHECKED MF_CHECKED
2400 #define MFS_HILITE MF_HILITE
2401 #define MFS_ENABLED MF_ENABLED
2402 #define MFS_UNCHECKED MF_UNCHECKED
2403 #define MFS_UNHILITE MF_UNHILITE
2404 #define MFS_DEFAULT MF_DEFAULT
2405 #define MFS_MASK 0x0000108BL
2406 #define MFS_HOTTRACKDRAWN 0x10000000L
2407 #define MFS_CACHEDBMP 0x20000000L
2408 #define MFS_BOTTOMGAPDROP 0x40000000L
2409 #define MFS_TOPGAPDROP 0x80000000L
2410 #define MFS_GAPDROP 0xC0000000L
2412 /* for GetMenuDefaultItem */
2413 #define GMDI_USEDISABLED 0x0001L
2414 #define GMDI_GOINTOPOPUPS 0x0002L
2420 #define DT_VCENTER 4
2422 #define DT_WORDBREAK 16
2423 #define DT_SINGLELINE 32
2424 #define DT_EXPANDTABS 64
2425 #define DT_TABSTOP 128
2426 #define DT_NOCLIP 256
2427 #define DT_EXTERNALLEADING 512
2428 #define DT_CALCRECT 1024
2429 #define DT_NOPREFIX 2048
2430 #define DT_INTERNAL 4096
2432 /* DrawCaption()/DrawCaptionTemp() flags */
2433 #define DC_ACTIVE 0x0001
2434 #define DC_SMALLCAP 0x0002
2435 #define DC_ICON 0x0004
2436 #define DC_TEXT 0x0008
2437 #define DC_INBUTTON 0x0010
2439 /* DrawEdge() flags */
2440 #define BDR_RAISEDOUTER 0x0001
2441 #define BDR_SUNKENOUTER 0x0002
2442 #define BDR_RAISEDINNER 0x0004
2443 #define BDR_SUNKENINNER 0x0008
2445 #define BDR_OUTER 0x0003
2446 #define BDR_INNER 0x000c
2447 #define BDR_RAISED 0x0005
2448 #define BDR_SUNKEN 0x000a
2450 #define EDGE_RAISED (BDR_RAISEDOUTER | BDR_RAISEDINNER)
2451 #define EDGE_SUNKEN (BDR_SUNKENOUTER | BDR_SUNKENINNER)
2452 #define EDGE_ETCHED (BDR_SUNKENOUTER | BDR_RAISEDINNER)
2453 #define EDGE_BUMP (BDR_RAISEDOUTER | BDR_SUNKENINNER)
2456 #define BF_LEFT 0x0001
2457 #define BF_TOP 0x0002
2458 #define BF_RIGHT 0x0004
2459 #define BF_BOTTOM 0x0008
2460 #define BF_DIAGONAL 0x0010
2461 #define BF_MIDDLE 0x0800 /* Fill in the middle */
2462 #define BF_SOFT 0x1000 /* For softer buttons */
2463 #define BF_ADJUST 0x2000 /* Calculate the space left over */
2464 #define BF_FLAT 0x4000 /* For flat rather than 3D borders */
2465 #define BF_MONO 0x8000 /* For monochrome borders */
2466 #define BF_TOPLEFT (BF_TOP | BF_LEFT)
2467 #define BF_TOPRIGHT (BF_TOP | BF_RIGHT)
2468 #define BF_BOTTOMLEFT (BF_BOTTOM | BF_LEFT)
2469 #define BF_BOTTOMRIGHT (BF_BOTTOM | BF_RIGHT)
2470 #define BF_RECT (BF_LEFT | BF_TOP | BF_RIGHT | BF_BOTTOM)
2471 #define BF_DIAGONAL_ENDTOPRIGHT (BF_DIAGONAL | BF_TOP | BF_RIGHT)
2472 #define BF_DIAGONAL_ENDTOPLEFT (BF_DIAGONAL | BF_TOP | BF_LEFT)
2473 #define BF_DIAGONAL_ENDBOTTOMLEFT (BF_DIAGONAL | BF_BOTTOM | BF_LEFT)
2474 #define BF_DIAGONAL_ENDBOTTOMRIGHT (BF_DIAGONAL | BF_BOTTOM | BF_RIGHT)
2476 /* DrawFrameControl() uType's */
2478 #define DFC_CAPTION 1
2480 #define DFC_SCROLL 3
2481 #define DFC_BUTTON 4
2485 #define DFCS_CAPTIONCLOSE 0x0000
2486 #define DFCS_CAPTIONMIN 0x0001
2487 #define DFCS_CAPTIONMAX 0x0002
2488 #define DFCS_CAPTIONRESTORE 0x0003
2489 #define DFCS_CAPTIONHELP 0x0004 /* Windows 95 only */
2491 #define DFCS_MENUARROW 0x0000
2492 #define DFCS_MENUCHECK 0x0001
2493 #define DFCS_MENUBULLET 0x0002
2494 #define DFCS_MENUARROWRIGHT 0x0004
2496 #define DFCS_SCROLLUP 0x0000
2497 #define DFCS_SCROLLDOWN 0x0001
2498 #define DFCS_SCROLLLEFT 0x0002
2499 #define DFCS_SCROLLRIGHT 0x0003
2500 #define DFCS_SCROLLCOMBOBOX 0x0005
2501 #define DFCS_SCROLLSIZEGRIP 0x0008
2502 #define DFCS_SCROLLSIZEGRIPRIGHT 0x0010
2504 #define DFCS_BUTTONCHECK 0x0000
2505 #define DFCS_BUTTONRADIOIMAGE 0x0001
2506 #define DFCS_BUTTONRADIOMASK 0x0002 /* to draw nonsquare button */
2507 #define DFCS_BUTTONRADIO 0x0004
2508 #define DFCS_BUTTON3STATE 0x0008
2509 #define DFCS_BUTTONPUSH 0x0010
2511 /* additional state of the control */
2513 #define DFCS_INACTIVE 0x0100
2514 #define DFCS_PUSHED 0x0200
2515 #define DFCS_CHECKED 0x0400
2516 #define DFCS_ADJUSTRECT 0x2000 /* exclude surrounding edge */
2517 #define DFCS_FLAT 0x4000
2518 #define DFCS_MONO 0x8000
2521 #define DST_COMPLEX 0x0000
2522 #define DST_TEXT 0x0001
2523 #define DST_PREFIXTEXT 0x0002
2524 #define DST_ICON 0x0003
2525 #define DST_BITMAP 0x0004
2528 #define DSS_NORMAL 0x0000
2529 #define DSS_UNION 0x0010 /* Gray string appearance */
2530 #define DSS_DISABLED 0x0020
2531 #define DSS_DEFAULT 0x0040 /* Make it bold */
2532 #define DSS_MONO 0x0080
2533 #define DSS_RIGHT 0x8000
2544 RECT rcItem WINE_PACKED
;
2545 DWORD itemData WINE_PACKED
;
2546 } DRAWITEMSTRUCT
, *PDRAWITEMSTRUCT
, *LPDRAWITEMSTRUCT
;
2557 } MEASUREITEMSTRUCT
, *PMEASUREITEMSTRUCT
, *LPMEASUREITEMSTRUCT
;
2567 } DELETEITEMSTRUCT
, *LPDELETEITEMSTRUCT
;
2580 } COMPAREITEMSTRUCT
, *PCOMPAREITEMSTRUCT
, *LPCOMPAREITEMSTRUCT
;
2583 /* WM_KEYUP/DOWN/CHAR HIWORD(lParam) flags */
2584 #define KF_EXTENDED 0x0100
2585 #define KF_DLGMODE 0x0800
2586 #define KF_MENUMODE 0x1000
2587 #define KF_ALTDOWN 0x2000
2588 #define KF_REPEAT 0x4000
2589 #define KF_UP 0x8000
2591 /* Virtual key codes */
2592 #define VK_LBUTTON 0x01
2593 #define VK_RBUTTON 0x02
2594 #define VK_CANCEL 0x03
2595 #define VK_MBUTTON 0x04
2596 /* 0x05-0x07 Undefined */
2597 #define VK_BACK 0x08
2599 /* 0x0A-0x0B Undefined */
2600 #define VK_CLEAR 0x0C
2601 #define VK_RETURN 0x0D
2602 /* 0x0E-0x0F Undefined */
2603 #define VK_SHIFT 0x10
2604 #define VK_CONTROL 0x11
2605 #define VK_MENU 0x12
2606 #define VK_PAUSE 0x13
2607 #define VK_CAPITAL 0x14
2608 /* 0x15-0x19 Reserved for Kanji systems */
2609 /* 0x1A Undefined */
2610 #define VK_ESCAPE 0x1B
2611 /* 0x1C-0x1F Reserved for Kanji systems */
2612 #define VK_SPACE 0x20
2613 #define VK_PRIOR 0x21
2614 #define VK_NEXT 0x22
2616 #define VK_HOME 0x24
2617 #define VK_LEFT 0x25
2619 #define VK_RIGHT 0x27
2620 #define VK_DOWN 0x28
2621 #define VK_SELECT 0x29
2622 #define VK_PRINT 0x2A /* OEM specific in Windows 3.1 SDK */
2623 #define VK_EXECUTE 0x2B
2624 #define VK_SNAPSHOT 0x2C
2625 #define VK_INSERT 0x2D
2626 #define VK_DELETE 0x2E
2627 #define VK_HELP 0x2F
2638 /* 0x3A-0x40 Undefined */
2666 #define VK_LWIN 0x5B
2667 #define VK_RWIN 0x5C
2668 #define VK_APPS 0x5D
2669 /* 0x5E-0x5F Unassigned */
2670 #define VK_NUMPAD0 0x60
2671 #define VK_NUMPAD1 0x61
2672 #define VK_NUMPAD2 0x62
2673 #define VK_NUMPAD3 0x63
2674 #define VK_NUMPAD4 0x64
2675 #define VK_NUMPAD5 0x65
2676 #define VK_NUMPAD6 0x66
2677 #define VK_NUMPAD7 0x67
2678 #define VK_NUMPAD8 0x68
2679 #define VK_NUMPAD9 0x69
2680 #define VK_MULTIPLY 0x6A
2682 #define VK_SEPARATOR 0x6C
2683 #define VK_SUBTRACT 0x6D
2684 #define VK_DECIMAL 0x6E
2685 #define VK_DIVIDE 0x6F
2710 /* 0x88-0x8F Unassigned */
2711 #define VK_NUMLOCK 0x90
2712 #define VK_SCROLL 0x91
2713 /* 0x92-0x9F Unassigned */
2715 * differencing between right and left shift/control/alt key.
2716 * Used only by GetAsyncKeyState() and GetKeyState().
2718 #define VK_LSHIFT 0xA0
2719 #define VK_RSHIFT 0xA1
2720 #define VK_LCONTROL 0xA2
2721 #define VK_RCONTROL 0xA3
2722 #define VK_LMENU 0xA4
2723 #define VK_RMENU 0xA5
2724 /* 0xA6-0xB9 Unassigned */
2725 #define VK_OEM_1 0xBA
2726 #define VK_OEM_PLUS 0xBB
2727 #define VK_OEM_COMMA 0xBC
2728 #define VK_OEM_MINUS 0xBD
2729 #define VK_OEM_PERIOD 0xBE
2730 #define VK_OEM_2 0xBF
2731 #define VK_OEM_3 0xC0
2732 /* 0xC1-0xDA Unassigned */
2733 #define VK_OEM_4 0xDB
2734 #define VK_OEM_5 0xDC
2735 #define VK_OEM_6 0xDD
2736 #define VK_OEM_7 0xDE
2737 /* 0xDF-0xE4 OEM specific */
2739 #define VK_PROCESSKEY 0xE5
2741 /* 0xE6 OEM specific */
2742 /* 0xE7-0xE8 Unassigned */
2743 /* 0xE9-0xF5 OEM specific */
2745 #define VK_ATTN 0xF6
2746 #define VK_CRSEL 0xF7
2747 #define VK_EXSEL 0xF8
2748 #define VK_EREOF 0xF9
2749 #define VK_PLAY 0xFA
2750 #define VK_ZOOM 0xFB
2751 #define VK_NONAME 0xFC
2753 #define VK_OEM_CLEAR 0xFE
2755 /* Key status flags for mouse events */
2756 #define MK_LBUTTON 0x0001
2757 #define MK_RBUTTON 0x0002
2758 #define MK_SHIFT 0x0004
2759 #define MK_CONTROL 0x0008
2760 #define MK_MBUTTON 0x0010
2762 /* Queue status flags */
2763 #define QS_KEY 0x0001
2764 #define QS_MOUSEMOVE 0x0002
2765 #define QS_MOUSEBUTTON 0x0004
2766 #define QS_MOUSE (QS_MOUSEMOVE | QS_MOUSEBUTTON)
2767 #define QS_POSTMESSAGE 0x0008
2768 #define QS_TIMER 0x0010
2769 #define QS_PAINT 0x0020
2770 #define QS_SENDMESSAGE 0x0040
2771 #define QS_HOTKEY 0x0080
2772 #define QS_INPUT (QS_MOUSE | QS_KEY)
2773 #define QS_ALLEVENTS (QS_INPUT | QS_POSTMESSAGE | QS_TIMER | QS_PAINT | QS_HOTKEY)
2774 #define QS_ALLINPUT (QS_ALLEVENTS | QS_SENDMESSAGE)
2776 #define DDL_READWRITE 0x0000
2777 #define DDL_READONLY 0x0001
2778 #define DDL_HIDDEN 0x0002
2779 #define DDL_SYSTEM 0x0004
2780 #define DDL_DIRECTORY 0x0010
2781 #define DDL_ARCHIVE 0x0020
2783 #define DDL_POSTMSGS 0x2000
2784 #define DDL_DRIVES 0x4000
2785 #define DDL_EXCLUSIVE 0x8000
2787 /* Shell hook values */
2788 #define HSHELL_WINDOWCREATED 1
2789 #define HSHELL_WINDOWDESTROYED 2
2790 #define HSHELL_ACTIVATESHELLWINDOW 3
2792 /* Predefined Clipboard Formats */
2795 #define CF_METAFILEPICT 3
2799 #define CF_OEMTEXT 7
2801 #define CF_PALETTE 9
2802 #define CF_PENDATA 10
2805 #define CF_ENHMETAFILE 14
2807 #define CF_LOCALE 16
2810 #define CF_OWNERDISPLAY 0x0080
2811 #define CF_DSPTEXT 0x0081
2812 #define CF_DSPBITMAP 0x0082
2813 #define CF_DSPMETAFILEPICT 0x0083
2815 /* "Private" formats don't get GlobalFree()'d */
2816 #define CF_PRIVATEFIRST 0x0200
2817 #define CF_PRIVATELAST 0x02FF
2819 /* "GDIOBJ" formats do get DeleteObject()'d */
2820 #define CF_GDIOBJFIRST 0x0300
2821 #define CF_GDIOBJLAST 0x03FF
2824 /* DragObject stuff */
2833 POINT16 pt WINE_PACKED
;
2835 } DRAGINFO
, *LPDRAGINFO
;
2837 #define DRAGOBJ_PROGRAM 0x0001
2838 #define DRAGOBJ_DATA 0x0002
2839 #define DRAGOBJ_DIRECTORY 0x0004
2840 #define DRAGOBJ_MULTIPLE 0x0008
2841 #define DRAGOBJ_EXTERNAL 0x8000
2843 #define DRAG_PRINT 0x544E5250
2844 #define DRAG_FILE 0x454C4946
2846 /* types of LoadImage */
2847 #define IMAGE_BITMAP 0
2848 #define IMAGE_ICON 1
2849 #define IMAGE_CURSOR 2
2850 #define IMAGE_ENHMETAFILE 3
2852 /* loadflags to LoadImage */
2853 #define LR_DEFAULTCOLOR 0x0000
2854 #define LR_MONOCHROME 0x0001
2855 #define LR_COLOR 0x0002
2856 #define LR_COPYRETURNORG 0x0004
2857 #define LR_COPYDELETEORG 0x0008
2858 #define LR_LOADFROMFILE 0x0010
2859 #define LR_LOADTRANSPARENT 0x0020
2860 #define LR_DEFAULTSIZE 0x0040
2861 #define LR_VGA_COLOR 0x0080
2862 #define LR_LOADMAP3DCOLORS 0x1000
2863 #define LR_CREATEDIBSECTION 0x2000
2864 #define LR_COPYFROMRESOURCE 0x4000
2865 #define LR_SHARED 0x8000
2867 /* Flags for DrawIconEx. */
2870 #define DI_NORMAL (DI_MASK | DI_IMAGE)
2872 #define DI_DEFAULTSIZE 8
2875 #define WM_CPL_LAUNCH (WM_USER + 1000)
2876 #define WM_CPL_LAUNCHED (WM_USER + 1001)
2878 /* WM_NOTIFYFORMAT commands and return values */
2880 #define NFR_UNICODE 2
2882 #define NF_REQUERY 4
2884 #include "poppack.h"
2885 #define EnumTaskWindows(handle,proc,lparam) \
2886 EnumThreadWindows(handle,proc,lparam)
2887 #define OemToAnsiA OemToCharA
2888 #define OemToAnsiW OemToCharW
2889 #define OemToAnsi WINELIB_NAME_AW(OemToAnsi)
2890 #define OemToAnsiBuffA OemToCharBuffA
2891 #define OemToAnsiBuffW OemToCharBuffW
2892 #define OemToAnsiBuff WINELIB_NAME_AW(OemToAnsiBuff)
2893 #define AnsiToOemA CharToOemA
2894 #define AnsiToOemW CharToOemW
2895 #define AnsiToOem WINELIB_NAME_AW(AnsiToOem)
2896 #define AnsiToOemBuffA CharToOemBuffA
2897 #define AnsiToOemBuffW CharToOemBuffW
2898 #define AnsiToOemBuff WINELIB_NAME_AW(AnsiToOemBuff)
2900 HKL WINAPI
ActivateKeyboardLayout(HKL
,UINT
);
2901 LONG WINAPI
BroadcastSystemMessage(DWORD
,LPDWORD
,UINT
,WPARAM
,LPARAM
);
2902 WORD WINAPI
CascadeWindows(HWND
, UINT
, const LPRECT
, UINT
, const HWND
*);
2903 INT WINAPI
CopyAcceleratorTableA(HACCEL
,LPACCEL
,INT
);
2904 INT WINAPI
CopyAcceleratorTableW(HACCEL
,LPACCEL
,INT
);
2905 #define CopyAcceleratorTable WINELIB_NAME_AW(CopyAcceleratorTable)
2906 HACCEL WINAPI
CreateAcceleratorTableA(LPACCEL
,INT
);
2907 HACCEL WINAPI
CreateAcceleratorTableW(LPACCEL
,INT
);
2908 #define CreateAcceleratorTable WINELIB_NAME_AW(CreateAcceleratorTable)
2909 HICON WINAPI
CreateIconIndirect(LPICONINFO
);
2910 BOOL WINAPI
DestroyAcceleratorTable(HACCEL
);
2911 BOOL WINAPI
EnumDisplayMonitors(HDC
,LPRECT
,MONITORENUMPROC
,LPARAM
);
2912 BOOL WINAPI
EnumDisplayDevicesA(LPVOID
,DWORD
,LPDISPLAY_DEVICEA
,DWORD
);
2913 BOOL WINAPI
EnumDisplayDevicesW(LPVOID
,DWORD
,LPDISPLAY_DEVICEW
,DWORD
);
2914 #define EnumDisplayDevices WINELIB_NAME_AW(EnumDisplayDevices)
2915 INT WINAPI
EnumPropsExA(HWND
,PROPENUMPROCEXA
,LPARAM
);
2916 INT WINAPI
EnumPropsExW(HWND
,PROPENUMPROCEXW
,LPARAM
);
2917 #define EnumPropsEx WINELIB_NAME_AW(EnumPropsEx)
2918 BOOL WINAPI
EnumThreadWindows(DWORD
,WNDENUMPROC
,LPARAM
);
2919 BOOL WINAPI
ExitWindowsEx(UINT
,DWORD
);
2920 BOOL WINAPI
GetIconInfo(HICON
,LPICONINFO
);
2921 HKL WINAPI
GetKeyboardLayout(DWORD
);
2922 INT WINAPI
GetKeyboardLayoutList(INT
,HKL
*);
2923 DWORD WINAPI
GetMenuContextHelpId(HMENU
);
2924 UINT WINAPI
GetMenuDefaultItem(HMENU
,UINT
,UINT
);
2925 BOOL WINAPI
GetMenuInfo(HMENU
,LPMENUINFO
);
2926 BOOL WINAPI
GetMenuItemInfoA(HMENU
,UINT
,BOOL
,MENUITEMINFOA
*);
2927 BOOL WINAPI
GetMenuItemInfoW(HMENU
,UINT
,BOOL
,MENUITEMINFOW
*);
2928 #define GetMenuItemInfo WINELIB_NAME_AW(GetMenuItemInfo)
2929 BOOL WINAPI
GetMonitorInfoA(HMONITOR
,LPMONITORINFO
);
2930 BOOL WINAPI
GetMonitorInfoW(HMONITOR
,LPMONITORINFO
);
2931 #define GetMonitorInfo WINELIB_NAME_AW(GetMonitorInfo)
2932 INT WINAPI
GetNumberFormatA(LCID
,DWORD
,LPCSTR
,const NUMBERFMTA
*,LPSTR
,int);
2933 INT WINAPI
GetNumberFormatW(LCID
,DWORD
,LPCWSTR
,const NUMBERFMTW
*,LPWSTR
,int);
2934 #define GetNumberFormat WINELIB_NAME_AW(GetNumberFormat);
2935 DWORD WINAPI
GetWindowContextHelpId(HWND
);
2936 DWORD WINAPI
GetWindowThreadProcessId(HWND
,LPDWORD
);
2937 BOOL WINAPI
IsWindowUnicode(HWND
);
2938 HKL WINAPI
LoadKeyboardLayoutA(LPCSTR
,UINT
);
2939 HKL WINAPI
LoadKeyboardLayoutW(LPCWSTR
,UINT
);
2940 #define LoadKeyboardLayout WINELIB_NAME_AW(LoadKeyboardLayout)
2941 INT WINAPI
MessageBoxExA(HWND
,LPCSTR
,LPCSTR
,UINT
,WORD
);
2942 INT WINAPI
MessageBoxExW(HWND
,LPCWSTR
,LPCWSTR
,UINT
,WORD
);
2943 #define MessageBoxEx WINELIB_NAME_AW(MessageBoxEx)
2944 HMONITOR WINAPI
MonitorFromPoint(POINT
,DWORD
);
2945 HMONITOR WINAPI
MonitorFromRect(LPRECT
,DWORD
);
2946 HMONITOR WINAPI
MonitorFromWindow(HWND
,DWORD
);
2947 DWORD WINAPI
MsgWaitForMultipleObjects(DWORD
,HANDLE
*,BOOL
,DWORD
,DWORD
);
2948 BOOL WINAPI
PaintDesktop(HDC
);
2949 BOOL WINAPI
PostThreadMessageA(DWORD
, UINT
, WPARAM
, LPARAM
);
2950 BOOL WINAPI
PostThreadMessageW(DWORD
, UINT
, WPARAM
, LPARAM
);
2951 #define PostThreadMessage WINELIB_NAME_AW(PostThreadMessage)
2952 BOOL WINAPI
RegisterHotKey(HWND
,INT
,UINT
,UINT
);
2953 UINT WINAPI
ReuseDDElParam(UINT
,UINT
,UINT
,UINT
,UINT
);
2954 BOOL WINAPI
SendMessageCallbackA(HWND
,UINT
,WPARAM
,LPARAM
,FARPROC
,DWORD
);
2955 BOOL WINAPI
SendMessageCallbackW(HWND
,UINT
,WPARAM
,LPARAM
,FARPROC
,DWORD
);
2956 #define SendMessageCallback WINELIB_NAME_AW(SendMessageCallback)
2957 BOOL WINAPI
SendNotifyMessageA(HWND
,UINT
,WPARAM
,LPARAM
);
2958 BOOL WINAPI
SendNotifyMessageW(HWND
,UINT
,WPARAM
,LPARAM
);
2959 #define SendNotifyMessage WINELIB_NAME_AW(SendNotifyMessage)
2960 VOID WINAPI
SetDebugErrorLevel(DWORD
);
2961 VOID WINAPI
SetLastErrorEx(DWORD
,DWORD
);
2962 BOOL WINAPI
SetMenuDefaultItem(HMENU
,UINT
,UINT
);
2963 BOOL WINAPI
SetMenuInfo(HMENU
,LPCMENUINFO
);
2964 BOOL WINAPI
SetMenuItemInfoA(HMENU
,UINT
,BOOL
,const MENUITEMINFOA
*);
2965 BOOL WINAPI
SetMenuItemInfoW(HMENU
,UINT
,BOOL
,const MENUITEMINFOW
*);
2966 #define SetMenuItemInfo WINELIB_NAME_AW(SetMenuItemInfo)
2967 BOOL WINAPI
SetWindowContextHelpId(HWND
,DWORD
);
2968 WORD WINAPI
TileWindows (HWND
, UINT
, const LPRECT
,
2969 UINT
, const HWND
*);
2970 INT WINAPI
ToUnicode(UINT
,UINT
,PBYTE
,LPWSTR
,int,UINT
);
2971 BOOL WINAPI
TrackPopupMenuEx(HMENU
,UINT
,INT
,INT
,HWND
,
2973 UINT WINAPI
UnpackDDElParam(UINT
,UINT
,UINT
*,UINT
*);
2974 BOOL WINAPI
UnregisterHotKey(HWND
,INT
);
2975 DWORD WINAPI
WaitForInputIdle(HANDLE
,DWORD
);
2976 VOID WINAPI
keybd_event(BYTE
,BYTE
,DWORD
,DWORD
);
2977 VOID WINAPI
mouse_event(DWORD
,DWORD
,DWORD
,DWORD
,DWORD
);
2979 /* Declarations for functions that are the same in Win16 and Win32 */
2980 VOID WINAPI
EndMenu(void);
2981 DWORD WINAPI
GetDialogBaseUnits(void);
2982 BOOL WINAPI
GetKeyboardState(LPBYTE
);
2983 DWORD WINAPI
GetMenuCheckMarkDimensions(void);
2984 LONG WINAPI
GetMessageExtraInfo(void);
2985 DWORD WINAPI
GetMessagePos(void);
2986 LONG WINAPI
GetMessageTime(void);
2987 DWORD WINAPI
GetTickCount(void);
2988 ATOM WINAPI
GlobalDeleteAtom(ATOM
);
2989 DWORD WINAPI
OemKeyScan(WORD
);
2990 BOOL WINAPI
ReleaseCapture(void);
2991 BOOL WINAPI
SetKeyboardState(LPBYTE
);
2992 VOID WINAPI
WaitMessage(void);
2995 /* Declarations for functions that change between Win16 and Win32 */
2997 BOOL WINAPI
AdjustWindowRect(LPRECT
,DWORD
,BOOL
);
2998 BOOL WINAPI
AdjustWindowRectEx(LPRECT
,DWORD
,BOOL
,DWORD
);
2999 #define AnsiLowerA CharLowerA
3000 #define AnsiLowerW CharLowerW
3001 #define AnsiLower WINELIB_NAME_AW(AnsiLower)
3002 #define AnsiLowerBuffA CharLowerBuffA
3003 #define AnsiLowerBuffW CharLowerBuffW
3004 #define AnsiLowerBuff WINELIB_NAME_AW(AnsiLowerBuff)
3005 #define AnsiNextA CharNextA
3006 #define AnsiNextW CharNextW
3007 #define AnsiNext WINELIB_NAME_AW(AnsiNext)
3008 #define AnsiPrevA CharPrevA
3009 #define AnsiPrevW CharPrevW
3010 #define AnsiPrev WINELIB_NAME_AW(AnsiPrev)
3011 #define AnsiUpperA CharUpperA
3012 #define AnsiUpperW CharUpperW
3013 #define AnsiUpper WINELIB_NAME_AW(AnsiUpper)
3014 #define AnsiUpperBuffA CharUpperBuffA
3015 #define AnsiUpperBuffW CharUpperBuffW
3016 #define AnsiUpperBuff WINELIB_NAME_AW(AnsiUpperBuff)
3017 BOOL WINAPI
AnyPopup(void);
3018 BOOL WINAPI
AppendMenuA(HMENU
,UINT
,UINT
,LPCSTR
);
3019 BOOL WINAPI
AppendMenuW(HMENU
,UINT
,UINT
,LPCWSTR
);
3020 #define AppendMenu WINELIB_NAME_AW(AppendMenu)
3021 UINT WINAPI
ArrangeIconicWindows(HWND
);
3022 HDWP WINAPI
BeginDeferWindowPos(INT
);
3023 HDC WINAPI
BeginPaint(HWND
,LPPAINTSTRUCT
);
3024 BOOL WINAPI
BringWindowToTop(HWND
);
3025 BOOL WINAPI
CallMsgFilterA(LPMSG
,INT
);
3026 BOOL WINAPI
CallMsgFilterW(LPMSG
,INT
);
3027 #define CallMsgFilter WINELIB_NAME_AW(CallMsgFilter)
3028 LRESULT WINAPI
CallNextHookEx(HHOOK
,INT
,WPARAM
,LPARAM
);
3029 LRESULT WINAPI
CallWindowProcA(WNDPROC
,HWND
,UINT
,WPARAM
,LPARAM
);
3030 LRESULT WINAPI
CallWindowProcW(WNDPROC
,HWND
,UINT
,WPARAM
,LPARAM
);
3031 #define CallWindowProc WINELIB_NAME_AW(CallWindowProc)
3032 BOOL WINAPI
ChangeClipboardChain(HWND
,HWND
);
3033 LONG WINAPI
ChangeDisplaySettingsA(LPDEVMODEA
,DWORD
);
3034 LONG WINAPI
ChangeDisplaySettingsW(LPDEVMODEW
,DWORD
);
3035 #define ChangeDisplaySettings WINELIB_NAME_AW(ChangeDisplaySettings)
3036 LONG WINAPI
ChangeDisplaySettingsExA(LPCSTR
,LPDEVMODEA
,HWND
,DWORD
,LPARAM
);
3037 LONG WINAPI
ChangeDisplaySettingsExW(LPCWSTR
,LPDEVMODEW
,HWND
,DWORD
,LPARAM
);
3038 #define ChangeDisplaySettingsEx WINELIB_NAME_AW(ChangeDisplaySettingsEx)
3039 BOOL WINAPI
ChangeMenuA(HMENU
,UINT
,LPCSTR
,UINT
,UINT
);
3040 BOOL WINAPI
ChangeMenuW(HMENU
,UINT
,LPCWSTR
,UINT
,UINT
);
3041 #define ChangeMenu WINELIB_NAME_AW(ChangeMenu)
3042 LPSTR WINAPI
CharLowerA(LPSTR
);
3043 LPWSTR WINAPI
CharLowerW(LPWSTR
);
3044 #define CharLower WINELIB_NAME_AW(CharLower)
3045 DWORD WINAPI
CharLowerBuffA(LPSTR
,DWORD
);
3046 DWORD WINAPI
CharLowerBuffW(LPWSTR
,DWORD
);
3047 #define CharLowerBuff WINELIB_NAME_AW(CharLowerBuff)
3048 LPSTR WINAPI
CharNextA(LPCSTR
);
3049 LPWSTR WINAPI
CharNextW(LPCWSTR
);
3050 #define CharNext WINELIB_NAME_AW(CharNext)
3051 LPSTR WINAPI
CharNextExA(WORD
,LPCSTR
,DWORD
);
3052 LPWSTR WINAPI
CharNextExW(WORD
,LPCWSTR
,DWORD
);
3053 #define CharNextEx WINELIB_NAME_AW(CharNextEx)
3054 LPSTR WINAPI
CharPrevA(LPCSTR
,LPCSTR
);
3055 LPWSTR WINAPI
CharPrevW(LPCWSTR
,LPCWSTR
);
3056 #define CharPrev WINELIB_NAME_AW(CharPrev)
3057 LPSTR WINAPI
CharPrevExA(WORD
,LPCSTR
,LPCSTR
,DWORD
);
3058 LPWSTR WINAPI
CharPrevExW(WORD
,LPCWSTR
,LPCWSTR
,DWORD
);
3059 #define CharPrevEx WINELIB_NAME_AW(CharPrevEx)
3060 LPSTR WINAPI
CharUpperA(LPSTR
);
3061 LPWSTR WINAPI
CharUpperW(LPWSTR
);
3062 #define CharUpper WINELIB_NAME_AW(CharUpper)
3063 DWORD WINAPI
CharUpperBuffA(LPSTR
,DWORD
);
3064 DWORD WINAPI
CharUpperBuffW(LPWSTR
,DWORD
);
3065 #define CharUpperBuff WINELIB_NAME_AW(CharUpperBuff)
3066 BOOL WINAPI
CharToOemA(LPCSTR
,LPSTR
);
3067 BOOL WINAPI
CharToOemW(LPCWSTR
,LPSTR
);
3068 #define CharToOem WINELIB_NAME_AW(CharToOem)
3069 BOOL WINAPI
CharToOemBuffA(LPCSTR
,LPSTR
,DWORD
);
3070 BOOL WINAPI
CharToOemBuffW(LPCWSTR
,LPSTR
,DWORD
);
3071 #define CharToOemBuff WINELIB_NAME_AW(CharToOemBuff)
3072 BOOL WINAPI
CheckDlgButton(HWND
,INT
,UINT
);
3073 DWORD WINAPI
CheckMenuItem(HMENU
,UINT
,UINT
);
3074 BOOL WINAPI
CheckMenuRadioItem(HMENU
,UINT
,UINT
,UINT
,UINT
);
3075 BOOL WINAPI
CheckRadioButton(HWND
,UINT
,UINT
,UINT
);
3076 HWND WINAPI
ChildWindowFromPoint(HWND
,POINT
);
3077 HWND WINAPI
ChildWindowFromPointEx(HWND
,POINT
,UINT
);
3078 BOOL WINAPI
ClearCommBreak(HANDLE
);
3079 BOOL WINAPI
ClientToScreen(HWND
,LPPOINT
);
3080 BOOL WINAPI
ClipCursor(const RECT
*);
3081 BOOL WINAPI
CloseClipboard(void);
3082 BOOL WINAPI
CloseWindow(HWND
);
3083 #define CopyCursor(cur) ((HCURSOR)CopyIcon((HICON)(cur)))
3084 HICON WINAPI
CopyIcon(HICON
);
3085 HICON WINAPI
CopyImage(HANDLE
,UINT
,INT
,INT
,UINT
);
3086 BOOL WINAPI
CopyRect(RECT
*,const RECT
*);
3087 INT WINAPI
CountClipboardFormats(void);
3088 BOOL WINAPI
CreateCaret(HWND
,HBITMAP
,INT
,INT
);
3089 HCURSOR WINAPI
CreateCursor(HINSTANCE
,INT
,INT
,INT
,INT
,LPCVOID
,LPCVOID
);
3090 #define CreateDialogA(inst,ptr,hwnd,dlg) \
3091 CreateDialogParamA(inst,ptr,hwnd,dlg,0)
3092 #define CreateDialogW(inst,ptr,hwnd,dlg) \
3093 CreateDialogParamW(inst,ptr,hwnd,dlg,0)
3094 #define CreateDialog WINELIB_NAME_AW(CreateDialog)
3095 #define CreateDialogIndirectA(inst,ptr,hwnd,dlg) \
3096 CreateDialogIndirectParamA(inst,ptr,hwnd,dlg,0)
3097 #define CreateDialogIndirectW(inst,ptr,hwnd,dlg) \
3098 CreateDialogIndirectParamW(inst,ptr,hwnd,dlg,0)
3099 #define CreateDialogIndirect WINELIB_NAME_AW(CreateDialogIndirect)
3100 HWND WINAPI
CreateDialogIndirectParamA(HINSTANCE
,LPCVOID
,HWND
,
3102 HWND WINAPI
CreateDialogIndirectParamW(HINSTANCE
,LPCVOID
,HWND
,
3104 #define CreateDialogIndirectParam WINELIB_NAME_AW(CreateDialogIndirectParam)
3105 HWND WINAPI
CreateDialogParamA(HINSTANCE
,LPCSTR
,HWND
,DLGPROC
,LPARAM
);
3106 HWND WINAPI
CreateDialogParamW(HINSTANCE
,LPCWSTR
,HWND
,DLGPROC
,LPARAM
);
3107 #define CreateDialogParam WINELIB_NAME_AW(CreateDialogParam)
3108 HICON WINAPI
CreateIcon(HINSTANCE
,INT
,INT
,BYTE
,BYTE
,LPCVOID
,LPCVOID
);
3109 HICON WINAPI
CreateIconFromResource(LPBYTE
,UINT
,BOOL
,DWORD
);
3110 HICON WINAPI
CreateIconFromResourceEx(LPBYTE
,UINT
,BOOL
,DWORD
,INT
,INT
,UINT
);
3111 HMENU WINAPI
CreateMenu(void);
3112 HMENU WINAPI
CreatePopupMenu(void);
3113 #define CreateWindowA(className,titleName,style,x,y,width,height,\
3114 parent,menu,instance,param) \
3115 CreateWindowExA(0,className,titleName,style,x,y,width,height,\
3116 parent,menu,instance,param)
3117 #define CreateWindowW(className,titleName,style,x,y,width,height,\
3118 parent,menu,instance,param) \
3119 CreateWindowExW(0,className,titleName,style,x,y,width,height,\
3120 parent,menu,instance,param)
3121 #define CreateWindow WINELIB_NAME_AW(CreateWindow)
3122 HWND WINAPI
CreateWindowExA(DWORD
,LPCSTR
,LPCSTR
,DWORD
,INT
,INT
,
3123 INT
,INT
,HWND
,HMENU
,HINSTANCE
,LPVOID
);
3124 HWND WINAPI
CreateWindowExW(DWORD
,LPCWSTR
,LPCWSTR
,DWORD
,INT
,INT
,
3125 INT
,INT
,HWND
,HMENU
,HINSTANCE
,LPVOID
);
3126 #define CreateWindowEx WINELIB_NAME_AW(CreateWindowEx)
3127 HWND WINAPI
CreateMDIWindowA(LPCSTR
,LPCSTR
,DWORD
,INT
,INT
,
3128 INT
,INT
,HWND
,HINSTANCE
,LPARAM
);
3129 HWND WINAPI
CreateMDIWindowW(LPCWSTR
,LPCWSTR
,DWORD
,INT
,INT
,
3130 INT
,INT
,HWND
,HINSTANCE
,LPARAM
);
3131 #define CreateMDIWindow WINELIB_NAME_AW(CreateMDIWindow)
3132 LRESULT WINAPI
DefDlgProcA(HWND
,UINT
,WPARAM
,LPARAM
);
3133 LRESULT WINAPI
DefDlgProcW(HWND
,UINT
,WPARAM
,LPARAM
);
3134 #define DefDlgProc WINELIB_NAME_AW(DefDlgProc)
3135 HDWP WINAPI
DeferWindowPos(HDWP
,HWND
,HWND
,INT
,INT
,INT
,INT
,UINT
);
3136 LRESULT WINAPI
DefFrameProcA(HWND
,HWND
,UINT
,WPARAM
,LPARAM
);
3137 LRESULT WINAPI
DefFrameProcW(HWND
,HWND
,UINT
,WPARAM
,LPARAM
);
3138 #define DefFrameProc WINELIB_NAME_AW(DefFrameProc)
3139 #define DefHookProc(code,wparam,lparam,phhook) \
3140 CallNextHookEx(*(phhook),code,wparam,lparam)
3141 LRESULT WINAPI
DefMDIChildProcA(HWND
,UINT
,WPARAM
,LPARAM
);
3142 LRESULT WINAPI
DefMDIChildProcW(HWND
,UINT
,WPARAM
,LPARAM
);
3143 #define DefMDIChildProc WINELIB_NAME_AW(DefMDIChildProc)
3144 LRESULT WINAPI
DefWindowProcA(HWND
,UINT
,WPARAM
,LPARAM
);
3145 LRESULT WINAPI
DefWindowProcW(HWND
,UINT
,WPARAM
,LPARAM
);
3146 #define DefWindowProc WINELIB_NAME_AW(DefWindowProc)
3147 BOOL WINAPI
DeleteMenu(HMENU
,UINT
,UINT
);
3148 BOOL WINAPI
DestroyCaret(void);
3149 BOOL WINAPI
DestroyCursor(HCURSOR
);
3150 BOOL WINAPI
DestroyIcon(HICON
);
3151 BOOL WINAPI
DestroyMenu(HMENU
);
3152 BOOL WINAPI
DestroyWindow(HWND
);
3153 #define DialogBoxA(inst,template,owner,func) \
3154 DialogBoxParamA(inst,template,owner,func,0)
3155 #define DialogBoxW(inst,template,owner,func) \
3156 DialogBoxParamW(inst,template,owner,func,0)
3157 #define DialogBox WINELIB_NAME_AW(DialogBox)
3158 #define DialogBoxIndirectA(inst,template,owner,func) \
3159 DialogBoxIndirectParamA(inst,template,owner,func,0)
3160 #define DialogBoxIndirectW(inst,template,owner,func) \
3161 DialogBoxIndirectParamW(inst,template,owner,func,0)
3162 #define DialogBoxIndirect WINELIB_NAME_AW(DialogBoxIndirect)
3163 INT WINAPI
DialogBoxIndirectParamA(HINSTANCE
,LPCVOID
,HWND
,DLGPROC
,LPARAM
);
3164 INT WINAPI
DialogBoxIndirectParamW(HINSTANCE
,LPCVOID
,HWND
,DLGPROC
,LPARAM
);
3165 #define DialogBoxIndirectParam WINELIB_NAME_AW(DialogBoxIndirectParam)
3166 INT WINAPI
DialogBoxParamA(HINSTANCE
,LPCSTR
,HWND
,DLGPROC
,LPARAM
);
3167 INT WINAPI
DialogBoxParamW(HINSTANCE
,LPCWSTR
,HWND
,DLGPROC
,LPARAM
);
3168 #define DialogBoxParam WINELIB_NAME_AW(DialogBoxParam)
3169 LONG WINAPI
DispatchMessageA(const MSG
*);
3170 LONG WINAPI
DispatchMessageW(const MSG
*);
3171 #define DispatchMessage WINELIB_NAME_AW(DispatchMessage)
3172 INT WINAPI
DlgDirListA(HWND
,LPSTR
,INT
,INT
,UINT
);
3173 INT WINAPI
DlgDirListW(HWND
,LPWSTR
,INT
,INT
,UINT
);
3174 #define DlgDirList WINELIB_NAME_AW(DlgDirList)
3175 INT WINAPI
DlgDirListComboBoxA(HWND
,LPSTR
,INT
,INT
,UINT
);
3176 INT WINAPI
DlgDirListComboBoxW(HWND
,LPWSTR
,INT
,INT
,UINT
);
3177 #define DlgDirListComboBox WINELIB_NAME_AW(DlgDirListComboBox)
3178 BOOL WINAPI
DlgDirSelectComboBoxExA(HWND
,LPSTR
,INT
,INT
);
3179 BOOL WINAPI
DlgDirSelectComboBoxExW(HWND
,LPWSTR
,INT
,INT
);
3180 #define DlgDirSelectComboBoxEx WINELIB_NAME_AW(DlgDirSelectComboBoxEx)
3181 BOOL WINAPI
DlgDirSelectExA(HWND
,LPSTR
,INT
,INT
);
3182 BOOL WINAPI
DlgDirSelectExW(HWND
,LPWSTR
,INT
,INT
);
3183 #define DlgDirSelectEx WINELIB_NAME_AW(DlgDirSelectEx)
3184 BOOL WINAPI
DragDetect(HWND
,POINT
);
3185 DWORD WINAPI
DragObject(HWND
,HWND
,UINT
,DWORD
,HCURSOR
);
3186 BOOL WINAPI
DrawAnimatedRects(HWND
,int,const RECT
*,const RECT
*);
3187 BOOL WINAPI
DrawCaption(HWND
,HDC
,const RECT
*,UINT
);
3188 BOOL WINAPI
DrawCaptionTempA(HWND
,HDC
,const RECT
*,HFONT
,HICON
,LPCSTR
,UINT
);
3189 BOOL WINAPI
DrawCaptionTempW(HWND
,HDC
,const RECT
*,HFONT
,HICON
,LPCWSTR
,UINT
);
3190 #define DrawCaptionTemp WINELIB_NAME_AW(DrawCaptionTemp)
3191 BOOL WINAPI
DrawEdge(HDC
,LPRECT
,UINT
,UINT
);
3192 BOOL WINAPI
DrawFocusRect(HDC
,const RECT
*);
3193 BOOL WINAPI
DrawFrameControl(HDC
,LPRECT
,UINT
,UINT
);
3194 BOOL WINAPI
DrawIcon(HDC
,INT
,INT
,HICON
);
3195 BOOL WINAPI
DrawIconEx(HDC
,INT
,INT
,HICON
,INT
,INT
,
3197 BOOL WINAPI
DrawMenuBar(HWND
);
3198 BOOL WINAPI
DrawStateA(HDC
,HBRUSH
,DRAWSTATEPROC
,LPARAM
,WPARAM
,INT
,INT
,INT
,INT
,UINT
);
3199 BOOL WINAPI
DrawStateW(HDC
,HBRUSH
,DRAWSTATEPROC
,LPARAM
,WPARAM
,INT
,INT
,INT
,INT
,UINT
);
3200 #define DrawState WINELIB_NAME_AW(DrawState)
3201 INT WINAPI
DrawTextA(HDC
,LPCSTR
,INT
,LPRECT
,UINT
);
3202 INT WINAPI
DrawTextW(HDC
,LPCWSTR
,INT
,LPRECT
,UINT
);
3203 #define DrawText WINELIB_NAME_AW(DrawText)
3204 BOOL WINAPI
EmptyClipboard(void);
3205 UINT WINAPI
EnableMenuItem(HMENU
,UINT
,UINT
);
3206 BOOL WINAPI
EnableScrollBar(HWND
,INT
,UINT
);
3207 BOOL WINAPI
EnableWindow(HWND
,BOOL
);
3208 BOOL WINAPI
EndDeferWindowPos(HDWP
);
3209 BOOL WINAPI
EndDialog(HWND
,INT
);
3210 BOOL WINAPI
EndPaint(HWND
,const PAINTSTRUCT
*);
3211 BOOL WINAPI
EnumChildWindows(HWND
,WNDENUMPROC
,LPARAM
);
3212 UINT WINAPI
EnumClipboardFormats(UINT
);
3213 INT WINAPI
EnumPropsA(HWND
,PROPENUMPROCA
);
3214 INT WINAPI
EnumPropsW(HWND
,PROPENUMPROCW
);
3215 #define EnumProps WINELIB_NAME_AW(EnumProps)
3216 BOOL WINAPI
EnumWindows(WNDENUMPROC
,LPARAM
);
3217 BOOL WINAPI
EqualRect(const RECT
*,const RECT
*);
3218 BOOL WINAPI
EscapeCommFunction(HANDLE
,UINT
);
3219 INT WINAPI
ExcludeUpdateRgn(HDC
,HWND
);
3220 #define ExitWindows(a,b) ExitWindowsEx(EWX_LOGOFF,0xffffffff)
3221 INT WINAPI
FillRect(HDC
,const RECT
*,HBRUSH
);
3222 HWND WINAPI
FindWindowA(LPCSTR
,LPCSTR
);
3223 HWND WINAPI
FindWindowW(LPCWSTR
,LPCWSTR
);
3224 #define FindWindow WINELIB_NAME_AW(FindWindow)
3225 HWND WINAPI
FindWindowExA(HWND
,HWND
,LPCSTR
,LPCSTR
);
3226 HWND WINAPI
FindWindowExW(HWND
,HWND
,LPCWSTR
,LPCWSTR
);
3227 #define FindWindowEx WINELIB_NAME_AW(FindWindowEx)
3228 BOOL WINAPI
FlashWindow(HWND
,BOOL
);
3229 INT WINAPI
FrameRect(HDC
,const RECT
*,HBRUSH
);
3230 HWND WINAPI
GetActiveWindow(void);
3231 DWORD WINAPI
GetAppCompatFlags(HTASK
);
3232 WORD WINAPI
GetAsyncKeyState(INT
);
3233 HWND WINAPI
GetCapture(void);
3234 UINT WINAPI
GetCaretBlinkTime(void);
3235 BOOL WINAPI
GetCaretPos(LPPOINT
);
3236 BOOL WINAPI
GetClassInfoA(HINSTANCE
,LPCSTR
,WNDCLASSA
*);
3237 BOOL WINAPI
GetClassInfoW(HINSTANCE
,LPCWSTR
,WNDCLASSW
*);
3238 #define GetClassInfo WINELIB_NAME_AW(GetClassInfo)
3239 BOOL WINAPI
GetClassInfoExA(HINSTANCE
,LPCSTR
,WNDCLASSEXA
*);
3240 BOOL WINAPI
GetClassInfoExW(HINSTANCE
,LPCWSTR
,WNDCLASSEXW
*);
3241 #define GetClassInfoEx WINELIB_NAME_AW(GetClassInfoEx)
3242 LONG WINAPI
GetClassLongA(HWND
,INT
);
3243 LONG WINAPI
GetClassLongW(HWND
,INT
);
3244 #define GetClassLong WINELIB_NAME_AW(GetClassLong)
3245 INT WINAPI
GetClassNameA(HWND
,LPSTR
,INT
);
3246 INT WINAPI
GetClassNameW(HWND
,LPWSTR
,INT
);
3247 #define GetClassName WINELIB_NAME_AW(GetClassName)
3248 WORD WINAPI
GetClassWord(HWND
,INT
);
3249 BOOL WINAPI
GetClientRect(HWND
,LPRECT
);
3250 HANDLE WINAPI
GetClipboardData(UINT
);
3251 INT WINAPI
GetClipboardFormatNameA(UINT
,LPSTR
,INT
);
3252 INT WINAPI
GetClipboardFormatNameW(UINT
,LPWSTR
,INT
);
3253 #define GetClipboardFormatName WINELIB_NAME_AW(GetClipboardFormatName)
3254 HWND WINAPI
GetClipboardOwner(void);
3255 HWND WINAPI
GetClipboardViewer(void);
3256 BOOL WINAPI
GetClipCursor(LPRECT
);
3257 #define GetCurrentTime() GetTickCount()
3258 HCURSOR WINAPI
GetCursor(void);
3259 BOOL WINAPI
GetCursorPos(LPPOINT
);
3260 HDC WINAPI
GetDC(HWND
);
3261 HDC WINAPI
GetDCEx(HWND
,HRGN
,DWORD
);
3262 HWND WINAPI
GetDesktopWindow(void);
3263 INT WINAPI
GetDlgCtrlID(HWND
);
3264 HWND WINAPI
GetDlgItem(HWND
,INT
);
3265 UINT WINAPI
GetDlgItemInt(HWND
,INT
,BOOL
*,BOOL
);
3266 INT WINAPI
GetDlgItemTextA(HWND
,INT
,LPSTR
,UINT
);
3267 INT WINAPI
GetDlgItemTextW(HWND
,INT
,LPWSTR
,UINT
);
3268 #define GetDlgItemText WINELIB_NAME_AW(GetDlgItemText)
3269 UINT WINAPI
GetDoubleClickTime(void);
3270 HWND WINAPI
GetFocus(void);
3271 HWND WINAPI
GetForegroundWindow(void);
3272 BOOL WINAPI
GetInputState(void);
3273 UINT WINAPI
GetInternalWindowPos(HWND
,LPRECT
,LPPOINT
);
3274 UINT WINAPI
GetKBCodePage(void);
3275 INT WINAPI
GetKeyboardType(INT
);
3276 INT WINAPI
GetKeyNameTextA(LONG
,LPSTR
,INT
);
3277 INT WINAPI
GetKeyNameTextW(LONG
,LPWSTR
,INT
);
3278 #define GetKeyNameText WINELIB_NAME_AW(GetKeyNameText)
3279 INT WINAPI
GetKeyboardLayoutNameA(LPSTR
);
3280 INT WINAPI
GetKeyboardLayoutNameW(LPWSTR
);
3281 #define GetKeyboardLayoutName WINELIB_NAME_AW(GetKeyboardLayoutName)
3282 INT16 WINAPI
GetKeyState(INT
);
3283 HWND WINAPI
GetLastActivePopup(HWND
);
3284 HMENU WINAPI
GetMenu(HWND
);
3285 INT WINAPI
GetMenuItemCount(HMENU
);
3286 UINT WINAPI
GetMenuItemID(HMENU
,INT
);
3287 BOOL WINAPI
GetMenuItemRect(HWND
,HMENU
,UINT
,LPRECT
);
3288 UINT WINAPI
GetMenuState(HMENU
,UINT
,UINT
);
3289 INT WINAPI
GetMenuStringA(HMENU
,UINT
,LPSTR
,INT
,UINT
);
3290 INT WINAPI
GetMenuStringW(HMENU
,UINT
,LPWSTR
,INT
,UINT
);
3291 #define GetMenuString WINELIB_NAME_AW(GetMenuString)
3292 BOOL WINAPI
GetMessageA(LPMSG
,HWND
,UINT
,UINT
);
3293 BOOL WINAPI
GetMessageW(LPMSG
,HWND
,UINT
,UINT
);
3294 #define GetMessage WINELIB_NAME_AW(GetMessage)
3295 HWND WINAPI
GetNextDlgGroupItem(HWND
,HWND
,BOOL
);
3296 HWND WINAPI
GetNextDlgTabItem(HWND
,HWND
,BOOL
);
3297 #define GetNextWindow GetWindow
3298 HWND WINAPI
GetOpenClipboardWindow(void);
3299 HWND WINAPI
GetParent(HWND
);
3300 INT WINAPI
GetPriorityClipboardFormat(UINT
*,INT
);
3301 HANDLE WINAPI
GetPropA(HWND
,LPCSTR
);
3302 HANDLE WINAPI
GetPropW(HWND
,LPCWSTR
);
3303 #define GetProp WINELIB_NAME_AW(GetProp)
3304 DWORD WINAPI
GetQueueStatus(UINT
);
3305 BOOL WINAPI
GetScrollInfo(HWND
,INT
,LPSCROLLINFO
);
3306 INT WINAPI
GetScrollPos(HWND
,INT
);
3307 BOOL WINAPI
GetScrollRange(HWND
,INT
,LPINT
,LPINT
);
3308 HWND WINAPI
GetShellWindow(void);
3309 HMENU WINAPI
GetSubMenu(HMENU
,INT
);
3310 COLORREF WINAPI
GetSysColor(INT
);
3311 HBRUSH WINAPI
GetSysColorBrush(INT
);
3312 #define GetSysModalWindow() ((HWND)0)
3313 HMENU WINAPI
GetSystemMenu(HWND
,BOOL
);
3314 INT WINAPI
GetSystemMetrics(INT
);
3315 DWORD WINAPI
GetTabbedTextExtentA(HDC
,LPCSTR
,INT
,INT
,const INT
*);
3316 DWORD WINAPI
GetTabbedTextExtentW(HDC
,LPCWSTR
,INT
,INT
,const INT
*);
3317 #define GetTabbedTextExtent WINELIB_NAME_AW(GetTabbedTextExtent)
3318 HWND WINAPI
GetTopWindow(HWND
);
3319 BOOL WINAPI
GetUpdateRect(HWND
,LPRECT
,BOOL
);
3320 INT WINAPI
GetUpdateRgn(HWND
,HRGN
,BOOL
);
3321 HWND WINAPI
GetWindow(HWND
,WORD
);
3322 HDC WINAPI
GetWindowDC(HWND
);
3323 LONG WINAPI
GetWindowLongA(HWND
,INT
);
3324 LONG WINAPI
GetWindowLongW(HWND
,INT
);
3325 #define GetWindowLong WINELIB_NAME_AW(GetWindowLong)
3326 BOOL WINAPI
GetWindowPlacement(HWND
,LPWINDOWPLACEMENT
);
3327 BOOL WINAPI
GetWindowRect(HWND
,LPRECT
);
3328 INT WINAPI
GetWindowRgn(HWND
,HRGN
);
3329 #define GetWindowTask(hwnd) ((HTASK)GetWindowThreadProcessId(hwnd,NULL))
3330 INT WINAPI
GetWindowTextA(HWND
,LPSTR
,INT
);
3331 INT WINAPI
GetWindowTextW(HWND
,LPWSTR
,INT
);
3332 #define GetWindowText WINELIB_NAME_AW(GetWindowText)
3333 INT WINAPI
GetWindowTextLengthA(HWND
);
3334 INT WINAPI
GetWindowTextLengthW(HWND
);
3335 #define GetWindowTextLength WINELIB_NAME_AW(GetWindowTextLength)
3336 WORD WINAPI
GetWindowWord(HWND
,INT
);
3337 ATOM WINAPI
GlobalAddAtomA(LPCSTR
);
3338 ATOM WINAPI
GlobalAddAtomW(LPCWSTR
);
3339 #define GlobalAddAtom WINELIB_NAME_AW(GlobalAddAtom)
3340 ATOM WINAPI
GlobalFindAtomA(LPCSTR
);
3341 ATOM WINAPI
GlobalFindAtomW(LPCWSTR
);
3342 #define GlobalFindAtom WINELIB_NAME_AW(GlobalFindAtom)
3343 UINT WINAPI
GlobalGetAtomNameA(ATOM
,LPSTR
,INT
);
3344 UINT WINAPI
GlobalGetAtomNameW(ATOM
,LPWSTR
,INT
);
3345 #define GlobalGetAtomName WINELIB_NAME_AW(GlobalGetAtomName)
3346 BOOL WINAPI
GrayStringA(HDC
,HBRUSH
,GRAYSTRINGPROC
,LPARAM
,
3347 INT
,INT
,INT
,INT
,INT
);
3348 BOOL WINAPI
GrayStringW(HDC
,HBRUSH
,GRAYSTRINGPROC
,LPARAM
,
3349 INT
,INT
,INT
,INT
,INT
);
3350 #define GrayString WINELIB_NAME_AW(GrayString)
3351 BOOL WINAPI
HideCaret(HWND
);
3352 BOOL WINAPI
HiliteMenuItem(HWND
,HMENU
,UINT
,UINT
);
3353 BOOL WINAPI
InflateRect(LPRECT
,INT
,INT
);
3354 BOOL WINAPI
InSendMessage(void);
3355 BOOL WINAPI
InsertMenuA(HMENU
,UINT
,UINT
,UINT
,LPCSTR
);
3356 BOOL WINAPI
InsertMenuW(HMENU
,UINT
,UINT
,UINT
,LPCWSTR
);
3357 #define InsertMenu WINELIB_NAME_AW(InsertMenu)
3358 BOOL WINAPI
InsertMenuItemA(HMENU
,UINT
,BOOL
,const MENUITEMINFOA
*);
3359 BOOL WINAPI
InsertMenuItemW(HMENU
,UINT
,BOOL
,const MENUITEMINFOW
*);
3360 #define InsertMenuItem WINELIB_NAME_AW(InsertMenuItem)
3361 BOOL WINAPI
IntersectRect(LPRECT
,const RECT
*,const RECT
*);
3362 BOOL WINAPI
InvalidateRect(HWND
,const RECT
*,BOOL
);
3363 BOOL WINAPI
InvalidateRgn(HWND
,HRGN
,BOOL
);
3364 BOOL WINAPI
InvertRect(HDC
,const RECT
*);
3365 BOOL WINAPI
IsCharAlphaA(CHAR
);
3366 BOOL WINAPI
IsCharAlphaW(WCHAR
);
3367 #define IsCharAlpha WINELIB_NAME_AW(IsCharAlpha)
3368 BOOL WINAPI
IsCharAlphaNumericA(CHAR
);
3369 BOOL WINAPI
IsCharAlphaNumericW(WCHAR
);
3370 #define IsCharAlphaNumeric WINELIB_NAME_AW(IsCharAlphaNumeric)
3371 BOOL WINAPI
IsCharLowerA(CHAR
);
3372 BOOL WINAPI
IsCharLowerW(WCHAR
);
3373 #define IsCharLower WINELIB_NAME_AW(IsCharLower)
3374 BOOL WINAPI
IsCharUpperA(CHAR
);
3375 BOOL WINAPI
IsCharUpperW(WCHAR
);
3376 #define IsCharUpper WINELIB_NAME_AW(IsCharUpper)
3377 BOOL WINAPI
IsChild(HWND
,HWND
);
3378 BOOL WINAPI
IsClipboardFormatAvailable(UINT
);
3379 BOOL WINAPI
IsDialogMessageA(HWND
,LPMSG
);
3380 BOOL WINAPI
IsDialogMessageW(HWND
,LPMSG
);
3381 #define IsDialogMessage WINELIB_NAME_AW(IsDialogMessage)
3382 UINT WINAPI
IsDlgButtonChecked(HWND
,UINT
);
3383 BOOL WINAPI
IsIconic(HWND
);
3384 BOOL WINAPI
IsMenu(HMENU
);
3385 BOOL WINAPI
IsRectEmpty(const RECT
*);
3386 BOOL WINAPI
IsWindow(HWND
);
3387 BOOL WINAPI
IsWindowEnabled(HWND
);
3388 BOOL WINAPI
IsWindowVisible(HWND
);
3389 BOOL WINAPI
IsZoomed(HWND
);
3390 BOOL WINAPI
KillSystemTimer(HWND
,UINT
);
3391 BOOL WINAPI
KillTimer(HWND
,UINT
);
3392 HACCEL WINAPI
LoadAcceleratorsA(HINSTANCE
,LPCSTR
);
3393 HACCEL WINAPI
LoadAcceleratorsW(HINSTANCE
,LPCWSTR
);
3394 #define LoadAccelerators WINELIB_NAME_AW(LoadAccelerators)
3395 HBITMAP WINAPI
LoadBitmapA(HANDLE
,LPCSTR
);
3396 HBITMAP WINAPI
LoadBitmapW(HANDLE
,LPCWSTR
);
3397 #define LoadBitmap WINELIB_NAME_AW(LoadBitmap)
3398 HCURSOR WINAPI
LoadCursorA(HINSTANCE
,LPCSTR
);
3399 HCURSOR WINAPI
LoadCursorW(HINSTANCE
,LPCWSTR
);
3400 #define LoadCursor WINELIB_NAME_AW(LoadCursor)
3401 HCURSOR WINAPI
LoadCursorFromFileA(LPCSTR
);
3402 HCURSOR WINAPI
LoadCursorFromFileW(LPCWSTR
);
3403 #define LoadCursorFromFile WINELIB_NAME_AW(LoadCursorFromFile)
3404 HICON WINAPI
LoadIconA(HINSTANCE
,LPCSTR
);
3405 HICON WINAPI
LoadIconW(HINSTANCE
,LPCWSTR
);
3406 #define LoadIcon WINELIB_NAME_AW(LoadIcon)
3407 HANDLE WINAPI
LoadImageA(HINSTANCE
,LPCSTR
,UINT
,INT
,INT
,UINT
);
3408 HANDLE WINAPI
LoadImageW(HINSTANCE
,LPCWSTR
,UINT
,INT
,INT
,UINT
);
3409 #define LoadImage WINELIB_NAME_AW(LoadImage)
3410 HMENU WINAPI
LoadMenuA(HINSTANCE
,LPCSTR
);
3411 HMENU WINAPI
LoadMenuW(HINSTANCE
,LPCWSTR
);
3412 #define LoadMenu WINELIB_NAME_AW(LoadMenu)
3413 HMENU WINAPI
LoadMenuIndirectA(LPCVOID
);
3414 HMENU WINAPI
LoadMenuIndirectW(LPCVOID
);
3415 #define LoadMenuIndirect WINELIB_NAME_AW(LoadMenuIndirect)
3416 INT WINAPI
LoadStringA(HINSTANCE
,UINT
,LPSTR
,INT
);
3417 INT WINAPI
LoadStringW(HINSTANCE
,UINT
,LPWSTR
,INT
);
3418 #define LoadString WINELIB_NAME_AW(LoadString)
3419 BOOL WINAPI
LockWindowUpdate(HWND
);
3420 INT WINAPI
LookupIconIdFromDirectory(LPBYTE
,BOOL
);
3421 INT WINAPI
LookupIconIdFromDirectoryEx(LPBYTE
,BOOL
,INT
,INT
,UINT
);
3422 UINT WINAPI
MapVirtualKeyA(UINT
,UINT
);
3423 UINT WINAPI
MapVirtualKeyW(UINT
,UINT
);
3424 #define MapVirtualKey WINELIB_NAME_AW(MapVirtualKey)
3425 UINT WINAPI
MapVirtualKeyEx32A(UINT
,UINT
,HKL
);
3426 #define MapVirtualKeyEx WINELIB_NAME_AW(MapVirtualKeyEx)
3427 BOOL WINAPI
MapDialogRect(HWND
,LPRECT
);
3428 INT WINAPI
MapWindowPoints(HWND
,HWND
,LPPOINT
,UINT
);
3429 BOOL WINAPI
MessageBeep(UINT
);
3430 INT WINAPI
MessageBoxA(HWND
,LPCSTR
,LPCSTR
,UINT
);
3431 INT WINAPI
MessageBoxW(HWND
,LPCWSTR
,LPCWSTR
,UINT
);
3432 #define MessageBox WINELIB_NAME_AW(MessageBox)
3433 INT WINAPI
MessageBoxIndirectA(LPMSGBOXPARAMSA
);
3434 INT WINAPI
MessageBoxIndirectW(LPMSGBOXPARAMSW
);
3435 #define MessageBoxIndirect WINELIB_NAME_AW(MessageBoxIndirect)
3436 BOOL WINAPI
ModifyMenuA(HMENU
,UINT
,UINT
,UINT
,LPCSTR
);
3437 BOOL WINAPI
ModifyMenuW(HMENU
,UINT
,UINT
,UINT
,LPCWSTR
);
3438 #define ModifyMenu WINELIB_NAME_AW(ModifyMenu)
3439 BOOL WINAPI
MoveWindow(HWND
,INT
,INT
,INT
,INT
,BOOL
);
3440 BOOL WINAPI
OemToCharA(LPCSTR
,LPSTR
);
3441 BOOL WINAPI
OemToCharW(LPCSTR
,LPWSTR
);
3442 #define OemToChar WINELIB_NAME_AW(OemToChar)
3443 BOOL WINAPI
OemToCharBuffA(LPCSTR
,LPSTR
,DWORD
);
3444 BOOL WINAPI
OemToCharBuffW(LPCSTR
,LPWSTR
,DWORD
);
3445 #define OemToCharBuff WINELIB_NAME_AW(OemToCharBuff)
3446 BOOL WINAPI
OffsetRect(LPRECT
,INT
,INT
);
3447 BOOL WINAPI
OpenClipboard(HWND
);
3448 BOOL WINAPI
OpenIcon(HWND
);
3449 BOOL WINAPI
PeekMessageA(LPMSG
,HWND
,UINT
,UINT
,UINT
);
3450 BOOL WINAPI
PeekMessageW(LPMSG
,HWND
,UINT
,UINT
,UINT
);
3451 #define PeekMessage WINELIB_NAME_AW(PeekMessage)
3452 #define PostAppMessageA(thread,msg,wparam,lparam) \
3453 PostThreadMessageA((DWORD)(thread),msg,wparam,lparam)
3454 #define PostAppMessageW(thread,msg,wparam,lparam) \
3455 PostThreadMessageW((DWORD)(thread),msg,wparam,lparam)
3456 #define PostAppMessage WINELIB_NAME_AW(PostAppMessage)
3457 BOOL WINAPI
PostMessageA(HWND
,UINT
,WPARAM
,LPARAM
);
3458 BOOL WINAPI
PostMessageW(HWND
,UINT
,WPARAM
,LPARAM
);
3459 #define PostMessage WINELIB_NAME_AW(PostMessage)
3460 void WINAPI
PostQuitMessage(INT
);
3461 BOOL WINAPI
PtInRect(const RECT
*,POINT
);
3462 BOOL WINAPI
RedrawWindow(HWND
,const RECT
*,HRGN
,UINT
);
3463 ATOM WINAPI
RegisterClassA(const WNDCLASSA
*);
3464 ATOM WINAPI
RegisterClassW(const WNDCLASSW
*);
3465 #define RegisterClass WINELIB_NAME_AW(RegisterClass)
3466 ATOM WINAPI
RegisterClassExA(const WNDCLASSEXA
*);
3467 ATOM WINAPI
RegisterClassExW(const WNDCLASSEXW
*);
3468 #define RegisterClassEx WINELIB_NAME_AW(RegisterClassEx)
3469 UINT WINAPI
RegisterClipboardFormatA(LPCSTR
);
3470 UINT WINAPI
RegisterClipboardFormatW(LPCWSTR
);
3471 #define RegisterClipboardFormat WINELIB_NAME_AW(RegisterClipboardFormat)
3472 WORD WINAPI
RegisterWindowMessageA(LPCSTR
);
3473 WORD WINAPI
RegisterWindowMessageW(LPCWSTR
);
3474 #define RegisterWindowMessage WINELIB_NAME_AW(RegisterWindowMessage)
3475 INT WINAPI
ReleaseDC(HWND
,HDC
);
3476 BOOL WINAPI
RemoveMenu(HMENU
,UINT
,UINT
);
3477 HANDLE WINAPI
RemovePropA(HWND
,LPCSTR
);
3478 HANDLE WINAPI
RemovePropW(HWND
,LPCWSTR
);
3479 #define RemoveProp WINELIB_NAME_AW(RemoveProp)
3480 BOOL WINAPI
ReplyMessage(LRESULT
);
3481 BOOL WINAPI
ScreenToClient(HWND
,LPPOINT
);
3482 VOID WINAPI
ScrollChildren(HWND
,UINT
,WPARAM
,LPARAM
);
3483 BOOL WINAPI
ScrollDC(HDC
,INT
,INT
,const RECT
*,const RECT
*,
3485 BOOL WINAPI
ScrollWindow(HWND
,INT
,INT
,const RECT
*,const RECT
*);
3486 INT WINAPI
ScrollWindowEx(HWND
,INT
,INT
,const RECT
*,
3487 const RECT
*,HRGN
,LPRECT
,UINT
);
3488 LRESULT WINAPI
SendDlgItemMessageA(HWND
,INT
,UINT
,WPARAM
,LPARAM
);
3489 LRESULT WINAPI
SendDlgItemMessageW(HWND
,INT
,UINT
,WPARAM
,LPARAM
);
3490 #define SendDlgItemMessage WINELIB_NAME_AW(SendDlgItemMessage)
3491 LRESULT WINAPI
SendMessageA(HWND
,UINT
,WPARAM
,LPARAM
);
3492 LRESULT WINAPI
SendMessageW(HWND
,UINT
,WPARAM
,LPARAM
);
3493 #define SendMessage WINELIB_NAME_AW(SendMessage)
3494 LRESULT WINAPI
SendMessageTimeoutA(HWND
,UINT
,WPARAM
,LPARAM
,UINT
,
3496 LRESULT WINAPI
SendMessageTimeoutW(HWND
,UINT
,WPARAM
,LPARAM
,UINT
,
3498 #define SendMessageTimeout WINELIB_NAME_AW(SendMessageTimeout)
3499 HWND WINAPI
SetActiveWindow(HWND
);
3500 HWND WINAPI
SetCapture(HWND
);
3501 BOOL WINAPI
SetCaretBlinkTime(UINT
);
3502 BOOL WINAPI
SetCaretPos(INT
,INT
);
3503 LONG WINAPI
SetClassLongA(HWND
,INT
,LONG
);
3504 LONG WINAPI
SetClassLongW(HWND
,INT
,LONG
);
3505 #define SetClassLong WINELIB_NAME_AW(SetClassLong)
3506 WORD WINAPI
SetClassWord(HWND
,INT
,WORD
);
3507 HANDLE WINAPI
SetClipboardData(UINT
,HANDLE
);
3508 HWND WINAPI
SetClipboardViewer(HWND
);
3509 BOOL WINAPI
SetCommBreak(HANDLE
);
3510 HCURSOR WINAPI
SetCursor(HCURSOR
);
3511 BOOL WINAPI
SetCursorPos(INT
,INT
);
3512 BOOL WINAPI
SetDeskWallPaper(LPCSTR
);
3513 BOOL WINAPI
SetDlgItemInt(HWND
,INT
,UINT
,BOOL
);
3514 BOOL WINAPI
SetDlgItemTextA(HWND
,INT
,LPCSTR
);
3515 BOOL WINAPI
SetDlgItemTextW(HWND
,INT
,LPCWSTR
);
3516 #define SetDlgItemText WINELIB_NAME_AW(SetDlgItemText)
3517 BOOL WINAPI
SetDoubleClickTime(UINT
);
3518 HWND WINAPI
SetFocus(HWND
);
3519 BOOL WINAPI
SetForegroundWindow(HWND
);
3520 void WINAPI
SetInternalWindowPos(HWND
,UINT
,LPRECT
,LPPOINT
);
3521 BOOL WINAPI
SetMenu(HWND
,HMENU
);
3522 BOOL WINAPI
SetMenuContextHelpId(HMENU
,DWORD
);
3523 BOOL WINAPI
SetMenuItemBitmaps(HMENU
,UINT
,UINT
,HBITMAP
,HBITMAP
);
3524 BOOL WINAPI
SetMessageQueue(INT
);
3525 HWND WINAPI
SetParent(HWND
,HWND
);
3526 BOOL WINAPI
SetPropA(HWND
,LPCSTR
,HANDLE
);
3527 BOOL WINAPI
SetPropW(HWND
,LPCWSTR
,HANDLE
);
3528 #define SetProp WINELIB_NAME_AW(SetProp)
3529 BOOL WINAPI
SetRect(LPRECT
,INT
,INT
,INT
,INT
);
3530 BOOL WINAPI
SetRectEmpty(LPRECT
);
3531 INT WINAPI
SetScrollInfo(HWND
,INT
,const SCROLLINFO
*,BOOL
);
3532 INT WINAPI
SetScrollPos(HWND
,INT
,INT
,BOOL
);
3533 BOOL WINAPI
SetScrollRange(HWND
,INT
,INT
,INT
,BOOL
);
3534 BOOL WINAPI
SetSysColors(INT
,const INT
*,const COLORREF
*);
3535 #define SetSysModalWindow(hwnd) ((HWND)0)
3536 BOOL WINAPI
SetSystemCursor(HCURSOR
,DWORD
);
3537 BOOL WINAPI
SetSystemMenu(HWND
,HMENU
);
3538 UINT WINAPI
SetSystemTimer(HWND
,UINT
,UINT
,TIMERPROC
);
3539 UINT WINAPI
SetTimer(HWND
,UINT
,UINT
,TIMERPROC
);
3540 LONG WINAPI
SetWindowLongA(HWND
,INT
,LONG
);
3541 LONG WINAPI
SetWindowLongW(HWND
,INT
,LONG
);
3542 #define SetWindowLong WINELIB_NAME_AW(SetWindowLong)
3543 BOOL WINAPI
SetWindowPlacement(HWND
,const WINDOWPLACEMENT
*);
3544 HHOOK WINAPI
SetWindowsHookA(INT
,HOOKPROC
);
3545 HHOOK WINAPI
SetWindowsHookW(INT
,HOOKPROC
);
3546 #define SetWindowsHook WINELIB_NAME_AW(SetWindowsHook)
3547 HHOOK WINAPI
SetWindowsHookExA(INT
,HOOKPROC
,HINSTANCE
,DWORD
);
3548 HHOOK WINAPI
SetWindowsHookExW(INT
,HOOKPROC
,HINSTANCE
,DWORD
);
3549 #define SetWindowsHookEx WINELIB_NAME_AW(SetWindowsHookEx)
3550 BOOL WINAPI
SetWindowPos(HWND
,HWND
,INT
,INT
,INT
,INT
,UINT
);
3551 INT WINAPI
SetWindowRgn(HWND
,HRGN
,BOOL
);
3552 BOOL WINAPI
SetWindowTextA(HWND
,LPCSTR
);
3553 BOOL WINAPI
SetWindowTextW(HWND
,LPCWSTR
);
3554 #define SetWindowText WINELIB_NAME_AW(SetWindowText)
3555 WORD WINAPI
SetWindowWord(HWND
,INT
,WORD
);
3556 BOOL WINAPI
ShowCaret(HWND
);
3557 INT WINAPI
ShowCursor(BOOL
);
3558 BOOL WINAPI
ShowScrollBar(HWND
,INT
,BOOL
);
3559 BOOL WINAPI
ShowOwnedPopups(HWND
,BOOL
);
3560 BOOL WINAPI
ShowWindow(HWND
,INT
);
3561 BOOL WINAPI
SubtractRect(LPRECT
,const RECT
*,const RECT
*);
3562 BOOL WINAPI
SwapMouseButton(BOOL
);
3563 VOID WINAPI
SwitchToThisWindow(HWND
,BOOL
);
3564 BOOL WINAPI
SystemParametersInfoA(UINT
,UINT
,LPVOID
,UINT
);
3565 BOOL WINAPI
SystemParametersInfoW(UINT
,UINT
,LPVOID
,UINT
);
3566 #define SystemParametersInfo WINELIB_NAME_AW(SystemParametersInfo)
3567 LONG WINAPI
TabbedTextOutA(HDC
,INT
,INT
,LPCSTR
,INT
,INT
,const INT
*,INT
);
3568 LONG WINAPI
TabbedTextOutW(HDC
,INT
,INT
,LPCWSTR
,INT
,INT
,const INT
*,INT
);
3569 #define TabbedTextOut WINELIB_NAME_AW(TabbedTextOut)
3570 INT WINAPI
ToAscii(UINT
,UINT
,LPBYTE
,LPWORD
,UINT
);
3571 INT WINAPI
ToAsciiEx(UINT
,UINT
,LPBYTE
,LPWORD
,UINT
,HKL
);
3572 BOOL WINAPI
TrackPopupMenu(HMENU
,UINT
,INT
,INT
,INT
,HWND
,const RECT
*);
3573 INT WINAPI
TranslateAccelerator(HWND
,HACCEL
,LPMSG
);
3574 BOOL WINAPI
TranslateMDISysAccel(HWND
,LPMSG
);
3575 BOOL WINAPI
TranslateMessage(const MSG
*);
3576 BOOL WINAPI
UnhookWindowsHook(INT
,HOOKPROC
);
3577 BOOL WINAPI
UnhookWindowsHookEx(HHOOK
);
3578 BOOL WINAPI
UnionRect(LPRECT
,const RECT
*,const RECT
*);
3579 BOOL WINAPI
UnregisterClassA(LPCSTR
,HINSTANCE
);
3580 BOOL WINAPI
UnregisterClassW(LPCWSTR
,HINSTANCE
);
3581 #define UnregisterClass WINELIB_NAME_AW(UnregisterClass)
3582 VOID WINAPI
UpdateWindow(HWND
);
3583 VOID WINAPI
ValidateRect(HWND
,const RECT
*);
3584 VOID WINAPI
ValidateRgn(HWND
,HRGN
);
3585 WORD WINAPI
VkKeyScanA(CHAR
);
3586 WORD WINAPI
VkKeyScanW(WCHAR
);
3587 #define VkKeyScan WINELIB_NAME_AW(VkKeyScan)
3588 WORD WINAPI
VkKeyScanExA(CHAR
, HKL
);
3589 WORD WINAPI
VkKeyScanExW(WCHAR
, HKL
);
3590 #define VkKeyScanEx WINELIB_NAME_AW(VkKeyScanEx)
3591 HWND WINAPI
WindowFromDC(HDC
);
3592 HWND WINAPI
WindowFromPoint(POINT
);
3593 BOOL WINAPI
WinHelpA(HWND
,LPCSTR
,UINT
,DWORD
);
3594 BOOL WINAPI
WinHelpW(HWND
,LPCWSTR
,UINT
,DWORD
);
3595 #define WinHelp WINELIB_NAME_AW(WinHelp)
3596 INT WINAPIV
wsnprintfA(LPSTR
,UINT
,LPCSTR
,...);
3597 INT WINAPIV
wsnprintfW(LPWSTR
,UINT
,LPCWSTR
,...);
3598 #define wsnprintf WINELIB_NAME_AW(wsnprintf)
3599 INT WINAPIV
wsprintfA(LPSTR
,LPCSTR
,...);
3600 INT WINAPIV
wsprintfW(LPWSTR
,LPCWSTR
,...);
3601 #define wsprintf WINELIB_NAME_AW(wsprintf)
3602 INT WINAPI
wvsnprintfA(LPSTR
,UINT
,LPCSTR
,va_list);
3603 INT WINAPI
wvsnprintfW(LPWSTR
,UINT
,LPCWSTR
,va_list);
3604 #define wvsnprintf WINELIB_NAME_AW(wvsnprintf)
3605 INT WINAPI
wvsprintfA(LPSTR
,LPCSTR
,va_list);
3606 INT WINAPI
wvsprintfW(LPWSTR
,LPCWSTR
,va_list);
3607 #define wvsprintf WINELIB_NAME_AW(wvsprintf)
3609 BOOL WINAPI
RegisterShellHook16(HWND16
,UINT16
);
3610 /* NOTE: This is SYSTEM.3, not USER.182, which is also named KillSystemTimer */
3611 WORD WINAPI
SYSTEM_KillSystemTimer( WORD
);
3613 /* Extra functions that don't exist in the Windows API */
3615 HPEN WINAPI
GetSysColorPen(INT
);
3616 INT WINAPI
LoadMessageA(HMODULE
,UINT
,WORD
,LPSTR
,INT
);
3617 INT WINAPI
LoadMessageW(HMODULE
,UINT
,WORD
,LPWSTR
,INT
);
3619 VOID WINAPI
ScreenSwitchEnable16(WORD
);
3621 #define WC_DIALOG (LPSTR)((DWORD)((WORD)( 0x8002)))
3627 #endif /* _WINUSER_ */