Import everything
[cl-w32api.git] / modules / win95.message.lisp
blob0f523d3c0a0772a090dd927c6bfba797da43021e
2 (cl:in-package w32apimod)
4 (define-w32api-module win95.message :win95.message)
6 (cl:in-package cl-w32api.module.win95.message)
8 (require-and-inherit-module "win95.~")
10 (defcstructex-exported MSG
11 (hwnd HWND)
12 (message UINT)
13 (wParam WPARAM)
14 (lParam LPARAM)
15 (time DWORD)
16 (pt (:inline POINT)))
18 (defconstant-exported WM_APP 32768)
20 (defconstant-exported WM_ACTIVATE 6)
22 (defconstant-exported WM_ACTIVATEAPP 28)
24 (defconstant-exported WM_AFXFIRST 864)
26 (defconstant-exported WM_AFXLAST 895)
28 (defconstant-exported WM_ASKCBFORMATNAME 780)
30 (defconstant-exported WM_CANCELJOURNAL 75)
32 (defconstant-exported WM_CANCELMODE 31)
34 (defconstant-exported WM_CAPTURECHANGED 533)
36 (defconstant-exported WM_CHANGECBCHAIN 781)
38 (defconstant-exported WM_CHAR 258)
40 (defconstant-exported WM_CHARTOITEM 47)
42 (defconstant-exported WM_CHILDACTIVATE 34)
44 (defconstant-exported WM_CLEAR 771)
46 (defconstant-exported WM_CLOSE 16)
48 (defconstant-exported WM_COMMAND 273)
50 (defconstant-exported WM_COMMNOTIFY 68)
52 (defconstant-exported WM_COMPACTING 65)
54 (defconstant-exported WM_COMPAREITEM 57)
56 (defconstant-exported WM_CONTEXTMENU 123)
58 (defconstant-exported WM_COPY 769)
60 (defconstant-exported WM_COPYDATA 74)
62 (defconstant-exported WM_CREATE 1)
64 (defconstant-exported WM_CTLCOLORBTN 309)
66 (defconstant-exported WM_CTLCOLORDLG 310)
68 (defconstant-exported WM_CTLCOLOREDIT 307)
70 (defconstant-exported WM_CTLCOLORLISTBOX 308)
72 (defconstant-exported WM_CTLCOLORMSGBOX 306)
74 (defconstant-exported WM_CTLCOLORSCROLLBAR 311)
76 (defconstant-exported WM_CTLCOLORSTATIC 312)
78 (defconstant-exported WM_CUT 768)
80 (defconstant-exported WM_DEADCHAR 259)
82 (defconstant-exported WM_DELETEITEM 45)
84 (defconstant-exported WM_DESTROY 2)
86 (defconstant-exported WM_DESTROYCLIPBOARD 775)
88 (defconstant-exported WM_DEVICECHANGE 537)
90 (defconstant-exported WM_DEVMODECHANGE 27)
92 (defconstant-exported WM_DISPLAYCHANGE 126)
94 (defconstant-exported WM_DRAWCLIPBOARD 776)
96 (defconstant-exported WM_DRAWITEM 43)
98 (defconstant-exported WM_DROPFILES 563)
100 (defconstant-exported WM_ENABLE 10)
102 (defconstant-exported WM_ENDSESSION 22)
104 (defconstant-exported WM_ENTERIDLE 289)
106 (defconstant-exported WM_ENTERMENULOOP 529)
108 (defconstant-exported WM_ENTERSIZEMOVE 561)
110 (defconstant-exported WM_ERASEBKGND 20)
112 (defconstant-exported WM_EXITMENULOOP 530)
114 (defconstant-exported WM_EXITSIZEMOVE 562)
116 (defconstant-exported WM_FONTCHANGE 29)
118 (defconstant-exported WM_GETDLGCODE 135)
120 (defconstant-exported WM_GETFONT 49)
122 (defconstant-exported WM_GETHOTKEY 51)
124 (defconstant-exported WM_GETICON 127)
126 (defconstant-exported WM_GETMINMAXINFO 36)
128 (defconstant-exported WM_GETTEXT 13)
130 (defconstant-exported WM_GETTEXTLENGTH 14)
132 (defconstant-exported WM_HANDHELDFIRST 856)
134 (defconstant-exported WM_HANDHELDLAST 863)
136 (defconstant-exported WM_HELP 83)
138 (defconstant-exported WM_HOTKEY 786)
140 (defconstant-exported WM_HSCROLL 276)
142 (defconstant-exported WM_HSCROLLCLIPBOARD 782)
144 (defconstant-exported WM_ICONERASEBKGND 39)
146 (defconstant-exported WM_INITDIALOG 272)
148 (defconstant-exported WM_INITMENU 278)
150 (defconstant-exported WM_INITMENUPOPUP 279)
152 (defconstant-exported WM_INPUTLANGCHANGE 81)
154 (defconstant-exported WM_INPUTLANGCHANGEREQUEST 80)
156 (defconstant-exported WM_KEYDOWN 256)
158 (defconstant-exported WM_KEYUP 257)
160 (defconstant-exported WM_KILLFOCUS 8)
162 (defconstant-exported WM_MDIACTIVATE 546)
164 (defconstant-exported WM_MDICASCADE 551)
166 (defconstant-exported WM_MDICREATE 544)
168 (defconstant-exported WM_MDIDESTROY 545)
170 (defconstant-exported WM_MDIGETACTIVE 553)
172 (defconstant-exported WM_MDIICONARRANGE 552)
174 (defconstant-exported WM_MDIMAXIMIZE 549)
176 (defconstant-exported WM_MDINEXT 548)
178 (defconstant-exported WM_MDIREFRESHMENU 564)
180 (defconstant-exported WM_MDIRESTORE 547)
182 (defconstant-exported WM_MDISETMENU 560)
184 (defconstant-exported WM_MDITILE 550)
186 (defconstant-exported WM_MEASUREITEM 44)
188 (defconstant-exported WM_MENUCHAR 288)
190 (defconstant-exported WM_MENUSELECT 287)
192 (defconstant-exported WM_NEXTMENU 531)
194 (defconstant-exported WM_MOVE 3)
196 (defconstant-exported WM_MOVING 534)
198 (defconstant-exported WM_NCACTIVATE 134)
200 (defconstant-exported WM_NCCALCSIZE 131)
202 (defconstant-exported WM_NCCREATE 129)
204 (defconstant-exported WM_NCDESTROY 130)
206 (defconstant-exported WM_NCHITTEST 132)
208 (defconstant-exported WM_NCLBUTTONDBLCLK 163)
210 (defconstant-exported WM_NCLBUTTONDOWN 161)
212 (defconstant-exported WM_NCLBUTTONUP 162)
214 (defconstant-exported WM_NCMBUTTONDBLCLK 169)
216 (defconstant-exported WM_NCMBUTTONDOWN 167)
218 (defconstant-exported WM_NCMBUTTONUP 168)
220 (defconstant-exported WM_NCMOUSEMOVE 160)
222 (defconstant-exported WM_NCPAINT 133)
224 (defconstant-exported WM_NCRBUTTONDBLCLK 166)
226 (defconstant-exported WM_NCRBUTTONDOWN 164)
228 (defconstant-exported WM_NCRBUTTONUP 165)
230 (defconstant-exported WM_NEXTDLGCTL 40)
232 (defconstant-exported WM_NOTIFY 78)
234 (defconstant-exported WM_NOTIFYFORMAT 85)
236 (defconstant-exported WM_NULL 0)
238 (defconstant-exported WM_PAINT 15)
240 (defconstant-exported WM_PAINTCLIPBOARD 777)
242 (defconstant-exported WM_PAINTICON 38)
244 (defconstant-exported WM_PALETTECHANGED 785)
246 (defconstant-exported WM_PALETTEISCHANGING 784)
248 (defconstant-exported WM_PARENTNOTIFY 528)
250 (defconstant-exported WM_PASTE 770)
252 (defconstant-exported WM_PENWINFIRST 896)
254 (defconstant-exported WM_PENWINLAST 911)
256 (defconstant-exported WM_POWER 72)
258 (defconstant-exported WM_POWERBROADCAST 536)
260 (defconstant-exported WM_PRINT 791)
262 (defconstant-exported WM_PRINTCLIENT 792)
264 (defconstant-exported WM_QUERYDRAGICON 55)
266 (defconstant-exported WM_QUERYENDSESSION 17)
268 (defconstant-exported WM_QUERYNEWPALETTE 783)
270 (defconstant-exported WM_QUERYOPEN 19)
272 (defconstant-exported WM_QUEUESYNC 35)
274 (defconstant-exported WM_QUIT 18)
276 (defconstant-exported WM_RENDERALLFORMATS 774)
278 (defconstant-exported WM_RENDERFORMAT 773)
280 (defconstant-exported WM_SETCURSOR 32)
282 (defconstant-exported WM_SETFOCUS 7)
284 (defconstant-exported WM_SETFONT 48)
286 (defconstant-exported WM_SETHOTKEY 50)
288 (defconstant-exported WM_SETICON 128)
290 (defconstant-exported WM_SETREDRAW 11)
292 (defconstant-exported WM_SETTEXT 12)
294 (defconstant-exported WM_SETTINGCHANGE 26)
296 (defconstant-exported WM_SHOWWINDOW 24)
298 (defconstant-exported WM_SIZE 5)
300 (defconstant-exported WM_SIZECLIPBOARD 779)
302 (defconstant-exported WM_SIZING 532)
304 (defconstant-exported WM_SPOOLERSTATUS 42)
306 (defconstant-exported WM_STYLECHANGED 125)
308 (defconstant-exported WM_STYLECHANGING 124)
310 (defconstant-exported WM_SYSCHAR 262)
312 (defconstant-exported WM_SYSCOLORCHANGE 21)
314 (defconstant-exported WM_SYSCOMMAND 274)
316 (defconstant-exported WM_SYSDEADCHAR 263)
318 (defconstant-exported WM_SYSKEYDOWN 260)
320 (defconstant-exported WM_SYSKEYUP 261)
322 (defconstant-exported WM_TCARD 82)
324 (defconstant-exported WM_THEMECHANGED 794)
326 (defconstant-exported WM_TIMECHANGE 30)
328 (defconstant-exported WM_TIMER 275)
330 (defconstant-exported WM_UNDO 772)
332 (defconstant-exported WM_USER 1024)
334 (defconstant-exported WM_USERCHANGED 84)
336 (defconstant-exported WM_VKEYTOITEM 46)
338 (defconstant-exported WM_VSCROLL 277)
340 (defconstant-exported WM_VSCROLLCLIPBOARD 778)
342 (defconstant-exported WM_WINDOWPOSCHANGED 71)
344 (defconstant-exported WM_WINDOWPOSCHANGING 70)
346 (defconstant-exported WM_WININICHANGE 26)
348 (defconstant-exported WM_KEYFIRST 256)
350 (defconstant-exported WM_KEYLAST 264)
352 (defconstant-exported WM_SYNCPAINT 136)
354 (defconstant-exported WM_MOUSEACTIVATE 33)
356 (defconstant-exported WM_MOUSEMOVE 512)
358 (defconstant-exported WM_LBUTTONDOWN 513)
360 (defconstant-exported WM_LBUTTONUP 514)
362 (defconstant-exported WM_LBUTTONDBLCLK 515)
364 (defconstant-exported WM_RBUTTONDOWN 516)
366 (defconstant-exported WM_RBUTTONUP 517)
368 (defconstant-exported WM_RBUTTONDBLCLK 518)
370 (defconstant-exported WM_MBUTTONDOWN 519)
372 (defconstant-exported WM_MBUTTONUP 520)
374 (defconstant-exported WM_MBUTTONDBLCLK 521)
376 (defconstant-exported WM_MOUSEWHEEL 522)
378 (defconstant-exported WM_MOUSEFIRST 512)
380 (defconstant-exported WM_MOUSELAST 522)
382 (defconstant-exported WM_MOUSEHOVER #x2A1)
384 (defconstant-exported WM_MOUSELEAVE #x2A3)
386 (defcfunex-exported ("BroadcastSystemMessage" BroadcastSystemMessage :convention :stdcall) :int32
387 (arg0 :unsigned-long)
388 (arg1 :pointer)
389 (arg2 :unsigned-int)
390 (arg3 :unsigned-int)
391 (arg4 :int32))
393 (defcfunex-exported ("BroadcastSystemMessageA" BroadcastSystemMessageA :convention :stdcall) :int32
394 (arg0 :unsigned-long)
395 (arg1 :pointer)
396 (arg2 :unsigned-int)
397 (arg3 :unsigned-int)
398 (arg4 :int32))
400 (defcfunex-exported ("BroadcastSystemMessageW" BroadcastSystemMessageW :convention :stdcall) :int32
401 (arg0 :unsigned-long)
402 (arg1 :pointer)
403 (arg2 :unsigned-int)
404 (arg3 :unsigned-int)
405 (arg4 :int32))
407 (defcfunex-exported ("DefWindowProcA" DefWindowProcA :convention :stdcall) :int32
408 (|hWnd| HWND)
409 (|Msg| UINT)
410 (|wParam| WPARAM)
411 (|lParam| LPARAM))
413 (defcfunex-exported ("DefWindowProcW" DefWindowProcW :convention :stdcall) :int32
414 (|hWnd| HWND)
415 (|Msg| UINT)
416 (|wParam| WPARAM)
417 (|lParam| LPARAM))
419 (define-abbrev-exported DefWindowProc DefWindowProcW)
421 (defcfunex-exported ("DispatchMessageA" DispatchMessageA :convention :stdcall) LONG
422 (|lpMsg| MSG))
424 (defcfunex-exported ("DispatchMessageW" DispatchMessageW :convention :stdcall) LONG
425 (|lpMsg| MSG))
427 (define-abbrev-exported DispatchMessage DispatchMessageW)
429 (defcfunex-exported ("GetMessageA" GetMessageA :convention :stdcall) BOOL
430 (|lpMsg| MSG)
431 (|hWnd| HWND)
432 (|wMsgFilterMin| UINT)
433 (|wMsgFilterMax| UINT))
435 (defcfunex-exported ("GetMessageW" GetMessageW :convention :stdcall) BOOL
436 (|lpMsg| MSG)
437 (|hWnd| HWND)
438 (|wMsgFilterMin| UINT)
439 (|wMsgFilterMax| UINT))
441 (define-abbrev-exported GetMessage GetMessageW)
443 (defcfunex-exported ("GetMessageExtraInfo" GetMessageExtraInfo :convention :stdcall) LONG)
445 (defcfunex-exported ("GetMessagePos" GetMessagePos :convention :stdcall) DWORD)
447 (defcfunex-exported ("GetMessageTime" GetMessageTime :convention :stdcall) LONG)
449 (defcfunex-exported ("InSendMessage" InSendMessage :convention :stdcall) BOOL)
451 (defcfunex-exported ("PeekMessageA" PeekMessageA :convention :stdcall) BOOL
452 (|lpMsg| MSG)
453 (|hWnd| HWND)
454 (|wMsgFilterMin| UINT)
455 (|wMsgFilterMax| UINT)
456 (|wRemoveMsg| UINT))
458 (defcfunex-exported ("PeekMessageW" PeekMessageW :convention :stdcall) BOOL
459 (|lpMsg| MSG)
460 (|hWnd| HWND)
461 (|wMsgFilterMin| UINT)
462 (|wMsgFilterMax| UINT)
463 (|wRemoveMsg| UINT))
465 (define-abbrev-exported PeekMessage PeekMessageW)
467 (defcfunex-exported ("PostMessageA" PostMessageA :convention :stdcall) BOOL
468 (|hWnd| HWND)
469 (|Msg| UINT)
470 (|wParam| WPARAM)
471 (|lParam| LPARAM))
473 (defcfunex-exported ("PostMessageW" PostMessageW :convention :stdcall) BOOL
474 (|hWnd| HWND)
475 (|Msg| UINT)
476 (|wParam| WPARAM)
477 (|lParam| LPARAM))
479 (define-abbrev-exported PostMessage PostMessageW)
481 (defcfunex-exported ("PostQuitMessage" PostQuitMessage :convention :stdcall) VOID
482 (|nExitCode| :int))
484 (defcfunex-exported ("PostThreadMessageA" PostThreadMessageA :convention :stdcall) :int
485 (arg0 :unsigned-long)
486 (arg1 :unsigned-int)
487 (arg2 :unsigned-int)
488 (arg3 :int32))
490 (defcfunex-exported ("PostThreadMessageW" PostThreadMessageW :convention :stdcall) :int
491 (arg0 :unsigned-long)
492 (arg1 :unsigned-int)
493 (arg2 :unsigned-int)
494 (arg3 :int32))
496 (defcfunex-exported ("SendMessageA" SendMessageA :convention :stdcall) :int32
497 (arg0 :pointer)
498 (arg1 :unsigned-int)
499 (arg2 :unsigned-int)
500 (arg3 :int32))
502 (defcfunex-exported ("SendMessageW" SendMessageW :convention :stdcall) :int32
503 (arg0 :pointer)
504 (arg1 :unsigned-int)
505 (arg2 :unsigned-int)
506 (arg3 :int32))
508 (defcfunex-exported ("SendMessageCallbackA" SendMessageCallbackA :convention :stdcall) :int
509 (arg0 :pointer)
510 (arg1 :unsigned-int)
511 (arg2 :unsigned-int)
512 (arg3 :int32)
513 (arg4 :pointer)
514 (arg5 :unsigned-long))
516 (defcfunex-exported ("SendMessageCallbackW" SendMessageCallbackW :convention :stdcall) :int
517 (arg0 :pointer)
518 (arg1 :unsigned-int)
519 (arg2 :unsigned-int)
520 (arg3 :int32)
521 (arg4 :pointer)
522 (arg5 :unsigned-long))
524 (defcfunex-exported ("SendMessageTimeoutA" SendMessageTimeoutA :convention :stdcall) :int32
525 (arg0 :pointer)
526 (arg1 :unsigned-int)
527 (arg2 :unsigned-int)
528 (arg3 :int32)
529 (arg4 :unsigned-int)
530 (arg5 :unsigned-int)
531 (arg6 :pointer))
533 (defcfunex-exported ("SendMessageTimeoutW" SendMessageTimeoutW :convention :stdcall) :int32
534 (arg0 :pointer)
535 (arg1 :unsigned-int)
536 (arg2 :unsigned-int)
537 (arg3 :int32)
538 (arg4 :unsigned-int)
539 (arg5 :unsigned-int)
540 (arg6 :pointer))
542 (defcfunex-exported ("SetMessageExtraInfo" SetMessageExtraInfo :convention :stdcall) LPARAM
543 (|lParam| LPARAM))
545 (defcfunex-exported ("TranslateMessage" TranslateMessage :convention :stdcall) BOOL
546 (|lpMsg| MSG))
548 (defcfunex-exported ("WaitMessage" WaitMessage :convention :stdcall) BOOL)