Fixed a silly VGA-emulation palette bug.
[wine/multimedia.git] / include / winuser.h
blob0e4d9980dff99e47037b772586d153b1d6d5c86b
1 #ifndef __INCLUDE_WINUSER_H
2 #define __INCLUDE_WINUSER_H
4 #ifndef RC_INVOKED
5 #include <stdarg.h>
6 #endif
7 #include "wintypes.h"
8 #include "wingdi.h"
9 #include "wine/winestring.h"
11 #pragma pack(1)
13 /* flags for HIGHCONTRAST dwFlags field */
14 #define HCF_HIGHCONTRASTON 0x00000001
15 #define HCF_AVAILABLE 0x00000002
16 #define HCF_HOTKEYACTIVE 0x00000004
17 #define HCF_CONFIRMHOTKEY 0x00000008
18 #define HCF_HOTKEYSOUND 0x00000010
19 #define HCF_INDICATOR 0x00000020
20 #define HCF_HOTKEYAVAILABLE 0x00000040
22 typedef struct tagHIGHCONTRASTA
24 UINT cbSize;
25 DWORD dwFlags;
26 LPSTR lpszDefaultScheme;
27 } HIGHCONTRASTA, *LPHIGHCONTRASTA;
29 typedef struct tagHIGHCONTRAST32W
31 UINT cbSize;
32 DWORD dwFlags;
33 LPWSTR lpszDefaultScheme;
34 } HIGHCONTRASTW, *LPHIGHCONTRASTW;
36 DECL_WINELIB_TYPE_AW(HIGHCONTRAST)
37 DECL_WINELIB_TYPE_AW(LPHIGHCONTRAST)
39 typedef struct
41 UINT message;
42 UINT paramL;
43 UINT paramH;
44 DWORD time;
45 HWND hwnd;
46 } EVENTMSG, *LPEVENTMSG;
49 /* Mouse hook structure */
51 typedef struct
53 POINT pt;
54 HWND hwnd;
55 UINT wHitTestCode;
56 DWORD dwExtraInfo;
57 } MOUSEHOOKSTRUCT, *PMOUSEHOOKSTRUCT32, *LPMOUSEHOOKSTRUCT;
60 /* Hardware hook structure */
62 typedef struct
64 HWND hWnd;
65 UINT wMessage;
66 WPARAM wParam;
67 LPARAM lParam;
68 } HARDWAREHOOKSTRUCT, *LPHARDWAREHOOKSTRUCT;
71 /* Debug hook structure */
73 typedef struct
75 DWORD idThread;
76 DWORD idThreadInstaller;
77 LPARAM lParam;
78 WPARAM wParam;
79 INT code;
80 } DEBUGHOOKINFO, *LPDEBUGHOOKINFO;
83 /***** Dialogs *****/
84 #ifdef FSHIFT
85 /* Gcc on Solaris has a version of this that we don't care about. */
86 #undef FSHIFT
87 #endif
89 #define FVIRTKEY TRUE /* Assumed to be == TRUE */
90 #define FNOINVERT 0x02
91 #define FSHIFT 0x04
92 #define FCONTROL 0x08
93 #define FALT 0x10
96 typedef struct tagANIMATIONINFO
98 UINT cbSize;
99 INT iMinAnimate;
100 } ANIMATIONINFO, *LPANIMATIONINFO;
102 typedef struct tagNMHDR
104 HWND hwndFrom;
105 UINT idFrom;
106 UINT code;
107 } NMHDR, *LPNMHDR;
109 typedef struct
111 UINT cbSize;
112 INT iTabLength;
113 INT iLeftMargin;
114 INT iRightMargin;
115 UINT uiLengthDrawn;
116 } DRAWTEXTPARAMS,*LPDRAWTEXTPARAMS;
118 #define WM_USER 0x0400
120 typedef struct
122 UINT length;
123 UINT flags;
124 UINT showCmd;
125 POINT ptMinPosition WINE_PACKED;
126 POINT ptMaxPosition WINE_PACKED;
127 RECT rcNormalPosition WINE_PACKED;
128 } WINDOWPLACEMENT, *LPWINDOWPLACEMENT;
131 /* WINDOWPLACEMENT flags */
132 #define WPF_SETMINPOSITION 0x0001
133 #define WPF_RESTORETOMAXIMIZED 0x0002
135 /***** Dialogs *****/
137 /* cbWndExtra bytes for dialog class */
138 #define DLGWINDOWEXTRA 30
140 /* Button control styles */
141 #define BS_PUSHBUTTON 0x00000000L
142 #define BS_DEFPUSHBUTTON 0x00000001L
143 #define BS_CHECKBOX 0x00000002L
144 #define BS_AUTOCHECKBOX 0x00000003L
145 #define BS_RADIOBUTTON 0x00000004L
146 #define BS_3STATE 0x00000005L
147 #define BS_AUTO3STATE 0x00000006L
148 #define BS_GROUPBOX 0x00000007L
149 #define BS_USERBUTTON 0x00000008L
150 #define BS_AUTORADIOBUTTON 0x00000009L
151 #define BS_OWNERDRAW 0x0000000BL
152 #define BS_LEFTTEXT 0x00000020L
154 /* Dialog styles */
155 #define DS_ABSALIGN 0x0001
156 #define DS_SYSMODAL 0x0002
157 #define DS_3DLOOK 0x0004 /* win95 */
158 #define DS_FIXEDSYS 0x0008 /* win95 */
159 #define DS_NOFAILCREATE 0x0010 /* win95 */
160 #define DS_LOCALEDIT 0x0020
161 #define DS_SETFONT 0x0040
162 #define DS_MODALFRAME 0x0080
163 #define DS_NOIDLEMSG 0x0100
164 #define DS_SETFOREGROUND 0x0200 /* win95 */
165 #define DS_CONTROL 0x0400 /* win95 */
166 #define DS_CENTER 0x0800 /* win95 */
167 #define DS_CENTERMOUSE 0x1000 /* win95 */
168 #define DS_CONTEXTHELP 0x2000 /* win95 */
171 /* Dialog messages */
172 #define DM_GETDEFID (WM_USER+0)
173 #define DM_SETDEFID (WM_USER+1)
175 #define DC_HASDEFID 0x534b
177 /* Owner draw control types */
178 #define ODT_MENU 1
179 #define ODT_LISTBOX 2
180 #define ODT_COMBOBOX 3
181 #define ODT_BUTTON 4
183 /* Owner draw actions */
184 #define ODA_DRAWENTIRE 0x0001
185 #define ODA_SELECT 0x0002
186 #define ODA_FOCUS 0x0004
188 /* Owner draw state */
189 #define ODS_SELECTED 0x0001
190 #define ODS_GRAYED 0x0002
191 #define ODS_DISABLED 0x0004
192 #define ODS_CHECKED 0x0008
193 #define ODS_FOCUS 0x0010
195 /* Edit control styles */
196 #define ES_LEFT 0x00000000
197 #define ES_CENTER 0x00000001
198 #define ES_RIGHT 0x00000002
199 #define ES_MULTILINE 0x00000004
200 #define ES_UPPERCASE 0x00000008
201 #define ES_LOWERCASE 0x00000010
202 #define ES_PASSWORD 0x00000020
203 #define ES_AUTOVSCROLL 0x00000040
204 #define ES_AUTOHSCROLL 0x00000080
205 #define ES_NOHIDESEL 0x00000100
206 #define ES_OEMCONVERT 0x00000400
207 #define ES_READONLY 0x00000800
208 #define ES_WANTRETURN 0x00001000
209 #define ES_NUMBER 0x00002000
211 /* OEM Resource Ordinal Numbers */
212 #define OBM_CLOSED 32731
213 #define OBM_RADIOCHECK 32732
214 #define OBM_TRTYPE 32733
215 #define OBM_LFARROWI 32734
216 #define OBM_RGARROWI 32735
217 #define OBM_DNARROWI 32736
218 #define OBM_UPARROWI 32737
219 #define OBM_COMBO 32738
220 #define OBM_MNARROW 32739
221 #define OBM_LFARROWD 32740
222 #define OBM_RGARROWD 32741
223 #define OBM_DNARROWD 32742
224 #define OBM_UPARROWD 32743
225 #define OBM_RESTORED 32744
226 #define OBM_ZOOMD 32745
227 #define OBM_REDUCED 32746
228 #define OBM_RESTORE 32747
229 #define OBM_ZOOM 32748
230 #define OBM_REDUCE 32749
231 #define OBM_LFARROW 32750
232 #define OBM_RGARROW 32751
233 #define OBM_DNARROW 32752
234 #define OBM_UPARROW 32753
235 #define OBM_CLOSE 32754
236 #define OBM_OLD_RESTORE 32755
237 #define OBM_OLD_ZOOM 32756
238 #define OBM_OLD_REDUCE 32757
239 #define OBM_BTNCORNERS 32758
240 #define OBM_CHECKBOXES 32759
241 #define OBM_CHECK 32760
242 #define OBM_BTSIZE 32761
243 #define OBM_OLD_LFARROW 32762
244 #define OBM_OLD_RGARROW 32763
245 #define OBM_OLD_DNARROW 32764
246 #define OBM_OLD_UPARROW 32765
247 #define OBM_SIZE 32766
248 #define OBM_OLD_CLOSE 32767
250 #define OCR_BUMMER 100
251 #define OCR_DRAGOBJECT 101
253 #define OCR_NORMAL 32512
254 #define OCR_IBEAM 32513
255 #define OCR_WAIT 32514
256 #define OCR_CROSS 32515
257 #define OCR_UP 32516
258 #define OCR_SIZE 32640
259 #define OCR_ICON 32641
260 #define OCR_SIZENWSE 32642
261 #define OCR_SIZENESW 32643
262 #define OCR_SIZEWE 32644
263 #define OCR_SIZENS 32645
264 #define OCR_SIZEALL 32646
265 #define OCR_ICOCUR 32647
266 #define OCR_NO 32648
267 #define OCR_APPSTARTING 32650
268 #define OCR_HELP 32651 /* only defined in wine */
270 #define OIC_SAMPLE 32512
271 #define OIC_HAND 32513
272 #define OIC_QUES 32514
273 #define OIC_BANG 32515
274 #define OIC_NOTE 32516
275 #define OIC_PORTRAIT 32517
276 #define OIC_LANDSCAPE 32518
277 #define OIC_WINEICON 32519
278 #define OIC_FOLDER 32520
279 #define OIC_FOLDER2 32521
280 #define OIC_FLOPPY 32522
281 #define OIC_CDROM 32523
282 #define OIC_HDISK 32524
283 #define OIC_NETWORK 32525
285 /* Edit control messages */
286 #define EM_GETSEL 0x00b0
287 #define EM_SETSEL 0x00b1
288 #define EM_GETRECT 0x00b2
289 #define EM_SETRECT 0x00b3
290 #define EM_SETRECTNP 0x00b4
291 #define EM_SCROLL 0x00b5
292 #define EM_LINESCROLL 0x00b6
293 #define EM_SCROLLCARET 0x00b7
294 #define EM_GETMODIFY 0x00b8
295 #define EM_SETMODIFY 0x00b9
296 #define EM_GETLINECOUNT 0x00ba
297 #define EM_LINEINDEX 0x00bb
298 #define EM_SETHANDLE 0x00bc
299 #define EM_GETHANDLE 0x00bd
300 #define EM_GETTHUMB 0x00be
301 /* FIXME : missing from specs 0x00bf and 0x00c0 */
302 #define EM_LINELENGTH 0x00c1
303 #define EM_REPLACESEL 0x00c2
304 /* FIXME : missing from specs 0x00c3 */
305 #define EM_GETLINE 0x00c4
306 #define EM_LIMITTEXT 0x00c5
307 #define EM_CANUNDO 0x00c6
308 #define EM_UNDO 0x00c7
309 #define EM_FMTLINES 0x00c8
310 #define EM_LINEFROMCHAR 0x00c9
311 /* FIXME : missing from specs 0x00ca */
312 #define EM_SETTABSTOPS 0x00cb
313 #define EM_SETPASSWORDCHAR 0x00cc
314 #define EM_EMPTYUNDOBUFFER 0x00cd
315 #define EM_GETFIRSTVISIBLELINE 0x00ce
316 #define EM_SETREADONLY 0x00cf
317 #define EM_SETWORDBREAKPROC 0x00d0
318 #define EM_GETWORDBREAKPROC 0x00d1
319 #define EM_GETPASSWORDCHAR 0x00d2
320 #define EM_SETMARGINS 0x00d3
321 #define EM_GETMARGINS 0x00d4
322 #define EM_GETLIMITTEXT 0x00d5
323 #define EM_POSFROMCHAR 0x00d6
324 #define EM_CHARFROMPOS 0x00d7
325 /* a name change since win95 */
326 #define EM_SETLIMITTEXT EM_LIMITTEXT
328 /* EDITWORDBREAKPROC code values */
329 #define WB_LEFT 0
330 #define WB_RIGHT 1
331 #define WB_ISDELIMITER 2
333 /* Edit control notification codes */
334 #define EN_SETFOCUS 0x0100
335 #define EN_KILLFOCUS 0x0200
336 #define EN_CHANGE 0x0300
337 #define EN_UPDATE 0x0400
338 #define EN_ERRSPACE 0x0500
339 #define EN_MAXTEXT 0x0501
340 #define EN_HSCROLL 0x0601
341 #define EN_VSCROLL 0x0602
343 /* New since win95 : EM_SETMARGIN parameters */
344 #define EC_LEFTMARGIN 0x0001
345 #define EC_RIGHTMARGIN 0x0002
346 #define EC_USEFONTINFO 0xffff
349 /* Messages */
351 /* WM_GETDLGCODE values */
354 #define WM_NULL 0x0000
355 #define WM_CREATE 0x0001
356 #define WM_DESTROY 0x0002
357 #define WM_MOVE 0x0003
358 #define WM_SIZEWAIT 0x0004
359 #define WM_SIZE 0x0005
360 #define WM_ACTIVATE 0x0006
361 #define WM_SETFOCUS 0x0007
362 #define WM_KILLFOCUS 0x0008
363 #define WM_SETVISIBLE 0x0009
364 #define WM_ENABLE 0x000a
365 #define WM_SETREDRAW 0x000b
366 #define WM_SETTEXT 0x000c
367 #define WM_GETTEXT 0x000d
368 #define WM_GETTEXTLENGTH 0x000e
369 #define WM_PAINT 0x000f
370 #define WM_CLOSE 0x0010
371 #define WM_QUERYENDSESSION 0x0011
372 #define WM_QUIT 0x0012
373 #define WM_QUERYOPEN 0x0013
374 #define WM_ERASEBKGND 0x0014
375 #define WM_SYSCOLORCHANGE 0x0015
376 #define WM_ENDSESSION 0x0016
377 #define WM_SYSTEMERROR 0x0017
378 #define WM_SHOWWINDOW 0x0018
379 #define WM_CTLCOLOR 0x0019
380 #define WM_WININICHANGE 0x001a
381 #define WM_SETTINGCHANGE WM_WININICHANGE
382 #define WM_DEVMODECHANGE 0x001b
383 #define WM_ACTIVATEAPP 0x001c
384 #define WM_FONTCHANGE 0x001d
385 #define WM_TIMECHANGE 0x001e
386 #define WM_CANCELMODE 0x001f
387 #define WM_SETCURSOR 0x0020
388 #define WM_MOUSEACTIVATE 0x0021
389 #define WM_CHILDACTIVATE 0x0022
390 #define WM_QUEUESYNC 0x0023
391 #define WM_GETMINMAXINFO 0x0024
393 #define WM_PAINTICON 0x0026
394 #define WM_ICONERASEBKGND 0x0027
395 #define WM_NEXTDLGCTL 0x0028
396 #define WM_ALTTABACTIVE 0x0029
397 #define WM_SPOOLERSTATUS 0x002a
398 #define WM_DRAWITEM 0x002b
399 #define WM_MEASUREITEM 0x002c
400 #define WM_DELETEITEM 0x002d
401 #define WM_VKEYTOITEM 0x002e
402 #define WM_CHARTOITEM 0x002f
403 #define WM_SETFONT 0x0030
404 #define WM_GETFONT 0x0031
405 #define WM_SETHOTKEY 0x0032
406 #define WM_GETHOTKEY 0x0033
407 #define WM_FILESYSCHANGE 0x0034
408 #define WM_ISACTIVEICON 0x0035
409 #define WM_QUERYPARKICON 0x0036
410 #define WM_QUERYDRAGICON 0x0037
411 #define WM_QUERYSAVESTATE 0x0038
412 #define WM_COMPAREITEM 0x0039
413 #define WM_TESTING 0x003a
415 #define WM_OTHERWINDOWCREATED 0x003c
416 #define WM_OTHERWINDOWDESTROYED 0x003d
417 #define WM_ACTIVATESHELLWINDOW 0x003e
419 #define WM_COMPACTING 0x0041
421 #define WM_COMMNOTIFY 0x0044
422 #define WM_WINDOWPOSCHANGING 0x0046
423 #define WM_WINDOWPOSCHANGED 0x0047
424 #define WM_POWER 0x0048
426 /* Win32 4.0 messages */
427 #define WM_COPYDATA 0x004a
428 #define WM_CANCELJOURNAL 0x004b
429 #define WM_NOTIFY 0x004e
430 #define WM_HELP 0x0053
431 #define WM_NOTIFYFORMAT 0x0055
433 #define WM_CONTEXTMENU 0x007b
434 #define WM_STYLECHANGING 0x007c
435 #define WM_STYLECHANGED 0x007d
436 #define WM_DISPLAYCHANGE 0x007e
437 #define WM_GETICON 0x007f
438 #define WM_SETICON 0x0080
440 /* Non-client system messages */
441 #define WM_NCCREATE 0x0081
442 #define WM_NCDESTROY 0x0082
443 #define WM_NCCALCSIZE 0x0083
444 #define WM_NCHITTEST 0x0084
445 #define WM_NCPAINT 0x0085
446 #define WM_NCACTIVATE 0x0086
448 #define WM_GETDLGCODE 0x0087
449 #define WM_SYNCPAINT 0x0088
450 #define WM_SYNCTASK 0x0089
452 /* Non-client mouse messages */
453 #define WM_NCMOUSEMOVE 0x00a0
454 #define WM_NCLBUTTONDOWN 0x00a1
455 #define WM_NCLBUTTONUP 0x00a2
456 #define WM_NCLBUTTONDBLCLK 0x00a3
457 #define WM_NCRBUTTONDOWN 0x00a4
458 #define WM_NCRBUTTONUP 0x00a5
459 #define WM_NCRBUTTONDBLCLK 0x00a6
460 #define WM_NCMBUTTONDOWN 0x00a7
461 #define WM_NCMBUTTONUP 0x00a8
462 #define WM_NCMBUTTONDBLCLK 0x00a9
464 /* Keyboard messages */
465 #define WM_KEYDOWN 0x0100
466 #define WM_KEYUP 0x0101
467 #define WM_CHAR 0x0102
468 #define WM_DEADCHAR 0x0103
469 #define WM_SYSKEYDOWN 0x0104
470 #define WM_SYSKEYUP 0x0105
471 #define WM_SYSCHAR 0x0106
472 #define WM_SYSDEADCHAR 0x0107
473 #define WM_KEYFIRST WM_KEYDOWN
474 #define WM_KEYLAST 0x0108
476 #define WM_INITDIALOG 0x0110
477 #define WM_COMMAND 0x0111
478 #define WM_SYSCOMMAND 0x0112
479 #define WM_TIMER 0x0113
480 #define WM_SYSTIMER 0x0118
482 /* scroll messages */
483 #define WM_HSCROLL 0x0114
484 #define WM_VSCROLL 0x0115
486 /* Menu messages */
487 #define WM_INITMENU 0x0116
488 #define WM_INITMENUPOPUP 0x0117
490 #define WM_MENUSELECT 0x011F
491 #define WM_MENUCHAR 0x0120
492 #define WM_ENTERIDLE 0x0121
494 #define WM_LBTRACKPOINT 0x0131
496 /* Win32 CTLCOLOR messages */
497 #define WM_CTLCOLORMSGBOX 0x0132
498 #define WM_CTLCOLOREDIT 0x0133
499 #define WM_CTLCOLORLISTBOX 0x0134
500 #define WM_CTLCOLORBTN 0x0135
501 #define WM_CTLCOLORDLG 0x0136
502 #define WM_CTLCOLORSCROLLBAR 0x0137
503 #define WM_CTLCOLORSTATIC 0x0138
505 /* Mouse messages */
506 #define WM_MOUSEMOVE 0x0200
507 #define WM_LBUTTONDOWN 0x0201
508 #define WM_LBUTTONUP 0x0202
509 #define WM_LBUTTONDBLCLK 0x0203
510 #define WM_RBUTTONDOWN 0x0204
511 #define WM_RBUTTONUP 0x0205
512 #define WM_RBUTTONDBLCLK 0x0206
513 #define WM_MBUTTONDOWN 0x0207
514 #define WM_MBUTTONUP 0x0208
515 #define WM_MBUTTONDBLCLK 0x0209
516 #define WM_MOUSEFIRST WM_MOUSEMOVE
517 #define WM_MOUSELAST WM_MBUTTONDBLCLK
519 #define WM_PARENTNOTIFY 0x0210
520 #define WM_ENTERMENULOOP 0x0211
521 #define WM_EXITMENULOOP 0x0212
522 #define WM_NEXTMENU 0x0213
524 /* Win32 4.0 messages */
525 #define WM_SIZING 0x0214
526 #define WM_CAPTURECHANGED 0x0215
527 #define WM_MOVING 0x0216
529 /* MDI messages */
530 #define WM_MDICREATE 0x0220
531 #define WM_MDIDESTROY 0x0221
532 #define WM_MDIACTIVATE 0x0222
533 #define WM_MDIRESTORE 0x0223
534 #define WM_MDINEXT 0x0224
535 #define WM_MDIMAXIMIZE 0x0225
536 #define WM_MDITILE 0x0226
537 #define WM_MDICASCADE 0x0227
538 #define WM_MDIICONARRANGE 0x0228
539 #define WM_MDIGETACTIVE 0x0229
540 #define WM_MDIREFRESHMENU 0x0234
542 /* D&D messages */
543 #define WM_DROPOBJECT 0x022A
544 #define WM_QUERYDROPOBJECT 0x022B
545 #define WM_BEGINDRAG 0x022C
546 #define WM_DRAGLOOP 0x022D
547 #define WM_DRAGSELECT 0x022E
548 #define WM_DRAGMOVE 0x022F
549 #define WM_MDISETMENU 0x0230
551 #define WM_ENTERSIZEMOVE 0x0231
552 #define WM_EXITSIZEMOVE 0x0232
553 #define WM_DROPFILES 0x0233
555 #define WM_CUT 0x0300
556 #define WM_COPY 0x0301
557 #define WM_PASTE 0x0302
558 #define WM_CLEAR 0x0303
559 #define WM_UNDO 0x0304
560 #define WM_RENDERFORMAT 0x0305
561 #define WM_RENDERALLFORMATS 0x0306
562 #define WM_DESTROYCLIPBOARD 0x0307
563 #define WM_DRAWCLIPBOARD 0x0308
564 #define WM_PAINTCLIPBOARD 0x0309
565 #define WM_VSCROLLCLIPBOARD 0x030A
566 #define WM_SIZECLIPBOARD 0x030B
567 #define WM_ASKCBFORMATNAME 0x030C
568 #define WM_CHANGECBCHAIN 0x030D
569 #define WM_HSCROLLCLIPBOARD 0x030E
570 #define WM_QUERYNEWPALETTE 0x030F
571 #define WM_PALETTEISCHANGING 0x0310
572 #define WM_PALETTECHANGED 0x0311
573 #define WM_HOTKEY 0x0312
575 #define WM_PRINT 0x0317
576 #define WM_PRINTCLIENT 0x0318
578 /* FIXME: This does not belong to any libwine interface header */
579 /* MFC messages [370-37f] */
581 #define WM_QUERYAFXWNDPROC 0x0360
582 #define WM_SIZEPARENT 0x0361
583 #define WM_SETMESSAGESTRING 0x0362
584 #define WM_IDLEUPDATECMDUI 0x0363
585 #define WM_INITIALUPDATE 0x0364
586 #define WM_COMMANDHELP 0x0365
587 #define WM_HELPHITTEST 0x0366
588 #define WM_EXITHELPMODE 0x0367
589 #define WM_RECALCPARENT 0x0368
590 #define WM_SIZECHILD 0x0369
591 #define WM_KICKIDLE 0x036A
592 #define WM_QUERYCENTERWND 0x036B
593 #define WM_DISABLEMODAL 0x036C
594 #define WM_FLOATSTATUS 0x036D
595 #define WM_ACTIVATETOPLEVEL 0x036E
596 #define WM_QUERY3DCONTROLS 0x036F
597 #define WM_SOCKET_NOTIFY 0x0373
598 #define WM_SOCKET_DEAD 0x0374
599 #define WM_POPMESSAGESTRING 0x0375
600 #define WM_OCC_LOADFROMSTREAM 0x0376
601 #define WM_OCC_LOADFROMSTORAGE 0x0377
602 #define WM_OCC_INITNEW 0x0378
603 #define WM_OCC_LOADFROMSTREAM_EX 0x037A
604 #define WM_OCC_LOADFROMSTORAGE_EX 0x037B
605 #define WM_QUEUE_SENTINEL 0x0379
607 /* end of MFC messages */
609 /* FIXME: This does not belong to any libwine interface header */
610 #define WM_COALESCE_FIRST 0x0390
611 #define WM_COALESCE_LAST 0x039F
615 #define DLGC_WANTARROWS 0x0001
616 #define DLGC_WANTTAB 0x0002
617 #define DLGC_WANTALLKEYS 0x0004
618 #define DLGC_WANTMESSAGE 0x0004
619 #define DLGC_HASSETSEL 0x0008
620 #define DLGC_DEFPUSHBUTTON 0x0010
621 #define DLGC_UNDEFPUSHBUTTON 0x0020
622 #define DLGC_RADIOBUTTON 0x0040
623 #define DLGC_WANTCHARS 0x0080
624 #define DLGC_STATIC 0x0100
625 #define DLGC_BUTTON 0x2000
627 /* Standard dialog button IDs */
628 #define IDOK 1
629 #define IDCANCEL 2
630 #define IDABORT 3
631 #define IDRETRY 4
632 #define IDIGNORE 5
633 #define IDYES 6
634 #define IDNO 7
635 #define IDCLOSE 8
636 #define IDHELP 9
638 /****** Window classes ******/
640 typedef struct
642 LPVOID lpCreateParams;
643 HINSTANCE hInstance;
644 HMENU hMenu;
645 HWND hwndParent;
646 INT cy;
647 INT cx;
648 INT y;
649 INT x;
650 LONG style;
651 LPCSTR lpszName;
652 LPCSTR lpszClass;
653 DWORD dwExStyle;
654 } CREATESTRUCTA, *LPCREATESTRUCTA;
656 typedef struct
658 LPVOID lpCreateParams;
659 HINSTANCE hInstance;
660 HMENU hMenu;
661 HWND hwndParent;
662 INT cy;
663 INT cx;
664 INT y;
665 INT x;
666 LONG style;
667 LPCWSTR lpszName;
668 LPCWSTR lpszClass;
669 DWORD dwExStyle;
670 } CREATESTRUCTW, *LPCREATESTRUCTW;
672 DECL_WINELIB_TYPE_AW(CREATESTRUCT)
673 DECL_WINELIB_TYPE_AW(LPCREATESTRUCT)
675 typedef struct
677 HMENU hWindowMenu;
678 UINT idFirstChild;
679 } CLIENTCREATESTRUCT, *LPCLIENTCREATESTRUCT;
682 typedef struct
684 LPCSTR szClass;
685 LPCSTR szTitle;
686 HINSTANCE hOwner;
687 INT x;
688 INT y;
689 INT cx;
690 INT cy;
691 DWORD style;
692 LPARAM lParam;
693 } MDICREATESTRUCTA, *LPMDICREATESTRUCTA;
695 typedef struct
697 LPCWSTR szClass;
698 LPCWSTR szTitle;
699 HINSTANCE hOwner;
700 INT x;
701 INT y;
702 INT cx;
703 INT cy;
704 DWORD style;
705 LPARAM lParam;
706 } MDICREATESTRUCTW, *LPMDICREATESTRUCTW;
708 DECL_WINELIB_TYPE_AW(MDICREATESTRUCT)
709 DECL_WINELIB_TYPE_AW(LPMDICREATESTRUCT)
711 #define MDITILE_VERTICAL 0x0000
712 #define MDITILE_HORIZONTAL 0x0001
713 #define MDITILE_SKIPDISABLED 0x0002
715 #define MDIS_ALLCHILDSTYLES 0x0001
717 typedef struct {
718 DWORD styleOld;
719 DWORD styleNew;
720 } STYLESTRUCT, *LPSTYLESTRUCT;
722 /* Offsets for GetWindowLong() and GetWindowWord() */
723 #define GWL_USERDATA (-21)
724 #define GWL_EXSTYLE (-20)
725 #define GWL_STYLE (-16)
726 #define GWW_ID (-12)
727 #define GWL_ID GWW_ID
728 #define GWW_HWNDPARENT (-8)
729 #define GWL_HWNDPARENT GWW_HWNDPARENT
730 #define GWW_HINSTANCE (-6)
731 #define GWL_HINSTANCE GWW_HINSTANCE
732 #define GWL_WNDPROC (-4)
733 #define DWL_MSGRESULT 0
734 #define DWL_DLGPROC 4
735 #define DWL_USER 8
737 /* GetWindow() constants */
738 #define GW_HWNDFIRST 0
739 #define GW_HWNDLAST 1
740 #define GW_HWNDNEXT 2
741 #define GW_HWNDPREV 3
742 #define GW_OWNER 4
743 #define GW_CHILD 5
745 /* WM_GETMINMAXINFO struct */
746 typedef struct
748 POINT ptReserved;
749 POINT ptMaxSize;
750 POINT ptMaxPosition;
751 POINT ptMinTrackSize;
752 POINT ptMaxTrackSize;
753 } MINMAXINFO, *PMINMAXINFO32, *LPMINMAXINFO32;
756 /* RedrawWindow() flags */
757 #define RDW_INVALIDATE 0x0001
758 #define RDW_INTERNALPAINT 0x0002
759 #define RDW_ERASE 0x0004
760 #define RDW_VALIDATE 0x0008
761 #define RDW_NOINTERNALPAINT 0x0010
762 #define RDW_NOERASE 0x0020
763 #define RDW_NOCHILDREN 0x0040
764 #define RDW_ALLCHILDREN 0x0080
765 #define RDW_UPDATENOW 0x0100
766 #define RDW_ERASENOW 0x0200
767 #define RDW_FRAME 0x0400
768 #define RDW_NOFRAME 0x0800
770 /* debug flags */
771 #define DBGFILL_ALLOC 0xfd
772 #define DBGFILL_FREE 0xfb
773 #define DBGFILL_BUFFER 0xf9
774 #define DBGFILL_STACK 0xf7
776 /* WM_WINDOWPOSCHANGING/CHANGED struct */
777 typedef struct
779 HWND hwnd;
780 HWND hwndInsertAfter;
781 INT x;
782 INT y;
783 INT cx;
784 INT cy;
785 UINT flags;
786 } WINDOWPOS, *PWINDOWPOS32, *LPWINDOWPOS;
789 /* WM_MOUSEACTIVATE return values */
790 #define MA_ACTIVATE 1
791 #define MA_ACTIVATEANDEAT 2
792 #define MA_NOACTIVATE 3
793 #define MA_NOACTIVATEANDEAT 4
795 /* WM_ACTIVATE wParam values */
796 #define WA_INACTIVE 0
797 #define WA_ACTIVE 1
798 #define WA_CLICKACTIVE 2
800 /* WM_NCCALCSIZE parameter structure */
801 typedef struct
803 RECT rgrc[3];
804 WINDOWPOS *lppos;
805 } NCCALCSIZE_PARAMS, *LPNCCALCSIZE_PARAMS;
808 /* WM_NCCALCSIZE return flags */
809 #define WVR_ALIGNTOP 0x0010
810 #define WVR_ALIGNLEFT 0x0020
811 #define WVR_ALIGNBOTTOM 0x0040
812 #define WVR_ALIGNRIGHT 0x0080
813 #define WVR_HREDRAW 0x0100
814 #define WVR_VREDRAW 0x0200
815 #define WVR_REDRAW (WVR_HREDRAW | WVR_VREDRAW)
816 #define WVR_VALIDRECTS 0x0400
818 /* WM_NCHITTEST return codes */
819 #define HTERROR (-2)
820 #define HTTRANSPARENT (-1)
821 #define HTNOWHERE 0
822 #define HTCLIENT 1
823 #define HTCAPTION 2
824 #define HTSYSMENU 3
825 #define HTSIZE 4
826 #define HTMENU 5
827 #define HTHSCROLL 6
828 #define HTVSCROLL 7
829 #define HTMINBUTTON 8
830 #define HTMAXBUTTON 9
831 #define HTLEFT 10
832 #define HTRIGHT 11
833 #define HTTOP 12
834 #define HTTOPLEFT 13
835 #define HTTOPRIGHT 14
836 #define HTBOTTOM 15
837 #define HTBOTTOMLEFT 16
838 #define HTBOTTOMRIGHT 17
839 #define HTBORDER 18
840 #define HTGROWBOX HTSIZE
841 #define HTREDUCE HTMINBUTTON
842 #define HTZOOM HTMAXBUTTON
843 #define HTOBJECT 19
844 #define HTCLOSE 20
845 #define HTHELP 21
846 #define HTSIZEFIRST HTLEFT
847 #define HTSIZELAST HTBOTTOMRIGHT
849 /* WM_SYSCOMMAND parameters */
850 #ifdef SC_SIZE /* at least HP-UX: already defined in /usr/include/sys/signal.h */
851 #undef SC_SIZE
852 #endif
853 #define SC_SIZE 0xf000
854 #define SC_MOVE 0xf010
855 #define SC_MINIMIZE 0xf020
856 #define SC_MAXIMIZE 0xf030
857 #define SC_NEXTWINDOW 0xf040
858 #define SC_PREVWINDOW 0xf050
859 #define SC_CLOSE 0xf060
860 #define SC_VSCROLL 0xf070
861 #define SC_HSCROLL 0xf080
862 #define SC_MOUSEMENU 0xf090
863 #define SC_KEYMENU 0xf100
864 #define SC_ARRANGE 0xf110
865 #define SC_RESTORE 0xf120
866 #define SC_TASKLIST 0xf130
867 #define SC_SCREENSAVE 0xf140
868 #define SC_HOTKEY 0xf150
870 #define CS_VREDRAW 0x0001
871 #define CS_HREDRAW 0x0002
872 #define CS_KEYCVTWINDOW 0x0004
873 #define CS_DBLCLKS 0x0008
874 #define CS_OWNDC 0x0020
875 #define CS_CLASSDC 0x0040
876 #define CS_PARENTDC 0x0080
877 #define CS_NOKEYCVT 0x0100
878 #define CS_NOCLOSE 0x0200
879 #define CS_SAVEBITS 0x0800
880 #define CS_BYTEALIGNCLIENT 0x1000
881 #define CS_BYTEALIGNWINDOW 0x2000
882 #define CS_GLOBALCLASS 0x4000
884 /* Offsets for GetClassLong() and GetClassWord() */
885 #define GCL_MENUNAME (-8)
886 #define GCW_HBRBACKGROUND (-10)
887 #define GCL_HBRBACKGROUND GCW_HBRBACKGROUND
888 #define GCW_HCURSOR (-12)
889 #define GCL_HCURSOR GCW_HCURSOR
890 #define GCW_HICON (-14)
891 #define GCL_HICON GCW_HICON
892 #define GCW_HMODULE (-16)
893 #define GCL_HMODULE GCW_HMODULE
894 #define GCW_CBWNDEXTRA (-18)
895 #define GCL_CBWNDEXTRA GCW_CBWNDEXTRA
896 #define GCW_CBCLSEXTRA (-20)
897 #define GCL_CBCLSEXTRA GCW_CBCLSEXTRA
898 #define GCL_WNDPROC (-24)
899 #define GCW_STYLE (-26)
900 #define GCL_STYLE GCW_STYLE
901 #define GCW_ATOM (-32)
902 #define GCW_HICONSM (-34)
903 #define GCL_HICONSM GCW_HICONSM
905 #ifndef NOWINOFFSETS
906 #define GCW_HBRBACKGROUND (-10)
907 #endif
910 /***** Window hooks *****/
912 /* Hook values */
913 #define WH_MIN (-1)
914 #define WH_MSGFILTER (-1)
915 #define WH_JOURNALRECORD 0
916 #define WH_JOURNALPLAYBACK 1
917 #define WH_KEYBOARD 2
918 #define WH_GETMESSAGE 3
919 #define WH_CALLWNDPROC 4
920 #define WH_CBT 5
921 #define WH_SYSMSGFILTER 6
922 #define WH_MOUSE 7
923 #define WH_HARDWARE 8
924 #define WH_DEBUG 9
925 #define WH_SHELL 10
926 #define WH_FOREGROUNDIDLE 11
927 #define WH_CALLWNDPROCRET 12
928 #define WH_MAX 12
930 #define WH_MINHOOK WH_MIN
931 #define WH_MAXHOOK WH_MAX
932 #define WH_NB_HOOKS (WH_MAXHOOK-WH_MINHOOK+1)
934 /* Hook action codes */
935 #define HC_ACTION 0
936 #define HC_GETNEXT 1
937 #define HC_SKIP 2
938 #define HC_NOREMOVE 3
939 #define HC_NOREM HC_NOREMOVE
940 #define HC_SYSMODALON 4
941 #define HC_SYSMODALOFF 5
943 /* CallMsgFilter() values */
944 #define MSGF_DIALOGBOX 0
945 #define MSGF_MESSAGEBOX 1
946 #define MSGF_MENU 2
947 #define MSGF_MOVE 3
948 #define MSGF_SIZE 4
949 #define MSGF_SCROLLBAR 5
950 #define MSGF_NEXTWINDOW 6
951 #define MSGF_MAINLOOP 8
952 #define MSGF_USER 4096
954 typedef struct
956 UINT style;
957 WNDPROC lpfnWndProc;
958 INT cbClsExtra;
959 INT cbWndExtra;
960 HINSTANCE hInstance;
961 HICON hIcon;
962 HCURSOR hCursor;
963 HBRUSH hbrBackground;
964 LPCSTR lpszMenuName;
965 LPCSTR lpszClassName;
966 } WNDCLASSA, *LPWNDCLASSA;
968 typedef struct
970 UINT style;
971 WNDPROC lpfnWndProc;
972 INT cbClsExtra;
973 INT cbWndExtra;
974 HINSTANCE hInstance;
975 HICON hIcon;
976 HCURSOR hCursor;
977 HBRUSH hbrBackground;
978 LPCWSTR lpszMenuName;
979 LPCWSTR lpszClassName;
980 } WNDCLASSW, *LPWNDCLASSW;
982 DECL_WINELIB_TYPE_AW(WNDCLASS)
983 DECL_WINELIB_TYPE_AW(LPWNDCLASS)
985 typedef struct {
986 DWORD dwData;
987 DWORD cbData;
988 LPVOID lpData;
989 } COPYDATASTRUCT, *PCOPYDATASTRUCT, *LPCOPYDATASTRUCT;
991 typedef struct {
992 HMENU hmenuIn;
993 HMENU hmenuNext;
994 HWND hwndNext;
995 } MDINEXTMENU, *PMDINEXTMENU, *LPMDINEXTMENU;
997 /* WinHelp internal structure */
998 typedef struct {
999 WORD size;
1000 WORD command;
1001 LONG data;
1002 LONG reserved;
1003 WORD ofsFilename;
1004 WORD ofsData;
1005 } WINHELP,*LPWINHELP;
1007 typedef struct
1009 UINT16 mkSize;
1010 BYTE mkKeyList;
1011 BYTE szKeyPhrase[1];
1012 } MULTIKEYHELP, *LPMULTIKEYHELP;
1014 typedef struct {
1015 WORD wStructSize;
1016 WORD x;
1017 WORD y;
1018 WORD dx;
1019 WORD dy;
1020 WORD wMax;
1021 char rgchMember[2];
1022 } HELPWININFO, *LPHELPWININFO;
1024 #define HELP_CONTEXT 0x0001
1025 #define HELP_QUIT 0x0002
1026 #define HELP_INDEX 0x0003
1027 #define HELP_CONTENTS 0x0003
1028 #define HELP_HELPONHELP 0x0004
1029 #define HELP_SETINDEX 0x0005
1030 #define HELP_SETCONTENTS 0x0005
1031 #define HELP_CONTEXTPOPUP 0x0008
1032 #define HELP_FORCEFILE 0x0009
1033 #define HELP_KEY 0x0101
1034 #define HELP_COMMAND 0x0102
1035 #define HELP_PARTIALKEY 0x0105
1036 #define HELP_MULTIKEY 0x0201
1037 #define HELP_SETWINPOS 0x0203
1038 #define HELP_CONTEXTMENU 0x000a
1039 #define HELP_FINDER 0x000b
1040 #define HELP_WM_HELP 0x000c
1041 #define HELP_SETPOPUP_POS 0x000d
1043 #define HELP_TCARD 0x8000
1044 #define HELP_TCARD_DATA 0x0010
1045 #define HELP_TCARD_OTHER_CALLER 0x0011
1048 /* ChangeDisplaySettings return codes */
1050 #define DISP_CHANGE_SUCCESSFUL 0
1051 #define DISP_CHANGE_RESTART 1
1052 #define DISP_CHANGE_FAILED (-1)
1053 #define DISP_CHANGE_BADMODE (-2)
1054 #define DISP_CHANGE_NOTUPDATED (-3)
1055 #define DISP_CHANGE_BADFLAGS (-4)
1057 /* flags to FormatMessage */
1058 #define FORMAT_MESSAGE_ALLOCATE_BUFFER 0x00000100
1059 #define FORMAT_MESSAGE_IGNORE_INSERTS 0x00000200
1060 #define FORMAT_MESSAGE_FROM_STRING 0x00000400
1061 #define FORMAT_MESSAGE_FROM_HMODULE 0x00000800
1062 #define FORMAT_MESSAGE_FROM_SYSTEM 0x00001000
1063 #define FORMAT_MESSAGE_ARGUMENT_ARRAY 0x00002000
1064 #define FORMAT_MESSAGE_MAX_WIDTH_MASK 0x000000FF
1066 typedef struct
1068 UINT cbSize;
1069 UINT style;
1070 WNDPROC lpfnWndProc;
1071 INT cbClsExtra;
1072 INT cbWndExtra;
1073 HINSTANCE hInstance;
1074 HICON hIcon;
1075 HCURSOR hCursor;
1076 HBRUSH hbrBackground;
1077 LPCSTR lpszMenuName;
1078 LPCSTR lpszClassName;
1079 HICON hIconSm;
1080 } WNDCLASSEXA, *LPWNDCLASSEXA;
1082 typedef struct
1084 UINT cbSize;
1085 UINT style;
1086 WNDPROC lpfnWndProc;
1087 INT cbClsExtra;
1088 INT cbWndExtra;
1089 HINSTANCE hInstance;
1090 HICON hIcon;
1091 HCURSOR hCursor;
1092 HBRUSH hbrBackground;
1093 LPCWSTR lpszMenuName;
1094 LPCWSTR lpszClassName;
1095 HICON hIconSm;
1096 } WNDCLASSEXW, *LPWNDCLASSEXW;
1098 DECL_WINELIB_TYPE_AW(WNDCLASSEX)
1099 DECL_WINELIB_TYPE_AW(LPWNDCLASSEX)
1101 typedef struct
1103 HWND hwnd;
1104 UINT message;
1105 WPARAM wParam;
1106 LPARAM lParam;
1107 DWORD time;
1108 POINT pt;
1109 } MSG, *LPMSG;
1112 /* Cursors / Icons */
1114 typedef struct {
1115 BOOL fIcon;
1116 DWORD xHotspot;
1117 DWORD yHotspot;
1118 HBITMAP hbmMask;
1119 HBITMAP hbmColor;
1120 } ICONINFO,*LPICONINFO;
1123 /* this is the 6 byte accel struct used in Win32 when presented to the user */
1124 typedef struct
1126 BYTE fVirt;
1127 BYTE pad0;
1128 WORD key;
1129 WORD cmd;
1130 } ACCEL, *LPACCEL;
1132 /* this is the 8 byte accel struct used in Win32 resources (internal only) */
1133 typedef struct
1135 BYTE fVirt;
1136 BYTE pad0;
1137 WORD key;
1138 WORD cmd;
1139 WORD pad1;
1140 } PE_ACCEL, *LPPE_ACCEL;
1143 /* Flags for TrackPopupMenu */
1144 #define TPM_LEFTBUTTON 0x0000
1145 #define TPM_RIGHTBUTTON 0x0002
1146 #define TPM_LEFTALIGN 0x0000
1147 #define TPM_CENTERALIGN 0x0004
1148 #define TPM_RIGHTALIGN 0x0008
1149 #define TPM_TOPALIGN 0x0000
1150 #define TPM_VCENTERALIGN 0x0010
1151 #define TPM_BOTTOMALIGN 0x0020
1152 #define TPM_HORIZONTAL 0x0000
1153 #define TPM_VERTICAL 0x0040
1154 #define TPM_NONOTIFY 0x0080
1155 #define TPM_RETURNCMD 0x0100
1157 typedef struct
1159 UINT cbSize;
1160 RECT rcExclude;
1161 } TPMPARAMS, *LPTPMPARAMS;
1163 /* FIXME: not sure this one is correct */
1164 typedef struct {
1165 UINT cbSize;
1166 UINT fMask;
1167 UINT fType;
1168 UINT fState;
1169 UINT wID;
1170 HMENU hSubMenu;
1171 HBITMAP hbmpChecked;
1172 HBITMAP hbmpUnchecked;
1173 DWORD dwItemData;
1174 LPSTR dwTypeData;
1175 UINT cch;
1176 } MENUITEMINFOA, *LPMENUITEMINFOA;
1178 typedef struct {
1179 UINT cbSize;
1180 UINT fMask;
1181 UINT fType;
1182 UINT fState;
1183 UINT wID;
1184 HMENU hSubMenu;
1185 HBITMAP hbmpChecked;
1186 HBITMAP hbmpUnchecked;
1187 DWORD dwItemData;
1188 LPWSTR dwTypeData;
1189 UINT cch;
1190 } MENUITEMINFOW, *LPMENUITEMINFOW;
1192 DECL_WINELIB_TYPE_AW(MENUITEMINFO)
1193 DECL_WINELIB_TYPE_AW(LPMENUITEMINFO)
1195 /* Field specifiers for MENUITEMINFO[AW] type. */
1196 #define MIIM_STATE 0x00000001
1197 #define MIIM_ID 0x00000002
1198 #define MIIM_SUBMENU 0x00000004
1199 #define MIIM_CHECKMARKS 0x00000008
1200 #define MIIM_TYPE 0x00000010
1201 #define MIIM_DATA 0x00000020
1203 /* DrawState defines ... */
1204 typedef BOOL (CALLBACK *DRAWSTATEPROC)(HDC,LPARAM,WPARAM,INT,INT);
1206 /* WM_H/VSCROLL commands */
1207 #define SB_LINEUP 0
1208 #define SB_LINELEFT 0
1209 #define SB_LINEDOWN 1
1210 #define SB_LINERIGHT 1
1211 #define SB_PAGEUP 2
1212 #define SB_PAGELEFT 2
1213 #define SB_PAGEDOWN 3
1214 #define SB_PAGERIGHT 3
1215 #define SB_THUMBPOSITION 4
1216 #define SB_THUMBTRACK 5
1217 #define SB_TOP 6
1218 #define SB_LEFT 6
1219 #define SB_BOTTOM 7
1220 #define SB_RIGHT 7
1221 #define SB_ENDSCROLL 8
1223 /* Scroll bar selection constants */
1224 #define SB_HORZ 0
1225 #define SB_VERT 1
1226 #define SB_CTL 2
1227 #define SB_BOTH 3
1229 /* Scrollbar styles */
1230 #define SBS_HORZ 0x0000L
1231 #define SBS_VERT 0x0001L
1232 #define SBS_TOPALIGN 0x0002L
1233 #define SBS_LEFTALIGN 0x0002L
1234 #define SBS_BOTTOMALIGN 0x0004L
1235 #define SBS_RIGHTALIGN 0x0004L
1236 #define SBS_SIZEBOXTOPLEFTALIGN 0x0002L
1237 #define SBS_SIZEBOXBOTTOMRIGHTALIGN 0x0004L
1238 #define SBS_SIZEBOX 0x0008L
1239 #define SBS_SIZEGRIP 0x0010L
1241 /* EnableScrollBar() flags */
1242 #define ESB_ENABLE_BOTH 0x0000
1243 #define ESB_DISABLE_BOTH 0x0003
1245 #define ESB_DISABLE_LEFT 0x0001
1246 #define ESB_DISABLE_RIGHT 0x0002
1248 #define ESB_DISABLE_UP 0x0001
1249 #define ESB_DISABLE_DOWN 0x0002
1251 #define ESB_DISABLE_LTUP ESB_DISABLE_LEFT
1252 #define ESB_DISABLE_RTDN ESB_DISABLE_RIGHT
1254 /* Win32 button control messages */
1255 #define BM_GETCHECK 0x00f0
1256 #define BM_SETCHECK 0x00f1
1257 #define BM_GETSTATE 0x00f2
1258 #define BM_SETSTATE 0x00f3
1259 #define BM_SETSTYLE 0x00f4
1260 #define BM_CLICK 0x00f5
1261 #define BM_GETIMAGE 0x00f6
1262 #define BM_SETIMAGE 0x00f7
1263 /* Winelib button control messages */
1265 /* Button notification codes */
1266 #define BN_CLICKED 0
1267 #define BN_PAINT 1
1268 #define BN_HILITE 2
1269 #define BN_UNHILITE 3
1270 #define BN_DISABLE 4
1271 #define BN_DOUBLECLICKED 5
1273 /* Button states */
1274 #define BST_UNCHECKED 0x0000
1275 #define BST_CHECKED 0x0001
1276 #define BST_INDETERMINATE 0x0002
1277 #define BST_PUSHED 0x0004
1278 #define BST_FOCUS 0x0008
1280 /* Static Control Styles */
1281 #define SS_LEFT 0x00000000L
1282 #define SS_CENTER 0x00000001L
1283 #define SS_RIGHT 0x00000002L
1284 #define SS_ICON 0x00000003L
1285 #define SS_BLACKRECT 0x00000004L
1286 #define SS_GRAYRECT 0x00000005L
1287 #define SS_WHITERECT 0x00000006L
1288 #define SS_BLACKFRAME 0x00000007L
1289 #define SS_GRAYFRAME 0x00000008L
1290 #define SS_WHITEFRAME 0x00000009L
1292 #define SS_SIMPLE 0x0000000BL
1293 #define SS_LEFTNOWORDWRAP 0x0000000CL
1295 #define SS_OWNERDRAW 0x0000000DL
1296 #define SS_BITMAP 0x0000000EL
1297 #define SS_ENHMETAFILE 0x0000000FL
1299 #define SS_ETCHEDHORZ 0x00000010L
1300 #define SS_ETCHEDVERT 0x00000011L
1301 #define SS_ETCHEDFRAME 0x00000012L
1302 #define SS_TYPEMASK 0x0000001FL
1304 #define SS_NOPREFIX 0x00000080L
1305 #define SS_NOTIFY 0x00000100L
1306 #define SS_CENTERIMAGE 0x00000200L
1307 #define SS_RIGHTJUST 0x00000400L
1308 #define SS_REALSIZEIMAGE 0x00000800L
1309 #define SS_SUNKEN 0x00001000L
1311 /* Static Control Messages */
1312 #define STM_SETICON 0x0170
1313 #define STM_GETICON 0x0171
1314 #define STM_SETIMAGE 0x0172
1315 #define STM_GETIMAGE 0x0173
1317 /* Scrollbar messages */
1318 #define SBM_SETPOS 0x00e0
1319 #define SBM_GETPOS 0x00e1
1320 #define SBM_SETRANGE 0x00e2
1321 #define SBM_GETRANGE 0x00e3
1322 #define SBM_ENABLE_ARROWS 0x00e4
1323 #define SBM_SETRANGEREDRAW 0x00e6
1324 #define SBM_SETSCROLLINFO 0x00e9
1325 #define SBM_GETSCROLLINFO 0x00ea
1327 /* Scrollbar info */
1328 typedef struct
1330 UINT cbSize;
1331 UINT fMask;
1332 INT nMin;
1333 INT nMax;
1334 UINT nPage;
1335 INT nPos;
1336 INT nTrackPos;
1337 } SCROLLINFO, *LPSCROLLINFO;
1339 /* GetScrollInfo() flags */
1340 #define SIF_RANGE 0x0001
1341 #define SIF_PAGE 0x0002
1342 #define SIF_POS 0x0004
1343 #define SIF_DISABLENOSCROLL 0x0008
1344 #define SIF_TRACKPOS 0x0010
1345 #define SIF_ALL (SIF_RANGE | SIF_PAGE | SIF_POS | SIF_TRACKPOS)
1347 /* Listbox styles */
1348 #define LBS_NOTIFY 0x0001
1349 #define LBS_SORT 0x0002
1350 #define LBS_NOREDRAW 0x0004
1351 #define LBS_MULTIPLESEL 0x0008
1352 #define LBS_OWNERDRAWFIXED 0x0010
1353 #define LBS_OWNERDRAWVARIABLE 0x0020
1354 #define LBS_HASSTRINGS 0x0040
1355 #define LBS_USETABSTOPS 0x0080
1356 #define LBS_NOINTEGRALHEIGHT 0x0100
1357 #define LBS_MULTICOLUMN 0x0200
1358 #define LBS_WANTKEYBOARDINPUT 0x0400
1359 #define LBS_EXTENDEDSEL 0x0800
1360 #define LBS_DISABLENOSCROLL 0x1000
1361 #define LBS_NODATA 0x2000
1362 #define LBS_NOSEL 0x4000
1363 #define LBS_STANDARD (LBS_NOTIFY | LBS_SORT | WS_VSCROLL | WS_BORDER)
1365 /* Listbox messages */
1366 #define LB_ADDSTRING 0x0180
1367 #define LB_INSERTSTRING 0x0181
1368 #define LB_DELETESTRING 0x0182
1369 #define LB_SELITEMRANGEEX 0x0183
1370 #define LB_RESETCONTENT 0x0184
1371 #define LB_SETSEL 0x0185
1372 #define LB_SETCURSEL 0x0186
1373 #define LB_GETSEL 0x0187
1374 #define LB_GETCURSEL 0x0188
1375 #define LB_GETTEXT 0x0189
1376 #define LB_GETTEXTLEN 0x018a
1377 #define LB_GETCOUNT 0x018b
1378 #define LB_SELECTSTRING 0x018c
1379 #define LB_DIR 0x018d
1380 #define LB_GETTOPINDEX 0x018e
1381 #define LB_FINDSTRING 0x018f
1382 #define LB_GETSELCOUNT 0x0190
1383 #define LB_GETSELITEMS 0x0191
1384 #define LB_SETTABSTOPS 0x0192
1385 #define LB_GETHORIZONTALEXTENT 0x0193
1386 #define LB_SETHORIZONTALEXTENT 0x0194
1387 #define LB_SETCOLUMNWIDTH 0x0195
1388 #define LB_ADDFILE 0x0196
1389 #define LB_SETTOPINDEX 0x0197
1390 #define LB_GETITEMRECT 0x0198
1391 #define LB_GETITEMDATA 0x0199
1392 #define LB_SETITEMDATA 0x019a
1393 #define LB_SELITEMRANGE 0x019b
1394 #define LB_SETANCHORINDEX 0x019c
1395 #define LB_GETANCHORINDEX 0x019d
1396 #define LB_SETCARETINDEX 0x019e
1397 #define LB_GETCARETINDEX 0x019f
1398 #define LB_SETITEMHEIGHT 0x01a0
1399 #define LB_GETITEMHEIGHT 0x01a1
1400 #define LB_FINDSTRINGEXACT 0x01a2
1401 #define LB_CARETON 0x01a3
1402 #define LB_CARETOFF 0x01a4
1403 #define LB_SETLOCALE 0x01a5
1404 #define LB_GETLOCALE 0x01a6
1405 #define LB_SETCOUNT 0x01a7
1406 #define LB_INITSTORAGE 0x01a8
1407 #define LB_ITEMFROMPOINT 0x01a9
1409 /* Listbox notification codes */
1410 #define LBN_ERRSPACE (-2)
1411 #define LBN_SELCHANGE 1
1412 #define LBN_DBLCLK 2
1413 #define LBN_SELCANCEL 3
1414 #define LBN_SETFOCUS 4
1415 #define LBN_KILLFOCUS 5
1417 /* Listbox message return values */
1418 #define LB_OKAY 0
1419 #define LB_ERR (-1)
1420 #define LB_ERRSPACE (-2)
1422 #define LB_CTLCODE 0L
1424 /* Combo box styles */
1425 #define CBS_SIMPLE 0x0001L
1426 #define CBS_DROPDOWN 0x0002L
1427 #define CBS_DROPDOWNLIST 0x0003L
1428 #define CBS_OWNERDRAWFIXED 0x0010L
1429 #define CBS_OWNERDRAWVARIABLE 0x0020L
1430 #define CBS_AUTOHSCROLL 0x0040L
1431 #define CBS_OEMCONVERT 0x0080L
1432 #define CBS_SORT 0x0100L
1433 #define CBS_HASSTRINGS 0x0200L
1434 #define CBS_NOINTEGRALHEIGHT 0x0400L
1435 #define CBS_DISABLENOSCROLL 0x0800L
1437 #define CBS_UPPERCASE 0x2000L
1438 #define CBS_LOWERCASE 0x4000L
1441 /* Combo box messages */
1442 #define CB_GETEDITSEL 0x0140
1443 #define CB_LIMITTEXT 0x0141
1444 #define CB_SETEDITSEL 0x0142
1445 #define CB_ADDSTRING 0x0143
1446 #define CB_DELETESTRING 0x0144
1447 #define CB_DIR 0x0145
1448 #define CB_GETCOUNT 0x0146
1449 #define CB_GETCURSEL 0x0147
1450 #define CB_GETLBTEXT 0x0148
1451 #define CB_GETLBTEXTLEN 0x0149
1452 #define CB_INSERTSTRING 0x014a
1453 #define CB_RESETCONTENT 0x014b
1454 #define CB_FINDSTRING 0x014c
1455 #define CB_SELECTSTRING 0x014d
1456 #define CB_SETCURSEL 0x014e
1457 #define CB_SHOWDROPDOWN 0x014f
1458 #define CB_GETITEMDATA 0x0150
1459 #define CB_SETITEMDATA 0x0151
1460 #define CB_GETDROPPEDCONTROLRECT 0x0152
1461 #define CB_SETITEMHEIGHT 0x0153
1462 #define CB_GETITEMHEIGHT 0x0154
1463 #define CB_SETEXTENDEDUI 0x0155
1464 #define CB_GETEXTENDEDUI 0x0156
1465 #define CB_GETDROPPEDSTATE 0x0157
1466 #define CB_FINDSTRINGEXACT 0x0158
1467 #define CB_SETLOCALE 0x0159
1468 #define CB_GETLOCALE 0x015a
1469 #define CB_GETTOPINDEX 0x015b
1470 #define CB_SETTOPINDEX 0x015c
1471 #define CB_GETHORIZONTALEXTENT 0x015d
1472 #define CB_SETHORIZONTALEXTENT 0x015e
1473 #define CB_GETDROPPEDWIDTH 0x015f
1474 #define CB_SETDROPPEDWIDTH 0x0160
1475 #define CB_INITSTORAGE 0x0161
1477 /* Combo box notification codes */
1478 #define CBN_ERRSPACE (-1)
1479 #define CBN_SELCHANGE 1
1480 #define CBN_DBLCLK 2
1481 #define CBN_SETFOCUS 3
1482 #define CBN_KILLFOCUS 4
1483 #define CBN_EDITCHANGE 5
1484 #define CBN_EDITUPDATE 6
1485 #define CBN_DROPDOWN 7
1486 #define CBN_CLOSEUP 8
1487 #define CBN_SELENDOK 9
1488 #define CBN_SELENDCANCEL 10
1490 /* Combo box message return values */
1491 #define CB_OKAY 0
1492 #define CB_ERR (-1)
1493 #define CB_ERRSPACE (-2)
1495 #define MB_OK 0x00000000
1496 #define MB_OKCANCEL 0x00000001
1497 #define MB_ABORTRETRYIGNORE 0x00000002
1498 #define MB_YESNOCANCEL 0x00000003
1499 #define MB_YESNO 0x00000004
1500 #define MB_RETRYCANCEL 0x00000005
1501 #define MB_TYPEMASK 0x0000000F
1503 #define MB_ICONHAND 0x00000010
1504 #define MB_ICONQUESTION 0x00000020
1505 #define MB_ICONEXCLAMATION 0x00000030
1506 #define MB_ICONASTERISK 0x00000040
1507 #define MB_USERICON 0x00000080
1508 #define MB_ICONMASK 0x000000F0
1510 #define MB_ICONINFORMATION MB_ICONASTERISK
1511 #define MB_ICONSTOP MB_ICONHAND
1512 #define MB_ICONWARNING MB_ICONEXCLAMATION
1513 #define MB_ICONERROR MB_ICONHAND
1515 #define MB_DEFBUTTON1 0x00000000
1516 #define MB_DEFBUTTON2 0x00000100
1517 #define MB_DEFBUTTON3 0x00000200
1518 #define MB_DEFBUTTON4 0x00000300
1519 #define MB_DEFMASK 0x00000F00
1521 #define MB_APPLMODAL 0x00000000
1522 #define MB_SYSTEMMODAL 0x00001000
1523 #define MB_TASKMODAL 0x00002000
1524 #define MB_MODEMASK 0x00003000
1526 #define MB_HELP 0x00004000
1527 #define MB_NOFOCUS 0x00008000
1528 #define MB_MISCMASK 0x0000C000
1530 #define MB_SETFOREGROUND 0x00010000
1531 #define MB_DEFAULT_DESKTOP_ONLY 0x00020000
1532 #define MB_SERVICE_NOTIFICATION 0x00040000
1533 #define MB_TOPMOST 0x00040000
1534 #define MB_RIGHT 0x00080000
1535 #define MB_RTLREADING 0x00100000
1537 #define HELPINFO_WINDOW 0x0001
1538 #define HELPINFO_MENUITEM 0x0002
1540 /* Structure pointed to by lParam of WM_HELP */
1541 typedef struct
1543 UINT cbSize; /* Size in bytes of this struct */
1544 INT iContextType; /* Either HELPINFO_WINDOW or HELPINFO_MENUITEM */
1545 INT iCtrlId; /* Control Id or a Menu item Id. */
1546 HANDLE hItemHandle; /* hWnd of control or hMenu. */
1547 DWORD dwContextId; /* Context Id associated with this item */
1548 POINT MousePos; /* Mouse Position in screen co-ordinates */
1549 } HELPINFO,*LPHELPINFO;
1551 typedef void (CALLBACK *MSGBOXCALLBACK)(LPHELPINFO lpHelpInfo);
1553 typedef struct
1555 UINT cbSize;
1556 HWND hwndOwner;
1557 HINSTANCE hInstance;
1558 LPCSTR lpszText;
1559 LPCSTR lpszCaption;
1560 DWORD dwStyle;
1561 LPCSTR lpszIcon;
1562 DWORD dwContextHelpId;
1563 MSGBOXCALLBACK lpfnMsgBoxCallback;
1564 DWORD dwLanguageId;
1565 } MSGBOXPARAMSA,*LPMSGBOXPARAMSA;
1567 typedef struct
1569 UINT cbSize;
1570 HWND hwndOwner;
1571 HINSTANCE hInstance;
1572 LPCWSTR lpszText;
1573 LPCWSTR lpszCaption;
1574 DWORD dwStyle;
1575 LPCWSTR lpszIcon;
1576 DWORD dwContextHelpId;
1577 MSGBOXCALLBACK lpfnMsgBoxCallback;
1578 DWORD dwLanguageId;
1579 } MSGBOXPARAMSW,*LPMSGBOXPARAMSW;
1581 DECL_WINELIB_TYPE_AW(MSGBOXPARAMS)
1582 DECL_WINELIB_TYPE_AW(LPMSGBOXPARAMS)
1584 typedef struct _numberfmt32a {
1585 UINT NumDigits;
1586 UINT LeadingZero;
1587 UINT Grouping;
1588 LPCSTR lpDecimalSep;
1589 LPCSTR lpThousandSep;
1590 UINT NegativeOrder;
1591 } NUMBERFMTA;
1593 typedef struct _numberfmt32w {
1594 UINT NumDigits;
1595 UINT LeadingZero;
1596 UINT Grouping;
1597 LPCWSTR lpDecimalSep;
1598 LPCWSTR lpThousandSep;
1599 UINT NegativeOrder;
1600 } NUMBERFMTW;
1602 #define MONITOR_DEFAULTTONULL 0x00000000
1603 #define MONITOR_DEFAULTTOPRIMARY 0x00000001
1604 #define MONITOR_DEFAULTTONEAREST 0x00000002
1606 #define MONITORINFOF_PRIMARY 0x00000001
1608 typedef struct tagMONITORINFO
1610 DWORD cbSize;
1611 RECT rcMonitor;
1612 RECT rcWork;
1613 DWORD dwFlags;
1614 } MONITORINFO, *LPMONITORINFO;
1616 typedef struct tagMONITORINFOEXA
1618 MONITORINFO dummy;
1619 CHAR szDevice[CCHDEVICENAME];
1620 } MONITORINFOEXA, *LPMONITORINFOEXA;
1622 typedef struct tagMONITORINFOEXW
1624 MONITORINFO dummy;
1625 WCHAR szDevice[CCHDEVICENAME];
1626 } MONITORINFOEXW, *LPMONITORINFOEXW;
1628 DECL_WINELIB_TYPE_AW(MONITORINFOEX)
1629 DECL_WINELIB_TYPE_AW(LPMONITORINFOEX)
1631 typedef BOOL (CALLBACK *MONITORENUMPROC)(HMONITOR,HDC,LPRECT,LPARAM);
1633 typedef struct tagDLGTEMPLATE
1635 DWORD style;
1636 DWORD dwExtendedStyle;
1637 WORD cdit;
1638 short x;
1639 short y;
1640 short cx;
1641 short cy;
1642 } DLGTEMPLATE;
1644 typedef DLGTEMPLATE *LPDLGTEMPLATEA;
1645 typedef DLGTEMPLATE *LPDLGTEMPLATEW;
1646 #define LPDLGTEMPLATE WINELIB_NAME_AW(LPDLGTEMPLATE)
1647 typedef const DLGTEMPLATE *LPCDLGTEMPLATEA;
1648 typedef const DLGTEMPLATE *LPCDLGTEMPLATEW;
1649 #define LPCDLGTEMPLATE WINELIB_NAME_AW(LPCDLGTEMPLATE)
1651 /* Fixme: use this instaed of LPCVOID for CreateDialogIndirectParam and DialogBoxIndirectParam*/
1652 typedef struct tagDLGITEMTEMPLATE
1654 DWORD style;
1655 DWORD dwExtendedStyle;
1656 WORD cdit;
1657 short x;
1658 short y;
1659 short cx;
1660 short cy;
1661 WORD id;
1662 } DLGITEMTEMPLATE;
1664 typedef DLGITEMTEMPLATE *LPDLGITEMTEMPLATEA;
1665 typedef DLGITEMTEMPLATE *LPDLGITEMTEMPLATEW;
1666 #define LPDLGITEMTEMPLATE WINELIB_NAME_AW(LPDLGITEMTEMPLATE)
1667 typedef const DLGITEMTEMPLATE *LPCDLGITEMTEMPLATEA;
1668 typedef const DLGITEMTEMPLATE *LPCDLGITEMTEMPLATEW;
1669 #define LPCDLGITEMTEMPLATE WINELIB_NAME_AW(LPCDLGITEMTEMPLATE)
1672 /* CBT hook values */
1673 #define HCBT_MOVESIZE 0
1674 #define HCBT_MINMAX 1
1675 #define HCBT_QS 2
1676 #define HCBT_CREATEWND 3
1677 #define HCBT_DESTROYWND 4
1678 #define HCBT_ACTIVATE 5
1679 #define HCBT_CLICKSKIPPED 6
1680 #define HCBT_KEYSKIPPED 7
1681 #define HCBT_SYSCOMMAND 8
1682 #define HCBT_SETFOCUS 9
1684 /* CBT hook structures */
1686 typedef struct
1688 CREATESTRUCTA *lpcs;
1689 HWND hwndInsertAfter;
1690 } CBT_CREATEWNDA, *LPCBT_CREATEWNDA;
1692 typedef struct
1694 CREATESTRUCTW *lpcs;
1695 HWND hwndInsertAfter;
1696 } CBT_CREATEWNDW, *LPCBT_CREATEWNDW;
1698 DECL_WINELIB_TYPE_AW(CBT_CREATEWND)
1699 DECL_WINELIB_TYPE_AW(LPCBT_CREATEWND)
1701 typedef struct
1703 BOOL fMouse;
1704 HWND hWndActive;
1705 } CBTACTIVATESTRUCT, *LPCBTACTIVATESTRUCT;
1708 /* modifiers for RegisterHotKey */
1709 #define MOD_ALT 0x0001
1710 #define MOD_CONTROL 0x0002
1711 #define MOD_SHIFT 0x0004
1712 #define MOD_WIN 0x0008
1714 /* ids for RegisterHotKey */
1715 #define IDHOT_SNAPWINDOW (-1) /* SHIFT-PRINTSCRN */
1716 #define IDHOT_SNAPDESKTOP (-2) /* PRINTSCRN */
1718 /* keybd_event flags */
1719 #define KEYEVENTF_EXTENDEDKEY 0x0001
1720 #define KEYEVENTF_KEYUP 0x0002
1721 #define KEYEVENTF_WINE_FORCEEXTENDED 0x8000
1723 /* mouse_event flags */
1724 #define MOUSEEVENTF_MOVE 0x0001
1725 #define MOUSEEVENTF_LEFTDOWN 0x0002
1726 #define MOUSEEVENTF_LEFTUP 0x0004
1727 #define MOUSEEVENTF_RIGHTDOWN 0x0008
1728 #define MOUSEEVENTF_RIGHTUP 0x0010
1729 #define MOUSEEVENTF_MIDDLEDOWN 0x0020
1730 #define MOUSEEVENTF_MIDDLEUP 0x0040
1731 #define MOUSEEVENTF_ABSOLUTE 0x8000
1733 /* ExitWindows() flags */
1734 #define EW_RESTARTWINDOWS 0x0042
1735 #define EW_REBOOTSYSTEM 0x0043
1736 #define EW_EXITANDEXECAPP 0x0044
1738 /* ExitWindowsEx() flags */
1739 #define EWX_LOGOFF 0
1740 #define EWX_SHUTDOWN 1
1741 #define EWX_REBOOT 2
1742 #define EWX_FORCE 4
1743 #define EWX_POWEROFF 8
1745 /* SetLastErrorEx types */
1746 #define SLE_ERROR 0x00000001
1747 #define SLE_MINORERROR 0x00000002
1748 #define SLE_WARNING 0x00000003
1750 /* Predefined resources */
1751 #define IDI_APPLICATIONA MAKEINTRESOURCEA(32512)
1752 #define IDI_APPLICATIONW MAKEINTRESOURCEW(32512)
1753 #define IDI_APPLICATION WINELIB_NAME_AW(IDI_APPLICATION)
1754 #define IDI_HANDA MAKEINTRESOURCEA(32513)
1755 #define IDI_HANDW MAKEINTRESOURCEW(32513)
1756 #define IDI_HAND WINELIB_NAME_AW(IDI_HAND)
1757 #define IDI_QUESTIONA MAKEINTRESOURCEA(32514)
1758 #define IDI_QUESTIONW MAKEINTRESOURCEW(32514)
1759 #define IDI_QUESTION WINELIB_NAME_AW(IDI_QUESTION)
1760 #define IDI_EXCLAMATIONA MAKEINTRESOURCEA(32515)
1761 #define IDI_EXCLAMATIONW MAKEINTRESOURCEW(32515)
1762 #define IDI_EXCLAMATION WINELIB_NAME_AW(IDI_EXCLAMATION)
1763 #define IDI_ASTERISKA MAKEINTRESOURCEA(32516)
1764 #define IDI_ASTERISKW MAKEINTRESOURCEW(32516)
1765 #define IDI_ASTERISK WINELIB_NAME_AW(IDI_ASTERISK)
1767 #define IDC_BUMMERA MAKEINTRESOURCEA(100)
1768 #define IDC_BUMMERW MAKEINTRESOURCEW(100)
1769 #define IDC_BUMMER WINELIB_NAME_AW(IDC_BUMMER)
1770 #define IDC_ARROWA MAKEINTRESOURCEA(32512)
1771 #define IDC_ARROWW MAKEINTRESOURCEW(32512)
1772 #define IDC_ARROW WINELIB_NAME_AW(IDC_ARROW)
1773 #define IDC_IBEAMA MAKEINTRESOURCEA(32513)
1774 #define IDC_IBEAMW MAKEINTRESOURCEW(32513)
1775 #define IDC_IBEAM WINELIB_NAME_AW(IDC_IBEAM)
1776 #define IDC_WAITA MAKEINTRESOURCEA(32514)
1777 #define IDC_WAITW MAKEINTRESOURCEW(32514)
1778 #define IDC_WAIT WINELIB_NAME_AW(IDC_WAIT)
1779 #define IDC_CROSSA MAKEINTRESOURCEA(32515)
1780 #define IDC_CROSSW MAKEINTRESOURCEW(32515)
1781 #define IDC_CROSS WINELIB_NAME_AW(IDC_CROSS)
1782 #define IDC_UPARROWA MAKEINTRESOURCEA(32516)
1783 #define IDC_UPARROWW MAKEINTRESOURCEW(32516)
1784 #define IDC_UPARROW WINELIB_NAME_AW(IDC_UPARROW)
1785 #define IDC_SIZEA MAKEINTRESOURCEA(32640)
1786 #define IDC_SIZEW MAKEINTRESOURCEW(32640)
1787 #define IDC_SIZE WINELIB_NAME_AW(IDC_SIZE)
1788 #define IDC_ICONA MAKEINTRESOURCEA(32641)
1789 #define IDC_ICONW MAKEINTRESOURCEW(32641)
1790 #define IDC_ICON WINELIB_NAME_AW(IDC_ICON)
1791 #define IDC_SIZENWSEA MAKEINTRESOURCEA(32642)
1792 #define IDC_SIZENWSEW MAKEINTRESOURCEW(32642)
1793 #define IDC_SIZENWSE WINELIB_NAME_AW(IDC_SIZENWSE)
1794 #define IDC_SIZENESWA MAKEINTRESOURCEA(32643)
1795 #define IDC_SIZENESWW MAKEINTRESOURCEW(32643)
1796 #define IDC_SIZENESW WINELIB_NAME_AW(IDC_SIZENESW)
1797 #define IDC_SIZEWEA MAKEINTRESOURCEA(32644)
1798 #define IDC_SIZEWEW MAKEINTRESOURCEW(32644)
1799 #define IDC_SIZEWE WINELIB_NAME_AW(IDC_SIZEWE)
1800 #define IDC_SIZENSA MAKEINTRESOURCEA(32645)
1801 #define IDC_SIZENSW MAKEINTRESOURCEW(32645)
1802 #define IDC_SIZENS WINELIB_NAME_AW(IDC_SIZENS)
1803 #define IDC_SIZEALLA MAKEINTRESOURCEA(32646)
1804 #define IDC_SIZEALLW MAKEINTRESOURCEW(32646)
1805 #define IDC_SIZEALL WINELIB_NAME_AW(IDC_SIZEALL)
1806 #define IDC_NOA MAKEINTRESOURCEA(32648)
1807 #define IDC_NOW MAKEINTRESOURCEW(32648)
1808 #define IDC_NO WINELIB_NAME_AW(IDC_NO)
1809 #define IDC_APPSTARTINGA MAKEINTRESOURCEA(32650)
1810 #define IDC_APPSTARTINGW MAKEINTRESOURCEW(32650)
1811 #define IDC_APPSTARTING WINELIB_NAME_AW(IDC_APPSTARTING)
1812 #define IDC_HELPA MAKEINTRESOURCEA(32651)
1813 #define IDC_HELPW MAKEINTRESOURCEW(32651)
1814 #define IDC_HELP WINELIB_NAME_AW(IDC_HELP)
1816 /* SystemParametersInfo */
1817 /* defines below are for all win versions */
1818 #define SPI_GETBEEP 1
1819 #define SPI_SETBEEP 2
1820 #define SPI_GETMOUSE 3
1821 #define SPI_SETMOUSE 4
1822 #define SPI_GETBORDER 5
1823 #define SPI_SETBORDER 6
1824 #define SPI_GETKEYBOARDSPEED 10
1825 #define SPI_SETKEYBOARDSPEED 11
1826 #define SPI_LANGDRIVER 12
1827 #define SPI_ICONHORIZONTALSPACING 13
1828 #define SPI_GETSCREENSAVETIMEOUT 14
1829 #define SPI_SETSCREENSAVETIMEOUT 15
1830 #define SPI_GETSCREENSAVEACTIVE 16
1831 #define SPI_SETSCREENSAVEACTIVE 17
1832 #define SPI_GETGRIDGRANULARITY 18
1833 #define SPI_SETGRIDGRANULARITY 19
1834 #define SPI_SETDESKWALLPAPER 20
1835 #define SPI_SETDESKPATTERN 21
1836 #define SPI_GETKEYBOARDDELAY 22
1837 #define SPI_SETKEYBOARDDELAY 23
1838 #define SPI_ICONVERTICALSPACING 24
1839 #define SPI_GETICONTITLEWRAP 25
1840 #define SPI_SETICONTITLEWRAP 26
1841 #define SPI_GETMENUDROPALIGNMENT 27
1842 #define SPI_SETMENUDROPALIGNMENT 28
1843 #define SPI_SETDOUBLECLKWIDTH 29
1844 #define SPI_SETDOUBLECLKHEIGHT 30
1845 #define SPI_GETICONTITLELOGFONT 31
1846 #define SPI_SETDOUBLECLICKTIME 32
1847 #define SPI_SETMOUSEBUTTONSWAP 33
1848 #define SPI_SETICONTITLELOGFONT 34
1849 #define SPI_GETFASTTASKSWITCH 35
1850 #define SPI_SETFASTTASKSWITCH 36
1851 #define SPI_SETDRAGFULLWINDOWS 37
1852 #define SPI_GETDRAGFULLWINDOWS 38
1854 #define SPI_GETFILTERKEYS 50
1855 #define SPI_SETFILTERKEYS 51
1856 #define SPI_GETTOGGLEKEYS 52
1857 #define SPI_SETTOGGLEKEYS 53
1858 #define SPI_GETMOUSEKEYS 54
1859 #define SPI_SETMOUSEKEYS 55
1860 #define SPI_GETSHOWSOUNDS 56
1861 #define SPI_SETSHOWSOUNDS 57
1862 #define SPI_GETSTICKYKEYS 58
1863 #define SPI_SETSTICKYKEYS 59
1864 #define SPI_GETACCESSTIMEOUT 60
1865 #define SPI_SETACCESSTIMEOUT 61
1867 #define SPI_GETSOUNDSENTRY 64
1868 #define SPI_SETSOUNDSENTRY 65
1870 /* defines below are for all win versions WINVER >= 0x0400 */
1871 #define SPI_SETDRAGFULLWINDOWS 37
1872 #define SPI_GETDRAGFULLWINDOWS 38
1873 #define SPI_GETNONCLIENTMETRICS 41
1874 #define SPI_SETNONCLIENTMETRICS 42
1875 #define SPI_GETMINIMIZEDMETRICS 43
1876 #define SPI_SETMINIMIZEDMETRICS 44
1877 #define SPI_GETICONMETRICS 45
1878 #define SPI_SETICONMETRICS 46
1879 #define SPI_SETWORKAREA 47
1880 #define SPI_GETWORKAREA 48
1881 #define SPI_SETPENWINDOWS 49
1883 #define SPI_GETSERIALKEYS 62
1884 #define SPI_SETSERIALKEYS 63
1885 #define SPI_GETHIGHCONTRAST 66
1886 #define SPI_SETHIGHCONTRAST 67
1887 #define SPI_GETKEYBOARDPREF 68
1888 #define SPI_SETKEYBOARDPREF 69
1889 #define SPI_GETSCREENREADER 70
1890 #define SPI_SETSCREENREADER 71
1891 #define SPI_GETANIMATION 72
1892 #define SPI_SETANIMATION 73
1893 #define SPI_GETFONTSMOOTHING 74
1894 #define SPI_SETFONTSMOOTHING 75
1895 #define SPI_SETDRAGWIDTH 76
1896 #define SPI_SETDRAGHEIGHT 77
1897 #define SPI_SETHANDHELD 78
1898 #define SPI_GETLOWPOWERTIMEOUT 79
1899 #define SPI_GETPOWEROFFTIMEOUT 80
1900 #define SPI_SETLOWPOWERTIMEOUT 81
1901 #define SPI_SETPOWEROFFTIMEOUT 82
1902 #define SPI_GETLOWPOWERACTIVE 83
1903 #define SPI_GETPOWEROFFACTIVE 84
1904 #define SPI_SETLOWPOWERACTIVE 85
1905 #define SPI_SETPOWEROFFACTIVE 86
1906 #define SPI_SETCURSORS 87
1907 #define SPI_SETICONS 88
1908 #define SPI_GETDEFAULTINPUTLANG 89
1909 #define SPI_SETDEFAULTINPUTLANG 90
1910 #define SPI_SETLANGTOGGLE 91
1911 #define SPI_GETWINDOWSEXTENSION 92
1912 #define SPI_SETMOUSETRAILS 93
1913 #define SPI_GETMOUSETRAILS 94
1914 #define SPI_SETSCREENSAVERRUNNING 97
1915 #define SPI_SCREENSAVERRUNNING SPI_SETSCREENSAVERRUNNING
1917 /* defines below are for all win versions (_WIN32_WINNT >= 0x0400) ||
1918 * (_WIN32_WINDOWS > 0x0400) */
1919 #define SPI_GETMOUSEHOVERWIDTH 98
1920 #define SPI_SETMOUSEHOVERWIDTH 99
1921 #define SPI_GETMOUSEHOVERHEIGHT 100
1922 #define SPI_SETMOUSEHOVERHEIGHT 101
1923 #define SPI_GETMOUSEHOVERTIME 102
1924 #define SPI_SETMOUSEHOVERTIME 103
1925 #define SPI_GETWHEELSCROLLLINES 104
1926 #define SPI_SETWHEELSCROLLLINES 105
1928 #define SPI_GETSHOWIMEUI 110
1929 #define SPI_SETSHOWIMEUI 111
1931 /* defines below are for all win versions WINVER >= 0x0500 */
1932 #define SPI_GETMOUSESPEED 112
1933 #define SPI_SETMOUSESPEED 113
1934 #define SPI_GETSCREENSAVERRUNNING 114
1936 #define SPI_GETACTIVEWINDOWTRACKING 0x1000
1937 #define SPI_SETACTIVEWINDOWTRACKING 0x1001
1938 #define SPI_GETMENUANIMATION 0x1002
1939 #define SPI_SETMENUANIMATION 0x1003
1940 #define SPI_GETCOMBOBOXANIMATION 0x1004
1941 #define SPI_SETCOMBOBOXANIMATION 0x1005
1942 #define SPI_GETLISTBOXSMOOTHSCROLLING 0x1006
1943 #define SPI_SETLISTBOXSMOOTHSCROLLING 0x1007
1944 #define SPI_GETGRADIENTCAPTIONS 0x1008
1945 #define SPI_SETGRADIENTCAPTIONS 0x1009
1946 #define SPI_GETMENUUNDERLINES 0x100A
1947 #define SPI_SETMENUUNDERLINES 0x100B
1948 #define SPI_GETACTIVEWNDTRKZORDER 0x100C
1949 #define SPI_SETACTIVEWNDTRKZORDER 0x100D
1950 #define SPI_GETHOTTRACKING 0x100E
1951 #define SPI_SETHOTTRACKING 0x100F
1952 #define SPI_GETFOREGROUNDLOCKTIMEOUT 0x2000
1953 #define SPI_SETFOREGROUNDLOCKTIMEOUT 0x2001
1954 #define SPI_GETACTIVEWNDTRKTIMEOUT 0x2002
1955 #define SPI_SETACTIVEWNDTRKTIMEOUT 0x2003
1956 #define SPI_GETFOREGROUNDFLASHCOUNT 0x2004
1957 #define SPI_SETFOREGROUNDFLASHCOUNT 0x2005
1959 /* SystemParametersInfo flags */
1961 #define SPIF_UPDATEINIFILE 1
1962 #define SPIF_SENDWININICHANGE 2
1963 #define SPIF_SENDCHANGE SPIF_SENDWININICHANGE
1965 /* Window Styles */
1966 #define WS_OVERLAPPED 0x00000000L
1967 #define WS_POPUP 0x80000000L
1968 #define WS_CHILD 0x40000000L
1969 #define WS_MINIMIZE 0x20000000L
1970 #define WS_VISIBLE 0x10000000L
1971 #define WS_DISABLED 0x08000000L
1972 #define WS_CLIPSIBLINGS 0x04000000L
1973 #define WS_CLIPCHILDREN 0x02000000L
1974 #define WS_MAXIMIZE 0x01000000L
1975 #define WS_CAPTION 0x00C00000L
1976 #define WS_BORDER 0x00800000L
1977 #define WS_DLGFRAME 0x00400000L
1978 #define WS_VSCROLL 0x00200000L
1979 #define WS_HSCROLL 0x00100000L
1980 #define WS_SYSMENU 0x00080000L
1981 #define WS_THICKFRAME 0x00040000L
1982 #define WS_GROUP 0x00020000L
1983 #define WS_TABSTOP 0x00010000L
1984 #define WS_MINIMIZEBOX 0x00020000L
1985 #define WS_MAXIMIZEBOX 0x00010000L
1986 #define WS_TILED WS_OVERLAPPED
1987 #define WS_ICONIC WS_MINIMIZE
1988 #define WS_SIZEBOX WS_THICKFRAME
1989 #define WS_OVERLAPPEDWINDOW (WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME| WS_MINIMIZEBOX | WS_MAXIMIZEBOX)
1990 #define WS_POPUPWINDOW (WS_POPUP | WS_BORDER | WS_SYSMENU)
1991 #define WS_CHILDWINDOW (WS_CHILD)
1992 #define WS_TILEDWINDOW (WS_OVERLAPPEDWINDOW)
1994 /* Window extended styles */
1995 #define WS_EX_DLGMODALFRAME 0x00000001L
1996 #define WS_EX_DRAGDETECT 0x00000002L
1997 #define WS_EX_NOPARENTNOTIFY 0x00000004L
1998 #define WS_EX_TOPMOST 0x00000008L
1999 #define WS_EX_ACCEPTFILES 0x00000010L
2000 #define WS_EX_TRANSPARENT 0x00000020L
2002 /* New Win95/WinNT4 styles */
2003 #define WS_EX_MDICHILD 0x00000040L
2004 #define WS_EX_TOOLWINDOW 0x00000080L
2005 #define WS_EX_WINDOWEDGE 0x00000100L
2006 #define WS_EX_CLIENTEDGE 0x00000200L
2007 #define WS_EX_CONTEXTHELP 0x00000400L
2008 #define WS_EX_RIGHT 0x00001000L
2009 #define WS_EX_LEFT 0x00000000L
2010 #define WS_EX_RTLREADING 0x00002000L
2011 #define WS_EX_LTRREADING 0x00000000L
2012 #define WS_EX_LEFTSCROLLBAR 0x00004000L
2013 #define WS_EX_RIGHTSCROLLBAR 0x00000000L
2014 #define WS_EX_CONTROLPARENT 0x00010000L
2015 #define WS_EX_STATICEDGE 0x00020000L
2016 #define WS_EX_APPWINDOW 0x00040000L
2018 #define WS_EX_OVERLAPPEDWINDOW (WS_EX_WINDOWEDGE|WS_EX_CLIENTEDGE)
2019 #define WS_EX_PALETTEWINDOW (WS_EX_WINDOWEDGE|WS_EX_TOOLWINDOW|WS_EX_TOPMOST)
2021 /* Window scrolling */
2022 #define SW_SCROLLCHILDREN 0x0001
2023 #define SW_INVALIDATE 0x0002
2024 #define SW_ERASE 0x0004
2026 /* CreateWindow() coordinates */
2027 #define CW_USEDEFAULT ((INT)0x80000000)
2029 /* ChildWindowFromPointEx Flags */
2030 #define CWP_ALL 0x0000
2031 #define CWP_SKIPINVISIBLE 0x0001
2032 #define CWP_SKIPDISABLED 0x0002
2033 #define CWP_SKIPTRANSPARENT 0x0004
2035 /* PeekMessage() options */
2036 #define PM_NOREMOVE 0x0000
2037 #define PM_REMOVE 0x0001
2038 #define PM_NOYIELD 0x0002
2040 #define WM_SHOWWINDOW 0x0018
2042 /* WM_SHOWWINDOW wParam codes */
2043 #define SW_PARENTCLOSING 1
2044 #define SW_OTHERMAXIMIZED 2
2045 #define SW_PARENTOPENING 3
2046 #define SW_OTHERRESTORED 4
2048 /* ShowWindow() codes */
2049 #define SW_HIDE 0
2050 #define SW_SHOWNORMAL 1
2051 #define SW_NORMAL 1
2052 #define SW_SHOWMINIMIZED 2
2053 #define SW_SHOWMAXIMIZED 3
2054 #define SW_MAXIMIZE 3
2055 #define SW_SHOWNOACTIVATE 4
2056 #define SW_SHOW 5
2057 #define SW_MINIMIZE 6
2058 #define SW_SHOWMINNOACTIVE 7
2059 #define SW_SHOWNA 8
2060 #define SW_RESTORE 9
2061 #define SW_SHOWDEFAULT 10
2062 #define SW_MAX 10
2063 #define SW_NORMALNA 0xCC /* undoc. flag in MinMaximize */
2065 /* WM_SIZE message wParam values */
2066 #define SIZE_RESTORED 0
2067 #define SIZE_MINIMIZED 1
2068 #define SIZE_MAXIMIZED 2
2069 #define SIZE_MAXSHOW 3
2070 #define SIZE_MAXHIDE 4
2071 #define SIZENORMAL SIZE_RESTORED
2072 #define SIZEICONIC SIZE_MINIMIZED
2073 #define SIZEFULLSCREEN SIZE_MAXIMIZED
2074 #define SIZEZOOMSHOW SIZE_MAXSHOW
2075 #define SIZEZOOMHIDE SIZE_MAXHIDE
2077 /* SetWindowPos() and WINDOWPOS flags */
2078 #define SWP_NOSIZE 0x0001
2079 #define SWP_NOMOVE 0x0002
2080 #define SWP_NOZORDER 0x0004
2081 #define SWP_NOREDRAW 0x0008
2082 #define SWP_NOACTIVATE 0x0010
2083 #define SWP_FRAMECHANGED 0x0020 /* The frame changed: send WM_NCCALCSIZE */
2084 #define SWP_SHOWWINDOW 0x0040
2085 #define SWP_HIDEWINDOW 0x0080
2086 #define SWP_NOCOPYBITS 0x0100
2087 #define SWP_NOOWNERZORDER 0x0200 /* Don't do owner Z ordering */
2089 #define SWP_DRAWFRAME SWP_FRAMECHANGED
2090 #define SWP_NOREPOSITION SWP_NOOWNERZORDER
2092 #define SWP_NOSENDCHANGING 0x0400
2093 #define SWP_DEFERERASE 0x2000
2095 #define HWND_DESKTOP ((HWND)0)
2096 #define HWND_BROADCAST ((HWND)0xffff)
2098 /* SetWindowPos() hwndInsertAfter field values */
2099 #define HWND_TOP ((HWND)0)
2100 #define HWND_BOTTOM ((HWND)1)
2101 #define HWND_TOPMOST ((HWND)-1)
2102 #define HWND_NOTOPMOST ((HWND)-2)
2104 #define MF_INSERT 0x0000
2105 #define MF_CHANGE 0x0080
2106 #define MF_APPEND 0x0100
2107 #define MF_DELETE 0x0200
2108 #define MF_REMOVE 0x1000
2109 #define MF_END 0x0080
2111 #define MF_ENABLED 0x0000
2112 #define MF_GRAYED 0x0001
2113 #define MF_DISABLED 0x0002
2114 #define MF_STRING 0x0000
2115 #define MF_BITMAP 0x0004
2116 #define MF_UNCHECKED 0x0000
2117 #define MF_CHECKED 0x0008
2118 #define MF_POPUP 0x0010
2119 #define MF_MENUBARBREAK 0x0020
2120 #define MF_MENUBREAK 0x0040
2121 #define MF_UNHILITE 0x0000
2122 #define MF_HILITE 0x0080
2123 #define MF_OWNERDRAW 0x0100
2124 #define MF_USECHECKBITMAPS 0x0200
2125 #define MF_BYCOMMAND 0x0000
2126 #define MF_BYPOSITION 0x0400
2127 #define MF_SEPARATOR 0x0800
2128 #define MF_DEFAULT 0x1000
2129 #define MF_SYSMENU 0x2000
2130 #define MF_HELP 0x4000
2131 #define MF_RIGHTJUSTIFY 0x4000
2132 #define MF_MOUSESELECT 0x8000
2134 /* Flags for extended menu item types. */
2135 #define MFT_STRING MF_STRING
2136 #define MFT_BITMAP MF_BITMAP
2137 #define MFT_MENUBARBREAK MF_MENUBARBREAK
2138 #define MFT_MENUBREAK MF_MENUBREAK
2139 #define MFT_OWNERDRAW MF_OWNERDRAW
2140 #define MFT_RADIOCHECK 0x00000200L
2141 #define MFT_SEPARATOR MF_SEPARATOR
2142 #define MFT_RIGHTORDER 0x00002000L
2143 #define MFT_RIGHTJUSTIFY MF_RIGHTJUSTIFY
2145 /* Flags for extended menu item states. */
2146 #define MFS_GRAYED 0x00000003L
2147 #define MFS_DISABLED MFS_GRAYED
2148 #define MFS_CHECKED MF_CHECKED
2149 #define MFS_HILITE MF_HILITE
2150 #define MFS_ENABLED MF_ENABLED
2151 #define MFS_UNCHECKED MF_UNCHECKED
2152 #define MFS_UNHILITE MF_UNHILITE
2153 #define MFS_DEFAULT MF_DEFAULT
2155 #define DT_TOP 0
2156 #define DT_LEFT 0
2157 #define DT_CENTER 1
2158 #define DT_RIGHT 2
2159 #define DT_VCENTER 4
2160 #define DT_BOTTOM 8
2161 #define DT_WORDBREAK 16
2162 #define DT_SINGLELINE 32
2163 #define DT_EXPANDTABS 64
2164 #define DT_TABSTOP 128
2165 #define DT_NOCLIP 256
2166 #define DT_EXTERNALLEADING 512
2167 #define DT_CALCRECT 1024
2168 #define DT_NOPREFIX 2048
2169 #define DT_INTERNAL 4096
2171 /* DrawCaption()/DrawCaptionTemp() flags */
2172 #define DC_ACTIVE 0x0001
2173 #define DC_SMALLCAP 0x0002
2174 #define DC_ICON 0x0004
2175 #define DC_TEXT 0x0008
2176 #define DC_INBUTTON 0x0010
2178 /* DrawEdge() flags */
2179 #define BDR_RAISEDOUTER 0x0001
2180 #define BDR_SUNKENOUTER 0x0002
2181 #define BDR_RAISEDINNER 0x0004
2182 #define BDR_SUNKENINNER 0x0008
2184 #define BDR_OUTER 0x0003
2185 #define BDR_INNER 0x000c
2186 #define BDR_RAISED 0x0005
2187 #define BDR_SUNKEN 0x000a
2189 #define EDGE_RAISED (BDR_RAISEDOUTER | BDR_RAISEDINNER)
2190 #define EDGE_SUNKEN (BDR_SUNKENOUTER | BDR_SUNKENINNER)
2191 #define EDGE_ETCHED (BDR_SUNKENOUTER | BDR_RAISEDINNER)
2192 #define EDGE_BUMP (BDR_RAISEDOUTER | BDR_SUNKENINNER)
2194 /* border flags */
2195 #define BF_LEFT 0x0001
2196 #define BF_TOP 0x0002
2197 #define BF_RIGHT 0x0004
2198 #define BF_BOTTOM 0x0008
2199 #define BF_DIAGONAL 0x0010
2200 #define BF_MIDDLE 0x0800 /* Fill in the middle */
2201 #define BF_SOFT 0x1000 /* For softer buttons */
2202 #define BF_ADJUST 0x2000 /* Calculate the space left over */
2203 #define BF_FLAT 0x4000 /* For flat rather than 3D borders */
2204 #define BF_MONO 0x8000 /* For monochrome borders */
2205 #define BF_TOPLEFT (BF_TOP | BF_LEFT)
2206 #define BF_TOPRIGHT (BF_TOP | BF_RIGHT)
2207 #define BF_BOTTOMLEFT (BF_BOTTOM | BF_LEFT)
2208 #define BF_BOTTOMRIGHT (BF_BOTTOM | BF_RIGHT)
2209 #define BF_RECT (BF_LEFT | BF_TOP | BF_RIGHT | BF_BOTTOM)
2210 #define BF_DIAGONAL_ENDTOPRIGHT (BF_DIAGONAL | BF_TOP | BF_RIGHT)
2211 #define BF_DIAGONAL_ENDTOPLEFT (BF_DIAGONAL | BF_TOP | BF_LEFT)
2212 #define BF_DIAGONAL_ENDBOTTOMLEFT (BF_DIAGONAL | BF_BOTTOM | BF_LEFT)
2213 #define BF_DIAGONAL_ENDBOTTOMRIGHT (BF_DIAGONAL | BF_BOTTOM | BF_RIGHT)
2215 /* DrawFrameControl() uType's */
2217 #define DFC_CAPTION 1
2218 #define DFC_MENU 2
2219 #define DFC_SCROLL 3
2220 #define DFC_BUTTON 4
2222 /* uState's */
2224 #define DFCS_CAPTIONCLOSE 0x0000
2225 #define DFCS_CAPTIONMIN 0x0001
2226 #define DFCS_CAPTIONMAX 0x0002
2227 #define DFCS_CAPTIONRESTORE 0x0003
2228 #define DFCS_CAPTIONHELP 0x0004 /* Windows 95 only */
2230 #define DFCS_MENUARROW 0x0000
2231 #define DFCS_MENUCHECK 0x0001
2232 #define DFCS_MENUBULLET 0x0002
2233 #define DFCS_MENUARROWRIGHT 0x0004
2235 #define DFCS_SCROLLUP 0x0000
2236 #define DFCS_SCROLLDOWN 0x0001
2237 #define DFCS_SCROLLLEFT 0x0002
2238 #define DFCS_SCROLLRIGHT 0x0003
2239 #define DFCS_SCROLLCOMBOBOX 0x0005
2240 #define DFCS_SCROLLSIZEGRIP 0x0008
2241 #define DFCS_SCROLLSIZEGRIPRIGHT 0x0010
2243 #define DFCS_BUTTONCHECK 0x0000
2244 #define DFCS_BUTTONRADIOIMAGE 0x0001
2245 #define DFCS_BUTTONRADIOMASK 0x0002 /* to draw nonsquare button */
2246 #define DFCS_BUTTONRADIO 0x0004
2247 #define DFCS_BUTTON3STATE 0x0008
2248 #define DFCS_BUTTONPUSH 0x0010
2250 /* additional state of the control */
2252 #define DFCS_INACTIVE 0x0100
2253 #define DFCS_PUSHED 0x0200
2254 #define DFCS_CHECKED 0x0400
2255 #define DFCS_ADJUSTRECT 0x2000 /* exclude surrounding edge */
2256 #define DFCS_FLAT 0x4000
2257 #define DFCS_MONO 0x8000
2259 /* Image type */
2260 #define DST_COMPLEX 0x0000
2261 #define DST_TEXT 0x0001
2262 #define DST_PREFIXTEXT 0x0002
2263 #define DST_ICON 0x0003
2264 #define DST_BITMAP 0x0004
2266 /* State type */
2267 #define DSS_NORMAL 0x0000
2268 #define DSS_UNION 0x0010 /* Gray string appearance */
2269 #define DSS_DISABLED 0x0020
2270 #define DSS_DEFAULT 0x0040 /* Make it bold */
2271 #define DSS_MONO 0x0080
2272 #define DSS_RIGHT 0x8000
2274 typedef struct
2276 UINT CtlType;
2277 UINT CtlID;
2278 UINT itemID;
2279 UINT itemAction;
2280 UINT itemState;
2281 HWND hwndItem;
2282 HDC hDC;
2283 RECT rcItem WINE_PACKED;
2284 DWORD itemData WINE_PACKED;
2285 } DRAWITEMSTRUCT, *PDRAWITEMSTRUCT, *LPDRAWITEMSTRUCT;
2288 typedef struct
2290 UINT CtlType;
2291 UINT CtlID;
2292 UINT itemID;
2293 UINT itemWidth;
2294 UINT itemHeight;
2295 DWORD itemData;
2296 } MEASUREITEMSTRUCT, *PMEASUREITEMSTRUCT, *LPMEASUREITEMSTRUCT;
2299 typedef struct
2301 UINT CtlType;
2302 UINT CtlID;
2303 UINT itemID;
2304 HWND hwndItem;
2305 DWORD itemData;
2306 } DELETEITEMSTRUCT, *LPDELETEITEMSTRUCT;
2309 typedef struct
2311 UINT CtlType;
2312 UINT CtlID;
2313 HWND hwndItem;
2314 UINT itemID1;
2315 DWORD itemData1;
2316 UINT itemID2;
2317 DWORD itemData2;
2318 DWORD dwLocaleId;
2319 } COMPAREITEMSTRUCT, *LPCOMPAREITEMSTRUCT;
2322 /* WM_KEYUP/DOWN/CHAR HIWORD(lParam) flags */
2323 #define KF_EXTENDED 0x0100
2324 #define KF_DLGMODE 0x0800
2325 #define KF_MENUMODE 0x1000
2326 #define KF_ALTDOWN 0x2000
2327 #define KF_REPEAT 0x4000
2328 #define KF_UP 0x8000
2330 /* Virtual key codes */
2331 #define VK_LBUTTON 0x01
2332 #define VK_RBUTTON 0x02
2333 #define VK_CANCEL 0x03
2334 #define VK_MBUTTON 0x04
2335 /* 0x05-0x07 Undefined */
2336 #define VK_BACK 0x08
2337 #define VK_TAB 0x09
2338 /* 0x0A-0x0B Undefined */
2339 #define VK_CLEAR 0x0C
2340 #define VK_RETURN 0x0D
2341 /* 0x0E-0x0F Undefined */
2342 #define VK_SHIFT 0x10
2343 #define VK_CONTROL 0x11
2344 #define VK_MENU 0x12
2345 #define VK_PAUSE 0x13
2346 #define VK_CAPITAL 0x14
2347 /* 0x15-0x19 Reserved for Kanji systems */
2348 /* 0x1A Undefined */
2349 #define VK_ESCAPE 0x1B
2350 /* 0x1C-0x1F Reserved for Kanji systems */
2351 #define VK_SPACE 0x20
2352 #define VK_PRIOR 0x21
2353 #define VK_NEXT 0x22
2354 #define VK_END 0x23
2355 #define VK_HOME 0x24
2356 #define VK_LEFT 0x25
2357 #define VK_UP 0x26
2358 #define VK_RIGHT 0x27
2359 #define VK_DOWN 0x28
2360 #define VK_SELECT 0x29
2361 #define VK_PRINT 0x2A /* OEM specific in Windows 3.1 SDK */
2362 #define VK_EXECUTE 0x2B
2363 #define VK_SNAPSHOT 0x2C
2364 #define VK_INSERT 0x2D
2365 #define VK_DELETE 0x2E
2366 #define VK_HELP 0x2F
2367 #define VK_0 0x30
2368 #define VK_1 0x31
2369 #define VK_2 0x32
2370 #define VK_3 0x33
2371 #define VK_4 0x34
2372 #define VK_5 0x35
2373 #define VK_6 0x36
2374 #define VK_7 0x37
2375 #define VK_8 0x38
2376 #define VK_9 0x39
2377 /* 0x3A-0x40 Undefined */
2378 #define VK_A 0x41
2379 #define VK_B 0x42
2380 #define VK_C 0x43
2381 #define VK_D 0x44
2382 #define VK_E 0x45
2383 #define VK_F 0x46
2384 #define VK_G 0x47
2385 #define VK_H 0x48
2386 #define VK_I 0x49
2387 #define VK_J 0x4A
2388 #define VK_K 0x4B
2389 #define VK_L 0x4C
2390 #define VK_M 0x4D
2391 #define VK_N 0x4E
2392 #define VK_O 0x4F
2393 #define VK_P 0x50
2394 #define VK_Q 0x51
2395 #define VK_R 0x52
2396 #define VK_S 0x53
2397 #define VK_T 0x54
2398 #define VK_U 0x55
2399 #define VK_V 0x56
2400 #define VK_W 0x57
2401 #define VK_X 0x58
2402 #define VK_Y 0x59
2403 #define VK_Z 0x5A
2405 #define VK_LWIN 0x5B
2406 #define VK_RWIN 0x5C
2407 #define VK_APPS 0x5D
2408 /* 0x5E-0x5F Unassigned */
2409 #define VK_NUMPAD0 0x60
2410 #define VK_NUMPAD1 0x61
2411 #define VK_NUMPAD2 0x62
2412 #define VK_NUMPAD3 0x63
2413 #define VK_NUMPAD4 0x64
2414 #define VK_NUMPAD5 0x65
2415 #define VK_NUMPAD6 0x66
2416 #define VK_NUMPAD7 0x67
2417 #define VK_NUMPAD8 0x68
2418 #define VK_NUMPAD9 0x69
2419 #define VK_MULTIPLY 0x6A
2420 #define VK_ADD 0x6B
2421 #define VK_SEPARATOR 0x6C
2422 #define VK_SUBTRACT 0x6D
2423 #define VK_DECIMAL 0x6E
2424 #define VK_DIVIDE 0x6F
2425 #define VK_F1 0x70
2426 #define VK_F2 0x71
2427 #define VK_F3 0x72
2428 #define VK_F4 0x73
2429 #define VK_F5 0x74
2430 #define VK_F6 0x75
2431 #define VK_F7 0x76
2432 #define VK_F8 0x77
2433 #define VK_F9 0x78
2434 #define VK_F10 0x79
2435 #define VK_F11 0x7A
2436 #define VK_F12 0x7B
2437 #define VK_F13 0x7C
2438 #define VK_F14 0x7D
2439 #define VK_F15 0x7E
2440 #define VK_F16 0x7F
2441 #define VK_F17 0x80
2442 #define VK_F18 0x81
2443 #define VK_F19 0x82
2444 #define VK_F20 0x83
2445 #define VK_F21 0x84
2446 #define VK_F22 0x85
2447 #define VK_F23 0x86
2448 #define VK_F24 0x87
2449 /* 0x88-0x8F Unassigned */
2450 #define VK_NUMLOCK 0x90
2451 #define VK_SCROLL 0x91
2452 /* 0x92-0x9F Unassigned */
2454 * differencing between right and left shift/control/alt key.
2455 * Used only by GetAsyncKeyState() and GetKeyState().
2457 #define VK_LSHIFT 0xA0
2458 #define VK_RSHIFT 0xA1
2459 #define VK_LCONTROL 0xA2
2460 #define VK_RCONTROL 0xA3
2461 #define VK_LMENU 0xA4
2462 #define VK_RMENU 0xA5
2463 /* 0xA6-0xB9 Unassigned */
2464 #define VK_OEM_1 0xBA
2465 #define VK_OEM_PLUS 0xBB
2466 #define VK_OEM_COMMA 0xBC
2467 #define VK_OEM_MINUS 0xBD
2468 #define VK_OEM_PERIOD 0xBE
2469 #define VK_OEM_2 0xBF
2470 #define VK_OEM_3 0xC0
2471 /* 0xC1-0xDA Unassigned */
2472 #define VK_OEM_4 0xDB
2473 #define VK_OEM_5 0xDC
2474 #define VK_OEM_6 0xDD
2475 #define VK_OEM_7 0xDE
2476 /* 0xDF-0xE4 OEM specific */
2478 #define VK_PROCESSKEY 0xE5
2480 /* 0xE6 OEM specific */
2481 /* 0xE7-0xE8 Unassigned */
2482 /* 0xE9-0xF5 OEM specific */
2484 #define VK_ATTN 0xF6
2485 #define VK_CRSEL 0xF7
2486 #define VK_EXSEL 0xF8
2487 #define VK_EREOF 0xF9
2488 #define VK_PLAY 0xFA
2489 #define VK_ZOOM 0xFB
2490 #define VK_NONAME 0xFC
2491 #define VK_PA1 0xFD
2492 #define VK_OEM_CLEAR 0xFE
2494 /* Key status flags for mouse events */
2495 #define MK_LBUTTON 0x0001
2496 #define MK_RBUTTON 0x0002
2497 #define MK_SHIFT 0x0004
2498 #define MK_CONTROL 0x0008
2499 #define MK_MBUTTON 0x0010
2501 /* Queue status flags */
2502 #define QS_KEY 0x0001
2503 #define QS_MOUSEMOVE 0x0002
2504 #define QS_MOUSEBUTTON 0x0004
2505 #define QS_MOUSE (QS_MOUSEMOVE | QS_MOUSEBUTTON)
2506 #define QS_POSTMESSAGE 0x0008
2507 #define QS_TIMER 0x0010
2508 #define QS_PAINT 0x0020
2509 #define QS_SENDMESSAGE 0x0040
2510 #define QS_ALLINPUT 0x007f
2512 #define DDL_READWRITE 0x0000
2513 #define DDL_READONLY 0x0001
2514 #define DDL_HIDDEN 0x0002
2515 #define DDL_SYSTEM 0x0004
2516 #define DDL_DIRECTORY 0x0010
2517 #define DDL_ARCHIVE 0x0020
2519 #define DDL_POSTMSGS 0x2000
2520 #define DDL_DRIVES 0x4000
2521 #define DDL_EXCLUSIVE 0x8000
2523 /* Shell hook values */
2524 #define HSHELL_WINDOWCREATED 1
2525 #define HSHELL_WINDOWDESTROYED 2
2526 #define HSHELL_ACTIVATESHELLWINDOW 3
2528 /* Predefined Clipboard Formats */
2529 #define CF_TEXT 1
2530 #define CF_BITMAP 2
2531 #define CF_METAFILEPICT 3
2532 #define CF_SYLK 4
2533 #define CF_DIF 5
2534 #define CF_TIFF 6
2535 #define CF_OEMTEXT 7
2536 #define CF_DIB 8
2537 #define CF_PALETTE 9
2538 #define CF_PENDATA 10
2539 #define CF_RIFF 11
2540 #define CF_WAVE 12
2541 #define CF_ENHMETAFILE 14
2543 #define CF_OWNERDISPLAY 0x0080
2544 #define CF_DSPTEXT 0x0081
2545 #define CF_DSPBITMAP 0x0082
2546 #define CF_DSPMETAFILEPICT 0x0083
2548 /* "Private" formats don't get GlobalFree()'d */
2549 #define CF_PRIVATEFIRST 0x0200
2550 #define CF_PRIVATELAST 0x02FF
2552 /* "GDIOBJ" formats do get DeleteObject()'d */
2553 #define CF_GDIOBJFIRST 0x0300
2554 #define CF_GDIOBJLAST 0x03FF
2556 /* Clipboard command messages */
2557 #define WM_CUT 0x0300
2558 #define WM_COPY 0x0301
2559 #define WM_PASTE 0x0302
2560 #define WM_CLEAR 0x0303
2561 #define WM_UNDO 0x0304
2563 /* Clipboard owner messages */
2564 #define WM_RENDERFORMAT 0x0305
2565 #define WM_RENDERALLFORMATS 0x0306
2566 #define WM_DESTROYCLIPBOARD 0x0307
2568 /* Clipboard viewer messages */
2569 #define WM_DRAWCLIPBOARD 0x0308
2570 #define WM_PAINTCLIPBOARD 0x0309
2571 #define WM_SIZECLIPBOARD 0x030B
2572 #define WM_VSCROLLCLIPBOARD 0x030A
2573 #define WM_HSCROLLCLIPBOARD 0x030E
2574 #define WM_ASKCBFORMATNAME 0x030C
2575 #define WM_CHANGECBCHAIN 0x030D
2579 /* DragObject stuff */
2581 typedef struct
2583 HWND16 hWnd;
2584 HANDLE16 hScope;
2585 WORD wFlags;
2586 HANDLE16 hList;
2587 HANDLE16 hOfStruct;
2588 POINT16 pt WINE_PACKED;
2589 LONG l WINE_PACKED;
2590 } DRAGINFO, *LPDRAGINFO;
2592 #define DRAGOBJ_PROGRAM 0x0001
2593 #define DRAGOBJ_DATA 0x0002
2594 #define DRAGOBJ_DIRECTORY 0x0004
2595 #define DRAGOBJ_MULTIPLE 0x0008
2596 #define DRAGOBJ_EXTERNAL 0x8000
2598 #define DRAG_PRINT 0x544E5250
2599 #define DRAG_FILE 0x454C4946
2601 /* types of LoadImage */
2602 #define IMAGE_BITMAP 0
2603 #define IMAGE_ICON 1
2604 #define IMAGE_CURSOR 2
2605 #define IMAGE_ENHMETA 3
2607 /* loadflags to LoadImage */
2608 #define LR_DEFAULTCOLOR 0x0000
2609 #define LR_MONOCHROME 0x0001
2610 #define LR_COLOR 0x0002
2611 #define LR_COPYRETURNORG 0x0004
2612 #define LR_COPYDELETEORG 0x0008
2613 #define LR_LOADFROMFILE 0x0010
2614 #define LR_LOADTRANSPARENT 0x0020
2615 #define LR_DEFAULTSIZE 0x0040
2616 #define LR_VGA_COLOR 0x0080
2617 #define LR_LOADMAP3DCOLORS 0x1000
2618 #define LR_CREATEDIBSECTION 0x2000
2619 #define LR_COPYFROMRESOURCE 0x4000
2620 #define LR_SHARED 0x8000
2622 /* Flags for DrawIconEx. */
2623 #define DI_MASK 1
2624 #define DI_IMAGE 2
2625 #define DI_NORMAL (DI_MASK | DI_IMAGE)
2626 #define DI_COMPAT 4
2627 #define DI_DEFAULTSIZE 8
2629 /* misc messages */
2630 #define WM_NULL 0x0000
2631 #define WM_CPL_LAUNCH (WM_USER + 1000)
2632 #define WM_CPL_LAUNCHED (WM_USER + 1001)
2634 /* WM_NOTIFYFORMAT commands and return values */
2635 #define NFR_ANSI 1
2636 #define NFR_UNICODE 2
2637 #define NF_QUERY 3
2638 #define NF_REQUERY 4
2640 #pragma pack(4)
2641 #define EnumTaskWindows(handle,proc,lparam) \
2642 EnumThreadWindows(handle,proc,lparam)
2643 #define OemToAnsiA OemToCharA
2644 #define OemToAnsiW OemToCharW
2645 #define OemToAnsi WINELIB_NAME_AW(OemToAnsi)
2646 #define OemToAnsiBuffA OemToCharBuffA
2647 #define OemToAnsiBuffW OemToCharBuffW
2648 #define OemToAnsiBuff WINELIB_NAME_AW(OemToAnsiBuff)
2649 #define AnsiToOemA CharToOemA
2650 #define AnsiToOemW CharToOemW
2651 #define AnsiToOem WINELIB_NAME_AW(AnsiToOem)
2652 #define AnsiToOemBuffA CharToOemBuffA
2653 #define AnsiToOemBuffW CharToOemBuffW
2654 #define AnsiToOemBuff WINELIB_NAME_AW(AnsiToOemBuff)
2655 WORD WINAPI CascadeWindows (HWND, UINT, const LPRECT,
2656 UINT, const HWND *);
2657 INT WINAPI CopyAcceleratorTableA(HACCEL,LPACCEL,INT);
2658 INT WINAPI CopyAcceleratorTableW(HACCEL,LPACCEL,INT);
2659 #define CopyAcceleratorTable WINELIB_NAME_AW(CopyAcceleratorTable)
2660 HICON WINAPI CreateIconIndirect(LPICONINFO);
2661 BOOL WINAPI DestroyAcceleratorTable(HACCEL);
2662 BOOL WINAPI EnumDisplayMonitors(HDC,LPRECT,MONITORENUMPROC,LPARAM);
2663 INT WINAPI EnumPropsExA(HWND,PROPENUMPROCEXA,LPARAM);
2664 INT WINAPI EnumPropsExW(HWND,PROPENUMPROCEXW,LPARAM);
2665 #define EnumPropsEx WINELIB_NAME_AW(EnumPropsEx)
2666 BOOL WINAPI EnumThreadWindows(DWORD,WNDENUMPROC,LPARAM);
2667 BOOL WINAPI ExitWindowsEx(UINT,DWORD);
2668 BOOL WINAPI GetIconInfo(HICON,LPICONINFO);
2669 DWORD WINAPI GetMenuContextHelpId(HMENU);
2670 UINT WINAPI GetMenuDefaultItem(HMENU,UINT,UINT);
2671 BOOL WINAPI GetMenuItemInfoA(HMENU,UINT,BOOL,MENUITEMINFOA*);
2672 BOOL WINAPI GetMenuItemInfoW(HMENU,UINT,BOOL,MENUITEMINFOW*);
2673 #define GetMenuItemInfo WINELIB_NAME_AW(GetMenuItemInfo)
2674 BOOL WINAPI GetMonitorInfoA(HMONITOR,LPMONITORINFO);
2675 BOOL WINAPI GetMonitorInfoW(HMONITOR,LPMONITORINFO);
2676 #define GetMonitorInfo WINELIB_NAME_AW(GetMonitorInfo)
2677 INT WINAPI GetNumberFormatA(LCID,DWORD,LPCSTR,const NUMBERFMTA*,LPSTR,int);
2678 INT WINAPI GetNumberFormatW(LCID,DWORD,LPCWSTR,const NUMBERFMTW*,LPWSTR,int);
2679 #define GetNumberFormat WINELIB_NAME_AW(GetNumberFormat);
2680 DWORD WINAPI GetWindowContextHelpId(HWND);
2681 DWORD WINAPI GetWindowThreadProcessId(HWND,LPDWORD);
2682 BOOL WINAPI IsWindowUnicode(HWND);
2683 HKL WINAPI LoadKeyboardLayoutA(LPCSTR,UINT);
2684 HKL WINAPI LoadKeyboardLayoutW(LPCWSTR,UINT);
2685 #define LoadKeyboardLayout WINELIB_NAME_AW(LoadKeyboardLayout)
2686 INT WINAPI MessageBoxExA(HWND,LPCSTR,LPCSTR,UINT,WORD);
2687 INT WINAPI MessageBoxExW(HWND,LPCWSTR,LPCWSTR,UINT,WORD);
2688 #define MessageBoxEx WINELIB_NAME_AW(MessageBoxEx)
2689 HMONITOR WINAPI MonitorFromPoint(POINT,DWORD);
2690 HMONITOR WINAPI MonitorFromRect(LPRECT,DWORD);
2691 HMONITOR WINAPI MonitorFromWindow(HWND,DWORD);
2692 DWORD WINAPI MsgWaitForMultipleObjects(DWORD,HANDLE*,BOOL,DWORD,DWORD);
2693 BOOL WINAPI PaintDesktop(HDC);
2694 BOOL WINAPI PostThreadMessageA(DWORD, UINT, WPARAM, LPARAM);
2695 BOOL WINAPI PostThreadMessageW(DWORD, UINT, WPARAM, LPARAM);
2696 #define PostThreadMessage WINELIB_NAME_AW(PostThreadMessage)
2697 UINT WINAPI ReuseDDElParam(UINT,UINT,UINT,UINT,UINT);
2698 BOOL WINAPI SendNotifyMessageA(HWND,UINT,WPARAM,LPARAM);
2699 BOOL WINAPI SendNotifyMessageW(HWND,UINT,WPARAM,LPARAM);
2700 #define SendNotifyMessage WINELIB_NAME_AW(SendNotifyMessage)
2701 VOID WINAPI SetDebugErrorLevel(DWORD);
2702 VOID WINAPI SetLastErrorEx(DWORD,DWORD);
2703 BOOL WINAPI SetMenuDefaultItem(HMENU,UINT,UINT);
2704 BOOL WINAPI SetMenuItemInfoA(HMENU,UINT,BOOL,const MENUITEMINFOA*);
2705 BOOL WINAPI SetMenuItemInfoW(HMENU,UINT,BOOL,const MENUITEMINFOW*);
2706 #define SetMenuItemInfo WINELIB_NAME_AW(SetMenuItemInfo)
2707 BOOL WINAPI SetWindowContextHelpId(HWND,DWORD);
2708 WORD WINAPI TileWindows (HWND, UINT, const LPRECT,
2709 UINT, const HWND *);
2710 BOOL WINAPI TrackPopupMenuEx(HMENU,UINT,INT,INT,HWND,
2711 LPTPMPARAMS);
2712 UINT WINAPI UnpackDDElParam(UINT,UINT,UINT*,UINT*);
2713 DWORD WINAPI WaitForInputIdle(HANDLE,DWORD);
2714 VOID WINAPI keybd_event(BYTE,BYTE,DWORD,DWORD);
2715 VOID WINAPI mouse_event(DWORD,DWORD,DWORD,DWORD,DWORD);
2717 /* Declarations for functions that are the same in Win16 and Win32 */
2718 VOID WINAPI EndMenu(void);
2719 DWORD WINAPI GetDialogBaseUnits(void);
2720 VOID WINAPI GetKeyboardState(LPBYTE);
2721 DWORD WINAPI GetMenuCheckMarkDimensions(void);
2722 LONG WINAPI GetMessageExtraInfo(void);
2723 DWORD WINAPI GetMessagePos(void);
2724 LONG WINAPI GetMessageTime(void);
2725 DWORD WINAPI GetTickCount(void);
2726 ATOM WINAPI GlobalDeleteAtom(ATOM);
2727 DWORD WINAPI OemKeyScan(WORD);
2728 VOID WINAPI ReleaseCapture(void);
2729 VOID WINAPI SetKeyboardState(LPBYTE);
2730 VOID WINAPI WaitMessage(VOID);
2733 /* Declarations for functions that change between Win16 and Win32 */
2735 BOOL WINAPI AdjustWindowRect(LPRECT,DWORD,BOOL);
2736 BOOL WINAPI AdjustWindowRectEx(LPRECT,DWORD,BOOL,DWORD);
2737 #define AnsiLowerA CharLowerA
2738 #define AnsiLowerW CharLowerW
2739 #define AnsiLower WINELIB_NAME_AW(AnsiLower)
2740 #define AnsiLowerBuffA CharLowerBuffA
2741 #define AnsiLowerBuffW CharLowerBuffW
2742 #define AnsiLowerBuff WINELIB_NAME_AW(AnsiLowerBuff)
2743 #define AnsiNextA CharNextA
2744 #define AnsiNextW CharNextW
2745 #define AnsiNext WINELIB_NAME_AW(AnsiNext)
2746 #define AnsiPrevA CharPrevA
2747 #define AnsiPrevW CharPrevW
2748 #define AnsiPrev WINELIB_NAME_AW(AnsiPrev)
2749 #define AnsiUpperA CharUpperA
2750 #define AnsiUpperW CharUpperW
2751 #define AnsiUpper WINELIB_NAME_AW(AnsiUpper)
2752 #define AnsiUpperBuffA CharUpperBuffA
2753 #define AnsiUpperBuffW CharUpperBuffW
2754 #define AnsiUpperBuff WINELIB_NAME_AW(AnsiUpperBuff)
2755 BOOL WINAPI AnyPopup(void);
2756 BOOL WINAPI AppendMenuA(HMENU,UINT,UINT,LPCSTR);
2757 BOOL WINAPI AppendMenuW(HMENU,UINT,UINT,LPCWSTR);
2758 #define AppendMenu WINELIB_NAME_AW(AppendMenu)
2759 UINT WINAPI ArrangeIconicWindows(HWND);
2760 HDWP WINAPI BeginDeferWindowPos(INT);
2761 HDC WINAPI BeginPaint(HWND,LPPAINTSTRUCT);
2762 BOOL WINAPI BringWindowToTop(HWND);
2763 BOOL WINAPI CallMsgFilterA(LPMSG,INT);
2764 BOOL WINAPI CallMsgFilterW(LPMSG,INT);
2765 #define CallMsgFilter WINELIB_NAME_AW(CallMsgFilter)
2766 LRESULT WINAPI CallNextHookEx(HHOOK,INT,WPARAM,LPARAM);
2767 LRESULT WINAPI CallWindowProcA(WNDPROC,HWND,UINT,WPARAM,LPARAM);
2768 LRESULT WINAPI CallWindowProcW(WNDPROC,HWND,UINT,WPARAM,LPARAM);
2769 #define CallWindowProc WINELIB_NAME_AW(CallWindowProc)
2770 BOOL WINAPI ChangeClipboardChain(HWND,HWND);
2771 BOOL WINAPI ChangeMenuA(HMENU,UINT,LPCSTR,UINT,UINT);
2772 BOOL WINAPI ChangeMenuW(HMENU,UINT,LPCWSTR,UINT,UINT);
2773 #define ChangeMenu WINELIB_NAME_AW(ChangeMenu)
2774 LPSTR WINAPI CharLowerA(LPSTR);
2775 LPWSTR WINAPI CharLowerW(LPWSTR);
2776 #define CharLower WINELIB_NAME_AW(CharLower)
2777 DWORD WINAPI CharLowerBuffA(LPSTR,DWORD);
2778 DWORD WINAPI CharLowerBuffW(LPWSTR,DWORD);
2779 #define CharLowerBuff WINELIB_NAME_AW(CharLowerBuff)
2780 LPSTR WINAPI CharNextA(LPCSTR);
2781 LPWSTR WINAPI CharNextW(LPCWSTR);
2782 #define CharNext WINELIB_NAME_AW(CharNext)
2783 LPSTR WINAPI CharNextExA(WORD,LPCSTR,DWORD);
2784 LPWSTR WINAPI CharNextExW(WORD,LPCWSTR,DWORD);
2785 #define CharNextEx WINELIB_NAME_AW(CharNextEx)
2786 LPSTR WINAPI CharPrevA(LPCSTR,LPCSTR);
2787 LPWSTR WINAPI CharPrevW(LPCWSTR,LPCWSTR);
2788 #define CharPrev WINELIB_NAME_AW(CharPrev)
2789 LPSTR WINAPI CharPrevExA(WORD,LPCSTR,LPCSTR,DWORD);
2790 LPWSTR WINAPI CharPrevExW(WORD,LPCWSTR,LPCWSTR,DWORD);
2791 #define CharPrevEx WINELIB_NAME_AW(CharPrevEx)
2792 LPSTR WINAPI CharUpperA(LPSTR);
2793 LPWSTR WINAPI CharUpperW(LPWSTR);
2794 #define CharUpper WINELIB_NAME_AW(CharUpper)
2795 DWORD WINAPI CharUpperBuffA(LPSTR,DWORD);
2796 DWORD WINAPI CharUpperBuffW(LPWSTR,DWORD);
2797 #define CharUpperBuff WINELIB_NAME_AW(CharUpperBuff)
2798 BOOL WINAPI CharToOemA(LPCSTR,LPSTR);
2799 BOOL WINAPI CharToOemW(LPCWSTR,LPSTR);
2800 #define CharToOem WINELIB_NAME_AW(CharToOem)
2801 BOOL WINAPI CharToOemBuffA(LPCSTR,LPSTR,DWORD);
2802 BOOL WINAPI CharToOemBuffW(LPCWSTR,LPSTR,DWORD);
2803 #define CharToOemBuff WINELIB_NAME_AW(CharToOemBuff)
2804 BOOL WINAPI CheckDlgButton(HWND,INT,UINT);
2805 DWORD WINAPI CheckMenuItem(HMENU,UINT,UINT);
2806 BOOL WINAPI CheckMenuRadioItem(HMENU,UINT,UINT,UINT,UINT);
2807 BOOL WINAPI CheckRadioButton(HWND,UINT,UINT,UINT);
2808 HWND WINAPI ChildWindowFromPoint(HWND,POINT);
2809 HWND WINAPI ChildWindowFromPointEx(HWND,POINT,UINT);
2810 BOOL WINAPI ClearCommBreak(INT);
2811 BOOL WINAPI ClientToScreen(HWND,LPPOINT);
2812 BOOL WINAPI ClipCursor(const RECT*);
2813 BOOL WINAPI CloseClipboard(void);
2814 BOOL WINAPI CloseWindow(HWND);
2815 #define CopyCursor(cur) ((HCURSOR)CopyIcon((HICON)(cur)))
2816 HICON WINAPI CopyIcon(HICON);
2817 HICON WINAPI CopyImage(HANDLE,UINT,INT,INT,UINT);
2818 BOOL WINAPI CopyRect(RECT*,const RECT*);
2819 INT WINAPI CountClipboardFormats(void);
2820 BOOL WINAPI CreateCaret(HWND,HBITMAP,INT,INT);
2821 HCURSOR WINAPI CreateCursor(HINSTANCE,INT,INT,INT,INT,LPCVOID,LPCVOID);
2822 #define CreateDialogA(inst,ptr,hwnd,dlg) \
2823 CreateDialogParamA(inst,ptr,hwnd,dlg,0)
2824 #define CreateDialogW(inst,ptr,hwnd,dlg) \
2825 CreateDialogParamW(inst,ptr,hwnd,dlg,0)
2826 #define CreateDialog WINELIB_NAME_AW(CreateDialog)
2827 #define CreateDialogIndirectA(inst,ptr,hwnd,dlg) \
2828 CreateDialogIndirectParamA(inst,ptr,hwnd,dlg,0)
2829 #define CreateDialogIndirectW(inst,ptr,hwnd,dlg) \
2830 CreateDialogIndirectParamW(inst,ptr,hwnd,dlg,0)
2831 #define CreateDialogIndirect WINELIB_NAME_AW(CreateDialogIndirect)
2832 HWND WINAPI CreateDialogIndirectParamA(HINSTANCE,LPCVOID,HWND,
2833 DLGPROC,LPARAM);
2834 HWND WINAPI CreateDialogIndirectParamW(HINSTANCE,LPCVOID,HWND,
2835 DLGPROC,LPARAM);
2836 #define CreateDialogIndirectParam WINELIB_NAME_AW(CreateDialogIndirectParam)
2837 HWND WINAPI CreateDialogParamA(HINSTANCE,LPCSTR,HWND,DLGPROC,LPARAM);
2838 HWND WINAPI CreateDialogParamW(HINSTANCE,LPCWSTR,HWND,DLGPROC,LPARAM);
2839 #define CreateDialogParam WINELIB_NAME_AW(CreateDialogParam)
2840 HICON WINAPI CreateIcon(HINSTANCE,INT,INT,BYTE,BYTE,LPCVOID,LPCVOID);
2841 HICON WINAPI CreateIconFromResource(LPBYTE,UINT,BOOL,DWORD);
2842 HICON WINAPI CreateIconFromResourceEx(LPBYTE,UINT,BOOL,DWORD,INT,INT,UINT);
2843 HMENU WINAPI CreateMenu(void);
2844 HMENU WINAPI CreatePopupMenu(void);
2845 #define CreateWindowA(className,titleName,style,x,y,width,height,\
2846 parent,menu,instance,param) \
2847 CreateWindowExA(0,className,titleName,style,x,y,width,height,\
2848 parent,menu,instance,param)
2849 #define CreateWindowW(className,titleName,style,x,y,width,height,\
2850 parent,menu,instance,param) \
2851 CreateWindowExW(0,className,titleName,style,x,y,width,height,\
2852 parent,menu,instance,param)
2853 #define CreateWindow WINELIB_NAME_AW(CreateWindow)
2854 HWND WINAPI CreateWindowExA(DWORD,LPCSTR,LPCSTR,DWORD,INT,INT,
2855 INT,INT,HWND,HMENU,HINSTANCE,LPVOID);
2856 HWND WINAPI CreateWindowExW(DWORD,LPCWSTR,LPCWSTR,DWORD,INT,INT,
2857 INT,INT,HWND,HMENU,HINSTANCE,LPVOID);
2858 #define CreateWindowEx WINELIB_NAME_AW(CreateWindowEx)
2859 HWND WINAPI CreateMDIWindowA(LPCSTR,LPCSTR,DWORD,INT,INT,
2860 INT,INT,HWND,HINSTANCE,LPARAM);
2861 HWND WINAPI CreateMDIWindowW(LPCWSTR,LPCWSTR,DWORD,INT,INT,
2862 INT,INT,HWND,HINSTANCE,LPARAM);
2863 #define CreateMDIWindow WINELIB_NAME_AW(CreateMDIWindow)
2864 LRESULT WINAPI DefDlgProcA(HWND,UINT,WPARAM,LPARAM);
2865 LRESULT WINAPI DefDlgProcW(HWND,UINT,WPARAM,LPARAM);
2866 #define DefDlgProc WINELIB_NAME_AW(DefDlgProc)
2867 HDWP WINAPI DeferWindowPos(HDWP,HWND,HWND,INT,INT,INT,INT,UINT);
2868 LRESULT WINAPI DefFrameProcA(HWND,HWND,UINT,WPARAM,LPARAM);
2869 LRESULT WINAPI DefFrameProcW(HWND,HWND,UINT,WPARAM,LPARAM);
2870 #define DefFrameProc WINELIB_NAME_AW(DefFrameProc)
2871 #define DefHookProc(code,wparam,lparam,phhook) \
2872 CallNextHookEx(*(phhook),code,wparam,lparam)
2873 LRESULT WINAPI DefMDIChildProcA(HWND,UINT,WPARAM,LPARAM);
2874 LRESULT WINAPI DefMDIChildProcW(HWND,UINT,WPARAM,LPARAM);
2875 #define DefMDIChildProc WINELIB_NAME_AW(DefMDIChildProc)
2876 LRESULT WINAPI DefWindowProcA(HWND,UINT,WPARAM,LPARAM);
2877 LRESULT WINAPI DefWindowProcW(HWND,UINT,WPARAM,LPARAM);
2878 #define DefWindowProc WINELIB_NAME_AW(DefWindowProc)
2879 BOOL WINAPI DeleteMenu(HMENU,UINT,UINT);
2880 BOOL WINAPI DestroyCaret(void);
2881 BOOL WINAPI DestroyCursor(HCURSOR);
2882 BOOL WINAPI DestroyIcon(HICON);
2883 BOOL WINAPI DestroyMenu(HMENU);
2884 BOOL WINAPI DestroyWindow(HWND);
2885 #define DialogBoxA(inst,template,owner,func) \
2886 DialogBoxParamA(inst,template,owner,func,0)
2887 #define DialogBoxW(inst,template,owner,func) \
2888 DialogBoxParamW(inst,template,owner,func,0)
2889 #define DialogBox WINELIB_NAME_AW(DialogBox)
2890 #define DialogBoxIndirectA(inst,template,owner,func) \
2891 DialogBoxIndirectParamA(inst,template,owner,func,0)
2892 #define DialogBoxIndirectW(inst,template,owner,func) \
2893 DialogBoxIndirectParamW(inst,template,owner,func,0)
2894 #define DialogBoxIndirect WINELIB_NAME_AW(DialogBoxIndirect)
2895 INT WINAPI DialogBoxIndirectParamA(HINSTANCE,LPCVOID,HWND,DLGPROC,LPARAM);
2896 INT WINAPI DialogBoxIndirectParamW(HINSTANCE,LPCVOID,HWND,DLGPROC,LPARAM);
2897 #define DialogBoxIndirectParam WINELIB_NAME_AW(DialogBoxIndirectParam)
2898 INT WINAPI DialogBoxParamA(HINSTANCE,LPCSTR,HWND,DLGPROC,LPARAM);
2899 INT WINAPI DialogBoxParamW(HINSTANCE,LPCWSTR,HWND,DLGPROC,LPARAM);
2900 #define DialogBoxParam WINELIB_NAME_AW(DialogBoxParam)
2901 LONG WINAPI DispatchMessageA(const MSG*);
2902 LONG WINAPI DispatchMessageW(const MSG*);
2903 #define DispatchMessage WINELIB_NAME_AW(DispatchMessage)
2904 INT WINAPI DlgDirListA(HWND,LPSTR,INT,INT,UINT);
2905 INT WINAPI DlgDirListW(HWND,LPWSTR,INT,INT,UINT);
2906 #define DlgDirList WINELIB_NAME_AW(DlgDirList)
2907 INT WINAPI DlgDirListComboBoxA(HWND,LPSTR,INT,INT,UINT);
2908 INT WINAPI DlgDirListComboBoxW(HWND,LPWSTR,INT,INT,UINT);
2909 #define DlgDirListComboBox WINELIB_NAME_AW(DlgDirListComboBox)
2910 BOOL WINAPI DlgDirSelectComboBoxExA(HWND,LPSTR,INT,INT);
2911 BOOL WINAPI DlgDirSelectComboBoxExW(HWND,LPWSTR,INT,INT);
2912 #define DlgDirSelectComboBoxEx WINELIB_NAME_AW(DlgDirSelectComboBoxEx)
2913 BOOL WINAPI DlgDirSelectExA(HWND,LPSTR,INT,INT);
2914 BOOL WINAPI DlgDirSelectExW(HWND,LPWSTR,INT,INT);
2915 #define DlgDirSelectEx WINELIB_NAME_AW(DlgDirSelectEx)
2916 BOOL WINAPI DragDetect(HWND,POINT);
2917 DWORD WINAPI DragObject(HWND,HWND,UINT,DWORD,HCURSOR);
2918 BOOL WINAPI DrawAnimatedRects(HWND,int,const RECT*,const RECT*);
2919 BOOL WINAPI DrawCaption(HWND,HDC,const RECT*,UINT);
2920 BOOL WINAPI DrawCaptionTempA(HWND,HDC,const RECT*,HFONT,HICON,LPCSTR,UINT);
2921 BOOL WINAPI DrawCaptionTempW(HWND,HDC,const RECT*,HFONT,HICON,LPCWSTR,UINT);
2922 #define DrawCaptionTemp WINELIB_NAME_AW(DrawCaptionTemp)
2923 BOOL WINAPI DrawEdge(HDC,LPRECT,UINT,UINT);
2924 BOOL WINAPI DrawFocusRect(HDC,const RECT*);
2925 BOOL WINAPI DrawFrameControl(HDC,LPRECT,UINT,UINT);
2926 BOOL WINAPI DrawIcon(HDC,INT,INT,HICON);
2927 BOOL WINAPI DrawIconEx(HDC,INT,INT,HICON,INT,INT,
2928 UINT,HBRUSH,UINT);
2929 BOOL WINAPI DrawMenuBar(HWND);
2930 BOOL WINAPI DrawStateA(HDC,HBRUSH,DRAWSTATEPROC,LPARAM,WPARAM,INT,INT,INT,INT,UINT);
2931 BOOL WINAPI DrawStateW(HDC,HBRUSH,DRAWSTATEPROC,LPARAM,WPARAM,INT,INT,INT,INT,UINT);
2932 #define DrawState WINELIB_NAME_AW(DrawState)
2933 INT WINAPI DrawTextA(HDC,LPCSTR,INT,LPRECT,UINT);
2934 INT WINAPI DrawTextW(HDC,LPCWSTR,INT,LPRECT,UINT);
2935 #define DrawText WINELIB_NAME_AW(DrawText)
2936 BOOL WINAPI EmptyClipboard(void);
2937 UINT WINAPI EnableMenuItem(HMENU,UINT,UINT);
2938 BOOL WINAPI EnableScrollBar(HWND,INT,UINT);
2939 BOOL WINAPI EnableWindow(HWND,BOOL);
2940 BOOL WINAPI EndDeferWindowPos(HDWP);
2941 BOOL WINAPI EndDialog(HWND,INT);
2942 BOOL WINAPI EndPaint(HWND,const PAINTSTRUCT*);
2943 BOOL WINAPI EnumChildWindows(HWND,WNDENUMPROC,LPARAM);
2944 UINT WINAPI EnumClipboardFormats(UINT);
2945 INT WINAPI EnumPropsA(HWND,PROPENUMPROCA);
2946 INT WINAPI EnumPropsW(HWND,PROPENUMPROCW);
2947 #define EnumProps WINELIB_NAME_AW(EnumProps)
2948 BOOL WINAPI EnumWindows(WNDENUMPROC,LPARAM);
2949 BOOL WINAPI EqualRect(const RECT*,const RECT*);
2950 BOOL WINAPI EscapeCommFunction(INT,UINT);
2951 INT WINAPI ExcludeUpdateRgn(HDC,HWND);
2952 #define ExitWindows(a,b) ExitWindowsEx(EWX_LOGOFF,0xffffffff)
2953 INT WINAPI FillRect(HDC,const RECT*,HBRUSH);
2954 HWND WINAPI FindWindowA(LPCSTR,LPCSTR);
2955 HWND WINAPI FindWindowW(LPCWSTR,LPCWSTR);
2956 #define FindWindow WINELIB_NAME_AW(FindWindow)
2957 HWND WINAPI FindWindowExA(HWND,HWND,LPCSTR,LPCSTR);
2958 HWND WINAPI FindWindowExW(HWND,HWND,LPCWSTR,LPCWSTR);
2959 #define FindWindowEx WINELIB_NAME_AW(FindWindowEx)
2960 BOOL WINAPI FlashWindow(HWND,BOOL);
2961 INT WINAPI FrameRect(HDC,const RECT*,HBRUSH);
2962 HWND WINAPI GetActiveWindow(void);
2963 DWORD WINAPI GetAppCompatFlags(HTASK);
2964 WORD WINAPI GetAsyncKeyState(INT);
2965 HWND WINAPI GetCapture(void);
2966 UINT WINAPI GetCaretBlinkTime(void);
2967 BOOL WINAPI GetCaretPos(LPPOINT);
2968 BOOL WINAPI GetClassInfoA(HINSTANCE,LPCSTR,WNDCLASSA *);
2969 BOOL WINAPI GetClassInfoW(HINSTANCE,LPCWSTR,WNDCLASSW *);
2970 #define GetClassInfo WINELIB_NAME_AW(GetClassInfo)
2971 BOOL WINAPI GetClassInfoExA(HINSTANCE,LPCSTR,WNDCLASSEXA *);
2972 BOOL WINAPI GetClassInfoExW(HINSTANCE,LPCWSTR,WNDCLASSEXW *);
2973 #define GetClassInfoEx WINELIB_NAME_AW(GetClassInfoEx)
2974 LONG WINAPI GetClassLongA(HWND,INT);
2975 LONG WINAPI GetClassLongW(HWND,INT);
2976 #define GetClassLong WINELIB_NAME_AW(GetClassLong)
2977 INT WINAPI GetClassNameA(HWND,LPSTR,INT);
2978 INT WINAPI GetClassNameW(HWND,LPWSTR,INT);
2979 #define GetClassName WINELIB_NAME_AW(GetClassName)
2980 WORD WINAPI GetClassWord(HWND,INT);
2981 BOOL WINAPI GetClientRect(HWND,LPRECT);
2982 HANDLE WINAPI GetClipboardData(UINT);
2983 INT WINAPI GetClipboardFormatNameA(UINT,LPSTR,INT);
2984 INT WINAPI GetClipboardFormatNameW(UINT,LPWSTR,INT);
2985 #define GetClipboardFormatName WINELIB_NAME_AW(GetClipboardFormatName)
2986 HWND WINAPI GetClipboardOwner(void);
2987 HWND WINAPI GetClipboardViewer(void);
2988 BOOL WINAPI GetClipCursor(LPRECT);
2989 #define GetCurrentTime() GetTickCount()
2990 HCURSOR WINAPI GetCursor(void);
2991 BOOL WINAPI GetCursorPos(LPPOINT);
2992 HDC WINAPI GetDC(HWND);
2993 HDC WINAPI GetDCEx(HWND,HRGN,DWORD);
2994 HWND WINAPI GetDesktopWindow(void);
2995 INT WINAPI GetDlgCtrlID(HWND);
2996 HWND WINAPI GetDlgItem(HWND,INT);
2997 UINT WINAPI GetDlgItemInt(HWND,INT,BOOL*,BOOL);
2998 INT WINAPI GetDlgItemTextA(HWND,INT,LPSTR,UINT);
2999 INT WINAPI GetDlgItemTextW(HWND,INT,LPWSTR,UINT);
3000 #define GetDlgItemText WINELIB_NAME_AW(GetDlgItemText)
3001 UINT WINAPI GetDoubleClickTime(void);
3002 HWND WINAPI GetFocus(void);
3003 HWND WINAPI GetForegroundWindow(void);
3004 BOOL WINAPI GetInputState(void);
3005 UINT WINAPI GetInternalWindowPos(HWND,LPRECT,LPPOINT);
3006 UINT WINAPI GetKBCodePage(void);
3007 INT WINAPI GetKeyboardType(INT);
3008 INT WINAPI GetKeyNameTextA(LONG,LPSTR,INT);
3009 INT WINAPI GetKeyNameTextW(LONG,LPWSTR,INT);
3010 #define GetKeyNameText WINELIB_NAME_AW(GetKeyNameText)
3011 INT WINAPI GetKeyboardLayoutNameA(LPSTR);
3012 INT WINAPI GetKeyboardLayoutNameW(LPWSTR);
3013 #define GetKeyboardLayoutName WINELIB_NAME_AW(GetKeyboardLayoutName)
3014 INT16 WINAPI GetKeyState(INT);
3015 HWND WINAPI GetLastActivePopup(HWND);
3016 HMENU WINAPI GetMenu(HWND);
3017 INT WINAPI GetMenuItemCount(HMENU);
3018 UINT WINAPI GetMenuItemID(HMENU,INT);
3019 BOOL WINAPI GetMenuItemRect(HWND,HMENU,UINT,LPRECT);
3020 UINT WINAPI GetMenuState(HMENU,UINT,UINT);
3021 INT WINAPI GetMenuStringA(HMENU,UINT,LPSTR,INT,UINT);
3022 INT WINAPI GetMenuStringW(HMENU,UINT,LPWSTR,INT,UINT);
3023 #define GetMenuString WINELIB_NAME_AW(GetMenuString)
3024 BOOL WINAPI GetMessageA(LPMSG,HWND,UINT,UINT);
3025 BOOL WINAPI GetMessageW(LPMSG,HWND,UINT,UINT);
3026 #define GetMessage WINELIB_NAME_AW(GetMessage)
3027 HWND WINAPI GetNextDlgGroupItem(HWND,HWND,BOOL);
3028 HWND WINAPI GetNextDlgTabItem(HWND,HWND,BOOL);
3029 #define GetNextWindow GetWindow
3030 HWND WINAPI GetOpenClipboardWindow(void);
3031 HWND WINAPI GetParent(HWND);
3032 INT WINAPI GetPriorityClipboardFormat(UINT*,INT);
3033 HANDLE WINAPI GetPropA(HWND,LPCSTR);
3034 HANDLE WINAPI GetPropW(HWND,LPCWSTR);
3035 #define GetProp WINELIB_NAME_AW(GetProp)
3036 DWORD WINAPI GetQueueStatus(UINT);
3037 BOOL WINAPI GetScrollInfo(HWND,INT,LPSCROLLINFO);
3038 INT WINAPI GetScrollPos(HWND,INT);
3039 BOOL WINAPI GetScrollRange(HWND,INT,LPINT,LPINT);
3040 HWND WINAPI GetShellWindow(void);
3041 HMENU WINAPI GetSubMenu(HMENU,INT);
3042 COLORREF WINAPI GetSysColor(INT);
3043 HBRUSH WINAPI GetSysColorBrush(INT);
3044 #define GetSysModalWindow() ((HWND)0)
3045 HMENU WINAPI GetSystemMenu(HWND,BOOL);
3046 INT WINAPI GetSystemMetrics(INT);
3047 DWORD WINAPI GetTabbedTextExtentA(HDC,LPCSTR,INT,INT,const INT*);
3048 DWORD WINAPI GetTabbedTextExtentW(HDC,LPCWSTR,INT,INT,const INT*);
3049 #define GetTabbedTextExtent WINELIB_NAME_AW(GetTabbedTextExtent)
3050 HWND WINAPI GetTopWindow(HWND);
3051 BOOL WINAPI GetUpdateRect(HWND,LPRECT,BOOL);
3052 INT WINAPI GetUpdateRgn(HWND,HRGN,BOOL);
3053 HWND WINAPI GetWindow(HWND,WORD);
3054 HDC WINAPI GetWindowDC(HWND);
3055 LONG WINAPI GetWindowLongA(HWND,INT);
3056 LONG WINAPI GetWindowLongW(HWND,INT);
3057 #define GetWindowLong WINELIB_NAME_AW(GetWindowLong)
3058 BOOL WINAPI GetWindowPlacement(HWND,LPWINDOWPLACEMENT);
3059 BOOL WINAPI GetWindowRect(HWND,LPRECT);
3060 INT WINAPI GetWindowRgn(HWND,HRGN);
3061 #define GetWindowTask(hwnd) ((HTASK)GetWindowThreadProcessId(hwnd,NULL))
3062 INT WINAPI GetWindowTextA(HWND,LPSTR,INT);
3063 INT WINAPI GetWindowTextW(HWND,LPWSTR,INT);
3064 #define GetWindowText WINELIB_NAME_AW(GetWindowText)
3065 INT WINAPI GetWindowTextLengthA(HWND);
3066 INT WINAPI GetWindowTextLengthW(HWND);
3067 #define GetWindowTextLength WINELIB_NAME_AW(GetWindowTextLength)
3068 WORD WINAPI GetWindowWord(HWND,INT);
3069 ATOM WINAPI GlobalAddAtomA(LPCSTR);
3070 ATOM WINAPI GlobalAddAtomW(LPCWSTR);
3071 #define GlobalAddAtom WINELIB_NAME_AW(GlobalAddAtom)
3072 ATOM WINAPI GlobalFindAtomA(LPCSTR);
3073 ATOM WINAPI GlobalFindAtomW(LPCWSTR);
3074 #define GlobalFindAtom WINELIB_NAME_AW(GlobalFindAtom)
3075 UINT WINAPI GlobalGetAtomNameA(ATOM,LPSTR,INT);
3076 UINT WINAPI GlobalGetAtomNameW(ATOM,LPWSTR,INT);
3077 #define GlobalGetAtomName WINELIB_NAME_AW(GlobalGetAtomName)
3078 BOOL WINAPI GrayStringA(HDC,HBRUSH,GRAYSTRINGPROC,LPARAM,
3079 INT,INT,INT,INT,INT);
3080 BOOL WINAPI GrayStringW(HDC,HBRUSH,GRAYSTRINGPROC,LPARAM,
3081 INT,INT,INT,INT,INT);
3082 #define GrayString WINELIB_NAME_AW(GrayString)
3083 BOOL WINAPI HideCaret(HWND);
3084 BOOL WINAPI HiliteMenuItem(HWND,HMENU,UINT,UINT);
3085 BOOL WINAPI InflateRect(LPRECT,INT,INT);
3086 BOOL WINAPI InSendMessage(void);
3087 BOOL WINAPI InsertMenuA(HMENU,UINT,UINT,UINT,LPCSTR);
3088 BOOL WINAPI InsertMenuW(HMENU,UINT,UINT,UINT,LPCWSTR);
3089 #define InsertMenu WINELIB_NAME_AW(InsertMenu)
3090 BOOL WINAPI InsertMenuItemA(HMENU,UINT,BOOL,const MENUITEMINFOA*);
3091 BOOL WINAPI InsertMenuItemW(HMENU,UINT,BOOL,const MENUITEMINFOW*);
3092 #define InsertMenuItem WINELIB_NAME_AW(InsertMenuItem)
3093 BOOL WINAPI IntersectRect(LPRECT,const RECT*,const RECT*);
3094 BOOL WINAPI InvalidateRect(HWND,const RECT*,BOOL);
3095 BOOL WINAPI InvalidateRgn(HWND,HRGN,BOOL);
3096 BOOL WINAPI InvertRect(HDC,const RECT*);
3097 BOOL WINAPI IsCharAlphaA(CHAR);
3098 BOOL WINAPI IsCharAlphaW(WCHAR);
3099 #define IsCharAlpha WINELIB_NAME_AW(IsCharAlpha)
3100 BOOL WINAPI IsCharAlphaNumericA(CHAR);
3101 BOOL WINAPI IsCharAlphaNumericW(WCHAR);
3102 #define IsCharAlphaNumeric WINELIB_NAME_AW(IsCharAlphaNumeric)
3103 BOOL WINAPI IsCharLowerA(CHAR);
3104 BOOL WINAPI IsCharLowerW(WCHAR);
3105 #define IsCharLower WINELIB_NAME_AW(IsCharLower)
3106 BOOL WINAPI IsCharUpperA(CHAR);
3107 BOOL WINAPI IsCharUpperW(WCHAR);
3108 #define IsCharUpper WINELIB_NAME_AW(IsCharUpper)
3109 BOOL WINAPI IsChild(HWND,HWND);
3110 BOOL WINAPI IsClipboardFormatAvailable(UINT);
3111 BOOL WINAPI IsDialogMessageA(HWND,LPMSG);
3112 BOOL WINAPI IsDialogMessageW(HWND,LPMSG);
3113 #define IsDialogMessage WINELIB_NAME_AW(IsDialogMessage)
3114 UINT WINAPI IsDlgButtonChecked(HWND,UINT);
3115 BOOL WINAPI IsIconic(HWND);
3116 BOOL WINAPI IsMenu(HMENU);
3117 BOOL WINAPI IsRectEmpty(const RECT*);
3118 BOOL WINAPI IsWindow(HWND);
3119 BOOL WINAPI IsWindowEnabled(HWND);
3120 BOOL WINAPI IsWindowVisible(HWND);
3121 BOOL WINAPI IsZoomed(HWND);
3122 BOOL WINAPI KillSystemTimer(HWND,UINT);
3123 BOOL WINAPI KillTimer(HWND,UINT);
3124 HACCEL WINAPI LoadAcceleratorsA(HINSTANCE,LPCSTR);
3125 HACCEL WINAPI LoadAcceleratorsW(HINSTANCE,LPCWSTR);
3126 #define LoadAccelerators WINELIB_NAME_AW(LoadAccelerators)
3127 HBITMAP WINAPI LoadBitmapA(HANDLE,LPCSTR);
3128 HBITMAP WINAPI LoadBitmapW(HANDLE,LPCWSTR);
3129 #define LoadBitmap WINELIB_NAME_AW(LoadBitmap)
3130 HCURSOR WINAPI LoadCursorA(HINSTANCE,LPCSTR);
3131 HCURSOR WINAPI LoadCursorW(HINSTANCE,LPCWSTR);
3132 #define LoadCursor WINELIB_NAME_AW(LoadCursor)
3133 HCURSOR WINAPI LoadCursorFromFileA(LPCSTR);
3134 HCURSOR WINAPI LoadCursorFromFileW(LPCWSTR);
3135 #define LoadCursorFromFile WINELIB_NAME_AW(LoadCursorFromFile)
3136 HICON WINAPI LoadIconA(HINSTANCE,LPCSTR);
3137 HICON WINAPI LoadIconW(HINSTANCE,LPCWSTR);
3138 #define LoadIcon WINELIB_NAME_AW(LoadIcon)
3139 HANDLE WINAPI LoadImageA(HINSTANCE,LPCSTR,UINT,INT,INT,UINT);
3140 HANDLE WINAPI LoadImageW(HINSTANCE,LPCWSTR,UINT,INT,INT,UINT);
3141 #define LoadImage WINELIB_NAME_AW(LoadImage)
3142 HMENU WINAPI LoadMenuA(HINSTANCE,LPCSTR);
3143 HMENU WINAPI LoadMenuW(HINSTANCE,LPCWSTR);
3144 #define LoadMenu WINELIB_NAME_AW(LoadMenu)
3145 HMENU WINAPI LoadMenuIndirectA(LPCVOID);
3146 HMENU WINAPI LoadMenuIndirectW(LPCVOID);
3147 #define LoadMenuIndirect WINELIB_NAME_AW(LoadMenuIndirect)
3148 INT WINAPI LoadStringA(HINSTANCE,UINT,LPSTR,INT);
3149 INT WINAPI LoadStringW(HINSTANCE,UINT,LPWSTR,INT);
3150 #define LoadString WINELIB_NAME_AW(LoadString)
3151 BOOL WINAPI LockWindowUpdate(HWND);
3152 INT WINAPI LookupIconIdFromDirectory(LPBYTE,BOOL);
3153 INT WINAPI LookupIconIdFromDirectoryEx(LPBYTE,BOOL,INT,INT,UINT);
3154 UINT WINAPI MapVirtualKeyA(UINT,UINT);
3155 UINT WINAPI MapVirtualKeyW(UINT,UINT);
3156 #define MapVirtualKey WINELIB_NAME_AW(MapVirtualKey)
3157 UINT WINAPI MapVirtualKeyEx32A(UINT,UINT,HKL);
3158 #define MapVirtualKeyEx WINELIB_NAME_AW(MapVirtualKeyEx)
3159 BOOL WINAPI MapDialogRect(HWND,LPRECT);
3160 INT WINAPI MapWindowPoints(HWND,HWND,LPPOINT,UINT);
3161 BOOL WINAPI MessageBeep(UINT);
3162 INT WINAPI MessageBoxA(HWND,LPCSTR,LPCSTR,UINT);
3163 INT WINAPI MessageBoxW(HWND,LPCWSTR,LPCWSTR,UINT);
3164 #define MessageBox WINELIB_NAME_AW(MessageBox)
3165 INT WINAPI MessageBoxIndirectA(LPMSGBOXPARAMSA);
3166 INT WINAPI MessageBoxIndirectW(LPMSGBOXPARAMSW);
3167 #define MessageBoxIndirect WINELIB_NAME_AW(MessageBoxIndirect)
3168 BOOL WINAPI ModifyMenuA(HMENU,UINT,UINT,UINT,LPCSTR);
3169 BOOL WINAPI ModifyMenuW(HMENU,UINT,UINT,UINT,LPCWSTR);
3170 #define ModifyMenu WINELIB_NAME_AW(ModifyMenu)
3171 BOOL WINAPI MoveWindow(HWND,INT,INT,INT,INT,BOOL);
3172 BOOL WINAPI OemToCharA(LPCSTR,LPSTR);
3173 BOOL WINAPI OemToCharW(LPCSTR,LPWSTR);
3174 #define OemToChar WINELIB_NAME_AW(OemToChar)
3175 BOOL WINAPI OemToCharBuffA(LPCSTR,LPSTR,DWORD);
3176 BOOL WINAPI OemToCharBuffW(LPCSTR,LPWSTR,DWORD);
3177 #define OemToCharBuff WINELIB_NAME_AW(OemToCharBuff)
3178 BOOL WINAPI OffsetRect(LPRECT,INT,INT);
3179 BOOL WINAPI OpenClipboard(HWND);
3180 BOOL WINAPI OpenIcon(HWND);
3181 BOOL WINAPI PeekMessageA(LPMSG,HWND,UINT,UINT,UINT);
3182 BOOL WINAPI PeekMessageW(LPMSG,HWND,UINT,UINT,UINT);
3183 #define PeekMessage WINELIB_NAME_AW(PeekMessage)
3184 #define PostAppMessageA(thread,msg,wparam,lparam) \
3185 PostThreadMessageA((DWORD)(thread),msg,wparam,lparam)
3186 #define PostAppMessageW(thread,msg,wparam,lparam) \
3187 PostThreadMessageW((DWORD)(thread),msg,wparam,lparam)
3188 #define PostAppMessage WINELIB_NAME_AW(PostAppMessage)
3189 BOOL WINAPI PostMessageA(HWND,UINT,WPARAM,LPARAM);
3190 BOOL WINAPI PostMessageW(HWND,UINT,WPARAM,LPARAM);
3191 #define PostMessage WINELIB_NAME_AW(PostMessage)
3192 void WINAPI PostQuitMessage(INT);
3193 BOOL WINAPI PtInRect(const RECT*,POINT);
3194 BOOL WINAPI RedrawWindow(HWND,const RECT*,HRGN,UINT);
3195 ATOM WINAPI RegisterClassA(const WNDCLASSA *);
3196 ATOM WINAPI RegisterClassW(const WNDCLASSW *);
3197 #define RegisterClass WINELIB_NAME_AW(RegisterClass)
3198 ATOM WINAPI RegisterClassExA(const WNDCLASSEXA *);
3199 ATOM WINAPI RegisterClassExW(const WNDCLASSEXW *);
3200 #define RegisterClassEx WINELIB_NAME_AW(RegisterClassEx)
3201 UINT WINAPI RegisterClipboardFormatA(LPCSTR);
3202 UINT WINAPI RegisterClipboardFormatW(LPCWSTR);
3203 #define RegisterClipboardFormat WINELIB_NAME_AW(RegisterClipboardFormat)
3204 WORD WINAPI RegisterWindowMessageA(LPCSTR);
3205 WORD WINAPI RegisterWindowMessageW(LPCWSTR);
3206 #define RegisterWindowMessage WINELIB_NAME_AW(RegisterWindowMessage)
3207 INT WINAPI ReleaseDC(HWND,HDC);
3208 BOOL WINAPI RemoveMenu(HMENU,UINT,UINT);
3209 HANDLE WINAPI RemovePropA(HWND,LPCSTR);
3210 HANDLE WINAPI RemovePropW(HWND,LPCWSTR);
3211 #define RemoveProp WINELIB_NAME_AW(RemoveProp)
3212 BOOL WINAPI ReplyMessage(LRESULT);
3213 BOOL WINAPI ScreenToClient(HWND,LPPOINT);
3214 VOID WINAPI ScrollChildren(HWND,UINT,WPARAM,LPARAM);
3215 BOOL WINAPI ScrollDC(HDC,INT,INT,const RECT*,const RECT*,
3216 HRGN,LPRECT);
3217 BOOL WINAPI ScrollWindow(HWND,INT,INT,const RECT*,const RECT*);
3218 INT WINAPI ScrollWindowEx(HWND,INT,INT,const RECT*,
3219 const RECT*,HRGN,LPRECT,UINT);
3220 LRESULT WINAPI SendDlgItemMessageA(HWND,INT,UINT,WPARAM,LPARAM);
3221 LRESULT WINAPI SendDlgItemMessageW(HWND,INT,UINT,WPARAM,LPARAM);
3222 #define SendDlgItemMessage WINELIB_NAME_AW(SendDlgItemMessage)
3223 LRESULT WINAPI SendMessageA(HWND,UINT,WPARAM,LPARAM);
3224 LRESULT WINAPI SendMessageW(HWND,UINT,WPARAM,LPARAM);
3225 #define SendMessage WINELIB_NAME_AW(SendMessage)
3226 LRESULT WINAPI SendMessageTimeoutA(HWND,UINT,WPARAM,LPARAM,UINT,
3227 UINT,LPDWORD);
3228 LRESULT WINAPI SendMessageTimeoutW(HWND,UINT,WPARAM,LPARAM,UINT,
3229 UINT,LPDWORD);
3230 #define SendMessageTimeout WINELIB_NAME_AW(SendMessageTimeout)
3231 HWND WINAPI SetActiveWindow(HWND);
3232 HWND WINAPI SetCapture(HWND);
3233 BOOL WINAPI SetCaretBlinkTime(UINT);
3234 BOOL WINAPI SetCaretPos(INT,INT);
3235 LONG WINAPI SetClassLongA(HWND,INT,LONG);
3236 LONG WINAPI SetClassLongW(HWND,INT,LONG);
3237 #define SetClassLong WINELIB_NAME_AW(SetClassLong)
3238 WORD WINAPI SetClassWord(HWND,INT,WORD);
3239 HANDLE WINAPI SetClipboardData(UINT,HANDLE);
3240 HWND WINAPI SetClipboardViewer(HWND);
3241 BOOL WINAPI SetCommBreak(INT);
3242 HCURSOR WINAPI SetCursor(HCURSOR);
3243 BOOL WINAPI SetCursorPos(INT,INT);
3244 BOOL WINAPI SetDeskWallPaper(LPCSTR);
3245 BOOL WINAPI SetDlgItemInt(HWND,INT,UINT,BOOL);
3246 BOOL WINAPI SetDlgItemTextA(HWND,INT,LPCSTR);
3247 BOOL WINAPI SetDlgItemTextW(HWND,INT,LPCWSTR);
3248 #define SetDlgItemText WINELIB_NAME_AW(SetDlgItemText)
3249 BOOL WINAPI SetDoubleClickTime(UINT);
3250 HWND WINAPI SetFocus(HWND);
3251 BOOL WINAPI SetForegroundWindow(HWND);
3252 void WINAPI SetInternalWindowPos(HWND,UINT,LPRECT,LPPOINT);
3253 BOOL WINAPI SetMenu(HWND,HMENU);
3254 BOOL WINAPI SetMenuContextHelpId(HMENU,DWORD);
3255 BOOL WINAPI SetMenuItemBitmaps(HMENU,UINT,UINT,HBITMAP,HBITMAP);
3256 BOOL WINAPI SetMessageQueue(INT);
3257 HWND WINAPI SetParent(HWND,HWND);
3258 BOOL WINAPI SetPropA(HWND,LPCSTR,HANDLE);
3259 BOOL WINAPI SetPropW(HWND,LPCWSTR,HANDLE);
3260 #define SetProp WINELIB_NAME_AW(SetProp)
3261 BOOL WINAPI SetRect(LPRECT,INT,INT,INT,INT);
3262 BOOL WINAPI SetRectEmpty(LPRECT);
3263 INT WINAPI SetScrollInfo(HWND,INT,const SCROLLINFO*,BOOL);
3264 INT WINAPI SetScrollPos(HWND,INT,INT,BOOL);
3265 BOOL WINAPI SetScrollRange(HWND,INT,INT,INT,BOOL);
3266 BOOL WINAPI SetSysColors(INT,const INT*,const COLORREF*);
3267 #define SetSysModalWindow(hwnd) ((HWND)0)
3268 BOOL WINAPI SetSystemMenu(HWND,HMENU);
3269 UINT WINAPI SetSystemTimer(HWND,UINT,UINT,TIMERPROC);
3270 UINT WINAPI SetTimer(HWND,UINT,UINT,TIMERPROC);
3271 LONG WINAPI SetWindowLongA(HWND,INT,LONG);
3272 LONG WINAPI SetWindowLongW(HWND,INT,LONG);
3273 #define SetWindowLong WINELIB_NAME_AW(SetWindowLong)
3274 BOOL WINAPI SetWindowPlacement(HWND,const WINDOWPLACEMENT*);
3275 HHOOK WINAPI SetWindowsHookA(INT,HOOKPROC);
3276 HHOOK WINAPI SetWindowsHookW(INT,HOOKPROC);
3277 #define SetWindowsHook WINELIB_NAME_AW(SetWindowsHook)
3278 HHOOK WINAPI SetWindowsHookExA(INT,HOOKPROC,HINSTANCE,DWORD);
3279 HHOOK WINAPI SetWindowsHookExW(INT,HOOKPROC,HINSTANCE,DWORD);
3280 #define SetWindowsHookEx WINELIB_NAME_AW(SetWindowsHookEx)
3281 BOOL WINAPI SetWindowPos(HWND,HWND,INT,INT,INT,INT,WORD);
3282 INT WINAPI SetWindowRgn(HWND,HRGN,BOOL);
3283 BOOL WINAPI SetWindowTextA(HWND,LPCSTR);
3284 BOOL WINAPI SetWindowTextW(HWND,LPCWSTR);
3285 #define SetWindowText WINELIB_NAME_AW(SetWindowText)
3286 WORD WINAPI SetWindowWord(HWND,INT,WORD);
3287 BOOL WINAPI ShowCaret(HWND);
3288 INT WINAPI ShowCursor(BOOL);
3289 BOOL WINAPI ShowScrollBar(HWND,INT,BOOL);
3290 BOOL WINAPI ShowOwnedPopups(HWND,BOOL);
3291 BOOL WINAPI ShowWindow(HWND,INT);
3292 BOOL WINAPI SubtractRect(LPRECT,const RECT*,const RECT*);
3293 BOOL WINAPI SwapMouseButton(BOOL);
3294 VOID WINAPI SwitchToThisWindow(HWND,BOOL);
3295 BOOL WINAPI SystemParametersInfoA(UINT,UINT,LPVOID,UINT);
3296 BOOL WINAPI SystemParametersInfoW(UINT,UINT,LPVOID,UINT);
3297 #define SystemParametersInfo WINELIB_NAME_AW(SystemParametersInfo)
3298 LONG WINAPI TabbedTextOutA(HDC,INT,INT,LPCSTR,INT,INT,const INT*,INT);
3299 LONG WINAPI TabbedTextOutW(HDC,INT,INT,LPCWSTR,INT,INT,const INT*,INT);
3300 #define TabbedTextOut WINELIB_NAME_AW(TabbedTextOut)
3301 INT WINAPI ToAscii(UINT,UINT,LPBYTE,LPWORD,UINT);
3302 BOOL WINAPI TrackPopupMenu(HMENU,UINT,INT,INT,INT,HWND,const RECT*);
3303 INT WINAPI TranslateAccelerator(HWND,HACCEL,LPMSG);
3304 BOOL WINAPI TranslateMDISysAccel(HWND,LPMSG);
3305 BOOL WINAPI TranslateMessage(const MSG*);
3306 BOOL WINAPI UnhookWindowsHook(INT,HOOKPROC);
3307 BOOL WINAPI UnhookWindowsHookEx(HHOOK);
3308 BOOL WINAPI UnionRect(LPRECT,const RECT*,const RECT*);
3309 BOOL WINAPI UnregisterClassA(LPCSTR,HINSTANCE);
3310 BOOL WINAPI UnregisterClassW(LPCWSTR,HINSTANCE);
3311 #define UnregisterClass WINELIB_NAME_AW(UnregisterClass)
3312 VOID WINAPI UpdateWindow(HWND);
3313 VOID WINAPI ValidateRect(HWND,const RECT*);
3314 VOID WINAPI ValidateRgn(HWND,HRGN);
3315 WORD WINAPI VkKeyScanA(CHAR);
3316 WORD WINAPI VkKeyScanW(WCHAR);
3317 #define VkKeyScan WINELIB_NAME_AW(VkKeyScan)
3318 HWND WINAPI WindowFromDC(HDC);
3319 HWND WINAPI WindowFromPoint(POINT);
3320 BOOL WINAPI WinHelpA(HWND,LPCSTR,UINT,DWORD);
3321 BOOL WINAPI WinHelpW(HWND,LPCWSTR,UINT,DWORD);
3322 #define WinHelp WINELIB_NAME_AW(WinHelp)
3323 UINT WINAPI WNetAddConnectionA(LPCSTR,LPCSTR,LPCSTR);
3324 UINT WINAPI WNetAddConnectionW(LPCWSTR,LPCWSTR,LPCWSTR);
3325 #define WNetAddConnection WINELIB_NAME_AW(WNetAddConnection)
3326 INT WINAPIV wsnprintfA(LPSTR,UINT,LPCSTR,...);
3327 INT WINAPIV wsnprintfW(LPWSTR,UINT,LPCWSTR,...);
3328 #define wsnprintf WINELIB_NAME_AW(wsnprintf)
3329 INT WINAPIV wsprintfA(LPSTR,LPCSTR,...);
3330 INT WINAPIV wsprintfW(LPWSTR,LPCWSTR,...);
3331 #define wsprintf WINELIB_NAME_AW(wsprintf)
3332 INT WINAPI wvsnprintfA(LPSTR,UINT,LPCSTR,va_list);
3333 INT WINAPI wvsnprintfW(LPWSTR,UINT,LPCWSTR,va_list);
3334 #define wvsnprintf WINELIB_NAME_AW(wvsnprintf)
3335 INT WINAPI wvsprintfA(LPSTR,LPCSTR,va_list);
3336 INT WINAPI wvsprintfW(LPWSTR,LPCWSTR,va_list);
3337 #define wvsprintf WINELIB_NAME_AW(wvsprintf)
3339 BOOL WINAPI RegisterShellHook16(HWND16,UINT16);
3340 /* NOTE: This is SYSTEM.3, not USER.182, which is also named KillSystemTimer */
3341 WORD WINAPI SYSTEM_KillSystemTimer( WORD );
3343 /* Extra functions that don't exist in the Windows API */
3345 HPEN WINAPI GetSysColorPen(INT);
3346 INT WINAPI LoadMessageA(HMODULE,UINT,WORD,LPSTR,INT);
3347 INT WINAPI LoadMessageW(HMODULE,UINT,WORD,LPWSTR,INT);
3349 VOID WINAPI ScreenSwitchEnable16(WORD);
3351 #endif /* __INCLUDE_WINUSER_H */