ReactOS 0.4.15-dev-8002-gbbb3b00
msgdump.h
Go to the documentation of this file.
1/*
2 * PROJECT: ReactOS header files
3 * LICENSE: CC-BY-4.0 (https://spdx.org/licenses/CC-BY-4.0)
4 * PURPOSE: Win32API message dumping
5 * COPYRIGHT: Copyright 2018-2021 Katayama Hirofumi MZ (katayama.hirofumi.mz@gmail.com)
6 */
7#ifndef _INC_MSGDUMP
8#define _INC_MSGDUMP 18 /* Version 18 */
9
10/*
11 * NOTE: MD_msgdump function in this file provides Win32API message dump feature.
12 * NOTE: This header file takes time to compile.
13 * You might indirectly use MD_msgdump function.
14 */
15#pragma once
16
17#ifndef _INC_WINXX
18 #include "winxx.h" /* An unofficial extension of <windowsx.h>. */
19#endif
20#ifndef _INC_SHELLAPI
21 #include <shellapi.h>
22#endif
23#include <strsafe.h>
24
25#ifndef MSGDUMP_TPRINTF
26 #error Please define MSGDUMP_TPRINTF macro before #include "msgdump.h".
27#endif
28
29#ifndef MSGDUMP_API
30 #define MSGDUMP_API WINAPI
31#endif
32
33#ifndef MSGDUMP_PREFIX
34 #define MSGDUMP_PREFIX TEXT("")
35#endif
36
37/* MD_msgdump function */
38static __inline LRESULT MSGDUMP_API
40
41/* MD_msgresult function */
42static __inline LRESULT MSGDUMP_API
44
45/*---- The below codes are boring details of MD_msgdump and MD_msgresult implementation. ----*/
46
47#define MSGDUMP_MAX_RECT_TEXT 64
48
49static __inline const TCHAR * MSGDUMP_API
51{
52 if (prc == NULL)
53 {
54 StringCbCopy(buf, bufsize, TEXT("(null)"));
55 }
56 else
57 {
58 StringCbPrintf(buf, bufsize, TEXT("(%ld, %ld, %ld, %ld)"),
59 prc->left, prc->top, prc->right, prc->bottom);
60 }
61 return buf;
62}
63
64static __inline LRESULT MSGDUMP_API
66{
67 TCHAR szName[64];
68 if (0xC000 <= uMsg && uMsg <= 0xFFFF &&
70 {
71 /* RegisterWindowMessage'd message */
72 MSGDUMP_TPRINTF(TEXT("%s'%s'(%u)(hwnd:%p, wParam:%p, lParam:%p)\n"),
73 MSGDUMP_PREFIX, szName, uMsg, (void *)hwnd, (void *)wParam,
74 (void *)lParam);
75 return 0;
76 }
77
78 MSGDUMP_TPRINTF(TEXT("%sWM_%u(hwnd:%p, wParam:%p, lParam:%p)\n"),
79 MSGDUMP_PREFIX, uMsg, (void *)hwnd, (void *)wParam, (void *)lParam);
80 return 0;
81}
82
83static __inline LRESULT MSGDUMP_API
85{
86 MSGDUMP_TPRINTF(TEXT("%sWM_USER+%u(hwnd:%p, wParam:%p, lParam:%p)\n"),
87 MSGDUMP_PREFIX, uMsg - WM_USER, (void *)hwnd, (void *)wParam, (void *)lParam);
88 return 0;
89}
90
91static __inline LRESULT MSGDUMP_API
93{
94 MSGDUMP_TPRINTF(TEXT("%sWM_APP+%u(hwnd:%p, wParam:%p, lParam:%p)\n"),
95 MSGDUMP_PREFIX, uMsg - WM_APP, (void *)hwnd, (void *)wParam, (void *)lParam);
96 return 0;
97}
98
99static __inline LRESULT MSGDUMP_API
101{
102 MSGDUMP_TPRINTF(TEXT("%sWM_NULL(hwnd:%p)\n"),
103 MSGDUMP_PREFIX, (void *)hwnd);
104 return 0;
105}
106
107static __inline BOOL MSGDUMP_API
109{
110 MSGDUMP_TPRINTF(TEXT("%sWM_CREATE(hwnd:%p, lpCreateStruct:%p)\n"),
111 MSGDUMP_PREFIX, (void *)hwnd, (void *)lpCreateStruct);
112 return TRUE;
113}
114
115static __inline void MSGDUMP_API
117{
118 MSGDUMP_TPRINTF(TEXT("%sWM_DESTROY(hwnd:%p)\n"),
119 MSGDUMP_PREFIX, (void *)hwnd);
120}
121
122static __inline void MSGDUMP_API
124{
125 MSGDUMP_TPRINTF(TEXT("%sWM_MOVE(hwnd:%p, x:%d, y:%d)\n"),
126 MSGDUMP_PREFIX, (void *)hwnd, x, y);
127}
128
129static __inline void MSGDUMP_API
131{
132 MSGDUMP_TPRINTF(TEXT("%sWM_SIZE(hwnd:%p, state:%u, cx:%d, cy:%d)\n"),
133 MSGDUMP_PREFIX, (void *)hwnd, state, cx, cy);
134}
135
136static __inline void MSGDUMP_API
137MD_OnActivate(HWND hwnd, UINT state, HWND hwndActDeact, BOOL fMinimized)
138{
139 MSGDUMP_TPRINTF(TEXT("%sWM_ACTIVATE(hwnd:%p, state:%u, hwndActDeact:%p, fMinimized:%d)\n"),
140 MSGDUMP_PREFIX, (void *)hwnd, state, (void *)hwndActDeact, fMinimized);
141}
142
143static __inline void MSGDUMP_API
145{
146 MSGDUMP_TPRINTF(TEXT("%sWM_SETFOCUS(hwnd:%p, hwndOldFocus:%p)\n"),
147 MSGDUMP_PREFIX, (void *)hwnd, (void *)hwndOldFocus);
148}
149
150static __inline void MSGDUMP_API
152{
153 MSGDUMP_TPRINTF(TEXT("%sWM_KILLFOCUS(hwnd:%p, hwndNewFocus:%p)\n"),
154 MSGDUMP_PREFIX, (void *)hwnd, (void *)hwndNewFocus);
155}
156
157static __inline void MSGDUMP_API
159{
160 MSGDUMP_TPRINTF(TEXT("%sWM_ENABLE(hwnd:%p, fEnable:%d)\n"),
161 MSGDUMP_PREFIX, (void *)hwnd, fEnable);
162}
163
164static __inline void MSGDUMP_API
166{
167 MSGDUMP_TPRINTF(TEXT("%sWM_SETREDRAW(hwnd:%p, fRedraw:%d)\n"),
168 MSGDUMP_PREFIX, (void *)hwnd, fRedraw);
169}
170
171static __inline void MSGDUMP_API
173{
175 MSGDUMP_TPRINTF(TEXT("%sWM_SETTEXT(hwnd:%p, lpszText:%ls)\n"),
176 MSGDUMP_PREFIX, (void *)hwnd, (LPCWSTR)lpszText);
177 else
178 MSGDUMP_TPRINTF(TEXT("%sWM_SETTEXT(hwnd:%p, lpszText:%hs)\n"),
179 MSGDUMP_PREFIX, (void *)hwnd, (LPCSTR)lpszText);
180}
181
182static __inline INT MSGDUMP_API
183MD_OnGetText(HWND hwnd, int cchTextMax, LPTSTR lpszText)
184{
185 MSGDUMP_TPRINTF(TEXT("%sWM_GETTEXT(hwnd:%p, cchTextMax:%d, lpszText:%p)\n"),
186 MSGDUMP_PREFIX, (void *)hwnd, cchTextMax, (void *)lpszText);
187 return 0;
188}
189
190static __inline INT MSGDUMP_API
192{
193 MSGDUMP_TPRINTF(TEXT("%sWM_GETTEXTLENGTH(hwnd:%p)\n"),
194 MSGDUMP_PREFIX, (void *)hwnd);
195 return 0;
196}
197
198static __inline void MSGDUMP_API
200{
201 MSGDUMP_TPRINTF(TEXT("%sWM_PAINT(hwnd:%p)\n"),
202 MSGDUMP_PREFIX, (void *)hwnd);
203}
204
205static __inline void MSGDUMP_API
207{
208 MSGDUMP_TPRINTF(TEXT("%sWM_CLOSE(hwnd:%p)\n"),
209 MSGDUMP_PREFIX, (void *)hwnd);
210}
211
212static __inline BOOL MSGDUMP_API
214{
215 MSGDUMP_TPRINTF(TEXT("%sWM_QUERYENDSESSION(hwnd:%p)\n"),
216 MSGDUMP_PREFIX, (void *)hwnd);
217 return FALSE;
218}
219
220static __inline BOOL MSGDUMP_API
222{
223 MSGDUMP_TPRINTF(TEXT("%sWM_QUERYOPEN(hwnd:%p)\n"),
224 MSGDUMP_PREFIX, (void *)hwnd);
225 return FALSE;
226}
227
228static __inline void MSGDUMP_API
230{
231 MSGDUMP_TPRINTF(TEXT("%sWM_ENDSESSION(hwnd:%p, fEnding:%d)\n"),
232 MSGDUMP_PREFIX, (void *)hwnd, fEnding);
233}
234
235static __inline void MSGDUMP_API
236MD_OnQuit(HWND hwnd, int exitCode)
237{
238 MSGDUMP_TPRINTF(TEXT("%sWM_QUIT(hwnd:%p, exitCode:%d)\n"),
239 MSGDUMP_PREFIX, (void *)hwnd, exitCode);
240}
241
242static __inline BOOL MSGDUMP_API
244{
245 MSGDUMP_TPRINTF(TEXT("%sWM_ERASEBKGND(hwnd:%p, hdc:%p)\n"),
246 MSGDUMP_PREFIX, (void *)hwnd, (void *)hdc);
247 return FALSE;
248}
249
250static __inline void MSGDUMP_API
252{
253 MSGDUMP_TPRINTF(TEXT("%sWM_SYSCOLORCHANGE(hwnd:%p)\n"),
254 MSGDUMP_PREFIX, (void *)hwnd);
255}
256
257static __inline void MSGDUMP_API
259{
260 MSGDUMP_TPRINTF(TEXT("%sWM_SHOWWINDOW(hwnd:%p, fShow:%d, status:%u)\n"),
261 MSGDUMP_PREFIX, (void *)hwnd, fShow, status);
262}
263
264static __inline LRESULT MSGDUMP_API
266{
267 MSGDUMP_TPRINTF(TEXT("%sWM_SETTINGCHANGE(hwnd:%p, wFlag:%p, pszSection:%s)\n"),
268 MSGDUMP_PREFIX, (void *)hwnd, (void *)wFlag, pszSection);
269 return 0;
270}
271
272static __inline void MSGDUMP_API
274{
276 MSGDUMP_TPRINTF(TEXT("%sWM_DEVMODECHANGE(hwnd:%p, lpszDeviceName:%ls)\n"),
277 MSGDUMP_PREFIX, (void *)hwnd, (LPCWSTR)lpszDeviceName);
278 else
279 MSGDUMP_TPRINTF(TEXT("%sWM_DEVMODECHANGE(hwnd:%p, lpszDeviceName:%hs)\n"),
280 MSGDUMP_PREFIX, (void *)hwnd, (LPCSTR)lpszDeviceName);
281}
282
283static __inline void MSGDUMP_API
285{
286 MSGDUMP_TPRINTF(TEXT("%sWM_ACTIVATEAPP(hwnd:%p, fActivate:%d, dwThreadId:0x%08lX)\n"),
287 MSGDUMP_PREFIX, (void *)hwnd, fActivate, dwThreadId);
288}
289
290static __inline void MSGDUMP_API
292{
293 MSGDUMP_TPRINTF(TEXT("%sWM_FONTCHANGE(hwnd:%p)\n"),
294 MSGDUMP_PREFIX, (void *)hwnd);
295}
296
297static __inline void MSGDUMP_API
299{
300 MSGDUMP_TPRINTF(TEXT("%sWM_TIMECHANGE(hwnd:%p)\n"),
301 MSGDUMP_PREFIX, (void *)hwnd);
302}
303
304static __inline void MSGDUMP_API
306{
307 MSGDUMP_TPRINTF(TEXT("%sWM_CANCELMODE(hwnd:%p)\n"),
308 MSGDUMP_PREFIX, (void *)hwnd);
309}
310
311static __inline BOOL MSGDUMP_API
312MD_OnSetCursor(HWND hwnd, HWND hwndCursor, UINT codeHitTest, UINT msg)
313{
314 MSGDUMP_TPRINTF(TEXT("%sWM_SETCURSOR(hwnd:%p, hwndCursor:%p, codeHitTest:%u, msg:%u)\n"),
315 MSGDUMP_PREFIX, (void *)hwnd, (void *)hwndCursor, codeHitTest, msg);
316 return FALSE;
317}
318
319static __inline int MSGDUMP_API
320MD_OnMouseActivate(HWND hwnd, HWND hwndTopLevel, UINT codeHitTest, UINT msg)
321{
322 MSGDUMP_TPRINTF(TEXT("%sWM_MOUSEACTIVATE(hwnd:%p, hwndTopLevel:%p, codeHitTest:%u, msg:%u)\n"),
323 MSGDUMP_PREFIX, (void *)hwnd, (void *)hwndTopLevel, codeHitTest, msg);
324 return 0;
325}
326
327static __inline void MSGDUMP_API
329{
330 MSGDUMP_TPRINTF(TEXT("%sWM_CHILDACTIVATE(hwnd:%p)\n"),
331 MSGDUMP_PREFIX, (void *)hwnd);
332}
333
334static __inline void MSGDUMP_API
336{
337 MSGDUMP_TPRINTF(TEXT("%sWM_QUEUESYNC(hwnd:%p)\n"),
338 MSGDUMP_PREFIX, (void *)hwnd);
339}
340
341static __inline void MSGDUMP_API
343{
344 MSGDUMP_TPRINTF(TEXT("%sWM_GETMINMAXINFO(hwnd:%p, lpMinMaxInfo:%p)\n"),
345 MSGDUMP_PREFIX, (void *)hwnd, (void *)lpMinMaxInfo);
346}
347
348static __inline BOOL MSGDUMP_API
350{
351 MSGDUMP_TPRINTF(TEXT("%sWM_ICONERASEBKGND(hwnd:%p, hdc:%p)\n"),
352 MSGDUMP_PREFIX, (void *)hwnd, (void *)hdc);
353 return FALSE;
354}
355
356static __inline HWND MSGDUMP_API
357MD_OnNextDlgCtl(HWND hwnd, HWND hwndSetFocus, BOOL fNext)
358{
359 MSGDUMP_TPRINTF(TEXT("%sWM_NEXTDLGCTL(hwnd:%p, hwndSetFocus:%p, fNext:%d)\n"),
360 MSGDUMP_PREFIX, (void *)hwnd, (void *)hwndSetFocus, fNext);
361 return NULL;
362}
363
364static __inline void MSGDUMP_API
366{
367 MSGDUMP_TPRINTF(TEXT("%sWM_SPOOLERSTATUS(hwnd:%p, status:%u, cJobInQueue:%d)\n"),
368 MSGDUMP_PREFIX, (void *)hwnd, status, cJobInQueue);
369}
370
371static __inline void MSGDUMP_API
373{
374 MSGDUMP_TPRINTF(TEXT("%sWM_DRAWITEM(hwnd:%p, lpDrawItem:%p)\n"),
375 MSGDUMP_PREFIX, (void *)hwnd, (void *)lpDrawItem);
376}
377
378static __inline void MSGDUMP_API
380{
381 MSGDUMP_TPRINTF(TEXT("%sWM_MEASUREITEM(hwnd:%p, lpMeasureItem:%p)\n"),
382 MSGDUMP_PREFIX, (void *)hwnd, (void *)lpMeasureItem);
383}
384
385static __inline void MSGDUMP_API
387{
388 MSGDUMP_TPRINTF(TEXT("%sWM_DELETEITEM(hwnd:%p, lpDeleteItem:%p)\n"),
389 MSGDUMP_PREFIX, (void *)hwnd, (void *)lpDeleteItem);
390}
391
392static __inline int MSGDUMP_API
393MD_OnVkeyToItem(HWND hwnd, UINT vk, HWND hwndListbox, int iCaret)
394{
395 MSGDUMP_TPRINTF(TEXT("%sWM_VKEYTOITEM(hwnd:%p, vk:%u, hwndListbox:%p, iCaret:%d)\n"),
396 MSGDUMP_PREFIX, (void *)hwnd, vk, (void *)hwndListbox, iCaret);
397 return 0;
398}
399
400static __inline int MSGDUMP_API
401MD_OnCharToItem(HWND hwnd, UINT ch, HWND hwndListbox, int iCaret)
402{
403 MSGDUMP_TPRINTF(TEXT("%sWM_CHARTOITEM(hwnd:%p, ch:%u, hwndListbox:%p, iCaret:%d)\n"),
404 MSGDUMP_PREFIX, (void *)hwnd, ch, (void *)hwndListbox, iCaret);
405 return 0;
406}
407
408static __inline void MSGDUMP_API
410{
411 MSGDUMP_TPRINTF(TEXT("%sWM_SETFONT(hwnd:%p, hfont:%p, fRedraw:%d)\n"),
412 MSGDUMP_PREFIX, (void *)hwnd, (void *)hfont, fRedraw);
413}
414
415static __inline HFONT MSGDUMP_API
417{
418 MSGDUMP_TPRINTF(TEXT("%sWM_GETFONT(hwnd:%p)\n"),
419 MSGDUMP_PREFIX, (void *)hwnd);
420 return NULL;
421}
422
423static __inline HICON MSGDUMP_API
425{
426 MSGDUMP_TPRINTF(TEXT("%sWM_QUERYDRAGICON(hwnd:%p)\n"),
427 MSGDUMP_PREFIX, (void *)hwnd);
428 return NULL;
429}
430
431static __inline int MSGDUMP_API
433{
434 MSGDUMP_TPRINTF(TEXT("%sWM_COMPAREITEM(hwnd:%p, lpCompareItem:%p)\n"),
435 MSGDUMP_PREFIX, (void *)hwnd, (void *)lpCompareItem);
436 return 0;
437}
438
439static __inline void MSGDUMP_API
441{
442 MSGDUMP_TPRINTF(TEXT("%sWM_COMPACTING(hwnd:%p, compactRatio:%u)\n"),
443 MSGDUMP_PREFIX, (void *)hwnd, compactRatio);
444}
445
446static __inline void MSGDUMP_API
448{
449 MSGDUMP_TPRINTF(TEXT("%sWM_COMMNOTIFY(hwnd:%p, cid:%d, flags:%u)\n"),
450 MSGDUMP_PREFIX, (void *)hwnd, cid, flags);
451}
452
453static __inline BOOL MSGDUMP_API
455{
456 MSGDUMP_TPRINTF(TEXT("%sWM_WINDOWPOSCHANGING(hwnd:%p, lpwpos:%p)\n"),
457 MSGDUMP_PREFIX, (void *)hwnd, (void *)lpwpos);
458 return FALSE;
459}
460
461static __inline void MSGDUMP_API
463{
464 MSGDUMP_TPRINTF(TEXT("%sWM_WINDOWPOSCHANGED(hwnd:%p, lpwpos:%p)\n"),
465 MSGDUMP_PREFIX, (void *)hwnd, (void *)lpwpos);
466}
467
468static __inline void MSGDUMP_API
470{
471 MSGDUMP_TPRINTF(TEXT("%sWM_POWER(hwnd:%p, code:%d)\n"),
472 MSGDUMP_PREFIX, (void *)hwnd, code);
473}
474
475static __inline BOOL MSGDUMP_API
477{
478 MSGDUMP_TPRINTF(TEXT("%sWM_COPYDATA(hwnd:%p, hwndFrom:%p, pcds:%p)\n"),
479 MSGDUMP_PREFIX, (void *)hwnd, (void *)hwndFrom, (void *)pcds);
480 return FALSE;
481}
482
483static __inline LPCTSTR MSGDUMP_API
485{
486 TCHAR szClass[24], sz[2];
487 static TCHAR s_szText[64];
488
489 switch (code)
490 {
491 case NM_OUTOFMEMORY: return TEXT("NM_OUTOFMEMORY");
492 case NM_CLICK: return TEXT("NM_CLICK");
493 case NM_DBLCLK: return TEXT("NM_DBLCLK");
494 case NM_RETURN: return TEXT("NM_RETURN");
495 case NM_RCLICK: return TEXT("NM_RCLICK");
496 case NM_RDBLCLK: return TEXT("NM_RDBLCLK");
497 case NM_SETFOCUS: return TEXT("NM_SETFOCUS");
498 case NM_KILLFOCUS: return TEXT("NM_KILLFOCUS");
499#if (_WIN32_IE >= 0x0300)
500 case NM_CUSTOMDRAW: return TEXT("NM_CUSTOMDRAW");
501 case NM_HOVER: return TEXT("NM_HOVER");
502#endif
503#if (_WIN32_IE >= 0x0400)
504 case NM_NCHITTEST: return TEXT("NM_NCHITTEST");
505 case NM_KEYDOWN: return TEXT("NM_KEYDOWN");
506 case NM_RELEASEDCAPTURE: return TEXT("NM_RELEASEDCAPTURE");
507 case NM_SETCURSOR: return TEXT("NM_SETCURSOR");
508 case NM_CHAR: return TEXT("NM_CHAR");
509#endif
510#if (_WIN32_IE >= 0x0401)
511 case NM_TOOLTIPSCREATED: return TEXT("NM_TOOLTIPSCREATED");
512#endif
513#if (_WIN32_IE >= 0x0500)
514 case NM_LDOWN: return TEXT("NM_LDOWN");
515 case NM_RDOWN: return TEXT("NM_RDOWN");
516#endif
517 }
518
519 szClass[0] = 0;
520 GetClassName(hwndFrom, szClass, ARRAYSIZE(szClass));
521 sz[0] = szClass[0];
522 sz[1] = 0;
523 CharUpper(sz);
524
525 if (sz[0] == TEXT('R') && lstrcmpi(szClass, RICHEDIT_CLASS) == 0)
526 {
527 switch (code)
528 {
529 case EN_MSGFILTER: return TEXT("EN_MSGFILTER");
530 case EN_REQUESTRESIZE: return TEXT("EN_REQUESTRESIZE");
531 case EN_SELCHANGE: return TEXT("EN_SELCHANGE");
532 case EN_DROPFILES: return TEXT("EN_DROPFILES");
533 case EN_PROTECTED: return TEXT("EN_PROTECTED");
534 case EN_CORRECTTEXT: return TEXT("EN_CORRECTTEXT");
535 case EN_STOPNOUNDO: return TEXT("EN_STOPNOUNDO");
536 case EN_IMECHANGE: return TEXT("EN_IMECHANGE");
537 case EN_SAVECLIPBOARD: return TEXT("EN_SAVECLIPBOARD");
538 case EN_OLEOPFAILED: return TEXT("EN_OLEOPFAILED");
539 case EN_OBJECTPOSITIONS: return TEXT("EN_OBJECTPOSITIONS");
540 case EN_LINK: return TEXT("EN_LINK");
541 case EN_DRAGDROPDONE: return TEXT("EN_DRAGDROPDONE");
542 case EN_PARAGRAPHEXPANDED: return TEXT("EN_PARAGRAPHEXPANDED");
543 case EN_PAGECHANGE: return TEXT("EN_PAGECHANGE");
544 case EN_LOWFIRTF: return TEXT("EN_LOWFIRTF");
545 case EN_ALIGNLTR: return TEXT("EN_ALIGNLTR");
546 case EN_ALIGNRTL: return TEXT("EN_ALIGNRTL");
547#if _RICHEDIT_VER >= 0x0800
548 case EN_CLIPFORMAT: return TEXT("EN_CLIPFORMAT");
549 case EN_STARTCOMPOSITION: return TEXT("EN_STARTCOMPOSITION");
550 case EN_ENDCOMPOSITION: return TEXT("EN_ENDCOMPOSITION");
551#endif
552 }
553 }
554 else if (sz[0] == TEXT('S') && lstrcmpi(szClass, WC_LISTVIEW) == 0)
555 {
556 switch (code)
557 {
558 case LVN_ITEMCHANGING: return TEXT("LVN_ITEMCHANGING");
559 case LVN_ITEMCHANGED: return TEXT("LVN_ITEMCHANGED");
560 case LVN_INSERTITEM: return TEXT("LVN_INSERTITEM");
561 case LVN_DELETEITEM: return TEXT("LVN_DELETEITEM");
562 case LVN_DELETEALLITEMS: return TEXT("LVN_DELETEALLITEMS");
563 case LVN_BEGINLABELEDITA: return TEXT("LVN_BEGINLABELEDITA");
564 case LVN_BEGINLABELEDITW: return TEXT("LVN_BEGINLABELEDITW");
565 case LVN_ENDLABELEDITA: return TEXT("LVN_ENDLABELEDITA");
566 case LVN_ENDLABELEDITW: return TEXT("LVN_ENDLABELEDITW");
567 case LVN_COLUMNCLICK: return TEXT("LVN_COLUMNCLICK");
568 case LVN_BEGINDRAG: return TEXT("LVN_BEGINDRAG");
569 case LVN_BEGINRDRAG: return TEXT("LVN_BEGINRDRAG");
570 case LVN_ODCACHEHINT: return TEXT("LVN_ODCACHEHINT");
571 case LVN_ODFINDITEMA: return TEXT("LVN_ODFINDITEMA");
572 case LVN_ODFINDITEMW: return TEXT("LVN_ODFINDITEMW");
573 case LVN_ITEMACTIVATE: return TEXT("LVN_ITEMACTIVATE");
574 case LVN_ODSTATECHANGED: return TEXT("LVN_ODSTATECHANGED");
575 case LVN_HOTTRACK: return TEXT("LVN_HOTTRACK");
576 case LVN_GETDISPINFOA: return TEXT("LVN_GETDISPINFOA");
577 case LVN_GETDISPINFOW: return TEXT("LVN_GETDISPINFOW");
578 case LVN_SETDISPINFOA: return TEXT("LVN_SETDISPINFOA");
579 case LVN_SETDISPINFOW: return TEXT("LVN_SETDISPINFOW");
580 case LVN_KEYDOWN: return TEXT("LVN_KEYDOWN");
581 case LVN_MARQUEEBEGIN: return TEXT("LVN_MARQUEEBEGIN");
582 case LVN_GETINFOTIPA: return TEXT("LVN_GETINFOTIPA");
583 case LVN_GETINFOTIPW: return TEXT("LVN_GETINFOTIPW");
584 case LVN_INCREMENTALSEARCHA: return TEXT("LVN_INCREMENTALSEARCHA");
585 case LVN_INCREMENTALSEARCHW: return TEXT("LVN_INCREMENTALSEARCHW");
586#if NTDDI_VERSION >= 0x06000000
587 case LVN_COLUMNDROPDOWN: return TEXT("LVN_COLUMNDROPDOWN");
588 case LVN_COLUMNOVERFLOWCLICK: return TEXT("LVN_COLUMNOVERFLOWCLICK");
589#endif
590 case LVN_BEGINSCROLL: return TEXT("LVN_BEGINSCROLL");
591 case LVN_ENDSCROLL: return TEXT("LVN_ENDSCROLL");
592#if NTDDI_VERSION >= 0x06000000
593 case LVN_LINKCLICK: return TEXT("LVN_LINKCLICK");
594 case LVN_GETEMPTYMARKUP: return TEXT("LVN_GETEMPTYMARKUP");
595#endif
596 }
597 }
598 else if (sz[0] == TEXT('S') && lstrcmpi(szClass, WC_TREEVIEW) == 0)
599 {
600 switch (code)
601 {
602 case TVN_SELCHANGINGA: return TEXT("TVN_SELCHANGINGA");
603 case TVN_SELCHANGINGW: return TEXT("TVN_SELCHANGINGW");
604 case TVN_SELCHANGEDA: return TEXT("TVN_SELCHANGEDA");
605 case TVN_SELCHANGEDW: return TEXT("TVN_SELCHANGEDW");
606 case TVN_GETDISPINFOA: return TEXT("TVN_GETDISPINFOA");
607 case TVN_GETDISPINFOW: return TEXT("TVN_GETDISPINFOW");
608 case TVN_SETDISPINFOA: return TEXT("TVN_SETDISPINFOA");
609 case TVN_SETDISPINFOW: return TEXT("TVN_SETDISPINFOW");
610 case TVN_ITEMEXPANDINGA: return TEXT("TVN_ITEMEXPANDINGA");
611 case TVN_ITEMEXPANDINGW: return TEXT("TVN_ITEMEXPANDINGW");
612 case TVN_ITEMEXPANDEDA: return TEXT("TVN_ITEMEXPANDEDA");
613 case TVN_ITEMEXPANDEDW: return TEXT("TVN_ITEMEXPANDEDW");
614 case TVN_BEGINDRAGA: return TEXT("TVN_BEGINDRAGA");
615 case TVN_BEGINDRAGW: return TEXT("TVN_BEGINDRAGW");
616 case TVN_BEGINRDRAGA: return TEXT("TVN_BEGINRDRAGA");
617 case TVN_BEGINRDRAGW: return TEXT("TVN_BEGINRDRAGW");
618 case TVN_DELETEITEMA: return TEXT("TVN_DELETEITEMA");
619 case TVN_DELETEITEMW: return TEXT("TVN_DELETEITEMW");
620 case TVN_BEGINLABELEDITA: return TEXT("TVN_BEGINLABELEDITA");
621 case TVN_BEGINLABELEDITW: return TEXT("TVN_BEGINLABELEDITW");
622 case TVN_ENDLABELEDITA: return TEXT("TVN_ENDLABELEDITA");
623 case TVN_ENDLABELEDITW: return TEXT("TVN_ENDLABELEDITW");
624 case TVN_KEYDOWN: return TEXT("TVN_KEYDOWN");
625 case TVN_GETINFOTIPA: return TEXT("TVN_GETINFOTIPA");
626 case TVN_GETINFOTIPW: return TEXT("TVN_GETINFOTIPW");
627 case TVN_SINGLEEXPAND: return TEXT("TVN_SINGLEEXPAND");
628#ifdef TVN_ITEMCHANGINGA
629 case TVN_ITEMCHANGINGA: return TEXT("TVN_ITEMCHANGINGA");
630 case TVN_ITEMCHANGINGW: return TEXT("TVN_ITEMCHANGINGW");
631 case TVN_ITEMCHANGEDA: return TEXT("TVN_ITEMCHANGEDA");
632 case TVN_ITEMCHANGEDW: return TEXT("TVN_ITEMCHANGEDW");
633 case TVN_ASYNCDRAW: return TEXT("TVN_ASYNCDRAW");
634#endif
635 }
636 }
637
638 StringCbPrintf(s_szText, sizeof(s_szText), TEXT("%u"), code);
639 return s_szText;
640}
641
642static __inline LRESULT MSGDUMP_API
643MD_OnNotify(HWND hwnd, int idFrom, LPNMHDR pnmhdr)
644{
645 MSGDUMP_TPRINTF(TEXT("%sWM_NOTIFY(hwnd:%p, idFrom:%d, pnmhdr:%p, hwndFrom:%p, pnmhdr->idFrom:%d, code:%s)\n"),
646 MSGDUMP_PREFIX, (void *)hwnd, idFrom, (void *)pnmhdr,
647 pnmhdr->hwndFrom, pnmhdr->idFrom,
648 MD_GetNotifyCode(pnmhdr->hwndFrom, pnmhdr->code));
649 return 0;
650}
651
652static __inline void MSGDUMP_API
653MD_OnContextMenu(HWND hwnd, HWND hwndContext, UINT xPos, UINT yPos)
654{
655 MSGDUMP_TPRINTF(TEXT("%sWM_CONTEXTMENU(hwnd:%p, hwndContext:%p, xPos:%u, yPos:%u)\n"),
656 MSGDUMP_PREFIX, (void *)hwnd, (void *)hwndContext, xPos, yPos);
657}
658
659static __inline void MSGDUMP_API
660MD_OnDisplayChange(HWND hwnd, UINT bitsPerPixel, UINT cxScreen, UINT cyScreen)
661{
662 MSGDUMP_TPRINTF(TEXT("%sWM_DISPLAYCHANGE(hwnd:%p, bitsPerPixel:%u, cxScreen:%u, cyScreen:%u)\n"),
663 MSGDUMP_PREFIX, (void *)hwnd, bitsPerPixel, cxScreen, cyScreen);
664}
665
666static __inline BOOL MSGDUMP_API
668{
669 MSGDUMP_TPRINTF(TEXT("%sWM_NCCREATE(hwnd:%p, lpCreateStruct:%p)\n"),
670 MSGDUMP_PREFIX, (void *)hwnd, (void *)lpCreateStruct);
671 return FALSE;
672}
673
674static __inline void MSGDUMP_API
676{
677 MSGDUMP_TPRINTF(TEXT("%sWM_NCDESTROY(hwnd:%p)\n"),
678 MSGDUMP_PREFIX, (void *)hwnd);
679}
680
681static __inline UINT MSGDUMP_API
683{
684 MSGDUMP_TPRINTF(TEXT("%sWM_NCCALCSIZE(hwnd:%p, fCalcValidRects:%d, lpcsp:%p)\n"),
685 MSGDUMP_PREFIX, (void *)hwnd, fCalcValidRects, (void *)lpcsp);
686 return 0;
687}
688
689static __inline UINT MSGDUMP_API
691{
692 MSGDUMP_TPRINTF(TEXT("%sWM_NCHITTEST(hwnd:%p, x:%d, y:%d)\n"),
693 MSGDUMP_PREFIX, (void *)hwnd, x, y);
694 return 0;
695}
696
697static __inline void MSGDUMP_API
699{
700 MSGDUMP_TPRINTF(TEXT("%sWM_NCPAINT(hwnd:%p, hrgn:%p)\n"),
701 MSGDUMP_PREFIX, (void *)hwnd, (void *)hrgn);
702}
703
704static __inline BOOL MSGDUMP_API
705MD_OnNCActivate(HWND hwnd, BOOL fActive, HWND hwndActDeact, BOOL fMinimized)
706{
707 MSGDUMP_TPRINTF(TEXT("%sWM_NCACTIVATE(hwnd:%p, fActive:%d, hwndActDeact:%p, fMinimized:%d)\n"),
708 MSGDUMP_PREFIX, (void *)hwnd, fActive, (void *)hwndActDeact, fMinimized);
709 return FALSE;
710}
711
712static __inline UINT MSGDUMP_API
714{
715 MSGDUMP_TPRINTF(TEXT("%sWM_GETDLGCODE(hwnd:%p, lpmsg:%p)\n"),
716 MSGDUMP_PREFIX, (void *)hwnd, (void *)lpmsg);
717 return 0;
718}
719
720static __inline void MSGDUMP_API
721MD_OnNCMouseMove(HWND hwnd, int x, int y, UINT codeHitTest)
722{
723 MSGDUMP_TPRINTF(TEXT("%sWM_NCMOUSEMOVE(hwnd:%p, x:%d, y:%d, codeHitTest:%u)\n"),
724 MSGDUMP_PREFIX, (void *)hwnd, x, y, codeHitTest);
725}
726
727static __inline void MSGDUMP_API
728MD_OnNCLButtonDown(HWND hwnd, BOOL fDoubleClick, int x, int y, UINT codeHitTest)
729{
730 if (fDoubleClick)
731 {
732 MSGDUMP_TPRINTF(TEXT("%sWM_NCLBUTTONDBLCLK(hwnd:%p, x:%d, y:%d, codeHitTest:%u)\n"),
733 MSGDUMP_PREFIX, (void *)hwnd, x, y, codeHitTest);
734 }
735 else
736 {
737 MSGDUMP_TPRINTF(TEXT("%sWM_NCLBUTTONDOWN(hwnd:%p, x:%d, y:%d, codeHitTest:%u)\n"),
738 MSGDUMP_PREFIX, (void *)hwnd, x, y, codeHitTest);
739 }
740}
741
742static __inline void MSGDUMP_API
743MD_OnNCLButtonUp(HWND hwnd, int x, int y, UINT codeHitTest)
744{
745 MSGDUMP_TPRINTF(TEXT("%sWM_NCLBUTTONUP(hwnd:%p, x:%d, y:%d, codeHitTest:%u)\n"),
746 MSGDUMP_PREFIX, (void *)hwnd, x, y, codeHitTest);
747}
748
749static __inline void MSGDUMP_API
750MD_OnNCRButtonDown(HWND hwnd, BOOL fDoubleClick, int x, int y, UINT codeHitTest)
751{
752 if (fDoubleClick)
753 {
754 MSGDUMP_TPRINTF(TEXT("%sWM_NCRBUTTONDBLCLK(hwnd:%p, x:%d, y:%d, codeHitTest:%u)\n"),
755 MSGDUMP_PREFIX, (void *)hwnd, x, y, codeHitTest);
756 }
757 else
758 {
759 MSGDUMP_TPRINTF(TEXT("%sWM_NCRBUTTONDOWN(hwnd:%p, x:%d, y:%d, codeHitTest:%u)\n"),
760 MSGDUMP_PREFIX, (void *)hwnd, x, y, codeHitTest);
761 }
762}
763
764static __inline void MSGDUMP_API
765MD_OnNCRButtonUp(HWND hwnd, int x, int y, UINT codeHitTest)
766{
767 MSGDUMP_TPRINTF(TEXT("%sWM_NCRBUTTONUP(hwnd:%p, x:%d, y:%d, codeHitTest:%u)\n"),
768 MSGDUMP_PREFIX, (void *)hwnd, x, y, codeHitTest);
769}
770
771static __inline void MSGDUMP_API
772MD_OnNCMButtonDown(HWND hwnd, BOOL fDoubleClick, int x, int y, UINT codeHitTest)
773{
774 if (fDoubleClick)
775 {
776 MSGDUMP_TPRINTF(TEXT("%sWM_NCMBUTTONDBLCLK(hwnd:%p, x:%d, y:%d, codeHitTest:%u)\n"),
777 MSGDUMP_PREFIX, (void *)hwnd, x, y, codeHitTest);
778 }
779 else
780 {
781 MSGDUMP_TPRINTF(TEXT("%sWM_NCMBUTTONDOWN(hwnd:%p, x:%d, y:%d, codeHitTest:%u)\n"),
782 MSGDUMP_PREFIX, (void *)hwnd, x, y, codeHitTest);
783 }
784}
785
786static __inline void MSGDUMP_API
787MD_OnNCMButtonUp(HWND hwnd, int x, int y, UINT codeHitTest)
788{
789 MSGDUMP_TPRINTF(TEXT("%sWM_NCMBUTTONUP(hwnd:%p, x:%d, y:%d, codeHitTest:%u)\n"),
790 MSGDUMP_PREFIX, (void *)hwnd, x, y, codeHitTest);
791}
792
793static __inline void MSGDUMP_API
794MD_OnKey(HWND hwnd, UINT vk, BOOL fDown, int cRepeat, UINT flags)
795{
796 if (fDown)
797 {
798 MSGDUMP_TPRINTF(TEXT("%sWM_KEYDOWN(hwnd:%p, vk:%u, cRepeat:%d, flags:%u)\n"),
799 MSGDUMP_PREFIX, (void *)hwnd, vk, cRepeat, flags);
800 }
801 else
802 {
803 MSGDUMP_TPRINTF(TEXT("%sWM_KEYUP(hwnd:%p, vk:%u, cRepeat:%d, flags:%u)\n"),
804 MSGDUMP_PREFIX, (void *)hwnd, vk, cRepeat, flags);
805 }
806}
807
808static __inline void MSGDUMP_API
809MD_OnChar(HWND hwnd, TCHAR ch, int cRepeat)
810{
811 MSGDUMP_TPRINTF(TEXT("%sWM_CHAR(hwnd:%p, ch:%u, cRepeat:%d)\n"),
812 MSGDUMP_PREFIX, (void *)hwnd, ch, cRepeat);
813}
814
815static __inline void MSGDUMP_API
816MD_OnDeadChar(HWND hwnd, TCHAR ch, int cRepeat)
817{
818 MSGDUMP_TPRINTF(TEXT("%sWM_DEADCHAR(hwnd:%p, ch:%u, cRepeat:%d)\n"),
819 MSGDUMP_PREFIX, (void *)hwnd, ch, cRepeat);
820}
821
822static __inline void MSGDUMP_API
823MD_OnSysKey(HWND hwnd, UINT vk, BOOL fDown, int cRepeat, UINT flags)
824{
825 if (fDown)
826 {
827 MSGDUMP_TPRINTF(TEXT("%sWM_SYSKEYDOWN(hwnd:%p, vk:%u, cRepeat:%d, flags:%u)\n"),
828 MSGDUMP_PREFIX, (void *)hwnd, vk, cRepeat, flags);
829 }
830 else
831 {
832 MSGDUMP_TPRINTF(TEXT("%sWM_SYSKEYUP(hwnd:%p, vk:%u, cRepeat:%d, flags:%u)\n"),
833 MSGDUMP_PREFIX, (void *)hwnd, vk, cRepeat, flags);
834 }
835}
836
837static __inline void MSGDUMP_API
838MD_OnSysChar(HWND hwnd, TCHAR ch, int cRepeat)
839{
840 MSGDUMP_TPRINTF(TEXT("%sWM_SYSCHAR(hwnd:%p, ch:%u, cRepeat:%d)\n"),
841 MSGDUMP_PREFIX, (void *)hwnd, ch, cRepeat);
842}
843
844static __inline void MSGDUMP_API
846{
847 MSGDUMP_TPRINTF(TEXT("%sWM_SYSDEADCHAR(hwnd:%p, ch:%u, cRepeat:%d)\n"),
848 MSGDUMP_PREFIX, (void *)hwnd, ch, cRepeat);
849}
850
851static __inline BOOL MSGDUMP_API
853{
854 MSGDUMP_TPRINTF(TEXT("%sWM_INITDIALOG(hwnd:%p, hwndFocus:%p, lParam:%p)\n"),
855 MSGDUMP_PREFIX, (void *)hwnd, (void *)hwndFocus, (void *)lParam);
856 return FALSE;
857}
858
859static __inline void MSGDUMP_API
860MD_OnCommand(HWND hwnd, int id, HWND hwndCtl, UINT codeNotify)
861{
862 MSGDUMP_TPRINTF(TEXT("%sWM_COMMAND(hwnd:%p, id:%d, hwndCtl:%p, codeNotify:%u)\n"),
863 MSGDUMP_PREFIX, (void *)hwnd, id, (void *)hwndCtl, codeNotify);
864}
865
866static __inline void MSGDUMP_API
868{
869 MSGDUMP_TPRINTF(TEXT("%sWM_SYSCOMMAND(hwnd:%p, cmd:%u, x:%d, y:%d)\n"),
870 MSGDUMP_PREFIX, (void *)hwnd, cmd, x, y);
871}
872
873static __inline void MSGDUMP_API
875{
876 MSGDUMP_TPRINTF(TEXT("%sWM_TIMER(hwnd:%p, id:%u)\n"),
877 MSGDUMP_PREFIX, (void *)hwnd, id);
878}
879
880static __inline void MSGDUMP_API
882{
883 MSGDUMP_TPRINTF(TEXT("%sWM_HSCROLL(hwnd:%p, hwndCtl:%p, code:%u, pos:%d)\n"),
884 MSGDUMP_PREFIX, (void *)hwnd, (void *)hwndCtl, code, pos);
885}
886
887static __inline void MSGDUMP_API
889{
890 MSGDUMP_TPRINTF(TEXT("%sWM_VSCROLL(hwnd:%p, hwndCtl:%p, code:%u, pos:%d)\n"),
891 MSGDUMP_PREFIX, (void *)hwnd, (void *)hwndCtl, code, pos);
892}
893
894static __inline void MSGDUMP_API
896{
897 MSGDUMP_TPRINTF(TEXT("%sWM_INITMENU(hwnd:%p, hMenu:%p)\n"),
898 MSGDUMP_PREFIX, (void *)hwnd, (void *)hMenu);
899}
900
901static __inline void MSGDUMP_API
903{
904 MSGDUMP_TPRINTF(TEXT("%sWM_INITMENUPOPUP(hwnd:%p, hMenu:%p, item:%u, fSystemMenu:%d)\n"),
905 MSGDUMP_PREFIX, (void *)hwnd, (void *)hMenu, item, fSystemMenu);
906}
907
908static __inline void MSGDUMP_API
910{
911 MSGDUMP_TPRINTF(TEXT("%sWM_MENUSELECT(hwnd:%p, hmenu:%p, item:%d, hmenuPopup:%p, flags:%u)\n"),
912 MSGDUMP_PREFIX, (void *)hwnd, (void *)hmenu, item, (void *)hmenuPopup, flags);
913}
914
915static __inline DWORD MSGDUMP_API
917{
918 MSGDUMP_TPRINTF(TEXT("%sWM_MENUCHAR(hwnd:%p, ch:%u, flags:%u, hmenu:%p)\n"),
919 MSGDUMP_PREFIX, (void *)hwnd, ch, flags, (void *)hmenu);
920 return 0;
921}
922
923static __inline void MSGDUMP_API
925{
926 MSGDUMP_TPRINTF(TEXT("%sWM_ENTERIDLE(hwnd:%p, source:%u, hwndSource:%p)\n"),
927 MSGDUMP_PREFIX, (void *)hwnd, source, (void *)hwndSource);
928}
929
930static __inline HBRUSH MSGDUMP_API
932{
933 MSGDUMP_TPRINTF(TEXT("%sWM_CTLCOLOR(hwnd:%p, hdc:%p, hwndChild:%p, type:%d)\n"),
934 MSGDUMP_PREFIX, (void *)hwnd, (void *)hdc, (void *)hwndChild, type);
935 return NULL;
936}
937
938static __inline void MSGDUMP_API
939MD_OnMouseMove(HWND hwnd, int x, int y, UINT keyFlags)
940{
941 MSGDUMP_TPRINTF(TEXT("%sWM_MOUSEMOVE(hwnd:%p, x:%d, y:%d, keyFlags:%u)\n"),
942 MSGDUMP_PREFIX, (void *)hwnd, x, y, keyFlags);
943}
944
945static __inline void MSGDUMP_API
946MD_OnLButtonDown(HWND hwnd, BOOL fDoubleClick, int x, int y, UINT keyFlags)
947{
948 if (fDoubleClick)
949 {
950 MSGDUMP_TPRINTF(TEXT("%sWM_LBUTTONDBLCLK(hwnd:%p, x:%d, y:%d, keyFlags:%u)\n"),
951 MSGDUMP_PREFIX, (void *)hwnd, x, y, keyFlags);
952 }
953 else
954 {
955 MSGDUMP_TPRINTF(TEXT("%sWM_LBUTTONDOWN(hwnd:%p, x:%d, y:%d, keyFlags:%u)\n"),
956 MSGDUMP_PREFIX, (void *)hwnd, x, y, keyFlags);
957 }
958}
959
960static __inline void MSGDUMP_API
961MD_OnLButtonUp(HWND hwnd, int x, int y, UINT keyFlags)
962{
963 MSGDUMP_TPRINTF(TEXT("%sWM_LBUTTONUP(hwnd:%p, x:%d, y:%d, keyFlags:%u)\n"),
964 MSGDUMP_PREFIX, (void *)hwnd, x, y, keyFlags);
965}
966
967static __inline void MSGDUMP_API
968MD_OnRButtonDown(HWND hwnd, BOOL fDoubleClick, int x, int y, UINT keyFlags)
969{
970 if (fDoubleClick)
971 {
972 MSGDUMP_TPRINTF(TEXT("%sWM_RBUTTONDBLCLK(hwnd:%p, x:%d, y:%d, keyFlags:%u)\n"),
973 MSGDUMP_PREFIX, (void *)hwnd, x, y, keyFlags);
974 }
975 else
976 {
977 MSGDUMP_TPRINTF(TEXT("%sWM_RBUTTONDOWN(hwnd:%p, x:%d, y:%d, keyFlags:%u)\n"),
978 MSGDUMP_PREFIX, (void *)hwnd, x, y, keyFlags);
979 }
980}
981
982static __inline void MSGDUMP_API
984{
985 MSGDUMP_TPRINTF(TEXT("%sWM_RBUTTONUP(hwnd:%p, x:%d, y:%d, flags:%u)\n"),
986 MSGDUMP_PREFIX, (void *)hwnd, x, y, flags);
987}
988
989static __inline void MSGDUMP_API
990MD_OnMButtonDown(HWND hwnd, BOOL fDoubleClick, int x, int y, UINT keyFlags)
991{
992 if (fDoubleClick)
993 {
994 MSGDUMP_TPRINTF(TEXT("%sWM_MBUTTONDBLCLK(hwnd:%p, x:%d, y:%d, keyFlags:%u)\n"),
995 MSGDUMP_PREFIX, (void *)hwnd, x, y, keyFlags);
996 }
997 else
998 {
999 MSGDUMP_TPRINTF(TEXT("%sWM_MBUTTONDOWN(hwnd:%p, x:%d, y:%d, keyFlags:%u)\n"),
1000 MSGDUMP_PREFIX, (void *)hwnd, x, y, keyFlags);
1001 }
1002}
1003
1004static __inline void MSGDUMP_API
1006{
1007 MSGDUMP_TPRINTF(TEXT("%sWM_MBUTTONUP(hwnd:%p, x:%d, y:%d, flags:%u)\n"),
1008 MSGDUMP_PREFIX, (void *)hwnd, x, y, flags);
1009}
1010
1011static __inline void MSGDUMP_API
1012MD_OnMouseWheel(HWND hwnd, int xPos, int yPos, int zDelta, UINT fwKeys)
1013{
1014 MSGDUMP_TPRINTF(TEXT("%sWM_MOUSEWHEEL(hwnd:%p, xPos:%d, yPos:%d, zDelta:%d, fwKeys:%u)\n"),
1015 MSGDUMP_PREFIX, (void *)hwnd, xPos, yPos, zDelta, fwKeys);
1016}
1017
1018static __inline void MSGDUMP_API
1019MD_OnParentNotify(HWND hwnd, UINT msg, HWND hwndChild, int idChild)
1020{
1021 MSGDUMP_TPRINTF(TEXT("%sWM_PARENTNOTIFY(hwnd:%p, msg:%u, hwndChild:%p, idChild:%d)\n"),
1022 MSGDUMP_PREFIX, (void *)hwnd, msg, (void *)hwndChild, idChild);
1023}
1024
1025static __inline BOOL MSGDUMP_API
1026MD_OnDeviceChange(HWND hwnd, UINT uEvent, DWORD dwEventData)
1027{
1028 MSGDUMP_TPRINTF(TEXT("%sWM_DEVICECHANGE(hwnd:%p, uEvent:%u, dwEventData:0x%08lX)\n"),
1029 MSGDUMP_PREFIX, (void *)hwnd, uEvent, dwEventData);
1030 return FALSE;
1031}
1032
1033static __inline HWND MSGDUMP_API
1035{
1036 MSGDUMP_TPRINTF(TEXT("%sWM_MDICREATE(hwnd:%p, lpmcs:%p)\n"),
1037 MSGDUMP_PREFIX, (void *)hwnd, (void *)lpmcs);
1038 return NULL;
1039}
1040
1041static __inline void MSGDUMP_API
1043{
1044 MSGDUMP_TPRINTF(TEXT("%sWM_MDIDESTROY(hwnd:%p, hwndDestroy:%p)\n"),
1045 MSGDUMP_PREFIX, (void *)hwnd, (void *)hwndDestroy);
1046}
1047
1048static __inline void MSGDUMP_API
1049MD_MDIActivate(HWND hwnd, BOOL fActive, HWND hwndActivate, HWND hwndDeactivate)
1050{
1051 MSGDUMP_TPRINTF(TEXT("%sWM_MDIACTIVATE(hwnd:%p, fActive:%d, hwndActivate:%p, hwndDeactivate:%p)\n"),
1052 MSGDUMP_PREFIX, (void *)hwnd, fActive, (void *)hwndActivate, (void *)hwndDeactivate);
1053}
1054
1055static __inline void MSGDUMP_API
1057{
1058 MSGDUMP_TPRINTF(TEXT("%sWM_MDIRESTORE(hwnd:%p, hwndRestore:%p)\n"),
1059 MSGDUMP_PREFIX, (void *)hwnd, (void *)hwndRestore);
1060}
1061
1062static __inline HWND MSGDUMP_API
1063MD_MDINext(HWND hwnd, HWND hwndCur, BOOL fPrev)
1064{
1065 MSGDUMP_TPRINTF(TEXT("%sWM_MDINEXT(hwnd:%p, hwndCur:%p, fPrev:%d)\n"),
1066 MSGDUMP_PREFIX, (void *)hwnd, (void *)hwndCur, fPrev);
1067 return NULL;
1068}
1069
1070static __inline void MSGDUMP_API
1072{
1073 MSGDUMP_TPRINTF(TEXT("%sWM_MDIMAXIMIZE(hwnd:%p, hwndMaximize:%p)\n"),
1074 MSGDUMP_PREFIX, (void *)hwnd, (void *)hwndMaximize);
1075}
1076
1077static __inline BOOL MSGDUMP_API
1079{
1080 MSGDUMP_TPRINTF(TEXT("%sWM_MDITILE(hwnd:%p, cmd:%u)\n"),
1081 MSGDUMP_PREFIX, (void *)hwnd, cmd);
1082 return FALSE;
1083}
1084
1085static __inline BOOL MSGDUMP_API
1087{
1088 MSGDUMP_TPRINTF(TEXT("%sWM_MDICASCADE(hwnd:%p, cmd:%u)\n"),
1089 MSGDUMP_PREFIX, (void *)hwnd, cmd);
1090 return FALSE;
1091}
1092
1093static __inline void MSGDUMP_API
1095{
1096 MSGDUMP_TPRINTF(TEXT("%sWM_MDIICONARRANGE(hwnd:%p)\n"),
1097 MSGDUMP_PREFIX, (void *)hwnd);
1098}
1099
1100static __inline HWND MSGDUMP_API
1102{
1103 MSGDUMP_TPRINTF(TEXT("%sWM_MDIGETACTIVE(hwnd:%p)\n"),
1104 MSGDUMP_PREFIX, (void *)hwnd);
1105 return NULL;
1106}
1107
1108#ifdef _UNDOCUSER_H
1109 static __inline LRESULT MSGDUMP_API
1110 MD_OnDropObject(HWND hwnd, WPARAM wParam, LPARAM lParam)
1111 {
1112 MSGDUMP_TPRINTF(TEXT("%sWM_DROPOBJECT(hwnd:%p, wParam:%p, lParam:%p)\n"),
1113 MSGDUMP_PREFIX, (void *)hwnd, (void *)wParam, (void *)lParam);
1114 return 0;
1115 }
1116
1117 static __inline LRESULT MSGDUMP_API
1118 MD_OnQueryDropObject(HWND hwnd, WPARAM wParam, LPARAM lParam)
1119 {
1120 MSGDUMP_TPRINTF(TEXT("%sWM_QUERYDROPOBJECT(hwnd:%p, wParam:%p, lParam:%p)\n"),
1121 MSGDUMP_PREFIX, (void *)hwnd, (void *)wParam, (void *)lParam);
1122 return 0;
1123 }
1124
1125 static __inline LRESULT MSGDUMP_API
1126 MD_OnBeginDrag(HWND hwnd, WPARAM wParam, LPARAM lParam)
1127 {
1128 MSGDUMP_TPRINTF(TEXT("%sWM_BEGINDRAG(hwnd:%p, wParam:%p, lParam:%p)\n"),
1129 MSGDUMP_PREFIX, (void *)hwnd, (void *)wParam, (void *)lParam);
1130 return 0;
1131 }
1132
1133 static __inline LRESULT MSGDUMP_API
1134 MD_OnDragLoop(HWND hwnd, WPARAM wParam, LPARAM lParam)
1135 {
1136 MSGDUMP_TPRINTF(TEXT("%sWM_DRAGLOOP(hwnd:%p, wParam:%p, lParam:%p)\n"),
1137 MSGDUMP_PREFIX, (void *)hwnd, (void *)wParam, (void *)lParam);
1138 return 0;
1139 }
1140
1141 static __inline LRESULT MSGDUMP_API
1142 MD_OnDragSelect(HWND hwnd, WPARAM wParam, LPARAM lParam)
1143 {
1144 MSGDUMP_TPRINTF(TEXT("%sWM_DRAGSELECT(hwnd:%p, wParam:%p, lParam:%p)\n"),
1145 MSGDUMP_PREFIX, (void *)hwnd, (void *)wParam, (void *)lParam);
1146 return 0;
1147 }
1148
1149 static __inline LRESULT MSGDUMP_API
1150 MD_OnDragMove(HWND hwnd, WPARAM wParam, LPARAM lParam)
1151 {
1152 MSGDUMP_TPRINTF(TEXT("%sWM_DRAGMOVE(hwnd:%p, wParam:%p, lParam:%p)\n"),
1153 MSGDUMP_PREFIX, (void *)hwnd, (void *)wParam, (void *)lParam);
1154 return 0;
1155 }
1156#endif
1157
1158static __inline HMENU MSGDUMP_API
1159MD_MDISetMenu(HWND hwnd, BOOL fRefresh, HMENU hmenuFrame, HMENU hmenuWindow)
1160{
1161 MSGDUMP_TPRINTF(TEXT("%sWM_MDISETMENU(hwnd:%p, fRefresh:%d, hmenuFrame:%p, hmenuWindow:%p)\n"),
1162 MSGDUMP_PREFIX, (void *)hwnd, fRefresh, (void *)hmenuFrame, (void *)hmenuWindow);
1163 return NULL;
1164}
1165
1166static __inline void MSGDUMP_API
1168{
1169 MSGDUMP_TPRINTF(TEXT("%sWM_DROPFILES(hwnd:%p, hdrop:%p)\n"),
1170 MSGDUMP_PREFIX, (void *)hwnd, (void *)hdrop);
1171}
1172
1173static __inline void MSGDUMP_API
1175{
1176 MSGDUMP_TPRINTF(TEXT("%sWM_CUT(hwnd:%p)\n"),
1177 MSGDUMP_PREFIX, (void *)hwnd);
1178}
1179
1180static __inline void MSGDUMP_API
1182{
1183 MSGDUMP_TPRINTF(TEXT("%sWM_COPY(hwnd:%p)\n"),
1184 MSGDUMP_PREFIX, (void *)hwnd);
1185}
1186
1187static __inline void MSGDUMP_API
1189{
1190 MSGDUMP_TPRINTF(TEXT("%sWM_PASTE(hwnd:%p)\n"),
1191 MSGDUMP_PREFIX, (void *)hwnd);
1192}
1193
1194static __inline void MSGDUMP_API
1196{
1197 MSGDUMP_TPRINTF(TEXT("%sWM_CLEAR(hwnd:%p)\n"),
1198 MSGDUMP_PREFIX, (void *)hwnd);
1199}
1200
1201static __inline void MSGDUMP_API
1203{
1204 MSGDUMP_TPRINTF(TEXT("%sWM_UNDO(hwnd:%p)\n"),
1205 MSGDUMP_PREFIX, (void *)hwnd);
1206}
1207
1208static __inline HANDLE MSGDUMP_API
1210{
1211 MSGDUMP_TPRINTF(TEXT("%sWM_RENDERFORMAT(hwnd:%p, fmt:%u)\n"),
1212 MSGDUMP_PREFIX, (void *)hwnd, fmt);
1213 return NULL;
1214}
1215
1216static __inline void MSGDUMP_API
1218{
1219 MSGDUMP_TPRINTF(TEXT("%sWM_RENDERALLFORMATS(hwnd:%p)\n"),
1220 MSGDUMP_PREFIX, (void *)hwnd);
1221}
1222
1223static __inline void MSGDUMP_API
1225{
1226 MSGDUMP_TPRINTF(TEXT("%sWM_DESTROYCLIPBOARD(hwnd:%p)\n"),
1227 MSGDUMP_PREFIX, (void *)hwnd);
1228}
1229
1230static __inline void MSGDUMP_API
1232{
1233 MSGDUMP_TPRINTF(TEXT("%sWM_DRAWCLIPBOARD(hwnd:%p)\n"),
1234 MSGDUMP_PREFIX, (void *)hwnd);
1235}
1236
1237static __inline void MSGDUMP_API
1238MD_OnPaintClipboard(HWND hwnd, HWND hwndCBViewer, const LPPAINTSTRUCT lpPaintStruct)
1239{
1240 MSGDUMP_TPRINTF(TEXT("%sWM_PAINTCLIPBOARD(hwnd:%p, hwndCBViewer:%p, lpPaintStruct:%p)\n"),
1241 MSGDUMP_PREFIX, (void *)hwnd, (void *)hwndCBViewer, (void *)lpPaintStruct);
1242}
1243
1244static __inline void MSGDUMP_API
1246{
1247 MSGDUMP_TPRINTF(TEXT("%sWM_VSCROLLCLIPBOARD(hwnd:%p, hwndCBViewer:%p, code:%u, pos:%d)\n"),
1248 MSGDUMP_PREFIX, (void *)hwnd, (void *)hwndCBViewer, code, pos);
1249}
1250
1251static __inline void MSGDUMP_API
1253{
1255 MSGDUMP_TPRINTF(TEXT("%sWM_SIZECLIPBOARD(hwnd:%p, hwndCBViewer:%p, lprc:%s)\n"),
1256 MSGDUMP_PREFIX, (void *)hwnd, (void *)hwndCBViewer,
1257 MD_rect_text(buf, sizeof(buf), lprc));
1258}
1259
1260static __inline void MSGDUMP_API
1262{
1263 MSGDUMP_TPRINTF(TEXT("%sWM_ASKCBFORMATNAME(hwnd:%p, cchMax:%d, rgchName:%p)\n"),
1264 MSGDUMP_PREFIX, (void *)hwnd, cchMax, (void *)rgchName);
1265}
1266
1267static __inline void MSGDUMP_API
1268MD_OnChangeCBChain(HWND hwnd, HWND hwndRemove, HWND hwndNext)
1269{
1270 MSGDUMP_TPRINTF(TEXT("%sWM_CHANGECBCHAIN(hwnd:%p, hwndRemove:%p, hwndNext:%p)\n"),
1271 MSGDUMP_PREFIX, (void *)hwnd, (void *)hwndRemove, (void *)hwndNext);
1272}
1273
1274static __inline void MSGDUMP_API
1276{
1277 MSGDUMP_TPRINTF(TEXT("%sWM_HSCROLLCLIPBOARD(hwnd:%p, hwndCBViewer:%p, code:%u, pos:%d)\n"),
1278 MSGDUMP_PREFIX, (void *)hwnd, (void *)hwndCBViewer, code, pos);
1279}
1280
1281static __inline BOOL MSGDUMP_API
1283{
1284 MSGDUMP_TPRINTF(TEXT("%sWM_QUERYNEWPALETTE(hwnd:%p)\n"),
1285 MSGDUMP_PREFIX, (void *)hwnd);
1286 return FALSE;
1287}
1288
1289static __inline void MSGDUMP_API
1291{
1292 MSGDUMP_TPRINTF(TEXT("%sWM_PALETTEISCHANGING(hwnd:%p, hwndPaletteChange:%p)\n"),
1293 MSGDUMP_PREFIX, (void *)hwnd, (void *)hwndPaletteChange);
1294}
1295
1296static __inline void MSGDUMP_API
1298{
1299 MSGDUMP_TPRINTF(TEXT("%sWM_PALETTECHANGED(hwnd:%p, hwndPaletteChange:%p)\n"),
1300 MSGDUMP_PREFIX, (void *)hwnd, (void *)hwndPaletteChange);
1301}
1302
1303static __inline void MSGDUMP_API
1304MD_OnHotKey(HWND hwnd, int idHotKey, UINT fuModifiers, UINT vk)
1305{
1306 MSGDUMP_TPRINTF(TEXT("%sWM_HOTKEY(hwnd:%p, idHotKey:%d, fuModifiers:%u, vk:%u)\n"),
1307 MSGDUMP_PREFIX, (void *)hwnd, idHotKey, fuModifiers, vk);
1308}
1309
1310static __inline INT MSGDUMP_API
1312{
1313 MSGDUMP_TPRINTF(TEXT("%sWM_SETHOTKEY(hwnd:%p, nCode:%d, nOptions:%u)\n"),
1314 MSGDUMP_PREFIX, (void *)hwnd, nCode, nOptions);
1315 return 0;
1316}
1317
1318static __inline INT MSGDUMP_API
1320{
1321 MSGDUMP_TPRINTF(TEXT("%sWM_GETHOTKEY(hwnd:%p)\n"),
1322 MSGDUMP_PREFIX, (void *)hwnd);
1323 return 0;
1324}
1325
1326static __inline void MSGDUMP_API
1328{
1329 MSGDUMP_TPRINTF(TEXT("%sWM_PAINTICON(hwnd:%p)\n"),
1330 MSGDUMP_PREFIX, (void *)hwnd);
1331}
1332
1333static __inline LRESULT MSGDUMP_API
1335{
1336 MSGDUMP_TPRINTF(TEXT("%sWM_GETOBJECT(hwnd:%p, wParam:%p, dwObjId:0x%08lX)\n"),
1337 MSGDUMP_PREFIX, (void *)hwnd, (void *)wParam, dwObjId);
1338 return 0;
1339}
1340
1341static __inline void MSGDUMP_API
1343{
1344 MSGDUMP_TPRINTF(TEXT("%sWM_CANCELJOURNAL(hwnd:%p)\n"),
1345 MSGDUMP_PREFIX, (void *)hwnd);
1346}
1347
1348static __inline void MSGDUMP_API
1350{
1351 MSGDUMP_TPRINTF(TEXT("%sWM_INPUTLANGCHANGEREQUEST(hwnd:%p, bFlag:%d, hKL:%p)\n"),
1352 MSGDUMP_PREFIX, (void *)hwnd, bFlag, (void *)hKL);
1353}
1354
1355static __inline void MSGDUMP_API
1357{
1358 MSGDUMP_TPRINTF(TEXT("%sWM_INPUTLANGCHANGE(hwnd:%p, dwCharSet:0x%08lX, hKL:%p)\n"),
1359 MSGDUMP_PREFIX, (void *)hwnd, dwCharSet, (void *)hKL);
1360}
1361
1362static __inline void MSGDUMP_API
1363MD_OnTCard(HWND hwnd, UINT idAction, DWORD dwActionData)
1364{
1365 MSGDUMP_TPRINTF(TEXT("%sWM_TCARD(hwnd:%p, idAction:%u, dwActionData:0x%08lX)\n"),
1366 MSGDUMP_PREFIX, (void *)hwnd, idAction, dwActionData);
1367}
1368
1369static __inline void MSGDUMP_API
1371{
1372 MSGDUMP_TPRINTF(TEXT("%sWM_HELP(hwnd:%p, lpHelpInfo:%p)\n"),
1373 MSGDUMP_PREFIX, (void *)hwnd, (void *)lpHelpInfo);
1374}
1375
1376static __inline void MSGDUMP_API
1378{
1379 MSGDUMP_TPRINTF(TEXT("%sWM_USERCHANGED(hwnd:%p)\n"),
1380 MSGDUMP_PREFIX, (void *)hwnd);
1381}
1382
1383static __inline INT MSGDUMP_API
1384MD_OnNotifyFormat(HWND hwnd, HWND hwndTarget, INT nCommand)
1385{
1386 MSGDUMP_TPRINTF(TEXT("%sWM_NOTIFYFORMAT(hwnd:%p, hwndTarget:%p, nCommand:%d)\n"),
1387 MSGDUMP_PREFIX, (void *)hwnd, (void *)hwndTarget, nCommand);
1388 return 0;
1389}
1390
1391static __inline void MSGDUMP_API
1392MD_OnStyleChanging(HWND hwnd, UINT nStyleType, LPSTYLESTRUCT lpStyleStruct)
1393{
1394 MSGDUMP_TPRINTF(TEXT("%sWM_STYLECHANGING(hwnd:%p, nStyleType:%u, lpStyleStruct:%p)\n"),
1395 MSGDUMP_PREFIX, (void *)hwnd, nStyleType, (void *)lpStyleStruct);
1396}
1397
1398static __inline void MSGDUMP_API
1399MD_OnStyleChanged(HWND hwnd, UINT nStyleType, const STYLESTRUCT *lpStyleStruct)
1400{
1401 MSGDUMP_TPRINTF(TEXT("%sWM_STYLECHANGED(hwnd:%p, nStyleType:%u, lpStyleStruct:%p)\n"),
1402 MSGDUMP_PREFIX, (void *)hwnd, nStyleType, (void *)lpStyleStruct);
1403}
1404
1405static __inline HICON MSGDUMP_API
1407{
1408 MSGDUMP_TPRINTF(TEXT("%sWM_GETICON(hwnd:%p, nType:%u, dpi:%p)\n"),
1409 MSGDUMP_PREFIX, (void *)hwnd, nType, (void *)dpi);
1410 return NULL;
1411}
1412
1413static __inline HICON MSGDUMP_API
1415{
1416 MSGDUMP_TPRINTF(TEXT("%sWM_SETICON(hwnd:%p, nType:%u, hIcon:%p)\n"),
1417 MSGDUMP_PREFIX, (void *)hwnd, nType, (void *)hIcon);
1418 return NULL;
1419}
1420
1421static __inline void MSGDUMP_API
1423{
1424 MSGDUMP_TPRINTF(TEXT("%sWM_SYNCPAINT(hwnd:%p)\n"),
1425 MSGDUMP_PREFIX, (void *)hwnd);
1426}
1427
1428static __inline void MSGDUMP_API
1429MD_OnNCXButtonDown(HWND hwnd, BOOL fDoubleClick, UINT nHitTest, WORD fwButton,
1430 INT xPos, INT yPos)
1431{
1432 if (fDoubleClick)
1433 {
1434 MSGDUMP_TPRINTF(TEXT("%sWM_NCXBUTTONDBLCLK(hwnd:%p, nHitTest:%u, fwButton:%u, xPos:%d, yPos:%d)\n"),
1435 MSGDUMP_PREFIX, (void *)hwnd, nHitTest, fwButton, xPos, yPos);
1436 }
1437 else
1438 {
1439 MSGDUMP_TPRINTF(TEXT("%sWM_NCXBUTTONDOWN(hwnd:%p, nHitTest:%u, fwButton:%u, xPos:%d, yPos:%d)\n"),
1440 MSGDUMP_PREFIX, (void *)hwnd, nHitTest, fwButton, xPos, yPos);
1441 }
1442}
1443
1444static __inline void MSGDUMP_API
1445MD_OnNCXButtonUp(HWND hwnd, UINT nHitTest, WORD fwButton, INT xPos, INT yPos)
1446{
1447 MSGDUMP_TPRINTF(TEXT("%sWM_NCXBUTTONUP(hwnd:%p, nHitTest:%u, fwButton:%u, xPos:%d, yPos:%d)\n"),
1448 MSGDUMP_PREFIX, (void *)hwnd, nHitTest, fwButton, xPos, yPos);
1449}
1450
1451static __inline void MSGDUMP_API
1453{
1454 MSGDUMP_TPRINTF(TEXT("%sWM_IME_STARTCOMPOSITION(hwnd:%p)\n"),
1455 MSGDUMP_PREFIX, (void *)hwnd);
1456}
1457
1458static __inline void MSGDUMP_API
1460{
1461 MSGDUMP_TPRINTF(TEXT("%sWM_IME_ENDCOMPOSITION(hwnd:%p)\n"),
1462 MSGDUMP_PREFIX, (void *)hwnd);
1463}
1464
1465static __inline void MSGDUMP_API
1467{
1468 MSGDUMP_TPRINTF(TEXT("%sWM_IME_COMPOSITION(hwnd:%p, wChar:%u, lAttribute:0x%08lX)\n"),
1469 MSGDUMP_PREFIX, (void *)hwnd, wChar, lAttribute);
1470}
1471
1472static __inline void MSGDUMP_API
1474{
1475 MSGDUMP_TPRINTF(TEXT("%sWM_MENURBUTTONUP(hwnd:%p, nPos:%u, hMenu:%p)\n"),
1476 MSGDUMP_PREFIX, (void *)hwnd, nPos, (void *)hMenu);
1477}
1478
1479static __inline UINT MSGDUMP_API
1481{
1482 MSGDUMP_TPRINTF(TEXT("%sWM_MENUDRAG(hwnd:%p, nPos:%u, hMenu:%p)\n"),
1483 MSGDUMP_PREFIX, (void *)hwnd, nPos, (void *)hMenu);
1484 return 0;
1485}
1486
1487static __inline UINT MSGDUMP_API
1489{
1490 MSGDUMP_TPRINTF(TEXT("%sWM_MENUGETOBJECT(hwnd:%p, pmgoi:%p)\n"),
1491 MSGDUMP_PREFIX, (void *)hwnd, (void *)pmgoi);
1492 return 0;
1493}
1494
1495static __inline void MSGDUMP_API
1497{
1498 MSGDUMP_TPRINTF(TEXT("%sWM_UNINITMENUPOPUP(hwnd:%p, hMenu:%p, nFlags:%u)\n"),
1499 MSGDUMP_PREFIX, (void *)hwnd, (void *)hMenu, nFlags);
1500}
1501
1502static __inline void MSGDUMP_API
1504{
1505 MSGDUMP_TPRINTF(TEXT("%sWM_MENUCOMMAND(hwnd:%p, nPos:%u, hMenu:%p)\n"),
1506 MSGDUMP_PREFIX, (void *)hwnd, nPos, (void *)hMenu);
1507}
1508
1509static __inline void MSGDUMP_API
1510MD_OnChangeUIState(HWND hwnd, UINT nAction, UINT nUIElement)
1511{
1512 MSGDUMP_TPRINTF(TEXT("%sWM_CHANGEUISTATE(hwnd:%p, nAction:%u, nUIElement:%u)\n"),
1513 MSGDUMP_PREFIX, (void *)hwnd, nAction, nUIElement);
1514}
1515
1516static __inline void MSGDUMP_API
1517MD_OnUpdateUIState(HWND hwnd, UINT nAction, UINT nUIElement)
1518{
1519 MSGDUMP_TPRINTF(TEXT("%sWM_UPDATEUISTATE(hwnd:%p, nAction:%u, nUIElement:%u)\n"),
1520 MSGDUMP_PREFIX, (void *)hwnd, nAction, nUIElement);
1521}
1522
1523static __inline UINT MSGDUMP_API
1525{
1526 MSGDUMP_TPRINTF(TEXT("%sWM_QUERYUISTATE(hwnd:%p)\n"),
1527 MSGDUMP_PREFIX, (void *)hwnd);
1528 return 0;
1529}
1530
1531static __inline void MSGDUMP_API
1532MD_OnXButtonDown(HWND hwnd, BOOL fDoubleClick, WORD fwKeys, WORD fwButton, INT xPos, INT yPos)
1533{
1534 if (fDoubleClick)
1535 {
1536 MSGDUMP_TPRINTF(TEXT("%sWM_XBUTTONDBLCLK(hwnd:%p, fwKeys:%u, fwButton:%u, xPos:%d, yPos:%d)\n"),
1537 MSGDUMP_PREFIX, (void *)hwnd, fwKeys, fwButton, xPos, yPos);
1538 }
1539 else
1540 {
1541 MSGDUMP_TPRINTF(TEXT("%sWM_XBUTTONDOWN(hwnd:%p, fwKeys:%u, fwButton:%u, xPos:%d, yPos:%d)\n"),
1542 MSGDUMP_PREFIX, (void *)hwnd, fwKeys, fwButton, xPos, yPos);
1543 }
1544}
1545
1546static __inline void MSGDUMP_API
1547MD_OnXButtonUp(HWND hwnd, WORD fwKeys, WORD fwButton, INT xPos, INT yPos)
1548{
1549 MSGDUMP_TPRINTF(TEXT("%sWM_XBUTTONUP(hwnd:%p, fwKeys:%u, fwButton:%u, xPos:%d, yPos:%d)\n"),
1550 MSGDUMP_PREFIX, (void *)hwnd, fwKeys, fwButton, xPos, yPos);
1551}
1552
1553static __inline void MSGDUMP_API
1555{
1556 MSGDUMP_TPRINTF(TEXT("%sWM_ENTERMENULOOP(hwnd:%p, bIsTrackPopupMenu:%d)\n"),
1557 MSGDUMP_PREFIX, (void *)hwnd, bIsTrackPopupMenu);
1558}
1559
1560static __inline void MSGDUMP_API
1561MD_OnExitMenuLoop(HWND hwnd, BOOL bIsTrackPopupMenu)
1562{
1563 MSGDUMP_TPRINTF(TEXT("%sWM_EXITMENULOOP(hwnd:%p, bIsTrackPopupMenu:%d)\n"),
1564 MSGDUMP_PREFIX, (void *)hwnd, bIsTrackPopupMenu);
1565}
1566
1567static __inline void MSGDUMP_API
1569{
1570 MSGDUMP_TPRINTF(TEXT("%sWM_NEXTMENU(hwnd:%p, nCode:%d, lpMDINextMenu:%p)\n"),
1571 MSGDUMP_PREFIX, (void *)hwnd, nCode, (void *)lpMDINextMenu);
1572}
1573
1574static __inline void MSGDUMP_API
1576{
1578 MSGDUMP_TPRINTF(TEXT("%sWM_SIZING(hwnd:%p, nSide:%u, lpRect:%s)\n"),
1579 MSGDUMP_PREFIX, (void *)hwnd, nSide, MD_rect_text(buf, sizeof(buf), lpRect));
1580}
1581
1582static __inline void MSGDUMP_API
1584{
1585 MSGDUMP_TPRINTF(TEXT("%sWM_CAPTURECHANGED(hwnd:%p, hwndNewCapture:%p)\n"),
1586 MSGDUMP_PREFIX, (void *)hwnd, (void *)hwndNewCapture);
1587}
1588
1589static __inline void MSGDUMP_API
1591{
1593 MSGDUMP_TPRINTF(TEXT("%sWM_MOVING(hwnd:%p, nSide:%u, lpRect:%s)\n"),
1594 MSGDUMP_PREFIX, (void *)hwnd, nSide, MD_rect_text(buf, sizeof(buf), lpRect));
1595}
1596
1597static __inline LRESULT MSGDUMP_API
1598MD_OnPowerBroadcast(HWND hwnd, UINT nPowerEvent, UINT nEventData)
1599{
1600 MSGDUMP_TPRINTF(TEXT("%sWM_POWERBROADCAST(hwnd:%p, nPowerEvent:%u, nEventData:%u)\n"),
1601 MSGDUMP_PREFIX, (void *)hwnd, nPowerEvent, nEventData);
1602 return 0;
1603}
1604
1605static __inline void MSGDUMP_API
1607{
1608 MSGDUMP_TPRINTF(TEXT("%sWM_ENTERSIZEMOVE(hwnd:%p)\n"),
1609 MSGDUMP_PREFIX, (void *)hwnd);
1610}
1611
1612static __inline void MSGDUMP_API
1614{
1615 MSGDUMP_TPRINTF(TEXT("%sWM_EXITSIZEMOVE(hwnd:%p)\n"),
1616 MSGDUMP_PREFIX, (void *)hwnd);
1617}
1618
1619static __inline HMENU MSGDUMP_API
1621{
1622 MSGDUMP_TPRINTF(TEXT("%sWM_MDIREFRESHMENU(hwnd:%p)\n"),
1623 MSGDUMP_PREFIX, (void *)hwnd);
1624 return NULL;
1625}
1626
1627static __inline BOOL MSGDUMP_API
1629{
1630 MSGDUMP_TPRINTF(TEXT("%sWM_IME_SETCONTEXT(hwnd:%p, fActive:%d, dwShow:0x%08lX)\n"),
1631 MSGDUMP_PREFIX, (void *)hwnd, fActive, dwShow);
1632 return FALSE;
1633}
1634
1635static __inline LRESULT MSGDUMP_API
1637{
1638 MSGDUMP_TPRINTF(TEXT("%sWM_IME_NOTIFY(hwnd:%p, wSubMessage:%p, lParam:%p)\n"),
1639 MSGDUMP_PREFIX, (void *)hwnd, (void *)wSubMessage, (void *)lParam);
1640 return 0;
1641}
1642
1643static __inline LRESULT MSGDUMP_API
1645{
1646 MSGDUMP_TPRINTF(TEXT("%sWM_IME_CONTROL(hwnd:%p, wSubMessage:%p, lpData:%p)\n"),
1647 MSGDUMP_PREFIX, (void *)hwnd, (void *)wSubMessage, (void *)lpData);
1648 return 0;
1649}
1650
1651static __inline void MSGDUMP_API
1653{
1654 MSGDUMP_TPRINTF(TEXT("%sWM_IME_COMPOSITIONFULL(hwnd:%p)\n"),
1655 MSGDUMP_PREFIX, (void *)hwnd);
1656}
1657
1658static __inline void MSGDUMP_API
1660{
1661 MSGDUMP_TPRINTF(TEXT("%sWM_IME_SELECT(hwnd:%p, fSelect:%d, hKL:%p)\n"),
1662 MSGDUMP_PREFIX, (void *)hwnd, fSelect, (void *)hKL);
1663}
1664
1665static __inline void MSGDUMP_API
1666MD_OnImeChar(HWND hwnd, WORD wCharCode, LONG lKeyData)
1667{
1668 MSGDUMP_TPRINTF(TEXT("%sWM_IME_CHAR(hwnd:%p, wCharCode:%u, lKeyData:%ld)\n"),
1669 MSGDUMP_PREFIX, (void *)hwnd, wCharCode, lKeyData);
1670}
1671
1672static __inline LRESULT MSGDUMP_API
1674{
1675 MSGDUMP_TPRINTF(TEXT("%sWM_IME_REQUEST(hwnd:%p, wParam:%p, lParam:%p)\n"),
1676 MSGDUMP_PREFIX, (void *)hwnd, (void *)wParam, (void *)lParam);
1677 return 0;
1678}
1679
1680static __inline void MSGDUMP_API
1681MD_OnImeKey(HWND hwnd, BOOL fDown, UINT nVirtKey, LONG lKeyData)
1682{
1683 if (fDown)
1684 {
1685 MSGDUMP_TPRINTF(TEXT("%sWM_IME_KEYDOWN(hwnd:%p, nVirtKey:%u, lKeyData:%ld)\n"),
1686 MSGDUMP_PREFIX, (void *)hwnd, nVirtKey, lKeyData);
1687 }
1688 else
1689 {
1690 MSGDUMP_TPRINTF(TEXT("%sWM_IME_KEYUP(hwnd:%p, nVirtKey:%u, lKeyData:%ld)\n"),
1691 MSGDUMP_PREFIX, (void *)hwnd, nVirtKey, lKeyData);
1692 }
1693}
1694
1695static __inline void MSGDUMP_API
1696MD_OnMouseHover(HWND hwnd, UINT nFlags, INT xPos, INT yPos)
1697{
1698 MSGDUMP_TPRINTF(TEXT("%sWM_MOUSEHOVER(hwnd:%p, nFlags:%u, xPos:%d, yPos:%d)\n"),
1699 MSGDUMP_PREFIX, (void *)hwnd, nFlags, xPos, yPos);
1700}
1701
1702static __inline void MSGDUMP_API
1704{
1705 MSGDUMP_TPRINTF(TEXT("%sWM_MOUSELEAVE(hwnd:%p)\n"),
1706 MSGDUMP_PREFIX, (void *)hwnd);
1707}
1708
1709static __inline void MSGDUMP_API
1710MD_OnNCMouseHover(HWND hwnd, UINT nHitTest, INT xPos, INT yPos)
1711{
1712 MSGDUMP_TPRINTF(TEXT("%sWM_NCMOUSEHOVER(hwnd:%p, nHitTest:%u, xPos:%d, yPos:%d)\n"),
1713 MSGDUMP_PREFIX, (void *)hwnd, nHitTest, xPos, yPos);
1714}
1715
1716static __inline void MSGDUMP_API
1718{
1719 MSGDUMP_TPRINTF(TEXT("%sWM_NCMOUSELEAVE(hwnd:%p)\n"),
1720 MSGDUMP_PREFIX, (void *)hwnd);
1721}
1722
1723static __inline void MSGDUMP_API
1725{
1726 MSGDUMP_TPRINTF(TEXT("%sWM_PRINT(hwnd:%p, hDC:%p, uFlags:%u)\n"),
1727 MSGDUMP_PREFIX, (void *)hwnd, (void *)hDC, uFlags);
1728}
1729
1730static __inline void MSGDUMP_API
1732{
1733 MSGDUMP_TPRINTF(TEXT("%sWM_PRINTCLIENT(hwnd:%p, hDC:%p, uFlags:%u)\n"),
1734 MSGDUMP_PREFIX, (void *)hwnd, (void *)hDC, uFlags);
1735}
1736
1737static __inline BOOL MSGDUMP_API
1738MD_OnAppCommand(HWND hwnd, HWND hwndTarget, UINT cmd, UINT nDevice, UINT nKey)
1739{
1740 MSGDUMP_TPRINTF(TEXT("%sWM_APPCOMMAND(hwnd:%p, hwndTarget:%p, cmd:%u, nDevice:%u, nKey:%u)\n"),
1741 MSGDUMP_PREFIX, (void *)hwnd, (void *)hwndTarget, cmd, nDevice, nKey);
1742 return FALSE;
1743}
1744
1745static __inline LONG MSGDUMP_API
1747{
1748 MSGDUMP_TPRINTF(TEXT("%sEM_GETSEL(hwnd:%p, lpdwStart:%p, lpdwEnd:%p)\n"),
1749 MSGDUMP_PREFIX, (void *)hwnd, (void *)lpdwStart, (void *)lpdwEnd);
1750 return 0;
1751}
1752
1753static __inline void MSGDUMP_API
1755{
1756 MSGDUMP_TPRINTF(TEXT("%sEM_SETSEL(hwnd:%p, nStart:%d, nEnd:%d)\n"),
1757 MSGDUMP_PREFIX, (void *)hwnd, nStart, nEnd);
1758}
1759
1760static __inline void MSGDUMP_API
1762{
1763 MSGDUMP_TPRINTF(TEXT("%sEM_GETRECT(hwnd:%p, prc:%p)\n"),
1764 MSGDUMP_PREFIX, (void *)hwnd, (void *)prc);
1765}
1766
1767static __inline void MSGDUMP_API
1769{
1771 MSGDUMP_TPRINTF(TEXT("%sEM_SETRECT(hwnd:%p, prc:%s)\n"),
1772 MSGDUMP_PREFIX, (void *)hwnd, MD_rect_text(buf, sizeof(buf), prc));
1773}
1774
1775static __inline void MSGDUMP_API
1777{
1779 MSGDUMP_TPRINTF(TEXT("%sEM_SETRECTNP(hwnd:%p, prc:%s)\n"),
1780 MSGDUMP_PREFIX, (void *)hwnd, MD_rect_text(buf, sizeof(buf), prc));
1781}
1782
1783static __inline DWORD MSGDUMP_API
1785{
1786 MSGDUMP_TPRINTF(TEXT("%sEM_SCROLL(hwnd:%p, nScroll:%d)\n"),
1787 MSGDUMP_PREFIX, (void *)hwnd, nScroll);
1788 return 0;
1789}
1790
1791static __inline BOOL MSGDUMP_API
1793{
1794 MSGDUMP_TPRINTF(TEXT("%sEM_LINESCROLL(hwnd:%p, cxScroll:%d, cyScroll:%d)\n"),
1795 MSGDUMP_PREFIX, (void *)hwnd, cxScroll, cyScroll);
1796 return FALSE;
1797}
1798
1799static __inline BOOL MSGDUMP_API
1801{
1802 MSGDUMP_TPRINTF(TEXT("%sEM_SCROLLCARET(hwnd:%p)\n"),
1803 MSGDUMP_PREFIX, (void *)hwnd);
1804 return FALSE;
1805}
1806
1807static __inline BOOL MSGDUMP_API
1809{
1810 MSGDUMP_TPRINTF(TEXT("%sEM_GETMODIFY(hwnd:%p)\n"),
1811 MSGDUMP_PREFIX, (void *)hwnd);
1812 return FALSE;
1813}
1814
1815static __inline void MSGDUMP_API
1817{
1818 MSGDUMP_TPRINTF(TEXT("%sEM_SETMODIFY(hwnd:%p, fModified:%d)\n"),
1819 MSGDUMP_PREFIX, (void *)hwnd, fModified);
1820}
1821
1822static __inline INT MSGDUMP_API
1824{
1825 MSGDUMP_TPRINTF(TEXT("%sEM_GETLINECOUNT(hwnd:%p)\n"),
1826 MSGDUMP_PREFIX, (void *)hwnd);
1827 return 0;
1828}
1829
1830static __inline INT MSGDUMP_API
1832{
1833 MSGDUMP_TPRINTF(TEXT("%sEM_LINEINDEX(hwnd:%p, line:%d)\n"),
1834 MSGDUMP_PREFIX, (void *)hwnd, line);
1835 return 0;
1836}
1837
1838static __inline void MSGDUMP_API
1840{
1841 MSGDUMP_TPRINTF(TEXT("%sEM_SETHANDLE(hwnd:%p, hloc:%p)\n"),
1842 MSGDUMP_PREFIX, (void *)hwnd, (void *)hloc);
1843}
1844
1845static __inline HLOCAL MSGDUMP_API
1847{
1848 MSGDUMP_TPRINTF(TEXT("%sEM_GETHANDLE(hwnd:%p)\n"),
1849 MSGDUMP_PREFIX, (void *)hwnd);
1850 return NULL;
1851}
1852
1853static __inline INT MSGDUMP_API
1855{
1856 MSGDUMP_TPRINTF(TEXT("%sEM_GETTHUMB(hwnd:%p)\n"),
1857 MSGDUMP_PREFIX, (void *)hwnd);
1858 return 0;
1859}
1860
1861static __inline INT MSGDUMP_API
1863{
1864 MSGDUMP_TPRINTF(TEXT("%sEM_LINELENGTH(hwnd:%p, ich:%d)\n"),
1865 MSGDUMP_PREFIX, (void *)hwnd, ich);
1866 return 0;
1867}
1868
1869static __inline void MSGDUMP_API
1871{
1872 if (IsWindowUnicode(hwnd))
1873 MSGDUMP_TPRINTF(TEXT("%sEM_REPLACESEL(hwnd:%p, fCanUndo:%d, %ls)\n"),
1874 MSGDUMP_PREFIX, (void *)hwnd, fCanUndo, (LPCWSTR)lpszReplace);
1875 else
1876 MSGDUMP_TPRINTF(TEXT("%sEM_REPLACESEL(hwnd:%p, fCanUndo:%d, %hs)\n"),
1877 MSGDUMP_PREFIX, (void *)hwnd, fCanUndo, (LPCSTR)lpszReplace);
1878}
1879
1880static __inline INT MSGDUMP_API
1882{
1883 if (IsWindowUnicode(hwnd))
1884 MSGDUMP_TPRINTF(TEXT("%sEM_GETLINE(hwnd:%p, line:%d, lpch:%ls)\n"),
1885 MSGDUMP_PREFIX, (void *)hwnd, line, (LPCWSTR)lpch);
1886 else
1887 MSGDUMP_TPRINTF(TEXT("%sEM_GETLINE(hwnd:%p, line:%d, lpch:%hs)\n"),
1888 MSGDUMP_PREFIX, (void *)hwnd, line, (LPCSTR)lpch);
1889 return 0;
1890}
1891
1892static __inline BOOL MSGDUMP_API
1894{
1895 MSGDUMP_TPRINTF(TEXT("%sEM_CANUNDO(hwnd:%p)\n"),
1896 MSGDUMP_PREFIX, (void *)hwnd);
1897 return FALSE;
1898}
1899
1900static __inline BOOL MSGDUMP_API
1902{
1903 MSGDUMP_TPRINTF(TEXT("%sEM_UNDO(hwnd:%p)\n"),
1904 MSGDUMP_PREFIX, (void *)hwnd);
1905 return FALSE;
1906}
1907
1908static __inline BOOL MSGDUMP_API
1910{
1911 MSGDUMP_TPRINTF(TEXT("%sEM_UNDO(hwnd:%p, fAddEOL:%d)\n"),
1912 MSGDUMP_PREFIX, (void *)hwnd, fAddEOL);
1913 return FALSE;
1914}
1915
1916static __inline INT MSGDUMP_API
1918{
1919 MSGDUMP_TPRINTF(TEXT("%sEM_LINEFROMCHAR(hwnd:%p, ich:%d)\n"),
1920 MSGDUMP_PREFIX, (void *)hwnd, ich);
1921 return 0;
1922}
1923
1924static __inline BOOL MSGDUMP_API
1926{
1927 MSGDUMP_TPRINTF(TEXT("%sEM_SETTABSTOPS(hwnd:%p, cTabs:%d, lpdwTabs:%p)\n"),
1928 MSGDUMP_PREFIX, (void *)hwnd, cTabs, (void *)lpdwTabs);
1929 return FALSE;
1930}
1931
1932static __inline void MSGDUMP_API
1934{
1935 MSGDUMP_TPRINTF(TEXT("%sEM_SETPASSWORDCHAR(hwnd:%p, ch:%u)\n"),
1936 MSGDUMP_PREFIX, (void *)hwnd, ch);
1937}
1938
1939static __inline void MSGDUMP_API
1941{
1942 MSGDUMP_TPRINTF(TEXT("%sEM_EMPTYUNDOBUFFER(hwnd:%p)\n"),
1943 MSGDUMP_PREFIX, (void *)hwnd);
1944}
1945
1946static __inline INT MSGDUMP_API
1948{
1949 MSGDUMP_TPRINTF(TEXT("%sEM_GETFIRSTVISIBLELINE(hwnd:%p)\n"),
1950 MSGDUMP_PREFIX, (void *)hwnd);
1951 return 0;
1952}
1953
1954static __inline BOOL MSGDUMP_API
1956{
1957 MSGDUMP_TPRINTF(TEXT("%sEM_SETREADONLY(hwnd:%p, fReadOnly:%d)\n"),
1958 MSGDUMP_PREFIX, (void *)hwnd, fReadOnly);
1959 return FALSE;
1960}
1961
1962static __inline void MSGDUMP_API
1964{
1965 MSGDUMP_TPRINTF(TEXT("%sEM_SETWORDBREAKPROC(hwnd:%p, ewbprc:%p)\n"),
1966 MSGDUMP_PREFIX, (void *)hwnd, *(void **)&ewbprc);
1967}
1968
1969static __inline EDITWORDBREAKPROC MSGDUMP_API
1971{
1972 MSGDUMP_TPRINTF(TEXT("%sEM_GETWORDBREAKPROC(hwnd:%p)\n"),
1973 MSGDUMP_PREFIX, (void *)hwnd);
1974 return NULL;
1975}
1976
1977static __inline UINT MSGDUMP_API
1979{
1980 MSGDUMP_TPRINTF(TEXT("%sEM_GETPASSWORDCHAR(hwnd:%p)\n"),
1981 MSGDUMP_PREFIX, (void *)hwnd);
1982 return 0;
1983}
1984
1985static __inline void MSGDUMP_API
1986MD_Edit_OnSetMargins(HWND hwnd, UINT fwMargin, WORD wLeft, WORD wRight)
1987{
1988 MSGDUMP_TPRINTF(TEXT("%sEM_SETMARGINS(hwnd:%p, fwMargin:%u, wLeft:%d, wRight:%d)\n"),
1989 MSGDUMP_PREFIX, (void *)hwnd, fwMargin, wLeft, wRight);
1990}
1991
1992static __inline DWORD MSGDUMP_API
1994{
1995 MSGDUMP_TPRINTF(TEXT("%sEM_GETMARGINS(hwnd:%p)\n"),
1996 MSGDUMP_PREFIX, (void *)hwnd);
1997 return 0;
1998}
1999
2000static __inline void MSGDUMP_API
2002{
2003 MSGDUMP_TPRINTF(TEXT("%sEM_SETLIMITTEXT(hwnd:%p, cbMax:%ld)\n"),
2004 MSGDUMP_PREFIX, (void *)hwnd, cbMax);
2005}
2006
2007static __inline DWORD MSGDUMP_API
2009{
2010 MSGDUMP_TPRINTF(TEXT("%sEM_GETLIMITTEXT(hwnd:%p)\n"),
2011 MSGDUMP_PREFIX, (void *)hwnd);
2012 return 0;
2013}
2014
2015static __inline void MSGDUMP_API
2017{
2018 MSGDUMP_TPRINTF(TEXT("%sEM_POSFROMCHAR(hwnd:%p, lpPoint:%p, wCharIndex:%u)\n"),
2019 MSGDUMP_PREFIX, (void *)hwnd, (void *)lpPoint, wCharIndex);
2020}
2021
2022static __inline LONG MSGDUMP_API
2024{
2025 MSGDUMP_TPRINTF(TEXT("%sEM_CHARFROMPOS(hwnd:%p, x:%d, y:%d)\n"),
2026 MSGDUMP_PREFIX, (void *)hwnd, x, y);
2027 return 0;
2028}
2029
2030static __inline DWORD MSGDUMP_API
2032{
2033 MSGDUMP_TPRINTF(TEXT("%sEM_SETIMESTATUS(hwnd:%p, uType:%u, dwFlags:0x%08lX)\n"),
2034 MSGDUMP_PREFIX, (void *)hwnd, uType, dwFlags);
2035 return 0;
2036}
2037
2038static __inline DWORD MSGDUMP_API
2040{
2041 MSGDUMP_TPRINTF(TEXT("%sEM_SETIMESTATUS(hwnd:%p, uType:%u)\n"),
2042 MSGDUMP_PREFIX, (void *)hwnd, uType);
2043 return 0;
2044}
2045
2046static __inline HICON MSGDUMP_API
2048{
2049 MSGDUMP_TPRINTF(TEXT("%sSTM_SETICON(hwnd:%p, hIcon:%p)\n"),
2050 MSGDUMP_PREFIX, (void *)hwnd, (void *)hIcon);
2051 return NULL;
2052}
2053
2054static __inline HICON MSGDUMP_API
2056{
2057
2058 MSGDUMP_TPRINTF(TEXT("%sSTM_SETICON(hwnd:%p)\n"),
2059 MSGDUMP_PREFIX, (void *)hwnd);
2060 return NULL;
2061}
2062
2063static __inline HANDLE MSGDUMP_API
2065{
2066 MSGDUMP_TPRINTF(TEXT("%sSTM_SETIMAGE(hwnd:%p, fImageType:%u, hImage:%p)\n"),
2067 MSGDUMP_PREFIX, (void *)hwnd, fImageType, (void *)hImage);
2068 return NULL;
2069}
2070
2071static __inline HANDLE MSGDUMP_API
2073{
2074 MSGDUMP_TPRINTF(TEXT("%sSTM_GETIMAGE(hwnd:%p, fImageType:%u)\n"),
2075 MSGDUMP_PREFIX, (void *)hwnd, fImageType);
2076 return NULL;
2077}
2078
2079static __inline INT MSGDUMP_API
2081{
2082 if (IsWindowUnicode(hwnd))
2083 MSGDUMP_TPRINTF(TEXT("%sLB_ADDSTRING(hwnd:%p, lpsz:%ls)\n"),
2084 MSGDUMP_PREFIX, (void *)hwnd, (LPCWSTR)lpsz);
2085 else
2086 MSGDUMP_TPRINTF(TEXT("%sLB_ADDSTRING(hwnd:%p, lpsz:%hs)\n"),
2087 MSGDUMP_PREFIX, (void *)hwnd, (LPCSTR)lpsz);
2088 return 0;
2089}
2090
2091static __inline INT MSGDUMP_API
2093{
2094 if (IsWindowUnicode(hwnd))
2095 MSGDUMP_TPRINTF(TEXT("%sLB_INSERTSTRING(hwnd:%p, index:%d, lpsz:%ls)\n"),
2096 MSGDUMP_PREFIX, (void *)hwnd, index, (LPCWSTR)lpsz);
2097 else
2098 MSGDUMP_TPRINTF(TEXT("%sLB_INSERTSTRING(hwnd:%p, index:%d, lpsz:%hs)\n"),
2099 MSGDUMP_PREFIX, (void *)hwnd, index, (LPCSTR)lpsz);
2100 return 0;
2101}
2102
2103static __inline INT MSGDUMP_API
2105{
2106 MSGDUMP_TPRINTF(TEXT("%sLB_DELETESTRING(hwnd:%p, index:%d)\n"),
2107 MSGDUMP_PREFIX, (void *)hwnd, index);
2108 return 0;
2109}
2110
2111static __inline INT MSGDUMP_API
2113{
2114 MSGDUMP_TPRINTF(TEXT("%sLB_SELITEMRANGEEX(hwnd:%p, wFirst:%u, wLast:%u)\n"),
2115 MSGDUMP_PREFIX, (void *)hwnd, wFirst, wLast);
2116 return 0;
2117}
2118
2119static __inline void MSGDUMP_API
2121{
2122 MSGDUMP_TPRINTF(TEXT("%sLB_RESETCONTENT(hwnd:%p)\n"),
2123 MSGDUMP_PREFIX, (void *)hwnd);
2124}
2125
2126static __inline INT MSGDUMP_API
2128{
2129 MSGDUMP_TPRINTF(TEXT("%sLB_SETSEL(hwnd:%p, fSelect:%d, index:%u)\n"),
2130 MSGDUMP_PREFIX, (void *)hwnd, fSelect, index);
2131 return 0;
2132}
2133
2134static __inline INT MSGDUMP_API
2136{
2137 MSGDUMP_TPRINTF(TEXT("%sLB_SETCURSEL(hwnd:%p, index:%d)\n"),
2138 MSGDUMP_PREFIX, (void *)hwnd, index);
2139 return 0;
2140}
2141
2142static __inline INT MSGDUMP_API
2144{
2145 MSGDUMP_TPRINTF(TEXT("%sLB_GETSEL(hwnd:%p, index:%d)\n"),
2146 MSGDUMP_PREFIX, (void *)hwnd, index);
2147 return 0;
2148}
2149
2150static __inline INT MSGDUMP_API
2152{
2153 MSGDUMP_TPRINTF(TEXT("%sLB_GETCURSEL(hwnd:%p)\n"),
2154 MSGDUMP_PREFIX, (void *)hwnd);
2155 return 0;
2156}
2157
2158static __inline INT MSGDUMP_API
2160{
2161 MSGDUMP_TPRINTF(TEXT("%sLB_GETTEXT(hwnd:%p, lpszBuffer:%p)\n"),
2162 MSGDUMP_PREFIX, (void *)hwnd, (void *)lpszBuffer);
2163 return 0;
2164}
2165
2166static __inline INT MSGDUMP_API
2168{
2169 MSGDUMP_TPRINTF(TEXT("%sLB_GETTEXTLEN(hwnd:%p, index:%d)\n"),
2170 MSGDUMP_PREFIX, (void *)hwnd, index);
2171 return 0;
2172}
2173
2174static __inline INT MSGDUMP_API
2176{
2177 MSGDUMP_TPRINTF(TEXT("%sLB_GETCOUNT(hwnd:%p)\n"),
2178 MSGDUMP_PREFIX, (void *)hwnd);
2179 return 0;
2180}
2181
2182static __inline INT MSGDUMP_API
2184{
2185 if (IsWindowUnicode(hwnd))
2186 MSGDUMP_TPRINTF(TEXT("%sLB_SELECTSTRING(hwnd:%p, indexStart:%d, lpszFind:%ls)\n"),
2187 MSGDUMP_PREFIX, (void *)hwnd, indexStart, (LPCWSTR)lpszFind);
2188 else
2189 MSGDUMP_TPRINTF(TEXT("%sLB_SELECTSTRING(hwnd:%p, indexStart:%d, lpszFind:%hs)\n"),
2190 MSGDUMP_PREFIX, (void *)hwnd, indexStart, (LPCSTR)lpszFind);
2191 return 0;
2192}
2193
2194static __inline INT MSGDUMP_API
2195MD_ListBox_OnDir(HWND hwnd, UINT uAttrs, LPCTSTR lpszFileSpec)
2196{
2197 if (IsWindowUnicode(hwnd))
2198 MSGDUMP_TPRINTF(TEXT("%sLB_DIR(hwnd:%p, uAttrs:%u, lpszFileSpec:%ls)\n"),
2199 MSGDUMP_PREFIX, (void *)hwnd, uAttrs, (LPCWSTR)lpszFileSpec);
2200 else
2201 MSGDUMP_TPRINTF(TEXT("%sLB_DIR(hwnd:%p, uAttrs:%u, lpszFileSpec:%hs)\n"),
2202 MSGDUMP_PREFIX, (void *)hwnd, uAttrs, (LPCSTR)lpszFileSpec);
2203 return 0;
2204}
2205
2206static __inline INT MSGDUMP_API
2208{
2209 MSGDUMP_TPRINTF(TEXT("%sLB_DIR(hwnd:%p)\n"),
2210 MSGDUMP_PREFIX, (void *)hwnd);
2211 return 0;
2212}
2213
2214static __inline INT MSGDUMP_API
2216{
2217 if (IsWindowUnicode(hwnd))
2218 MSGDUMP_TPRINTF(TEXT("%sLB_FINDSTRING(hwnd:%p, indexStart:%d, lpszFind:%ls)\n"),
2219 MSGDUMP_PREFIX, (void *)hwnd, indexStart, (LPCWSTR)lpszFind);
2220 else
2221 MSGDUMP_TPRINTF(TEXT("%sLB_FINDSTRING(hwnd:%p, indexStart:%d, lpszFind:%ls)\n"),
2222 MSGDUMP_PREFIX, (void *)hwnd, indexStart, (LPCSTR)lpszFind);
2223 return 0;
2224}
2225
2226static __inline INT MSGDUMP_API
2228{
2229 MSGDUMP_TPRINTF(TEXT("%sLB_GETSELCOUNT(hwnd:%p)\n"),
2230 MSGDUMP_PREFIX, (void *)hwnd);
2231 return 0;
2232}
2233
2234static __inline INT MSGDUMP_API
2236{
2237 MSGDUMP_TPRINTF(TEXT("%sLB_GETSELITEMS(hwnd:%p, cItems:%u, lpnItems:%p)\n"),
2238 MSGDUMP_PREFIX, (void *)hwnd, cItems, (void *)lpnItems);
2239 return 0;
2240}
2241
2242static __inline BOOL MSGDUMP_API
2244{
2245 MSGDUMP_TPRINTF(TEXT("%sLB_SETTABSTOPS(hwnd:%p, cTabs:%u, lpnTabs:%p)\n"),
2246 MSGDUMP_PREFIX, (void *)hwnd, cTabs, (void *)lpnTabs);
2247 return FALSE;
2248}
2249
2250static __inline INT MSGDUMP_API
2252{
2253 MSGDUMP_TPRINTF(TEXT("%sLB_GETHORIZONTALEXTENT(hwnd:%p)\n"),
2254 MSGDUMP_PREFIX, (void *)hwnd);
2255 return 0;
2256}
2257
2258static __inline void MSGDUMP_API
2260{
2261 MSGDUMP_TPRINTF(TEXT("%sLB_SETHORIZONTALEXTENT(hwnd:%p, cxExtent:%d)\n"),
2262 MSGDUMP_PREFIX, (void *)hwnd, cxExtent);
2263}
2264
2265static __inline void MSGDUMP_API
2267{
2268 MSGDUMP_TPRINTF(TEXT("%sLB_SETCOLUMNWIDTH(hwnd:%p, cxColumn:%d)\n"),
2269 MSGDUMP_PREFIX, (void *)hwnd, cxColumn);
2270}
2271
2272static __inline INT MSGDUMP_API
2274{
2275 if (IsWindowUnicode(hwnd))
2276 MSGDUMP_TPRINTF(TEXT("%sLB_ADDFILE(hwnd:%p, lpszFilename:%ls)\n"),
2277 MSGDUMP_PREFIX, (void *)hwnd, (LPCWSTR)lpszFilename);
2278 else
2279 MSGDUMP_TPRINTF(TEXT("%sLB_ADDFILE(hwnd:%p, lpszFilename:%ls)\n"),
2280 MSGDUMP_PREFIX, (void *)hwnd, (LPCSTR)lpszFilename);
2281 return 0;
2282}
2283
2284static __inline INT MSGDUMP_API
2286{
2287 MSGDUMP_TPRINTF(TEXT("%sLB_SETTOPINDEX(hwnd:%p, index:%d)\n"),
2288 MSGDUMP_PREFIX, (void *)hwnd, index);
2289 return 0;
2290}
2291
2292static __inline INT MSGDUMP_API
2294{
2295 MSGDUMP_TPRINTF(TEXT("%sLB_GETITEMRECT(hwnd:%p, index:%d, lprc:%p)\n"),
2296 MSGDUMP_PREFIX, (void *)hwnd, index, (void *)lprc);
2297 return 0;
2298}
2299
2300static __inline INT_PTR MSGDUMP_API
2302{
2303 MSGDUMP_TPRINTF(TEXT("%sLB_GETITEMDATA(hwnd:%p, index:%d)\n"),
2304 MSGDUMP_PREFIX, (void *)hwnd, index);
2305 return 0;
2306}
2307
2308static __inline INT_PTR MSGDUMP_API
2310{
2311 MSGDUMP_TPRINTF(TEXT("%sLB_SETITEMDATA(hwnd:%p, index:%d, dwData:%p)\n"),
2312 MSGDUMP_PREFIX, (void *)hwnd, index, (void *)dwData);
2313 return 0;
2314}
2315
2316static __inline INT MSGDUMP_API
2318{
2319 MSGDUMP_TPRINTF(TEXT("%sLB_SELITEMRANGE(hwnd:%p, fSelect:%d, wFirst:%u, wLast:%u)\n"),
2320 MSGDUMP_PREFIX, (void *)hwnd, fSelect, wFirst, wLast);
2321 return 0;
2322}
2323
2324static __inline INT MSGDUMP_API
2326{
2327 MSGDUMP_TPRINTF(TEXT("%sLB_SETANCHORINDEX(hwnd:%p, index:%d)\n"),
2328 MSGDUMP_PREFIX, (void *)hwnd, index);
2329 return 0;
2330}
2331
2332static __inline INT MSGDUMP_API
2334{
2335 MSGDUMP_TPRINTF(TEXT("%sLB_GETANCHORINDEX(hwnd:%p)\n"),
2336 MSGDUMP_PREFIX, (void *)hwnd);
2337 return 0;
2338}
2339
2340static __inline INT MSGDUMP_API
2342{
2343 MSGDUMP_TPRINTF(TEXT("%sLB_SETCARETINDEX(hwnd:%p, index:%d, fScroll:%d)\n"),
2344 MSGDUMP_PREFIX, (void *)hwnd, index, fScroll);
2345 return 0;
2346}
2347
2348static __inline INT MSGDUMP_API
2350{
2351 MSGDUMP_TPRINTF(TEXT("%sLB_GETCARETINDEX(hwnd:%p)\n"),
2352 MSGDUMP_PREFIX, (void *)hwnd);
2353 return 0;
2354}
2355
2356static __inline INT MSGDUMP_API
2358{
2359 MSGDUMP_TPRINTF(TEXT("%sLB_SETITEMHEIGHT(hwnd:%p, index:%d, cyItem:%d)\n"),
2360 MSGDUMP_PREFIX, (void *)hwnd, index, cyItem);
2361 return 0;
2362}
2363
2364static __inline INT MSGDUMP_API
2366{
2367 MSGDUMP_TPRINTF(TEXT("%sLB_GETITEMHEIGHT(hwnd:%p, index:%d)\n"),
2368 MSGDUMP_PREFIX, (void *)hwnd, index);
2369 return 0;
2370}
2371
2372static __inline INT MSGDUMP_API
2374{
2375 if (IsWindowUnicode(hwnd))
2376 MSGDUMP_TPRINTF(TEXT("%sLB_FINDSTRINGEXACT(hwnd:%p, indexStart:%d, lpszFind:%ls)\n"),
2377 MSGDUMP_PREFIX, (void *)hwnd, indexStart, (LPCWSTR)lpszFind);
2378 else
2379 MSGDUMP_TPRINTF(TEXT("%sLB_FINDSTRINGEXACT(hwnd:%p, indexStart:%d, lpszFind:%hs)\n"),
2380 MSGDUMP_PREFIX, (void *)hwnd, indexStart, (LPCSTR)lpszFind);
2381 return 0;
2382}
2383
2384static __inline LCID MSGDUMP_API
2386{
2387 MSGDUMP_TPRINTF(TEXT("%sLB_SETLOCALE(hwnd:%p, wLocaleID:0x%08X)\n"),
2388 MSGDUMP_PREFIX, (void *)hwnd, wLocaleID);
2389 return 0;
2390}
2391
2392static __inline LCID MSGDUMP_API
2394{
2395 MSGDUMP_TPRINTF(TEXT("%sLB_GETLOCALE(hwnd:%p)\n"),
2396 MSGDUMP_PREFIX, (void *)hwnd);
2397 return 0;
2398}
2399
2400static __inline INT MSGDUMP_API
2402{
2403 MSGDUMP_TPRINTF(TEXT("%sLB_SETCOUNT(hwnd:%p, cItems:%d)\n"),
2404 MSGDUMP_PREFIX, (void *)hwnd, cItems);
2405 return 0;
2406}
2407
2408static __inline DWORD MSGDUMP_API
2410{
2411 MSGDUMP_TPRINTF(TEXT("%sLB_INITSTORAGE(hwnd:%p, cItems:%d, cb:%lu)\n"),
2412 MSGDUMP_PREFIX, (void *)hwnd, cItems, cb);
2413 return 0;
2414}
2415
2416static __inline DWORD MSGDUMP_API
2418{
2419 MSGDUMP_TPRINTF(TEXT("%sLB_ITEMFROMPOINT(hwnd:%p, xPos:%d, yPos:%d)\n"),
2420 MSGDUMP_PREFIX, (void *)hwnd, xPos, yPos);
2421 return 0;
2422}
2423
2424static __inline DWORD MSGDUMP_API
2426{
2427 MSGDUMP_TPRINTF(TEXT("%sCB_GETEDITSEL(hwnd:%p, lpdwStart:%p, lpdwEnd:%p)\n"),
2428 MSGDUMP_PREFIX, (void *)hwnd, (void *)lpdwStart, (void *)lpdwEnd);
2429 return 0;
2430}
2431
2432static __inline void MSGDUMP_API
2434{
2435 MSGDUMP_TPRINTF(TEXT("%sCB_LIMITTEXT(hwnd:%p, cchLimit:%u)\n"),
2436 MSGDUMP_PREFIX, (void *)hwnd, cchLimit);
2437}
2438
2439static __inline INT MSGDUMP_API
2441{
2442 MSGDUMP_TPRINTF(TEXT("%sCB_SETEDITSEL(hwnd:%p, ichStart:%d, ichEnd:%d)\n"),
2443 MSGDUMP_PREFIX, (void *)hwnd, ichStart, ichEnd);
2444 return 0;
2445}
2446
2447static __inline INT MSGDUMP_API
2449{
2450 if (IsWindowUnicode(hwnd))
2451 MSGDUMP_TPRINTF(TEXT("%sCB_ADDSTRING(hwnd:%p, lpsz:%ls)\n"),
2452 MSGDUMP_PREFIX, (void *)hwnd, (LPCWSTR)lpsz);
2453 else
2454 MSGDUMP_TPRINTF(TEXT("%sCB_ADDSTRING(hwnd:%p, lpsz:%hs)\n"),
2455 MSGDUMP_PREFIX, (void *)hwnd, (LPCSTR)lpsz);
2456 return 0;
2457}
2458
2459static __inline INT MSGDUMP_API
2461{
2462 MSGDUMP_TPRINTF(TEXT("%sCB_DELETESTRING(hwnd:%p, index:%d)\n"),
2463 MSGDUMP_PREFIX, (void *)hwnd, index);
2464 return 0;
2465}
2466
2467static __inline INT MSGDUMP_API
2469{
2470 if (IsWindowUnicode(hwnd))
2471 MSGDUMP_TPRINTF(TEXT("%sCB_DIR(hwnd:%p, uAttrs:%u, lpszFileSpec:%ls)\n"),
2472 MSGDUMP_PREFIX, (void *)hwnd, uAttrs, (LPCWSTR)lpszFileSpec);
2473 else
2474 MSGDUMP_TPRINTF(TEXT("%sCB_DIR(hwnd:%p, uAttrs:%u, lpszFileSpec:%ls)\n"),
2475 MSGDUMP_PREFIX, (void *)hwnd, uAttrs, (LPCSTR)lpszFileSpec);
2476 return 0;
2477}
2478
2479static __inline INT MSGDUMP_API
2481{
2482 MSGDUMP_TPRINTF(TEXT("%sCB_GETCOUNT(hwnd:%p)\n"),
2483 MSGDUMP_PREFIX, (void *)hwnd);
2484 return 0;
2485}
2486
2487static __inline INT MSGDUMP_API
2489{
2490 MSGDUMP_TPRINTF(TEXT("%sCB_GETCURSEL(hwnd:%p)\n"),
2491 MSGDUMP_PREFIX, (void *)hwnd);
2492 return 0;
2493}
2494
2495static __inline INT MSGDUMP_API
2497{
2498 MSGDUMP_TPRINTF(TEXT("%sCB_GETLBTEXT(hwnd:%p, index:%d, lpszBuffer:%p)\n"),
2499 MSGDUMP_PREFIX, (void *)hwnd, index, (void *)lpszBuffer);
2500 return 0;
2501}
2502
2503static __inline INT MSGDUMP_API
2505{
2506 MSGDUMP_TPRINTF(TEXT("%sCB_GETLBTEXTLEN(hwnd:%p, index:%d)\n"),
2507 MSGDUMP_PREFIX, (void *)hwnd, index);
2508 return 0;
2509}
2510
2511static __inline INT MSGDUMP_API
2513{
2514 if (IsWindowUnicode(hwnd))
2515 MSGDUMP_TPRINTF(TEXT("%sCB_INSERTSTRING(hwnd:%p, index:%d, lpsz:%ls)\n"),
2516 MSGDUMP_PREFIX, (void *)hwnd, index, (LPCWSTR)lpsz);
2517 else
2518 MSGDUMP_TPRINTF(TEXT("%sCB_INSERTSTRING(hwnd:%p, index:%d, lpsz:%hs)\n"),
2519 MSGDUMP_PREFIX, (void *)hwnd, index, (LPCSTR)lpsz);
2520 return 0;
2521}
2522
2523static __inline void MSGDUMP_API
2525{
2526 MSGDUMP_TPRINTF(TEXT("%sCB_RESETCONTENT(hwnd:%p)\n"),
2527 MSGDUMP_PREFIX, (void *)hwnd);
2528}
2529
2530static __inline INT MSGDUMP_API
2532{
2533 if (IsWindowUnicode(hwnd))
2534 MSGDUMP_TPRINTF(TEXT("%sCB_FINDSTRING(hwnd:%p, indexStart:%d, lpszFind:%ls)\n"),
2535 MSGDUMP_PREFIX, (void *)hwnd, indexStart, (LPCWSTR)lpszFind);
2536 else
2537 MSGDUMP_TPRINTF(TEXT("%sCB_FINDSTRING(hwnd:%p, indexStart:%d, lpszFind:%hs)\n"),
2538 MSGDUMP_PREFIX, (void *)hwnd, indexStart, (LPCSTR)lpszFind);
2539 return 0;
2540}
2541
2542static __inline INT MSGDUMP_API
2544{
2545 if (IsWindowUnicode(hwnd))
2546 MSGDUMP_TPRINTF(TEXT("%sCB_SELECTSTRING(hwnd:%p, indexStart:%d, lpszSelect:%ls)\n"),
2547 MSGDUMP_PREFIX, (void *)hwnd, indexStart, (LPCWSTR)lpszSelect);
2548 else
2549 MSGDUMP_TPRINTF(TEXT("%sCB_SELECTSTRING(hwnd:%p, indexStart:%d, lpszSelect:%hs)\n"),
2550 MSGDUMP_PREFIX, (void *)hwnd, indexStart, (LPCSTR)lpszSelect);
2551 return 0;
2552}
2553
2554static __inline INT MSGDUMP_API
2556{
2557 MSGDUMP_TPRINTF(TEXT("%sCB_SETCURSEL(hwnd:%p, index:%d)\n"),
2558 MSGDUMP_PREFIX, (void *)hwnd, index);
2559 return 0;
2560}
2561
2562static __inline BOOL MSGDUMP_API
2564{
2565 MSGDUMP_TPRINTF(TEXT("%sCB_SHOWDROPDOWN(hwnd:%p, fShow:%d)\n"),
2566 MSGDUMP_PREFIX, (void *)hwnd, fShow);
2567 return FALSE;
2568}
2569
2570static __inline INT_PTR MSGDUMP_API
2572{
2573 MSGDUMP_TPRINTF(TEXT("%sCB_GETITEMDATA(hwnd:%p, index:%d)\n"),
2574 MSGDUMP_PREFIX, (void *)hwnd, index);
2575 return 0;
2576}
2577
2578static __inline INT_PTR MSGDUMP_API
2580{
2581 MSGDUMP_TPRINTF(TEXT("%sCB_SETITEMDATA(hwnd:%p, index:%d, dwData:%p)\n"),
2582 MSGDUMP_PREFIX, (void *)hwnd, index, (void *)dwData);
2583 return 0;
2584}
2585
2586static __inline void MSGDUMP_API
2588{
2589 MSGDUMP_TPRINTF(TEXT("%sCB_GETDROPPEDCONTROLRECT(hwnd:%p, lprc:%p)\n"),
2590 MSGDUMP_PREFIX, (void *)hwnd, (void *)lprc);
2591}
2592
2593static __inline INT MSGDUMP_API
2595{
2596 MSGDUMP_TPRINTF(TEXT("%sCB_SETITEMHEIGHT(hwnd:%p, index:%d, height:%d)\n"),
2597 MSGDUMP_PREFIX, (void *)hwnd, index, height);
2598 return 0;
2599}
2600
2601static __inline INT MSGDUMP_API
2603{
2604 MSGDUMP_TPRINTF(TEXT("%sCB_SETITEMHEIGHT(hwnd:%p, index:%d)\n"),
2605 MSGDUMP_PREFIX, (void *)hwnd, index);
2606 return 0;
2607}
2608
2609static __inline INT MSGDUMP_API
2611{
2612 MSGDUMP_TPRINTF(TEXT("%sCB_SETEXTENDEDUI(hwnd:%p, fExtended:%d)\n"),
2613 MSGDUMP_PREFIX, (void *)hwnd, fExtended);
2614 return 0;
2615}
2616
2617static __inline BOOL MSGDUMP_API
2619{
2620 MSGDUMP_TPRINTF(TEXT("%sCB_SETEXTENDEDUI(hwnd:%p)\n"),
2621 MSGDUMP_PREFIX, (void *)hwnd);
2622 return FALSE;
2623}
2624
2625static __inline BOOL MSGDUMP_API
2627{
2628 MSGDUMP_TPRINTF(TEXT("%sCB_GETDROPPEDSTATE(hwnd:%p)\n"),
2629 MSGDUMP_PREFIX, (void *)hwnd);
2630 return FALSE;
2631}
2632
2633static __inline INT MSGDUMP_API
2635{
2636 if (IsWindowUnicode(hwnd))
2637 MSGDUMP_TPRINTF(TEXT("%sCB_FINDSTRINGEXACT(hwnd:%p, indexStart:%d, lpszFind:%ls)\n"),
2638 MSGDUMP_PREFIX, (void *)hwnd, indexStart, (LPCWSTR)lpszFind);
2639 else
2640 MSGDUMP_TPRINTF(TEXT("%sCB_FINDSTRINGEXACT(hwnd:%p, indexStart:%d, lpszFind:%hs)\n"),
2641 MSGDUMP_PREFIX, (void *)hwnd, indexStart, (LPCSTR)lpszFind);
2642 return 0;
2643}
2644
2645static __inline LCID MSGDUMP_API
2647{
2648 MSGDUMP_TPRINTF(TEXT("%sCB_SETLOCALE(hwnd:%p, wLocaleID:0x%08lX)\n"),
2649 MSGDUMP_PREFIX, (void *)hwnd, wLocaleID);
2650 return 0;
2651}
2652
2653static __inline LCID MSGDUMP_API
2655{
2656 MSGDUMP_TPRINTF(TEXT("%sCB_GETLOCALE(hwnd:%p, wLocaleID:0x%08lX)\n"),
2657 MSGDUMP_PREFIX, (void *)hwnd);
2658 return 0;
2659}
2660
2661static __inline INT MSGDUMP_API
2663{
2664 MSGDUMP_TPRINTF(TEXT("%sCB_GETTOPINDEX(hwnd:%p)\n"),
2665 MSGDUMP_PREFIX, (void *)hwnd);
2666 return 0;
2667}
2668
2669static __inline INT MSGDUMP_API
2671{
2672 MSGDUMP_TPRINTF(TEXT("%sCB_SETTOPINDEX(hwnd:%p, index:%d)\n"),
2673 MSGDUMP_PREFIX, (void *)hwnd, index);
2674 return 0;
2675}
2676
2677static __inline INT MSGDUMP_API
2679{
2680 MSGDUMP_TPRINTF(TEXT("%sCB_GETHORIZONTALEXTENT(hwnd:%p)\n"),
2681 MSGDUMP_PREFIX, (void *)hwnd);
2682 return 0;
2683}
2684
2685static __inline void MSGDUMP_API
2687{
2688 MSGDUMP_TPRINTF(TEXT("%sCB_SETHORIZONTALEXTENT(hwnd:%p, cxExtent:%d)\n"),
2689 MSGDUMP_PREFIX, (void *)hwnd, cxExtent);
2690}
2691
2692static __inline INT MSGDUMP_API
2694{
2695 MSGDUMP_TPRINTF(TEXT("%sCB_GETDROPPEDWIDTH(hwnd:%p)\n"),
2696 MSGDUMP_PREFIX, (void *)hwnd);
2697 return 0;
2698}
2699
2700static __inline INT MSGDUMP_API
2702{
2703 MSGDUMP_TPRINTF(TEXT("%sCB_SETDROPPEDWIDTH(hwnd:%p, wWidth:%d)\n"),
2704 MSGDUMP_PREFIX, (void *)hwnd, wWidth);
2705 return 0;
2706}
2707
2708static __inline INT MSGDUMP_API
2710{
2711 MSGDUMP_TPRINTF(TEXT("%sCB_INITSTORAGE(hwnd:%p, cItems:%d, cb:%lu)\n"),
2712 MSGDUMP_PREFIX, (void *)hwnd, cItems, cb);
2713 return 0;
2714}
2715
2716static __inline INT MSGDUMP_API
2718{
2719 MSGDUMP_TPRINTF(TEXT("%sSBM_SETPOS(hwnd:%p, nPos:%d, fRedraw:%d)\n"),
2720 MSGDUMP_PREFIX, (void *)hwnd, nPos, fRedraw);
2721 return 0;
2722}
2723
2724static __inline INT MSGDUMP_API
2726{
2727 MSGDUMP_TPRINTF(TEXT("%sSBM_GETPOS(hwnd:%p)\n"),
2728 MSGDUMP_PREFIX, (void *)hwnd);
2729 return 0;
2730}
2731
2732static __inline INT MSGDUMP_API
2734{
2735 MSGDUMP_TPRINTF(TEXT("%sSBM_SETRANGE(hwnd:%p, nMinPos:%d, nMaxPos:%d)\n"),
2736 MSGDUMP_PREFIX, (void *)hwnd, nMinPos, nMaxPos);
2737 return 0;
2738}
2739
2740static __inline INT MSGDUMP_API
2742{
2743 MSGDUMP_TPRINTF(TEXT("%sSBM_SETRANGEREDRAW(hwnd:%p, nMinPos:%d, nMaxPos:%d)\n"),
2744 MSGDUMP_PREFIX, (void *)hwnd, nMinPos, nMaxPos);
2745 return 0;
2746}
2747
2748static __inline void MSGDUMP_API
2750{
2751 MSGDUMP_TPRINTF(TEXT("%sSBM_SETRANGEREDRAW(hwnd:%p, lpnMinPos:%p, lpnMaxPos:%p)\n"),
2752 MSGDUMP_PREFIX, (void *)hwnd, (void *)lpnMinPos, (void *)lpnMaxPos);
2753}
2754
2755static __inline BOOL MSGDUMP_API
2757{
2758 MSGDUMP_TPRINTF(TEXT("%sSBM_ENABLE_ARROWS(hwnd:%p, fuArrowFlags:%u)\n"),
2759 MSGDUMP_PREFIX, (void *)hwnd, fuArrowFlags);
2760 return FALSE;
2761}
2762
2763static __inline INT MSGDUMP_API
2765{
2766 MSGDUMP_TPRINTF(TEXT("%sSBM_SETSCROLLINFO(hwnd:%p, fRedraw:%d, lpsi:%p)\n"),
2767 MSGDUMP_PREFIX, (void *)hwnd, fRedraw, (void *)lpsi);
2768 return 0;
2769}
2770
2771static __inline BOOL MSGDUMP_API
2773{
2774 MSGDUMP_TPRINTF(TEXT("%sSBM_GETSCROLLINFO(hwnd:%p, lpsi:%p)\n"),
2775 MSGDUMP_PREFIX, (void *)hwnd, (void *)lpsi);
2776 return FALSE;
2777}
2778
2779static __inline BOOL MSGDUMP_API
2781{
2782 MSGDUMP_TPRINTF(TEXT("%sSBM_GETSCROLLBARINFO(hwnd:%p, lpsbi:%p)\n"),
2783 MSGDUMP_PREFIX, (void *)hwnd, (void *)lpsbi);
2784 return FALSE;
2785}
2786
2787static __inline COLORREF MSGDUMP_API
2789{
2790 MSGDUMP_TPRINTF(TEXT("%sLVM_GETBKCOLOR(hwnd:%p)\n"),
2791 MSGDUMP_PREFIX, (void *)hwnd);
2792 return 0;
2793}
2794
2795static __inline BOOL MSGDUMP_API
2797{
2798 MSGDUMP_TPRINTF(TEXT("%sLVM_SETBKCOLOR(hwnd:%p, clrBk:0x%08lX)\n"),
2799 MSGDUMP_PREFIX, (void *)hwnd, clrBk);
2800 return FALSE;
2801}
2802
2803static __inline HIMAGELIST MSGDUMP_API
2805{
2806 MSGDUMP_TPRINTF(TEXT("%sLVM_GETIMAGELIST(hwnd:%p, iImageList:%d)\n"),
2807 MSGDUMP_PREFIX, (void *)hwnd, iImageList);
2808 return NULL;
2809}
2810
2811static __inline HIMAGELIST MSGDUMP_API
2813{
2814 MSGDUMP_TPRINTF(TEXT("%sLVM_SETIMAGELIST(hwnd:%p, iImageList:%d, himl:%p)\n"),
2815 MSGDUMP_PREFIX, (void *)hwnd, iImageList, (void *)himl);
2816 return NULL;
2817}
2818
2819static __inline INT MSGDUMP_API
2821{
2822 MSGDUMP_TPRINTF(TEXT("%sLVM_GETITEMCOUNT(hwnd:%p)\n"),
2823 MSGDUMP_PREFIX, (void *)hwnd);
2824 return 0;
2825}
2826
2827static __inline BOOL MSGDUMP_API
2829{
2830 MSGDUMP_TPRINTF(TEXT("%sLVM_GETITEMA(hwnd:%p, pitem:%p)\n"),
2831 MSGDUMP_PREFIX, (void *)hwnd, (void *)pitem);
2832 return FALSE;
2833}
2834
2835static __inline BOOL MSGDUMP_API
2837{
2838 MSGDUMP_TPRINTF(TEXT("%sLVM_SETITEMA(hwnd:%p, pitem:%p)\n"),
2839 MSGDUMP_PREFIX, (void *)hwnd, (void *)pitem);
2840 return FALSE;
2841}
2842
2843static __inline INT MSGDUMP_API
2845{
2846 MSGDUMP_TPRINTF(TEXT("%sLVM_INSERTITEMA(hwnd:%p, pitem:%p)\n"),
2847 MSGDUMP_PREFIX, (void *)hwnd, (void *)pitem);
2848 return 0;
2849}
2850
2851static __inline BOOL MSGDUMP_API
2853{
2854 MSGDUMP_TPRINTF(TEXT("%sLVM_DELETEITEM(hwnd:%p, i:%d)\n"),
2855 MSGDUMP_PREFIX, (void *)hwnd, i);
2856 return FALSE;
2857}
2858
2859static __inline BOOL MSGDUMP_API
2861{
2862 MSGDUMP_TPRINTF(TEXT("%sLVM_DELETEALLITEMS(hwnd:%p)\n"),
2863 MSGDUMP_PREFIX, (void *)hwnd);
2864 return FALSE;
2865}
2866
2867static __inline BOOL MSGDUMP_API
2869{
2870 MSGDUMP_TPRINTF(TEXT("%sLVM_GETCALLBACKMASK(hwnd:%p)\n"),
2871 MSGDUMP_PREFIX, (void *)hwnd);
2872 return FALSE;
2873}
2874
2875static __inline BOOL MSGDUMP_API
2877{
2878 MSGDUMP_TPRINTF(TEXT("%sLVM_SETCALLBACKMASK(hwnd:%p, mask:%u)\n"),
2879 MSGDUMP_PREFIX, (void *)hwnd, mask);
2880 return FALSE;
2881}
2882
2883static __inline INT MSGDUMP_API
2885{
2886 MSGDUMP_TPRINTF(TEXT("%sLVM_GETNEXTITEM(hwnd:%p, i:%d, flags:%u)\n"),
2887 MSGDUMP_PREFIX, (void *)hwnd, i, flags);
2888 return 0;
2889}
2890
2891static __inline INT MSGDUMP_API
2893{
2894 MSGDUMP_TPRINTF(TEXT("%sLVM_FINDITEMA(hwnd:%p, iStart:%d, plvfi:%p)\n"),
2895 MSGDUMP_PREFIX, (void *)hwnd, iStart, (void *)plvfi);
2896 return 0;
2897}
2898
2899static __inline BOOL MSGDUMP_API
2901{
2902 MSGDUMP_TPRINTF(TEXT("%sLVM_GETITEMRECT(hwnd:%p, i:%d, prc:%p)\n"),
2903 MSGDUMP_PREFIX, (void *)hwnd, i, (void *)prc);
2904 return FALSE;
2905}
2906
2907static __inline BOOL MSGDUMP_API
2909{
2910 MSGDUMP_TPRINTF(TEXT("%sLVM_SETITEMPOSITION(hwnd:%p, i:%d, x:%d, y:%d)\n"),
2911 MSGDUMP_PREFIX, (void *)hwnd, i, x, y);
2912 return FALSE;
2913}
2914
2915static __inline BOOL MSGDUMP_API
2917{
2918 MSGDUMP_TPRINTF(TEXT("%sLVM_GETITEMPOSITION(hwnd:%p, i:%d, ppt:%p)\n"),
2919 MSGDUMP_PREFIX, (void *)hwnd, i, (void *)ppt);
2920 return FALSE;
2921}
2922
2923static __inline INT MSGDUMP_API
2925{
2926 MSGDUMP_TPRINTF(TEXT("%sLVM_GETSTRINGWIDTHA(hwnd:%p, psz:%p)\n"),
2927 MSGDUMP_PREFIX, (void *)hwnd, (void *)psz);
2928 return 0;
2929}
2930
2931static __inline INT MSGDUMP_API
2933{
2934 MSGDUMP_TPRINTF(TEXT("%sLVM_HITTEST(hwnd:%p, pinfo:%p)\n"),
2935 MSGDUMP_PREFIX, (void *)hwnd, (void *)pinfo);
2936 return 0;
2937}
2938
2939static __inline BOOL MSGDUMP_API
2941{
2942 MSGDUMP_TPRINTF(TEXT("%sLVM_ENSUREVISIBLE(hwnd:%p, i:%d, fPartialOK:%d)\n"),
2943 MSGDUMP_PREFIX, (void *)hwnd, i, fPartialOK);
2944 return FALSE;
2945}
2946
2947static __inline BOOL MSGDUMP_API
2949{
2950 MSGDUMP_TPRINTF(TEXT("%sLVM_SCROLL(hwnd:%p, dx:%d, dy:%d)\n"),
2951 MSGDUMP_PREFIX, (void *)hwnd, dx, dy);
2952 return FALSE;
2953}
2954
2955static __inline BOOL MSGDUMP_API
2957{
2958 MSGDUMP_TPRINTF(TEXT("%sLVM_REDRAWITEMS(hwnd:%p, iFirst:%d, iLast:%d)\n"),
2959 MSGDUMP_PREFIX, (void *)hwnd, iFirst, iLast);
2960 return FALSE;
2961}
2962
2963static __inline BOOL MSGDUMP_API
2965{
2966 MSGDUMP_TPRINTF(TEXT("%sLVM_ARRANGE(hwnd:%p, code:%u)\n"),
2967 MSGDUMP_PREFIX, (void *)hwnd, code);
2968 return FALSE;
2969}
2970
2971static __inline HWND MSGDUMP_API
2973{
2974 MSGDUMP_TPRINTF(TEXT("%sLVM_EDITLABELA(hwnd:%p, i:%d)\n"),
2975 MSGDUMP_PREFIX, (void *)hwnd, i);
2976 return NULL;
2977}
2978
2979static __inline HWND MSGDUMP_API
2981{
2982 MSGDUMP_TPRINTF(TEXT("%sLVM_GETEDITCONTROL(hwnd:%p)\n"),
2983 MSGDUMP_PREFIX, (void *)hwnd);
2984 return NULL;
2985}
2986
2987static __inline BOOL MSGDUMP_API
2989{
2990 MSGDUMP_TPRINTF(TEXT("%sLVM_GETCOLUMNA(hwnd:%p, iCol:%d, pcol:%p)\n"),
2991 MSGDUMP_PREFIX, (void *)hwnd, iCol, (void *)pcol);
2992 return FALSE;
2993}
2994
2995static __inline BOOL MSGDUMP_API
2997{
2998 MSGDUMP_TPRINTF(TEXT("%sLVM_SETCOLUMNA(hwnd:%p, iCol:%d, pcol:%p)\n"),
2999 MSGDUMP_PREFIX, (void *)hwnd, iCol, (const void *)pcol);
3000 return FALSE;
3001}
3002
3003static __inline INT MSGDUMP_API
3005{
3006 MSGDUMP_TPRINTF(TEXT("%sLVM_INSERTCOLUMNA(hwnd:%p, iCol:%d, pcol:%p)\n"),
3007 MSGDUMP_PREFIX, (void *)hwnd, iCol, (const void *)pcol);
3008 return 0;
3009}
3010
3011static __inline BOOL MSGDUMP_API
3013{
3014 MSGDUMP_TPRINTF(TEXT("%sLVM_DELETECOLUMN(hwnd:%p, iCol:%d)\n"),
3015 MSGDUMP_PREFIX, (void *)hwnd, iCol);
3016 return FALSE;
3017}
3018
3019static __inline INT MSGDUMP_API
3021{
3022 MSGDUMP_TPRINTF(TEXT("%sLVM_GETCOLUMNWIDTH(hwnd:%p, iCol:%d)\n"),
3023 MSGDUMP_PREFIX, (void *)hwnd, iCol);
3024 return 0;
3025}
3026
3027static __inline BOOL MSGDUMP_API
3029{
3030 MSGDUMP_TPRINTF(TEXT("%sLVM_SETCOLUMNWIDTH(hwnd:%p, iCol:%d, cx:%d)\n"),
3031 MSGDUMP_PREFIX, (void *)hwnd, iCol, cx);
3032 return FALSE;
3033}
3034
3035static __inline HWND MSGDUMP_API
3037{
3038 MSGDUMP_TPRINTF(TEXT("%sLVM_GETHEADER(hwnd:%p)\n"),
3039 MSGDUMP_PREFIX, (void *)hwnd);
3040 return NULL;
3041}
3042
3043static __inline HIMAGELIST MSGDUMP_API
3045{
3046 MSGDUMP_TPRINTF(TEXT("%sLVM_CREATEDRAGIMAGE(hwnd:%p, i:%d, lpptUpLeft:%p)\n"),
3047 MSGDUMP_PREFIX, (void *)hwnd, i, (void *)lpptUpLeft);
3048 return NULL;
3049}
3050
3051static __inline BOOL MSGDUMP_API
3053{
3054 MSGDUMP_TPRINTF(TEXT("%sLVM_GETVIEWRECT(hwnd:%p, prc:%p)\n"),
3055 MSGDUMP_PREFIX, (void *)hwnd, (void *)prc);
3056 return FALSE;
3057}
3058
3059static __inline COLORREF MSGDUMP_API
3061{
3062 MSGDUMP_TPRINTF(TEXT("%sLVM_GETTEXTCOLOR(hwnd:%p)\n"),
3063 MSGDUMP_PREFIX, (void *)hwnd);
3064 return 0;
3065}
3066
3067static __inline BOOL MSGDUMP_API
3069{
3070 MSGDUMP_TPRINTF(TEXT("%sLVM_SETTEXTCOLOR(hwnd:%p, clrText:0x%08lX)\n"),
3071 MSGDUMP_PREFIX, (void *)hwnd, clrText);
3072 return FALSE;
3073}
3074
3075static __inline COLORREF MSGDUMP_API
3077{
3078 MSGDUMP_TPRINTF(TEXT("%sLVM_GETTEXTBKCOLOR(hwnd:%p)\n"),
3079 MSGDUMP_PREFIX, (void *)hwnd);
3080 return 0;
3081}
3082
3083static __inline BOOL MSGDUMP_API
3085{
3086 MSGDUMP_TPRINTF(TEXT("%sLVM_SETTEXTBKCOLOR(hwnd:%p, clrTextBk:0x%08lX)\n"),
3087 MSGDUMP_PREFIX, (void *)hwnd, clrTextBk);
3088 return FALSE;
3089}
3090
3091static __inline INT MSGDUMP_API
3093{
3094 MSGDUMP_TPRINTF(TEXT("%sLVM_GETTOPINDEX(hwnd:%p)\n"),
3095 MSGDUMP_PREFIX, (void *)hwnd);
3096 return 0;
3097}
3098
3099static __inline INT MSGDUMP_API
3101{
3102 MSGDUMP_TPRINTF(TEXT("%sLVM_GETCOUNTPERPAGE(hwnd:%p)\n"),
3103 MSGDUMP_PREFIX, (void *)hwnd);
3104 return 0;
3105}
3106
3107static __inline BOOL MSGDUMP_API
3109{
3110 MSGDUMP_TPRINTF(TEXT("%sLVM_GETORIGIN(hwnd:%p, ppt:%p)\n"),
3111 MSGDUMP_PREFIX, (void *)hwnd, (void *)ppt);
3112 return FALSE;
3113}
3114
3115static __inline BOOL MSGDUMP_API
3117{
3118 MSGDUMP_TPRINTF(TEXT("%sLVM_UPDATE(hwnd:%p, i:%d)\n"),
3119 MSGDUMP_PREFIX, (void *)hwnd, i);
3120 return FALSE;
3121}
3122
3123static __inline BOOL MSGDUMP_API
3125{
3126 MSGDUMP_TPRINTF(TEXT("%sLVM_SETITEMSTATE(hwnd:%p, i:%d, lvi:%p)\n"),
3127 MSGDUMP_PREFIX, (void *)hwnd, i, (void *)lvi);
3128 return FALSE;
3129}
3130
3131static __inline UINT MSGDUMP_API
3133{
3134 MSGDUMP_TPRINTF(TEXT("%sLVM_GETITEMSTATE(hwnd:%p, i:%d, mask:%u)\n"),
3135 MSGDUMP_PREFIX, (void *)hwnd, i, mask);
3136 return 0;
3137}
3138
3139static __inline INT MSGDUMP_API
3141{
3142 MSGDUMP_TPRINTF(TEXT("%sLVM_GETITEMTEXTA(hwnd:%p, i:%d, lvi:%p)\n"),
3143 MSGDUMP_PREFIX, (void *)hwnd, i, (void *)lvi);
3144 return 0;
3145}
3146
3147static __inline BOOL MSGDUMP_API
3149{
3150 MSGDUMP_TPRINTF(TEXT("%sLVM_SETITEMTEXTA(hwnd:%p, i:%d, lvi:%p)\n"),
3151 MSGDUMP_PREFIX, (void *)hwnd, i, (const void *)lvi);
3152 return FALSE;
3153}
3154
3155static __inline void MSGDUMP_API
3157{
3158 MSGDUMP_TPRINTF(TEXT("%sLVM_SETITEMCOUNT(hwnd:%p, cItems:%d)\n"),
3159 MSGDUMP_PREFIX, (void *)hwnd, cItems);
3160}
3161
3162static __inline BOOL MSGDUMP_API
3164{
3165 MSGDUMP_TPRINTF(TEXT("%sLVM_SORTITEMS(hwnd:%p, lPrm:%p, pfnCompare:%p)\n"),
3166 MSGDUMP_PREFIX, (void *)hwnd, (void *)lPrm, *(void **)&pfnCompare);
3167 return FALSE;
3168}
3169
3170static __inline void MSGDUMP_API
3172{
3173 MSGDUMP_TPRINTF(TEXT("%sLVM_SETITEMPOSITION32(hwnd:%p, i:%d, ppt:%p)\n"),
3174 MSGDUMP_PREFIX, (void *)hwnd, i, (void *)ppt);
3175}
3176
3177static __inline UINT MSGDUMP_API
3179{
3180 MSGDUMP_TPRINTF(TEXT("%sLVM_GETSELECTEDCOUNT(hwnd:%p)\n"),
3181 MSGDUMP_PREFIX, (void *)hwnd);
3182 return 0;
3183}
3184
3185static __inline DWORD MSGDUMP_API
3187{
3188 MSGDUMP_TPRINTF(TEXT("%sLVM_GETITEMSPACING(hwnd:%p, fSmall:%d)\n"),
3189 MSGDUMP_PREFIX, (void *)hwnd, fSmall);
3190 return 0;
3191}
3192
3193static __inline BOOL MSGDUMP_API
3195{
3196 MSGDUMP_TPRINTF(TEXT("%sLVM_GETISEARCHSTRINGA(hwnd:%p, lpsz:%p)\n"),
3197 MSGDUMP_PREFIX, (void *)hwnd, (void *)lpsz);
3198 return FALSE;
3199}
3200
3201static __inline DWORD MSGDUMP_API
3203{
3204 MSGDUMP_TPRINTF(TEXT("%sLVM_SETICONSPACING(hwnd:%p, cx:%d, cy:%d)\n"),
3205 MSGDUMP_PREFIX, (void *)hwnd, cx, cy);
3206 return 0;
3207}
3208
3209static __inline DWORD MSGDUMP_API
3211{
3212 MSGDUMP_TPRINTF(TEXT("%sLVM_SETEXTENDEDLISTVIEWSTYLE(hwnd:%p, dwMask:0x%08lX, dw:0x%08lX)\n"),
3213 MSGDUMP_PREFIX, (void *)hwnd, dwMask, dw);
3214 return 0;
3215}
3216
3217static __inline DWORD MSGDUMP_API
3219{
3220 MSGDUMP_TPRINTF(TEXT("%sLVM_GETEXTENDEDLISTVIEWSTYLE(hwnd:%p)\n"),
3221 MSGDUMP_PREFIX, (void *)hwnd);
3222 return 0;
3223}
3224
3225static __inline BOOL MSGDUMP_API
3227{
3228 MSGDUMP_TPRINTF(TEXT("%sLVM_GETSUBITEMRECT(hwnd:%p, iItem:%d, prc:%p)\n"),
3229 MSGDUMP_PREFIX, (void *)hwnd, iItem, (void *)prc);
3230 return FALSE;
3231}
3232
3233static __inline INT MSGDUMP_API
3235{
3236 MSGDUMP_TPRINTF(TEXT("%sLVM_SUBITEMHITTEST(hwnd:%p, wParam:%p, plvhti:%p)\n"),
3237 MSGDUMP_PREFIX, (void *)hwnd, (void *)wParam, (void *)plvhti);
3238 return 0;
3239}
3240
3241static __inline BOOL MSGDUMP_API
3243{
3244 MSGDUMP_TPRINTF(TEXT("%sLVM_SETCOLUMNORDERARRAY(hwnd:%p, iCount:%d, pi:%p)\n"),
3245 MSGDUMP_PREFIX, (void *)hwnd, iCount, (void *)pi);
3246 return FALSE;
3247}
3248
3249static __inline BOOL MSGDUMP_API
3251{
3252 MSGDUMP_TPRINTF(TEXT("%sLVM_GETCOLUMNORDERARRAY(hwnd:%p, iCount:%d, pi:%p)\n"),
3253 MSGDUMP_PREFIX, (void *)hwnd, iCount, (void *)pi);
3254 return FALSE;
3255}
3256
3257static __inline INT MSGDUMP_API
3259{
3260 MSGDUMP_TPRINTF(TEXT("%sLVM_SETHOTITEM(hwnd:%p, i:%d)\n"),
3261 MSGDUMP_PREFIX, (void *)hwnd, i);
3262 return 0;
3263}
3264
3265static __inline INT MSGDUMP_API
3267{
3268 MSGDUMP_TPRINTF(TEXT("%sLVM_GETHOTITEM(hwnd:%p)\n"),
3269 MSGDUMP_PREFIX, (void *)hwnd);
3270 return 0;
3271}
3272
3273static __inline HCURSOR MSGDUMP_API
3275{
3276 MSGDUMP_TPRINTF(TEXT("%sLVM_SETHOTCURSOR(hwnd:%p, hcur:%p)\n"),
3277 MSGDUMP_PREFIX, (void *)hwnd, (void *)hcur);
3278 return NULL;
3279}
3280
3281static __inline HCURSOR MSGDUMP_API
3283{
3284 MSGDUMP_TPRINTF(TEXT("%sLVM_GETHOTCURSOR(hwnd:%p)\n"),
3285 MSGDUMP_PREFIX, (void *)hwnd);
3286 return NULL;
3287}
3288
3289static __inline DWORD MSGDUMP_API
3291{
3292 MSGDUMP_TPRINTF(TEXT("%sLVM_APPROXIMATEVIEWRECT(hwnd:%p, iWidth:%d, iHeight:%d, iCount:%d)\n"),
3293 MSGDUMP_PREFIX, (void *)hwnd, iWidth, iHeight, iCount);
3294 return 0;
3295}
3296
3297static __inline BOOL MSGDUMP_API
3299{
3300 MSGDUMP_TPRINTF(TEXT("%sLVM_SETWORKAREAS(hwnd:%p, nWorkAreas:%d, prc:%p)\n"),
3301 MSGDUMP_PREFIX, (void *)hwnd, nWorkAreas, (void *)prc);
3302 return FALSE;
3303}
3304
3305static __inline INT MSGDUMP_API
3307{
3308 MSGDUMP_TPRINTF(TEXT("%sLVM_GETSELECTIONMARK(hwnd:%p)\n"),
3309 MSGDUMP_PREFIX, (void *)hwnd);
3310 return 0;
3311}
3312
3313static __inline INT MSGDUMP_API
3315{
3316 MSGDUMP_TPRINTF(TEXT("%sLVM_SETSELECTIONMARK(hwnd:%p, i:%d)\n"),
3317 MSGDUMP_PREFIX, (void *)hwnd, i);
3318 return 0;
3319}
3320
3321static __inline BOOL MSGDUMP_API
3323{
3324 MSGDUMP_TPRINTF(TEXT("%sLVM_SETBKIMAGEA(hwnd:%p, plvbki:%p)\n"),
3325 MSGDUMP_PREFIX, (void *)hwnd, (const void *)plvbki);
3326 return FALSE;
3327}
3328
3329static __inline BOOL MSGDUMP_API
3331{
3332 MSGDUMP_TPRINTF(TEXT("%sLVM_GETBKIMAGEA(hwnd:%p, plvbki:%p)\n"),
3333 MSGDUMP_PREFIX, (void *)hwnd, (void *)plvbki);
3334 return FALSE;
3335}
3336
3337static __inline BOOL MSGDUMP_API
3339{
3340 MSGDUMP_TPRINTF(TEXT("%sLVM_GETWORKAREAS(hwnd:%p, nWorkAreas:%d, prc:%p)\n"),
3341 MSGDUMP_PREFIX, (void *)hwnd, nWorkAreas, (void *)prc);
3342 return FALSE;
3343}
3344
3345static __inline DWORD MSGDUMP_API
3347{
3348 MSGDUMP_TPRINTF(TEXT("%sLVM_SETHOVERTIME(hwnd:%p, dwHoverTimeMs:0x%08lX)\n"),
3349 MSGDUMP_PREFIX, (void *)hwnd, dwHoverTimeMs);
3350 return 0;
3351}
3352
3353static __inline DWORD MSGDUMP_API
3355{
3356 MSGDUMP_TPRINTF(TEXT("%sLVM_GETHOVERTIME(hwnd:%p)\n"),
3357 MSGDUMP_PREFIX, (void *)hwnd);
3358 return 0;
3359}
3360
3361static __inline BOOL MSGDUMP_API
3363{
3364 MSGDUMP_TPRINTF(TEXT("%sLVM_GETNUMBEROFWORKAREAS(hwnd:%p, pnWorkAreas:%p)\n"),
3365 MSGDUMP_PREFIX, (void *)hwnd, (void *)pnWorkAreas);
3366 return FALSE;
3367}
3368
3369static __inline HWND MSGDUMP_API
3371{
3372 MSGDUMP_TPRINTF(TEXT("%sLVM_SETTOOLTIPS(hwnd:%p, hwndNewHwnd:%p)\n"),
3373 MSGDUMP_PREFIX, (void *)hwnd, (void *)hwndNewHwnd);
3374 return NULL;
3375}
3376
3377static __inline BOOL MSGDUMP_API
3379{
3380 MSGDUMP_TPRINTF(TEXT("%sLVM_GETITEMW(hwnd:%p, pitem:%p)\n"),
3381 MSGDUMP_PREFIX, (void *)hwnd, (void *)pitem);
3382 return FALSE;
3383}
3384
3385static __inline BOOL MSGDUMP_API
3387{
3388 MSGDUMP_TPRINTF(TEXT("%sLVM_SETITEMW(hwnd:%p, pitem:%p)\n"),
3389 MSGDUMP_PREFIX, (void *)hwnd, (const void *)pitem);
3390 return FALSE;
3391}
3392
3393static __inline INT MSGDUMP_API
3395{
3396 MSGDUMP_TPRINTF(TEXT("%sLVM_INSERTITEMW(hwnd:%p, pitem:%p)\n"),
3397 MSGDUMP_PREFIX, (void *)hwnd, (const void *)pitem);
3398 return 0;
3399}
3400
3401static __inline HWND MSGDUMP_API
3403{
3404 MSGDUMP_TPRINTF(TEXT("%sLVM_GETTOOLTIPS(hwnd:%p)\n"),
3405 MSGDUMP_PREFIX, (void *)hwnd);
3406 return NULL;
3407}
3408
3409static __inline BOOL MSGDUMP_API
3411{
3412 MSGDUMP_TPRINTF(TEXT("%sLVM_SORTITEMSEX(hwnd:%p, pfnCompare:%p, lPrm:%p)\n"),
3413 MSGDUMP_PREFIX, (void *)hwnd, *(void **)&pfnCompare, (void *)lPrm);
3414 return FALSE;
3415}
3416
3417static __inline INT MSGDUMP_API
3419{
3420 MSGDUMP_TPRINTF(TEXT("%sLVM_FINDITEMW(hwnd:%p, iStart:%d, plvfi:%p)\n"),
3421 MSGDUMP_PREFIX, (void *)hwnd, iStart, (void *)plvfi);
3422 return 0;
3423}
3424
3425static __inline INT MSGDUMP_API
3427{
3428 MSGDUMP_TPRINTF(TEXT("%sLVM_GETSTRINGWIDTHW(hwnd:%p, psz:%ls)\n"),
3429 MSGDUMP_PREFIX, (void *)hwnd, psz);
3430 return 0;
3431}
3432
3433#if NTDDI_VERSION >= 0x06000000
3434 static __inline UINT MSGDUMP_API
3435 MD_ListView_OnGetGroupState(HWND hwnd, DWORD dwGroupId, DWORD dwMask)
3436 {
3437 MSGDUMP_TPRINTF(TEXT("%sLVM_GETGROUPSTATE(hwnd:%p, dwGroupId:0x%08lX, dwMask:0x%08lX)\n"),
3438 MSGDUMP_PREFIX, (void *)hwnd, dwGroupId, dwMask);
3439 return 0;
3440 }
3441
3442 static __inline INT MSGDUMP_API
3443 MD_ListView_OnGetFocusedGroup(HWND hwnd)
3444 {
3445 MSGDUMP_TPRINTF(TEXT("%sLVM_GETFOCUSEDGROUP(hwnd:%p)\n"),
3446 MSGDUMP_PREFIX, (void *)hwnd);
3447 return 0;
3448 }
3449#endif
3450
3451static __inline INT MSGDUMP_API
3453{
3454 MSGDUMP_TPRINTF(TEXT("%sLVM_GETCOLUMNW(hwnd:%p, iCol:%d)\n"),
3455 MSGDUMP_PREFIX, (void *)hwnd, iCol);
3456 return 0;
3457}
3458
3459static __inline BOOL MSGDUMP_API
3461{
3462 MSGDUMP_TPRINTF(TEXT("%sLVM_SETCOLUMNW(hwnd:%p, iCol:%d, cx:%d)\n"),
3463 MSGDUMP_PREFIX, (void *)hwnd, iCol, cx);
3464 return 0;
3465}
3466
3467static __inline INT MSGDUMP_API
3469{
3470 MSGDUMP_TPRINTF(TEXT("%sLVM_INSERTCOLUMNW(hwnd:%p, iCol:%d, pcol:%p)\n"),
3471 MSGDUMP_PREFIX, (void *)hwnd, iCol, (const void *)pcol);
3472 return 0;
3473}
3474
3475#if NTDDI_VERSION >= 0x06000000
3476 static __inline BOOL MSGDUMP_API
3477 MD_ListView_OnGetGroupRect(HWND hwnd, INT iGroupId, RECT *prc)
3478 {
3479 MSGDUMP_TPRINTF(TEXT("%sLVM_GETGROUPRECT(hwnd:%p, iGroupId:%d, prc:%p)\n"),
3480 MSGDUMP_PREFIX, (void *)hwnd, iGroupId, (void *)prc);
3481 return FALSE;
3482 }
3483#endif
3484
3485static __inline INT MSGDUMP_API
3487{
3488 MSGDUMP_TPRINTF(TEXT("%sLVM_GETITEMTEXTW(hwnd:%p, i:%d, pitem:%p)\n"),
3489 MSGDUMP_PREFIX, (void *)hwnd, i, (void *)pitem);
3490 return 0;
3491}
3492
3493static __inline INT MSGDUMP_API
3495{
3496 MSGDUMP_TPRINTF(TEXT("%sLVM_SETITEMTEXTW(hwnd:%p, i:%d, pitem:%p)\n"),
3497 MSGDUMP_PREFIX, (void *)hwnd, i, (const void *)pitem);
3498 return 0;
3499}
3500
3501static __inline BOOL MSGDUMP_API
3503{
3504 MSGDUMP_TPRINTF(TEXT("%sLVM_GETISEARCHSTRINGW(hwnd:%p, lpsz:%p)\n"),
3505 MSGDUMP_PREFIX, (void *)hwnd, (void *)lpsz);
3506 return FALSE;
3507}
3508
3509static __inline HWND MSGDUMP_API
3511{
3512 MSGDUMP_TPRINTF(TEXT("%sLVM_EDITLABELW(hwnd:%p, i:%d)\n"),
3513 MSGDUMP_PREFIX, (void *)hwnd, i);
3514 return NULL;
3515}
3516
3517static __inline BOOL MSGDUMP_API
3519{
3520 MSGDUMP_TPRINTF(TEXT("%sLVM_SETBKIMAGEW(hwnd:%p, plvbki:%p)\n"),
3521 MSGDUMP_PREFIX, (void *)hwnd, (const void *)plvbki);
3522 return FALSE;
3523}
3524
3525static __inline BOOL MSGDUMP_API
3527{
3528 MSGDUMP_TPRINTF(TEXT("%sLVM_GETBKIMAGEW(hwnd:%p, plvbki:%p)\n"),
3529 MSGDUMP_PREFIX, (void *)hwnd, (void *)plvbki);
3530 return FALSE;
3531}
3532
3533static __inline void MSGDUMP_API
3535{
3536 MSGDUMP_TPRINTF(TEXT("%sLVM_SETSELECTEDCOLUMN(hwnd:%p, iCol:%d)\n"),
3537 MSGDUMP_PREFIX, (void *)hwnd, iCol);
3538}
3539
3540#ifndef LVM_SETTILEWIDTH
3541 #define LVM_SETTILEWIDTH (LVM_FIRST+141)
3542#endif
3543
3544static __inline LRESULT MSGDUMP_API
3546{
3547 MSGDUMP_TPRINTF(TEXT("%sLVM_SETTILEWIDTH(hwnd:%p, wParam:%p, lParam:%p)\n"),
3548 MSGDUMP_PREFIX, (void *)hwnd, (void *)wParam, (void *)lParam);
3549 return 0;
3550}
3551
3552static __inline DWORD MSGDUMP_API
3554{
3555 MSGDUMP_TPRINTF(TEXT("%sLVM_SETVIEW(hwnd:%p, iView:0x%08lX)\n"),
3556 MSGDUMP_PREFIX, (void *)hwnd, iView);
3557 return 0;
3558}
3559
3560static __inline DWORD MSGDUMP_API
3562{
3563 MSGDUMP_TPRINTF(TEXT("%sLVM_GETVIEW(hwnd:%p)\n"),
3564 MSGDUMP_PREFIX, (void *)hwnd);
3565 return 0;
3566}
3567
3568#if NTDDI_VERSION >= 0x06000000
3569 static __inline INT MSGDUMP_API
3570 MD_ListView_OnInsertGroup(HWND hwnd, INT iGroupId, const LVGROUP *pGroup)
3571 {
3572 MSGDUMP_TPRINTF(TEXT("%sLVM_INSERTGROUP(hwnd:%p, iGroupId:%d, pGroup:%p)\n"),
3573 MSGDUMP_PREFIX, (void *)hwnd, iGroupId, (const void *)pGroup);
3574 return 0;
3575 }
3576
3577 static __inline INT MSGDUMP_API
3578 MD_ListView_OnSetGroupInfo(HWND hwnd, INT iGroupId, const LVGROUP *pGroup)
3579 {
3580 MSGDUMP_TPRINTF(TEXT("%sLVM_SETGROUPINFO(hwnd:%p, iGroupId:%d, pGroup:%p)\n"),
3581 MSGDUMP_PREFIX, (void *)hwnd, iGroupId, (const void *)pGroup);
3582 return 0;
3583 }
3584
3585 static __inline INT MSGDUMP_API
3586 MD_ListView_OnGetGroupInfo(HWND hwnd, INT iGroupId, LVGROUP *pGroup)
3587 {
3588 MSGDUMP_TPRINTF(TEXT("%sLVM_GETGROUPINFO(hwnd:%p, iGroupId:%d, pGroup:%p)\n"),
3589 MSGDUMP_PREFIX, (void *)hwnd, iGroupId, (void *)pGroup);
3590 return 0;
3591 }
3592
3593 static __inline INT MSGDUMP_API
3594 MD_ListView_OnRemoveGroup(HWND hwnd, INT iGroupId)
3595 {
3596 MSGDUMP_TPRINTF(TEXT("%sLVM_REMOVEGROUP(hwnd:%p, iGroupId:%d)\n"),
3597 MSGDUMP_PREFIX, (void *)hwnd, iGroupId);
3598 return 0;
3599 }
3600
3601 static __inline LRESULT MSGDUMP_API
3602 MD_ListView_OnMoveGroup(HWND hwnd, WPARAM wParam, LPARAM lParam)
3603 {
3604 MSGDUMP_TPRINTF(TEXT("%sLVM_MOVEGROUP(hwnd:%p, wParam:%p, lParam:%p)\n"),
3605 MSGDUMP_PREFIX, (void *)hwnd, wParam, lParam);
3606 return 0;
3607 }
3608
3609 static __inline INT MSGDUMP_API
3610 MD_ListView_OnGetGroupCount(HWND hwnd)
3611 {
3612 MSGDUMP_TPRINTF(TEXT("%sLVM_GETGROUPCOUNT(hwnd:%p)\n"),
3613 MSGDUMP_PREFIX, (void *)hwnd);
3614 return 0;
3615 }
3616
3617 static __inline BOOL MSGDUMP_API
3618 MD_ListView_OnGetGroupInfoByIndex(HWND hwnd, INT iIndex, LVGROUP *pgrp)
3619 {
3620 MSGDUMP_TPRINTF(TEXT("%sLVM_GETGROUPINFOBYINDEX(hwnd:%p, iIndex:%d, pgrp:%p)\n"),
3621 MSGDUMP_PREFIX, (void *)hwnd, iIndex, (void *)pgrp);
3622 return FALSE;
3623 }
3624
3625 static __inline LRESULT MSGDUMP_API
3626 MD_ListView_OnMoveItemToGroup(HWND hwnd, WPARAM wParam, LPARAM lParam)
3627 {
3628 MSGDUMP_TPRINTF(TEXT("%sLVM_MOVEITEMTOGROUP(hwnd:%p, wParam:%p, lParam:%p)\n"),
3629 MSGDUMP_PREFIX, (void *)hwnd, (void *)wParam, (void *)lParam);
3630 return 0;
3631 }
3632
3633 static __inline void MSGDUMP_API
3634 MD_ListView_OnSetGroupMetrics(HWND hwnd, const LVGROUPMETRICS *pGroupMetrics)
3635 {
3636 MSGDUMP_TPRINTF(TEXT("%sLVM_SETGROUPMETRICS(hwnd:%p, pGroupMetrics:%p)\n"),
3637 MSGDUMP_PREFIX, (void *)hwnd, (const void *)pGroupMetrics);
3638 }
3639
3640 static __inline void MSGDUMP_API
3641 MD_ListView_OnGetGroupMetrics(HWND hwnd, LVGROUPMETRICS *pGroupMetrics)
3642 {
3643 MSGDUMP_TPRINTF(TEXT("%sLVM_GETGROUPMETRICS(hwnd:%p, pGroupMetrics:%p)\n"),
3644 MSGDUMP_PREFIX, (void *)hwnd, (void *)pGroupMetrics);
3645 }
3646
3647 static __inline INT MSGDUMP_API
3648 MD_ListView_OnEnableGroupView(HWND hwnd, BOOL fEnable)
3649 {
3650 MSGDUMP_TPRINTF(TEXT("%sLVM_ENABLEGROUPVIEW(hwnd:%p, fEnable:%d)\n"),
3651 MSGDUMP_PREFIX, (void *)hwnd, fEnable);
3652 return 0;
3653 }
3654
3655 static __inline BOOL MSGDUMP_API
3656 MD_ListView_OnSortGroups(HWND hwnd, PFNLVGROUPCOMPARE pfnGroupCompate, void *plv)
3657 {
3658 MSGDUMP_TPRINTF(TEXT("%sLVM_SORTGROUPS(hwnd:%p, pfnGroupCompate:%p, plv:%p)\n"),
3659 MSGDUMP_PREFIX, (void *)hwnd, *(void **)&pfnGroupCompate, plv);
3660 return FALSE;
3661 }
3662
3663 static __inline void MSGDUMP_API
3664 MD_ListView_OnInsertGroupSorted(HWND hwnd, const LVINSERTGROUPSORTED *structInsert)
3665 {
3666 MSGDUMP_TPRINTF(TEXT("%sLVM_INSERTGROUPSORTED(hwnd:%p, structInsert:%p)\n"),
3667 MSGDUMP_PREFIX, (void *)hwnd, (void *)structInsert);
3668 }
3669
3670 static __inline void MSGDUMP_API
3671 MD_ListView_OnRemoveAllGroups(HWND hwnd)
3672 {
3673 MSGDUMP_TPRINTF(TEXT("%sLVM_REMOVEALLGROUPS(hwnd:%p)\n"),
3674 MSGDUMP_PREFIX, (void *)hwnd);
3675 }
3676
3677 static __inline BOOL MSGDUMP_API
3678 MD_ListView_OnHasGroup(HWND hwnd, DWORD dwGroupId)
3679 {
3680 MSGDUMP_TPRINTF(TEXT("%sLVM_HASGROUP(hwnd:%p, dwGroupId:0x%08lX)\n"),
3681 MSGDUMP_PREFIX, (void *)hwnd, dwGroupId);
3682 return FALSE;
3683 }
3684#endif
3685
3686static __inline BOOL MSGDUMP_API
3688{
3689 MSGDUMP_TPRINTF(TEXT("%sLVM_SETTILEVIEWINFO(hwnd:%p, ptvi:%p)\n"),
3690 MSGDUMP_PREFIX, (void *)hwnd, (const void *)ptvi);
3691 return FALSE;
3692}
3693
3694static __inline void MSGDUMP_API
3696{
3697 MSGDUMP_TPRINTF(TEXT("%sLVM_GETTILEVIEWINFO(hwnd:%p, ptvi:%p)\n"),
3698 MSGDUMP_PREFIX, (void *)hwnd, (void *)ptvi);
3699}
3700
3701static __inline BOOL MSGDUMP_API
3703{
3704 MSGDUMP_TPRINTF(TEXT("%sLVM_SETTILEINFO(hwnd:%p, pti:%p)\n"),
3705 MSGDUMP_PREFIX, (void *)hwnd, (const void *)pti);
3706 return FALSE;
3707}
3708
3709static __inline void MSGDUMP_API
3711{
3712 MSGDUMP_TPRINTF(TEXT("%sLVM_GETTILEINFO(hwnd:%p, pti:%p)\n"),
3713 MSGDUMP_PREFIX, (void *)hwnd, (void *)pti);
3714}
3715
3716static __inline BOOL MSGDUMP_API
3718{
3719 MSGDUMP_TPRINTF(TEXT("%sLVM_SETINSERTMARK(hwnd:%p, lvim:%p)\n"),
3720 MSGDUMP_PREFIX, (void *)hwnd, (const void *)lvim);
3721 return FALSE;
3722}
3723
3724static __inline BOOL MSGDUMP_API
3726{
3727 MSGDUMP_TPRINTF(TEXT("%sLVM_GETINSERTMARK(hwnd:%p, lvim:%p)\n"),
3728 MSGDUMP_PREFIX, (void *)hwnd, (void *)lvim);
3729 return FALSE;
3730}
3731
3732static __inline INT MSGDUMP_API
3734{
3735 MSGDUMP_TPRINTF(TEXT("%sLVM_INSERTMARKHITTEST(hwnd:%p, point:%p, lvim:%p)\n"),
3736 MSGDUMP_PREFIX, (void *)hwnd, (void *)point, (void *)lvim);
3737 return 0;
3738}
3739
3740static __inline INT MSGDUMP_API
3742{
3743 MSGDUMP_TPRINTF(TEXT("%sLVM_GETINSERTMARKRECT(hwnd:%p, rc:%p)\n"),
3744 MSGDUMP_PREFIX, (void *)hwnd, (void *)rc);
3745 return 0;
3746}
3747
3748static __inline COLORREF MSGDUMP_API
3750{
3751 MSGDUMP_TPRINTF(TEXT("%sLVM_SETINSERTMARKCOLOR(hwnd:%p, color:0x%08lX)\n"),
3752 MSGDUMP_PREFIX, (void *)hwnd, color);
3753 return 0;
3754}
3755
3756static __inline COLORREF MSGDUMP_API
3758{
3759 MSGDUMP_TPRINTF(TEXT("%sLVM_GETINSERTMARKCOLOR(hwnd:%p)\n"),
3760 MSGDUMP_PREFIX, (void *)hwnd);
3761 return 0;
3762}
3763
3764static __inline BOOL MSGDUMP_API
3766{
3767 MSGDUMP_TPRINTF(TEXT("%sLVM_SETINFOTIP(hwnd:%p, plvInfoTip:%p)\n"),
3768 MSGDUMP_PREFIX, (void *)hwnd, (const void *)plvInfoTip);
3769 return FALSE;
3770}
3771
3772static __inline UINT MSGDUMP_API
3774{
3775 MSGDUMP_TPRINTF(TEXT("%sLVM_GETSELECTEDCOLUMN(hwnd:%p)\n"),
3776 MSGDUMP_PREFIX, (void *)hwnd);
3777 return 0;
3778}
3779
3780static __inline BOOL MSGDUMP_API
3782{
3783 MSGDUMP_TPRINTF(TEXT("%sLVM_ISGROUPVIEWENABLED(hwnd:%p)\n"),
3784 MSGDUMP_PREFIX, (void *)hwnd);
3785 return FALSE;
3786}
3787
3788static __inline COLORREF MSGDUMP_API
3790{
3791 MSGDUMP_TPRINTF(TEXT("%sLVM_GETOUTLINECOLOR(hwnd:%p)\n"),
3792 MSGDUMP_PREFIX, (void *)hwnd);
3793 return 0;
3794}
3795
3796static __inline COLORREF MSGDUMP_API
3798{
3799 MSGDUMP_TPRINTF(TEXT("%sLVM_SETOUTLINECOLOR(hwnd:%p, color:0x%08lX)\n"),
3800 MSGDUMP_PREFIX, (void *)hwnd, color);
3801 return 0;
3802}
3803
3804static __inline void MSGDUMP_API
3806{
3807 MSGDUMP_TPRINTF(TEXT("%sLVM_CANCELEDITLABEL(hwnd:%p)\n"),
3808 MSGDUMP_PREFIX, (void *)hwnd);
3809}
3810
3811static __inline UINT MSGDUMP_API
3813{
3814 MSGDUMP_TPRINTF(TEXT("%sLVM_MAPINDEXTOID(hwnd:%p, index:%u)\n"),
3815 MSGDUMP_PREFIX, (void *)hwnd, index);
3816 return 0;
3817}
3818
3819static __inline UINT MSGDUMP_API
3821{
3822 MSGDUMP_TPRINTF(TEXT("%sLVM_MAPIDTOINDEX(hwnd:%p, id:%u)\n"),
3823 MSGDUMP_PREFIX, (void *)hwnd, id);
3824 return 0;
3825}
3826
3827static __inline BOOL MSGDUMP_API
3829{
3830 MSGDUMP_TPRINTF(TEXT("%sLVM_ISITEMVISIBLE(hwnd:%p, index:%u)\n"),
3831 MSGDUMP_PREFIX, (void *)hwnd, index);
3832 return FALSE;
3833}
3834
3835#if NTDDI_VERSION >= 0x06000000
3836 static __inline void MSGDUMP_API
3837 MD_ListView_OnGetEmptyText(HWND hwnd, PWSTR pszText, UINT cchText)
3838 {
3839 MSGDUMP_TPRINTF(TEXT("%sLVM_GETEMPTYTEXT(hwnd:%p, pszText:%p, cchText:%u)\n"),
3840 MSGDUMP_PREFIX, (void *)hwnd, (void *)pszText, cchText);
3841 }
3842
3843 static __inline BOOL MSGDUMP_API
3844 MD_ListView_OnGetFooterRect(HWND hwnd, RECT *prc)
3845 {
3846 MSGDUMP_TPRINTF(TEXT("%sLVM_GETFOOTERRECT(hwnd:%p, prc:%p)\n"),
3847 MSGDUMP_PREFIX, (void *)hwnd, (void *)prc);
3848 return FALSE;
3849 }
3850
3851 static __inline BOOL MSGDUMP_API
3852 MD_ListView_OnGetFooterInfo(HWND hwnd, LVFOOTERINFO *plvfi)
3853 {
3854 MSGDUMP_TPRINTF(TEXT("%sLVM_GETFOOTERINFO(hwnd:%p, plvfi:%p)\n"),
3855 MSGDUMP_PREFIX, (void *)hwnd, (void *)plvfi);
3856 return FALSE;
3857 }
3858
3859 static __inline BOOL MSGDUMP_API
3860 MD_ListView_OnGetFooterItemRect(HWND hwnd, INT iItem, RECT *prc)
3861 {
3862 MSGDUMP_TPRINTF(TEXT("%sLVM_GETFOOTERITEMRECT(hwnd:%p, iItem:%d, prc:%p)\n"),
3863 MSGDUMP_PREFIX, (void *)hwnd, iItem, (void *)prc);
3864 return FALSE;
3865 }
3866
3867 static __inline BOOL MSGDUMP_API
3868 MD_ListView_OnGetFooterItem(HWND hwnd, INT iItem, LVFOOTERITEM *pfi)
3869 {
3870 MSGDUMP_TPRINTF(TEXT("%sLVM_GETFOOTERITEM(hwnd:%p, iItem:%d, pfi:%p)\n"),
3871 MSGDUMP_PREFIX, (void *)hwnd, iItem, (void *)pfi);
3872 return FALSE;
3873 }
3874
3875 static __inline BOOL MSGDUMP_API
3876 MD_ListView_OnGetItemIndexRect(HWND hwnd, const LVITEMINDEX *plvii, RECT *prc)
3877 {
3878 MSGDUMP_TPRINTF(TEXT("%sLVM_GETITEMINDEXRECT(hwnd:%p, plvii:%p, prc:%p)\n"),
3879 MSGDUMP_PREFIX, (void *)hwnd, (void *)plvii, (void *)prc);
3880 return FALSE;
3881 }
3882
3883 static __inline HRESULT MSGDUMP_API
3884 MD_ListView_OnSetItemIndexState(HWND hwnd, const LVITEMINDEX *plvii, const LV_ITEM *lvi)
3885 {
3886 MSGDUMP_TPRINTF(TEXT("%sLVM_SETITEMINDEXSTATE(hwnd:%p, plvii:%p, lvi:%p)\n"),
3887 MSGDUMP_PREFIX, (void *)hwnd, (const void *)plvii, (const void *)lvi);
3888 return 0;
3889 }
3890
3891 static __inline BOOL MSGDUMP_API
3892 MD_ListView_OnGetNextItemIndex(HWND hwnd, LVITEMINDEX *plvii, UINT flags)
3893 {
3894 MSGDUMP_TPRINTF(TEXT("%sLVM_GETNEXTITEMINDEX(hwnd:%p, plvii:%p, flags:%u)\n"),
3895 MSGDUMP_PREFIX, (void *)hwnd, (const void *)plvii, flags);
3896 return 0;
3897 }
3898#endif
3899
3900static __inline HTREEITEM MSGDUMP_API
3902{
3903 MSGDUMP_TPRINTF(TEXT("%sTVM_INSERTITEMA(hwnd:%p, lpis:%p)\n"),
3904 MSGDUMP_PREFIX, (void *)hwnd, (void *)lpis);
3905 return NULL;
3906}
3907
3908static __inline BOOL MSGDUMP_API
3910{
3911 MSGDUMP_TPRINTF(TEXT("%sTVM_DELETEITEM(hwnd:%p, hitem:%p)\n"),
3912 MSGDUMP_PREFIX, (void *)hwnd, (void *)hitem);
3913 return FALSE;
3914}
3915
3916static __inline BOOL MSGDUMP_API
3918{
3919 MSGDUMP_TPRINTF(TEXT("%sTVM_EXPAND(hwnd:%p, hitem:%p, code:%u)\n"),
3920 MSGDUMP_PREFIX, (void *)hwnd, (void *)hitem, code);
3921 return FALSE;
3922}
3923
3924static __inline BOOL MSGDUMP_API
3926{
3927 MSGDUMP_TPRINTF(TEXT("%sTVM_GETITEMRECT(hwnd:%p, code:%u, prc:%p)\n"),
3928 MSGDUMP_PREFIX, (void *)hwnd, code, (void *)prc);
3929 return FALSE;
3930}
3931
3932static __inline UINT MSGDUMP_API
3934{
3935 MSGDUMP_TPRINTF(TEXT("%sTVM_GETCOUNT(hwnd:%p)\n"),
3936 MSGDUMP_PREFIX, (void *)hwnd);
3937 return 0;
3938}
3939
3940static __inline UINT MSGDUMP_API
3942{
3943 MSGDUMP_TPRINTF(TEXT("%sTVM_GETINDENT(hwnd:%p)\n"),
3944 MSGDUMP_PREFIX, (void *)hwnd);
3945 return 0;
3946}
3947
3948static __inline BOOL MSGDUMP_API
3950{
3951 MSGDUMP_TPRINTF(TEXT("%sTVM_SETINDENT(hwnd:%p, indent:%d)\n"),
3952 MSGDUMP_PREFIX, (void *)hwnd, indent);
3953 return FALSE;
3954}
3955
3956static __inline HIMAGELIST MSGDUMP_API
3958{
3959 MSGDUMP_TPRINTF(TEXT("%sTVM_GETIMAGELIST(hwnd:%p, iImage:%d)\n"),
3960 MSGDUMP_PREFIX, (void *)hwnd, iImage);
3961 return NULL;
3962}
3963
3964static __inline HIMAGELIST MSGDUMP_API
3966{
3967 MSGDUMP_TPRINTF(TEXT("%sTVM_GETIMAGELIST(hwnd:%p, iImage:%d, himl:%p)\n"),
3968 MSGDUMP_PREFIX, (void *)hwnd, iImage, (void *)himl);
3969 return NULL;
3970}
3971
3972static __inline HTREEITEM MSGDUMP_API
3974{
3975 MSGDUMP_TPRINTF(TEXT("%sTVM_GETNEXTITEM(hwnd:%p, hitem:%p, code:%u)\n"),
3976 MSGDUMP_PREFIX, (void *)hwnd, (void *)hitem, code);
3977 return NULL;
3978}
3979
3980static __inline BOOL MSGDUMP_API
3982{
3983 MSGDUMP_TPRINTF(TEXT("%sTVM_SELECTITEM(hwnd:%p, code:%u, hitem:%p)\n"),
3984 MSGDUMP_PREFIX, (void *)hwnd, code, (void *)hitem);
3985 return FALSE;
3986}
3987
3988static __inline BOOL MSGDUMP_API
3990{
3991 MSGDUMP_TPRINTF(TEXT("%sTVM_GETITEMA(hwnd:%p, pitem:%p)\n"),
3992 MSGDUMP_PREFIX, (void *)hwnd, (void *)pitem);
3993 return FALSE;
3994}
3995
3996static __inline BOOL MSGDUMP_API
3998{
3999 MSGDUMP_TPRINTF(TEXT("%sTVM_SETITEMA(hwnd:%p, pitem:%p)\n"),
4000 MSGDUMP_PREFIX, (void *)hwnd, (const void *)pitem);
4001 return FALSE;
4002}
4003
4004static __inline HWND MSGDUMP_API
4006{
4007 MSGDUMP_TPRINTF(TEXT("%sTVM_EDITLABELA(hwnd:%p, hitem:%p)\n"),
4008 MSGDUMP_PREFIX, (void *)hwnd, (void *)hitem);
4009 return NULL;
4010}
4011
4012static __inline HWND MSGDUMP_API
4014{
4015 MSGDUMP_TPRINTF(TEXT("%sTVM_GETEDITCONTROL(hwnd:%p)\n"),
4016 MSGDUMP_PREFIX, (void *)hwnd);
4017 return NULL;
4018}
4019
4020static __inline UINT MSGDUMP_API
4022{
4023 MSGDUMP_TPRINTF(TEXT("%sTVM_GETVISIBLECOUNT(hwnd:%p)\n"),
4024 MSGDUMP_PREFIX, (void *)hwnd);
4025 return 0;
4026}
4027
4028static __inline HTREEITEM MSGDUMP_API
4030{
4031 MSGDUMP_TPRINTF(TEXT("%sTVM_HITTEST(hwnd:%p, lpht:%p)\n"),
4032 MSGDUMP_PREFIX, (void *)hwnd, (void *)lpht);
4033 return NULL;
4034}
4035
4036static __inline HIMAGELIST MSGDUMP_API
4038{
4039 MSGDUMP_TPRINTF(TEXT("%sTVM_CREATEDRAGIMAGE(hwnd:%p, hitem:%p)\n"),
4040 MSGDUMP_PREFIX, (void *)hwnd, (void *)hitem);
4041 return NULL;
4042}
4043
4044static __inline BOOL MSGDUMP_API
4046{
4047 MSGDUMP_TPRINTF(TEXT("%sTVM_SORTCHILDREN(hwnd:%p, hitem:%p, recurse:%d)\n"),
4048 MSGDUMP_PREFIX, (void *)hwnd, (void *)hitem, recurse);
4049 return FALSE;
4050}
4051
4052static __inline BOOL MSGDUMP_API
4054{
4055 MSGDUMP_TPRINTF(TEXT("%sTVM_ENSUREVISIBLE(hwnd:%p, hitem:%p)\n"),
4056 MSGDUMP_PREFIX, (void *)hwnd, (void *)hitem);
4057 return FALSE;
4058}
4059
4060static __inline BOOL MSGDUMP_API
4062{
4063 MSGDUMP_TPRINTF(TEXT("%sTVM_SORTCHILDRENCB(hwnd:%p, psort:%p, recurse:%d)\n"),
4064 MSGDUMP_PREFIX, (void *)hwnd, (void *)psort, recurse);
4065 return FALSE;
4066}
4067
4068static __inline BOOL MSGDUMP_API
4070{
4071 MSGDUMP_TPRINTF(TEXT("%sTVM_ENDEDITLABELNOW(hwnd:%p, fCancel:%d)\n"),
4072 MSGDUMP_PREFIX, (void *)hwnd, fCancel);
4073 return FALSE;
4074}
4075
4076static __inline BOOL MSGDUMP_API
4078{
4079 MSGDUMP_TPRINTF(TEXT("%sTVM_GETISEARCHSTRINGA(hwnd:%p, lpsz:%p)\n"),
4080 MSGDUMP_PREFIX, (void *)hwnd, (void *)lpsz);
4081 return FALSE;
4082}
4083
4084static __inline HWND MSGDUMP_API
4086{
4087 MSGDUMP_TPRINTF(TEXT("%sTVM_SETTOOLTIPS(hwnd:%p, hwndTT:%p)\n"),
4088 MSGDUMP_PREFIX, (void *)hwnd, (void *)hwndTT);
4089 return NULL;
4090}
4091
4092static __inline HWND MSGDUMP_API
4094{
4095 MSGDUMP_TPRINTF(TEXT("%sTVM_GETTOOLTIPS(hwnd:%p)\n"),
4096 MSGDUMP_PREFIX, (void *)hwnd);
4097 return NULL;
4098}
4099
4100static __inline BOOL MSGDUMP_API
4102{
4103 MSGDUMP_TPRINTF(TEXT("%sTVM_SETINSERTMARK(hwnd:%p, hItem:%p, fAfter:%d)\n"),
4104 MSGDUMP_PREFIX, (void *)hwnd, (void *)hItem, fAfter);
4105 return FALSE;
4106}
4107
4108static __inline INT MSGDUMP_API
4110{
4111 MSGDUMP_TPRINTF(TEXT("%sTVM_SETITEMHEIGHT(hwnd:%p, iHeight:%d)\n"),
4112 MSGDUMP_PREFIX, (void *)hwnd, iHeight);
4113 return 0;
4114}
4115
4116static __inline INT MSGDUMP_API
4118{
4119 MSGDUMP_TPRINTF(TEXT("%sTVM_GETITEMHEIGHT(hwnd:%p)\n"),
4120 MSGDUMP_PREFIX, (void *)hwnd);
4121 return 0;
4122}
4123
4124static __inline COLORREF MSGDUMP_API
4126{
4127 MSGDUMP_TPRINTF(TEXT("%sTVM_SETBKCOLOR(hwnd:%p, clr:0x%08lX)\n"),
4128 MSGDUMP_PREFIX, (void *)hwnd, clr);
4129 return 0;
4130}
4131
4132static __inline COLORREF MSGDUMP_API
4134{
4135 MSGDUMP_TPRINTF(TEXT("%sTVM_SETTEXTCOLOR(hwnd:%p, clr:0x%08lX)\n"),
4136 MSGDUMP_PREFIX, (void *)hwnd, clr);
4137 return 0;
4138}
4139
4140static __inline COLORREF MSGDUMP_API
4142{
4143 MSGDUMP_TPRINTF(TEXT("%sTVM_GETBKCOLOR(hwnd:%p)\n"),
4144 MSGDUMP_PREFIX, (void *)hwnd);
4145 return 0;
4146}
4147
4148static __inline COLORREF MSGDUMP_API
4150{
4151 MSGDUMP_TPRINTF(TEXT("%sTVM_GETTEXTCOLOR(hwnd:%p)\n"),
4152 MSGDUMP_PREFIX, (void *)hwnd);
4153 return 0;
4154}
4155
4156static __inline UINT MSGDUMP_API
4158{
4159 MSGDUMP_TPRINTF(TEXT("%sTVM_SETSCROLLTIME(hwnd:%p, uTime:%u)\n"),
4160 MSGDUMP_PREFIX, (void *)hwnd, uTime);
4161 return 0;
4162}
4163
4164static __inline UINT MSGDUMP_API
4166{
4167 MSGDUMP_TPRINTF(TEXT("%sTVM_GETSCROLLTIME(hwnd:%p)\n"),
4168 MSGDUMP_PREFIX, (void *)hwnd);
4169 return 0;
4170}
4171
4172#if NTDDI_VERSION >= 0x06000000
4173 static __inline INT MSGDUMP_API
4174 MD_TreeView_OnSetBorder(HWND hwnd, DWORD dwFlags, INT xBorder, INT yBorder)
4175 {
4176 MSGDUMP_TPRINTF(TEXT("%sTVM_SETBORDER(hwnd:%p, dwFlags:0x%08lX, xBorder:%d, yBorder:%d)\n"),
4177 MSGDUMP_PREFIX, (void *)hwnd, dwFlags, xBorder, yBorder);
4178 return 0;
4179 }
4180#endif
4181
4182static __inline COLORREF MSGDUMP_API
4184{
4185 MSGDUMP_TPRINTF(TEXT("%sTVM_SETINSERTMARKCOLOR(hwnd:%p, clr:0x%08lX)\n"),
4186 MSGDUMP_PREFIX, (void *)hwnd, clr);
4187 return 0;
4188}
4189
4190static __inline COLORREF MSGDUMP_API
4192{
4193 MSGDUMP_TPRINTF(TEXT("%sTVM_GETINSERTMARKCOLOR(hwnd:%p)\n"),
4194 MSGDUMP_PREFIX, (void *)hwnd);
4195 return 0;
4196}
4197
4198static __inline UINT MSGDUMP_API
4200{
4201 MSGDUMP_TPRINTF(TEXT("%sTVM_GETITEMSTATE(hwnd:%p, hti:%p, mask:%u)\n"),
4202 MSGDUMP_PREFIX, (void *)hwnd, (void *)hti, mask);
4203 return 0;
4204}
4205
4206static __inline COLORREF MSGDUMP_API
4208{
4209 MSGDUMP_TPRINTF(TEXT("%sTVM_SETLINECOLOR(hwnd:%p, clr:0x%08lX)\n"),
4210 MSGDUMP_PREFIX, (void *)hwnd, clr);
4211 return 0;
4212}
4213
4214static __inline COLORREF MSGDUMP_API
4216{
4217 MSGDUMP_TPRINTF(TEXT("%sTVM_GETLINECOLOR(hwnd:%p)\n"),
4218 MSGDUMP_PREFIX, (void *)hwnd);
4219 return 0;
4220}
4221
4222static __inline HTREEITEM MSGDUMP_API
4224{
4225 MSGDUMP_TPRINTF(TEXT("%sTVM_MAPACCIDTOHTREEITEM(hwnd:%p, id:%u)\n"),
4226 MSGDUMP_PREFIX, (void *)hwnd, id);
4227 return NULL;
4228}
4229
4230static __inline UINT MSGDUMP_API
4232{
4233 MSGDUMP_TPRINTF(TEXT("%sTVM_MAPHTREEITEMTOACCID(hwnd:%p, htreeitem:%p)\n"),
4234 MSGDUMP_PREFIX, (void *)hwnd, (void *)htreeitem);
4235 return 0;
4236}
4237
4238#if NTDDI_VERSION >= 0x06000000
4239 static __inline DWORD MSGDUMP_API
4240 MD_TreeView_OnSetExtendedStyle(HWND hwnd, DWORD dw, DWORD mask)
4241 {
4242 MSGDUMP_TPRINTF(TEXT("%sTVM_SETEXTENDEDSTYLE(hwnd:%p, dw:0x%08lX, mask:0x%08lX)\n"),
4243 MSGDUMP_PREFIX, (void *)hwnd, dw, mask);
4244 return 0;
4245 }
4246
4247 static __inline DWORD MSGDUMP_API
4248 MD_TreeView_OnGetExtendedStyle(HWND hwnd)
4249 {
4250 MSGDUMP_TPRINTF(TEXT("%sTVM_GETEXTENDEDSTYLE(hwnd:%p)\n"),
4251 MSGDUMP_PREFIX, (void *)hwnd);
4252 return 0;
4253 }
4254#endif
4255
4256static __inline HTREEITEM MSGDUMP_API
4258{
4259 MSGDUMP_TPRINTF(TEXT("%sTVM_INSERTITEMW(hwnd:%p, lpis:%p)\n"),
4260 MSGDUMP_PREFIX, (void *)hwnd, (void *)lpis);
4261 return NULL;
4262}
4263
4264#if NTDDI_VERSION >= 0x06000000
4265 static __inline BOOL MSGDUMP_API
4266 MD_TreeView_OnSetHot(HWND hwnd, HTREEITEM hitem)
4267 {
4268 MSGDUMP_TPRINTF(TEXT("%sTVM_SETHOT(hwnd:%p, hitem:%p)\n"),
4269 MSGDUMP_PREFIX, (void *)hwnd, (void *)hitem);
4270 return FALSE;
4271 }
4272
4273 static __inline BOOL MSGDUMP_API
4274 MD_TreeView_OnSetAutoScrollInfo(HWND hwnd, UINT uPixPerSec, UINT uUpdateTime)
4275 {
4276 MSGDUMP_TPRINTF(TEXT("%sTVM_SETAUTOSCROLLINFO(hwnd:%p, uPixPerSec:%u, uUpdateTime:%u)\n"),
4277 MSGDUMP_PREFIX, (void *)hwnd, uPixPerSec, uUpdateTime);
4278 return FALSE;
4279 }
4280#endif
4281
4282static __inline BOOL MSGDUMP_API
4284{
4285 MSGDUMP_TPRINTF(TEXT("%sTVM_GETITEMW(hwnd:%p, pitem:%p)\n"),
4286 MSGDUMP_PREFIX, (void *)hwnd, (void *)pitem);
4287 return FALSE;
4288}
4289
4290static __inline BOOL MSGDUMP_API
4292{
4293 MSGDUMP_TPRINTF(TEXT("%sTVM_SETITEMW(hwnd:%p, pitem:%p)\n"),
4294 MSGDUMP_PREFIX, (void *)hwnd, (const void *)pitem);
4295 return FALSE;
4296}
4297
4298static __inline BOOL MSGDUMP_API
4300{
4301 MSGDUMP_TPRINTF(TEXT("%sTVM_GETISEARCHSTRINGW(hwnd:%p, lpsz:%p)\n"),
4302 MSGDUMP_PREFIX, (void *)hwnd, (void *)lpsz);
4303 return FALSE;
4304}
4305
4306static __inline HWND MSGDUMP_API
4308{
4309 MSGDUMP_TPRINTF(TEXT("%sTVM_EDITLABELW(hwnd:%p, hitem:%p)\n"),
4310 MSGDUMP_PREFIX, (void *)hwnd, (void *)hitem);
4311 return NULL;
4312}
4313
4314#if NTDDI_VERSION >= 0x06000000
4315 static __inline DWORD MSGDUMP_API
4316 MD_TreeView_OnGetSelectedCount(HWND hwnd)
4317 {
4318 MSGDUMP_TPRINTF(TEXT("%sTVM_GETSELECTEDCOUNT(hwnd:%p)\n"),
4319 MSGDUMP_PREFIX, (void *)hwnd);
4320 return 0;
4321 }
4322
4323 static __inline DWORD MSGDUMP_API
4324 MD_TreeView_OnShowInfoTip(HWND hwnd, HTREEITEM hitem)
4325 {
4326 MSGDUMP_TPRINTF(TEXT("%sTVM_SHOWINFOTIP(hwnd:%p, hitem:%p)\n"),
4327 MSGDUMP_PREFIX, (void *)hwnd, (void *)hitem);
4328 return 0;
4329 }
4330
4331 static __inline LRESULT MSGDUMP_API
4332 MD_TreeView_OnGetItemPartRect(HWND hwnd, WPARAM wParam, LPARAM lParam)
4333 {
4334 MSGDUMP_TPRINTF(TEXT("%sTVM_GETITEMPARTRECT(hwnd:%p, wParam:%p, lParam:%p)\n"),
4335 MSGDUMP_PREFIX, (void *)hwnd, (void *)wParam, (void *)lParam);
4336 return 0;
4337 }
4338#endif
4339
4340static __inline LRESULT MSGDUMP_API
4342{
4343 MSGDUMP_TPRINTF(TEXT("%sEM_CANPASTE(hwnd:%p, uFormat:%u)\n"),
4344 MSGDUMP_PREFIX, (void *)hwnd, uFormat);
4345 return 0;
4346}
4347
4348static __inline BOOL MSGDUMP_API
4350{
4351 MSGDUMP_TPRINTF(TEXT("%sEM_DISPLAYBAND(hwnd:%p, lprc:%p)\n"),
4352 MSGDUMP_PREFIX, (void *)hwnd, (void *)lprc);
4353 return FALSE;
4354}
4355
4356static __inline void MSGDUMP_API
4358{
4359 MSGDUMP_TPRINTF(TEXT("%sEM_EXGETSEL(hwnd:%p, lpchr:%p)\n"),
4360 MSGDUMP_PREFIX, (void *)hwnd, (void *)lpchr);
4361}
4362
4363static __inline void MSGDUMP_API
4365{
4366 MSGDUMP_TPRINTF(TEXT("%sEM_EXLIMITTEXT(hwnd:%p, cchTextMax:%ld)\n"),
4367 MSGDUMP_PREFIX, (void *)hwnd, cchTextMax);
4368}
4369
4370static __inline INT MSGDUMP_API
4372{
4373 MSGDUMP_TPRINTF(TEXT("%sEM_EXLINEFROMCHAR(hwnd:%p, ichCharPos:0x%08lX)\n"),
4374 MSGDUMP_PREFIX, (void *)hwnd, ichCharPos);
4375 return 0;
4376}
4377
4378static __inline INT MSGDUMP_API
4380{
4381 MSGDUMP_TPRINTF(TEXT("%sEM_EXSETSEL(hwnd:%p, ichChar:%d)\n"),
4382 MSGDUMP_PREFIX, (void *)hwnd, ichChar);
4383 return 0;
4384}
4385
4386static __inline INT MSGDUMP_API
4387MD_RichEdit_OnFindText(HWND hwnd, UINT fuFlags, FINDTEXT *lpFindText)
4388{
4389 MSGDUMP_TPRINTF(TEXT("%sEM_FINDTEXT(hwnd:%p, fuFlags:%u, lpFindText:%p)\n"),
4390 MSGDUMP_PREFIX, (void *)hwnd, fuFlags, (void *)lpFindText);
4391 return 0;
4392}
4393
4394static __inline INT MSGDUMP_API
4396{
4397 MSGDUMP_TPRINTF(TEXT("%sEM_FORMATRANGE(hwnd:%p, fRender:%d, lpFmt:%p)\n"),
4398 MSGDUMP_PREFIX, (void *)hwnd, fRender, (void *)lpFmt);
4399 return 0;
4400}
4401
4402static __inline DWORD MSGDUMP_API
4403MD_RichEdit_OnGetCharFormat(HWND hwnd, BOOL fSelection, CHARFORMAT *lpFmt)
4404{
4405 MSGDUMP_TPRINTF(TEXT("%sEM_GETCHARFORMAT(hwnd:%p, fSelection:%d, lpFmt:%p)\n"),
4406 MSGDUMP_PREFIX, (void *)hwnd, fSelection, (void *)lpFmt);
4407 return 0;
4408}
4409
4410static __inline DWORD MSGDUMP_API
4412{
4413 MSGDUMP_TPRINTF(TEXT("%sEM_GETEVENTMASK(hwnd:%p)\n"),
4414 MSGDUMP_PREFIX, (void *)hwnd);
4415 return 0;
4416}
4417
4418static __inline BOOL MSGDUMP_API
4420{
4421 MSGDUMP_TPRINTF(TEXT("%sEM_GETOLEINTERFACE(hwnd:%p, ppObject:%p)\n"),
4422 MSGDUMP_PREFIX, (void *)hwnd, (void *)ppObject);
4423 return FALSE;
4424}
4425
4426static __inline DWORD MSGDUMP_API
4428{
4429 MSGDUMP_TPRINTF(TEXT("%sEM_GETPARAFORMAT(hwnd:%p, lpFmt:%p)\n"),
4430 MSGDUMP_PREFIX, (void *)hwnd, (void *)lpFmt);
4431 return 0;
4432}
4433
4434static __inline INT MSGDUMP_API
4436{
4437 MSGDUMP_TPRINTF(TEXT("%sEM_GETSELTEXT(hwnd:%p, lpBuf:%p)\n"),
4438 MSGDUMP_PREFIX, (void *)hwnd, (void *)lpBuf);
4439 return 0;
4440}
4441
4442static __inline void MSGDUMP_API
4444{
4445 MSGDUMP_TPRINTF(TEXT("%sEM_HIDESELECTION(hwnd:%p, fHide:%d, fChangeStyle:%d)\n"),
4446 MSGDUMP_PREFIX, (void *)hwnd, fHide, fChangeStyle);
4447}
4448
4449static __inline void MSGDUMP_API
4451{
4452 MSGDUMP_TPRINTF(TEXT("%sEM_PASTESPECIAL(hwnd:%p, uFormat:%u, lpRePasteSpecial:%p)\n"),
4453 MSGDUMP_PREFIX, (void *)hwnd, uFormat, (void *)lpRePasteSpecial);
4454}
4455
4456static __inline void MSGDUMP_API
4458{
4459 MSGDUMP_TPRINTF(TEXT("%sEM_REQUESTRESIZE(hwnd:%p)\n"),
4460 MSGDUMP_PREFIX, (void *)hwnd);
4461}
4462
4463static __inline DWORD MSGDUMP_API
4465{
4466 MSGDUMP_TPRINTF(TEXT("%sEM_SELECTIONTYPE(hwnd:%p)\n"),
4467 MSGDUMP_PREFIX, (void *)hwnd);
4468 return 0;
4469}
4470
4471static __inline COLORREF MSGDUMP_API
4473{
4474 MSGDUMP_TPRINTF(TEXT("%sEM_SETBKGNDCOLOR(hwnd:%p, fUseSysColor:%d, clr:0x%08lX)\n"),
4475 MSGDUMP_PREFIX, (void *)hwnd, fUseSysColor, clr);
4476 return 0;
4477}
4478
4479static __inline BOOL MSGDUMP_API
4481{
4482 MSGDUMP_TPRINTF(TEXT("%sEM_SETCHARFORMAT(hwnd:%p, uFlags:%u, lpFmt:%p)\n"),
4483 MSGDUMP_PREFIX, (void *)hwnd, uFlags, (void *)lpFmt);
4484 return FALSE;
4485}
4486
4487static __inline DWORD MSGDUMP_API
4489{
4490 MSGDUMP_TPRINTF(TEXT("%sEM_SETEVENTMASK(hwnd:%p, dwMask:0x%08lX)\n"),
4491 MSGDUMP_PREFIX, (void *)hwnd, dwMask);
4492 return 0;
4493}
4494
4495static __inline BOOL MSGDUMP_API
4497{
4498 MSGDUMP_TPRINTF(TEXT("%sEM_SETOLECALLBACK(hwnd:%p, pCallback:%p)\n"),
4499 MSGDUMP_PREFIX, (void *)hwnd, pCallback);
4500 return FALSE;
4501}
4502
4503static __inline BOOL MSGDUMP_API
4505{
4506 MSGDUMP_TPRINTF(TEXT("%sEM_SETPARAFORMAT(hwnd:%p, lpFmt:%p)\n"),
4507 MSGDUMP_PREFIX, (void *)hwnd, (void *)lpFmt);
4508 return FALSE;
4509}
4510
4511static __inline BOOL MSGDUMP_API
4513{
4514 MSGDUMP_TPRINTF(TEXT("%sEM_SETTARGETDEVICE(hwnd:%p, hdcTarget:%p, cxLineWidth:%d)\n"),
4515 MSGDUMP_PREFIX, (void *)hwnd, (void *)hdcTarget, cxLineWidth);
4516 return FALSE;
4517}
4518
4519static __inline DWORD MSGDUMP_API
4521{
4522 MSGDUMP_TPRINTF(TEXT("%sEM_STREAMIN(hwnd:%p, uFormat:%u, lpStream:%p)\n"),
4523 MSGDUMP_PREFIX, (void *)hwnd, uFormat, (void *)lpStream);
4524 return 0;
4525}
4526
4527static __inline DWORD MSGDUMP_API
4529{
4530 MSGDUMP_TPRINTF(TEXT("%sEM_STREAMOUT(hwnd:%p, uFormat:%u, lpStream:%p)\n"),
4531 MSGDUMP_PREFIX, (void *)hwnd, uFormat, (void *)lpStream);
4532 return 0;
4533}
4534
4535static __inline DWORD MSGDUMP_API
4537{
4538 MSGDUMP_TPRINTF(TEXT("%sEM_GETTEXTRANGE(hwnd:%p, lpRange:%p)\n"),
4539 MSGDUMP_PREFIX, (void *)hwnd, (void *)lpRange);
4540 return 0;
4541}
4542
4543static __inline DWORD MSGDUMP_API
4545{
4546 MSGDUMP_TPRINTF(TEXT("%sEM_FINDWORDBREAK(hwnd:%p, code:%u, ichStart:0x%08lX)\n"),
4547 MSGDUMP_PREFIX, (void *)hwnd, code, ichStart);
4548 return 0;
4549}
4550
4551static __inline UINT MSGDUMP_API
4553{
4554 MSGDUMP_TPRINTF(TEXT("%sEM_SETOPTIONS(hwnd:%p, fOperation:%u, fOptions:%u)\n"),
4555 MSGDUMP_PREFIX, (void *)hwnd, fOperation, fOptions);
4556 return 0;
4557}
4558
4559static __inline UINT MSGDUMP_API
4561{
4562 MSGDUMP_TPRINTF(TEXT("%sEM_GETOPTIONS(hwnd:%p)\n"),
4563 MSGDUMP_PREFIX, (void *)hwnd);
4564 return 0;
4565}
4566
4567static __inline INT MSGDUMP_API
4568MD_RichEdit_OnFindTextEx(HWND hwnd, UINT fuFlags, FINDTEXTEX *lpFindText)
4569{
4570 MSGDUMP_TPRINTF(TEXT("%sEM_FINDTEXTEX(hwnd:%p, fuFlags:%u, lpFindText:%p)\n"),
4571 MSGDUMP_PREFIX, (void *)hwnd, fuFlags, (void *)lpFindText);
4572 return 0;
4573}
4574
4575static __inline void *MSGDUMP_API
4577{
4578 MSGDUMP_TPRINTF(TEXT("%sEM_GETWORDBREAKPROC(hwnd:%p)\n"),
4579 MSGDUMP_PREFIX, (void *)hwnd);
4580 return NULL;
4581}
4582
4583static __inline void *MSGDUMP_API
4585{
4586 MSGDUMP_TPRINTF(TEXT("%sEM_SETWORDBREAKPROC(hwnd:%p, pfn:%p)\n"),
4587 MSGDUMP_PREFIX, (void *)hwnd, pfn);
4588 return NULL;
4589}
4590
4591static __inline DWORD MSGDUMP_API
4593{
4594 MSGDUMP_TPRINTF(TEXT("%sEM_SETUNDOLIMIT(hwnd:%p, dwMaxUndo:%ld)\n"),
4595 MSGDUMP_PREFIX, (void *)hwnd, dwMaxUndo);
4596 return 0;
4597}
4598
4599static __inline BOOL MSGDUMP_API
4601{
4602 MSGDUMP_TPRINTF(TEXT("%sEM_REDO(hwnd:%p)\n"),
4603 MSGDUMP_PREFIX, (void *)hwnd);
4604 return FALSE;
4605}
4606
4607static __inline BOOL MSGDUMP_API
4609{
4610 MSGDUMP_TPRINTF(TEXT("%sEM_CANREDO(hwnd:%p)\n"),
4611 MSGDUMP_PREFIX, (void *)hwnd);
4612 return FALSE;
4613}
4614
4615static __inline INT MSGDUMP_API
4617{
4618 MSGDUMP_TPRINTF(TEXT("%sEM_GETUNDONAME(hwnd:%p)\n"),
4619 MSGDUMP_PREFIX, (void *)hwnd);
4620 return 0;
4621}
4622
4623static __inline INT MSGDUMP_API
4625{
4626 MSGDUMP_TPRINTF(TEXT("%sEM_GETREDONAME(hwnd:%p)\n"),
4627 MSGDUMP_PREFIX, (void *)hwnd);
4628 return 0;
4629}
4630
4631static __inline void MSGDUMP_API
4633{
4634 MSGDUMP_TPRINTF(TEXT("%sEM_STOPGROUPTYPING(hwnd:%p)\n"),
4635 MSGDUMP_PREFIX, (void *)hwnd);
4636}
4637
4638static __inline BOOL MSGDUMP_API
4640{
4641 MSGDUMP_TPRINTF(TEXT("%sEM_SETTEXTMODE(hwnd:%p, dwTextMode:0x%08lX)\n"),
4642 MSGDUMP_PREFIX, (void *)hwnd, dwTextMode);
4643 return FALSE;
4644}
4645
4646static __inline DWORD MSGDUMP_API
4648{
4649 MSGDUMP_TPRINTF(TEXT("%sEM_GETTEXTMODE(hwnd:%p)\n"),
4650 MSGDUMP_PREFIX, (void *)hwnd);
4651 return 0;
4652}
4653
4654static __inline LRESULT MSGDUMP_API
4656{
4657 TCHAR szClass[24], sz[2], szMsg[64];
4658 szClass[0] = 0;
4659 GetClassName(hwnd, szClass, ARRAYSIZE(szClass));
4660 sz[0] = szClass[0];
4661 sz[1] = 0;
4662 CharUpper(sz);
4663
4664 if (sz[0] == TEXT('R') && lstrcmpi(szClass, RICHEDIT_CLASS) == 0)
4665 {
4666 switch (uMsg)
4667 {
4708 }
4709 }
4710
4711 if ((sz[0] == TEXT('E') && lstrcmpi(szClass, TEXT("EDIT")) == 0) ||
4712 (sz[0] == TEXT('R') && lstrcmpi(szClass, RICHEDIT_CLASS) == 0))
4713 {
4714 switch (uMsg)
4715 {
4754 }
4755 }
4756 else if (sz[0] == TEXT('S') && lstrcmpi(szClass, TEXT("STATIC")) == 0)
4757 {
4758 switch (uMsg)
4759 {
4764 }
4765 }
4766 else if (sz[0] == TEXT('L') && lstrcmpi(szClass, TEXT("LISTBOX")) == 0)
4767 {
4768 switch (uMsg)
4769 {
4810 }
4811 }
4812 else if (sz[0] == TEXT('C') && lstrcmpi(szClass, TEXT("COMBOBOX")) == 0)
4813 {
4814 switch (uMsg)
4815 {
4850 }
4851 }
4852 else if (sz[0] == TEXT('S') && lstrcmpi(szClass, TEXT("SCROLLBAR")) == 0)
4853 {
4854 switch (uMsg)
4855 {
4862 HANDLE_MSG(hwnd, SBM_SETSCROLLINFO, MD_ScrollBar_OnSetScrollInfo);
4863 HANDLE_MSG(hwnd, SBM_GETSCROLLINFO, MD_ScrollBar_OnGetScrollInfo);
4864 HANDLE_MSG(hwnd, SBM_GETSCROLLBARINFO, MD_ScrollBar_OnGetScrollBarInfo);
4865 }
4866 }
4867 else if (sz[0] == TEXT('S') && lstrcmpi(szClass, WC_LISTVIEW) == 0)
4868 {
4869 switch (uMsg)
4870 {
4952#if NTDDI_VERSION >= 0x06000000
4953 HANDLE_MSG(hwnd, LVM_GETGROUPSTATE, MD_ListView_OnGetGroupState);
4954 HANDLE_MSG(hwnd, LVM_GETFOCUSEDGROUP, MD_ListView_OnGetFocusedGroup);
4955#endif
4959#if NTDDI_VERSION >= 0x06000000
4960 HANDLE_MSG(hwnd, LVM_GETGROUPRECT, MD_ListView_OnGetGroupRect);
4961#endif
4972#if NTDDI_VERSION >= 0x06000000
4973 HANDLE_MSG(hwnd, LVM_INSERTGROUP, MD_ListView_OnInsertGroup);
4974 HANDLE_MSG(hwnd, LVM_SETGROUPINFO, MD_ListView_OnSetGroupInfo);
4975 HANDLE_MSG(hwnd, LVM_GETGROUPINFO, MD_ListView_OnGetGroupInfo);
4976 HANDLE_MSG(hwnd, LVM_REMOVEGROUP, MD_ListView_OnRemoveGroup);
4977 HANDLE_MSG(hwnd, LVM_MOVEGROUP, MD_ListView_OnMoveGroup);
4978 HANDLE_MSG(hwnd, LVM_GETGROUPCOUNT, MD_ListView_OnGetGroupCount);
4979 HANDLE_MSG(hwnd, LVM_GETGROUPINFOBYINDEX, MD_ListView_OnGetGroupInfoByIndex);
4980 HANDLE_MSG(hwnd, LVM_MOVEITEMTOGROUP, MD_ListView_OnMoveItemToGroup);
4981 HANDLE_MSG(hwnd, LVM_SETGROUPMETRICS, MD_ListView_OnSetGroupMetrics);
4982 HANDLE_MSG(hwnd, LVM_GETGROUPMETRICS, MD_ListView_OnGetGroupMetrics);
4983 HANDLE_MSG(hwnd, LVM_ENABLEGROUPVIEW, MD_ListView_OnEnableGroupView);
4984 HANDLE_MSG(hwnd, LVM_SORTGROUPS, MD_ListView_OnSortGroups);
4985 HANDLE_MSG(hwnd, LVM_INSERTGROUPSORTED, MD_ListView_OnInsertGroupSorted);
4986 HANDLE_MSG(hwnd, LVM_REMOVEALLGROUPS, MD_ListView_OnRemoveAllGroups);
4987 HANDLE_MSG(hwnd, LVM_HASGROUP, MD_ListView_OnHasGroup);
4988#endif
5008#if NTDDI_VERSION >= 0x06000000
5009 HANDLE_MSG(hwnd, LVM_GETEMPTYTEXT, MD_ListView_OnGetEmptyText);
5010 HANDLE_MSG(hwnd, LVM_GETFOOTERRECT, MD_ListView_OnGetFooterRect);
5011 HANDLE_MSG(hwnd, LVM_GETFOOTERINFO, MD_ListView_OnGetFooterInfo);
5012 HANDLE_MSG(hwnd, LVM_GETFOOTERITEMRECT, MD_ListView_OnGetFooterItemRect);
5013 HANDLE_MSG(hwnd, LVM_GETFOOTERITEM, MD_ListView_OnGetFooterItem);
5014 HANDLE_MSG(hwnd, LVM_GETITEMINDEXRECT, MD_ListView_OnGetItemIndexRect);
5015 HANDLE_MSG(hwnd, LVM_SETITEMINDEXSTATE, MD_ListView_OnSetItemIndexState);
5016 HANDLE_MSG(hwnd, LVM_GETNEXTITEMINDEX, MD_ListView_OnGetNextItemIndex);
5017#endif
5018 }
5019 }
5020 else if (sz[0] == TEXT('S') && lstrcmpi(szClass, WC_TREEVIEW) == 0)
5021 {
5022 switch (uMsg)
5023 {
5058#if NTDDI_VERSION >= 0x06000000
5059 HANDLE_MSG(hwnd, TVM_SETBORDER, MD_TreeView_OnSetBorder);
5060#endif
5068#if NTDDI_VERSION >= 0x06000000
5069 HANDLE_MSG(hwnd, TVM_SETEXTENDEDSTYLE, MD_TreeView_OnSetExtendedStyle);
5070 HANDLE_MSG(hwnd, TVM_GETEXTENDEDSTYLE, MD_TreeView_OnGetExtendedStyle);
5071#endif
5073#if NTDDI_VERSION >= 0x06000000
5074 HANDLE_MSG(hwnd, TVM_SETHOT, MD_TreeView_OnSetHot);
5075 HANDLE_MSG(hwnd, TVM_SETAUTOSCROLLINFO, MD_TreeView_OnSetAutoScrollInfo);
5076#endif
5081#if NTDDI_VERSION >= 0x06000000
5082 HANDLE_MSG(hwnd, TVM_GETSELECTEDCOUNT, MD_TreeView_OnGetSelectedCount);
5083 HANDLE_MSG(hwnd, TVM_SHOWINFOTIP, MD_TreeView_OnShowInfoTip);
5084 HANDLE_MSG(hwnd, TVM_GETITEMPARTRECT, MD_TreeView_OnGetItemPartRect);
5085#endif
5086 }
5087 }
5088
5089 switch (uMsg)
5090 {
5106#ifndef _WIN32_WCE
5110#endif
5115 /* HANDLE_MSG(hwnd, WM_WININICHANGE, MD_OnWinIniChange); */
5142#if WINVER >= 0x0500
5143# ifndef _WIN32_WCE
5144 HANDLE_MSG(hwnd, WM_GETOBJECT, MD_OnGetObject);
5145# endif
5146#endif
5154#if WINVER >= 0x0400
5156 HANDLE_MSG(hwnd, WM_INPUTLANGCHANGEREQUEST, MD_OnInputLangChangeRequest);
5157 HANDLE_MSG(hwnd, WM_INPUTLANGCHANGE, MD_OnInputLangChange);
5158 HANDLE_MSG(hwnd, WM_TCARD, MD_OnTCard);
5159 HANDLE_MSG(hwnd, WM_HELP, MD_OnHelp);
5160 HANDLE_MSG(hwnd, WM_USERCHANGED, MD_OnUserChanged);
5161 HANDLE_MSG(hwnd, WM_NOTIFYFORMAT, MD_OnNotifyFormat);
5163 HANDLE_MSG(hwnd, WM_STYLECHANGING, MD_OnStyleChanging);
5164 HANDLE_MSG(hwnd, WM_STYLECHANGED, MD_OnStyleChanged);
5165 HANDLE_MSG(hwnd, WM_DISPLAYCHANGE, MD_OnDisplayChange);
5166 HANDLE_MSG(hwnd, WM_GETICON, MD_OnGetIcon);
5167 HANDLE_MSG(hwnd, WM_SETICON, MD_OnSetIcon);
5168#endif
5176#ifndef _WIN32_WCE
5178#endif
5189#if _WIN32_WINNT >= 0x0500
5190 HANDLE_MSG(hwnd, WM_NCXBUTTONDOWN, MD_OnNCXButtonDown);
5191 HANDLE_MSG(hwnd, WM_NCXBUTTONUP, MD_OnNCXButtonUp);
5192 HANDLE_MSG(hwnd, WM_NCXBUTTONDBLCLK, MD_OnNCXButtonDown);
5193#endif
5202#if WINVER >= 0x0400
5203 HANDLE_MSG(hwnd, WM_IME_STARTCOMPOSITION, MD_OnImeStartComposition);
5204 HANDLE_MSG(hwnd, WM_IME_ENDCOMPOSITION, MD_OnImeEndComposition);
5205 HANDLE_MSG(hwnd, WM_IME_COMPOSITION, MD_OnImeComposition);
5206#endif
5218#if WINVER >= 0x0500
5219# ifndef _WIN32_WCE
5220 HANDLE_MSG(hwnd, WM_MENURBUTTONUP, MD_OnMenuRButtonUp);
5221 HANDLE_MSG(hwnd, WM_MENUDRAG, MD_OnMenuDrag);
5222 HANDLE_MSG(hwnd, WM_MENUGETOBJECT, MD_OnMenuGetObject);
5223 HANDLE_MSG(hwnd, WM_UNINITMENUPOPUP, MD_OnUninitMenuPopup);
5224 HANDLE_MSG(hwnd, WM_MENUCOMMAND, MD_OnMenuCommand);
5225# ifndef _WIN32_WCE
5226# if _WIN32_WINNT >= 0x0500
5227 HANDLE_MSG(hwnd, WM_CHANGEUISTATE, MD_OnChangeUIState);
5228 HANDLE_MSG(hwnd, WM_UPDATEUISTATE, MD_OnUpdateUIState);
5229 HANDLE_MSG(hwnd, WM_QUERYUISTATE, MD_OnQueryUIState);
5230# endif
5231# endif
5232# endif
5233#endif
5251#if (_WIN32_WINNT >= 0x0400) || (_WIN32_WINDOWS > 0x0400)
5253#endif
5254#if _WIN32_WINNT >= 0x0500
5255 HANDLE_MSG(hwnd, WM_XBUTTONDOWN, MD_OnXButtonDown);
5256 HANDLE_MSG(hwnd, WM_XBUTTONUP, MD_OnXButtonUp);
5257 HANDLE_MSG(hwnd, WM_XBUTTONDBLCLK, MD_OnXButtonDown);
5258#endif
5262#if WINVER >= 0x0400
5269#endif
5280#ifdef _UNDOCUSER_H
5281 HANDLE_MSG(hwnd, WM_DROPOBJECT, MD_OnDropObject);
5282 HANDLE_MSG(hwnd, WM_QUERYDROPOBJECT, MD_OnQueryDropObject);
5283 HANDLE_MSG(hwnd, WM_BEGINDRAG, MD_OnBeginDrag);
5284 HANDLE_MSG(hwnd, WM_DRAGLOOP, MD_OnDragLoop);
5285 HANDLE_MSG(hwnd, WM_DRAGSELECT, MD_OnDragSelect);
5286 HANDLE_MSG(hwnd, WM_DRAGMOVE, MD_OnDragMove);
5287#endif
5293#if WINVER >= 0x0400
5300#endif
5301#if WINVER >= 0x0500
5303#endif
5304#if WINVER >= 0x0400
5307#endif
5308#if (_WIN32_WINNT >= 0x0400) || (WINVER >= 0x0500)
5311#endif
5312#if WINVER >= 0x0500
5315#endif
5335#if WINVER >= 0x0400
5338#endif
5339#if _WIN32_WINNT >= 0x0500
5341#endif
5342 default:
5343 {
5344 if (WM_USER <= uMsg && uMsg < WM_APP)
5345 {
5346 return MD_OnUser(hwnd, uMsg, wParam, lParam);
5347 }
5348 if (WM_APP <= uMsg && uMsg < MAXINTATOM)
5349 {
5350 return MD_OnApp(hwnd, uMsg, wParam, lParam);
5351 }
5352 else if (MAXINTATOM <= uMsg && uMsg <= MAXWORD &&
5353 GetClipboardFormatName(uMsg, szMsg, _countof(szMsg)))
5354 {
5355 MSGDUMP_TPRINTF(TEXT("%sWM_%u[\"%s\"](hwnd:%p, wParam:%p, lParam:%p)\n"),
5356 MSGDUMP_PREFIX, uMsg, szMsg, (void *)hwnd, wParam, lParam);
5357 }
5358 else
5359 {
5360 return MD_OnUnknown(hwnd, uMsg, wParam, lParam);
5361 }
5362 }
5363 }
5364 return 0;
5365}
5366
5367static __inline LRESULT MSGDUMP_API
5369{
5370#define DEFINE_RESULT(WM_) case WM_: MSGDUMP_TPRINTF(TEXT("%s") TEXT(#WM_) TEXT(": hwnd:%p, lResult:%p\n"), \
5371 MSGDUMP_PREFIX, (void *)hwnd, lResult); break
5372 TCHAR szClass[24], sz[2], szMsg[64];
5373 szClass[0] = 0;
5374 GetClassName(hwnd, szClass, ARRAYSIZE(szClass));
5375 sz[0] = szClass[0];
5376 sz[1] = 0;
5377 CharUpper(sz);
5378
5379 if (sz[0] == TEXT('R') && lstrcmpi(szClass, RICHEDIT_CLASS) == 0)
5380 {
5381 switch (uMsg)
5382 {
5423 }
5424 }
5425
5426 if ((sz[0] == TEXT('E') && lstrcmpi(szClass, TEXT("EDIT")) == 0) ||
5427 (sz[0] == TEXT('R') && lstrcmpi(szClass, RICHEDIT_CLASS) == 0))
5428 {
5429 switch (uMsg)
5430 {
5469 }
5470 }
5471 else if (sz[0] == TEXT('S') && lstrcmpi(szClass, TEXT("STATIC")) == 0)
5472 {
5473 switch (uMsg)
5474 {
5479 }
5480 }
5481 else if (sz[0] == TEXT('L') && lstrcmpi(szClass, TEXT("LISTBOX")) == 0)
5482 {
5483 switch (uMsg)
5484 {
5525 }
5526 }
5527 else if (sz[0] == TEXT('C') && lstrcmpi(szClass, TEXT("COMBOBOX")) == 0)
5528 {
5529 switch (uMsg)
5530 {
5565 }
5566 }
5567 else if (sz[0] == TEXT('S') && lstrcmpi(szClass, TEXT("SCROLLBAR")) == 0)
5568 {
5569 switch (uMsg)
5570 {
5577 DEFINE_RESULT(SBM_SETSCROLLINFO);
5578 DEFINE_RESULT(SBM_GETSCROLLINFO);
5579 DEFINE_RESULT(SBM_GETSCROLLBARINFO);
5580 }
5581 }
5582 else if (sz[0] == TEXT('S') && lstrcmpi(szClass, WC_LISTVIEW) == 0)
5583 {
5584 switch (uMsg)
5585 {
5667#if NTDDI_VERSION >= 0x06000000
5668 DEFINE_RESULT(LVM_GETGROUPSTATE);
5669 DEFINE_RESULT(LVM_GETFOCUSEDGROUP);
5670#endif
5674#if NTDDI_VERSION >= 0x06000000
5675 DEFINE_RESULT(LVM_GETGROUPRECT);
5676#endif
5687#if NTDDI_VERSION >= 0x06000000
5693 DEFINE_RESULT(LVM_GETGROUPCOUNT);
5694 DEFINE_RESULT(LVM_GETGROUPINFOBYINDEX);
5703#endif
5723#if NTDDI_VERSION >= 0x06000000
5724 DEFINE_RESULT(LVM_GETEMPTYTEXT);
5725 DEFINE_RESULT(LVM_GETFOOTERRECT);
5726 DEFINE_RESULT(LVM_GETFOOTERINFO);
5727 DEFINE_RESULT(LVM_GETFOOTERITEMRECT);
5728 DEFINE_RESULT(LVM_GETFOOTERITEM);
5729 DEFINE_RESULT(LVM_GETITEMINDEXRECT);
5730 DEFINE_RESULT(LVM_SETITEMINDEXSTATE);
5731 DEFINE_RESULT(LVM_GETNEXTITEMINDEX);
5732#endif
5733 }
5734 }
5735 else if (sz[0] == TEXT('S') && lstrcmpi(szClass, WC_TREEVIEW) == 0)
5736 {
5737 switch (uMsg)
5738 {
5773#if NTDDI_VERSION >= 0x06000000
5774 DEFINE_RESULT(TVM_SETBORDER);
5775#endif
5783#if NTDDI_VERSION >= 0x06000000
5786#endif
5788#if NTDDI_VERSION >= 0x06000000
5789 DEFINE_RESULT(TVM_SETHOT);
5790 DEFINE_RESULT(TVM_SETAUTOSCROLLINFO);
5791#endif
5796#if NTDDI_VERSION >= 0x06000000
5797 DEFINE_RESULT(TVM_GETSELECTEDCOUNT);
5798 DEFINE_RESULT(TVM_SHOWINFOTIP);
5799 DEFINE_RESULT(TVM_GETITEMPARTRECT);
5800#endif
5801 }
5802 }
5803
5804 switch (uMsg)
5805 {
5821#ifndef _WIN32_WCE
5825#endif
5831 /* DEFINE_RESULT(WM_SETTINGCHANGE); */ /* same as WM_WININICHANGE */
5857#ifndef _WIN32_WCE
5858 DEFINE_RESULT(WM_GETOBJECT);
5859#endif
5868 DEFINE_RESULT(WM_INPUTLANGCHANGEREQUEST);
5869 DEFINE_RESULT(WM_INPUTLANGCHANGE);
5870 DEFINE_RESULT(WM_TCARD);
5871 DEFINE_RESULT(WM_HELP);
5872 DEFINE_RESULT(WM_USERCHANGED);
5873 DEFINE_RESULT(WM_NOTIFYFORMAT);
5875 DEFINE_RESULT(WM_STYLECHANGING);
5876 DEFINE_RESULT(WM_STYLECHANGED);
5877 DEFINE_RESULT(WM_DISPLAYCHANGE);
5878 DEFINE_RESULT(WM_GETICON);
5879 DEFINE_RESULT(WM_SETICON);
5887#ifndef _WIN32_WCE
5889#endif
5900 DEFINE_RESULT(WM_NCXBUTTONDOWN);
5901 DEFINE_RESULT(WM_NCXBUTTONUP);
5902 DEFINE_RESULT(WM_NCXBUTTONDBLCLK);
5903#ifdef WM_INPUT_DEVICE_CHANGE
5905#endif
5916 DEFINE_RESULT(WM_IME_STARTCOMPOSITION);
5917 DEFINE_RESULT(WM_IME_ENDCOMPOSITION);
5918 DEFINE_RESULT(WM_IME_COMPOSITION);
5928#if _WIN32_WINNT >= 0x0601
5929 DEFINE_RESULT(WM_GESTURE);
5930 DEFINE_RESULT(WM_GESTURENOTIFY);
5931#endif
5934#ifndef _WIN32_WCE
5935 DEFINE_RESULT(WM_MENURBUTTONUP);
5936 DEFINE_RESULT(WM_MENUDRAG);
5937 DEFINE_RESULT(WM_MENUGETOBJECT);
5938 DEFINE_RESULT(WM_UNINITMENUPOPUP);
5939 DEFINE_RESULT(WM_MENUCOMMAND);
5940 DEFINE_RESULT(WM_CHANGEUISTATE);
5941 DEFINE_RESULT(WM_UPDATEUISTATE);
5942 DEFINE_RESULT(WM_QUERYUISTATE);
5943#endif
5962 DEFINE_RESULT(WM_XBUTTONDOWN);
5963 DEFINE_RESULT(WM_XBUTTONUP);
5964 DEFINE_RESULT(WM_XBUTTONDBLCLK);
5965#if _WIN32_WINNT >= 0x0600
5966 DEFINE_RESULT(WM_MOUSEHWHEEL);
5967#endif
5992#if WINVER >= 0x0602
5993 DEFINE_RESULT(WM_POINTERDEVICECHANGE);
5994 DEFINE_RESULT(WM_POINTERDEVICEINRANGE);
5995 DEFINE_RESULT(WM_POINTERDEVICEOUTOFRANGE);
5996#endif
5997#if WINVER >= 0x0601
5998 DEFINE_RESULT(WM_TOUCH);
5999#endif
6000#if WINVER >= 0x0602
6001 DEFINE_RESULT(WM_NCPOINTERUPDATE);
6002 DEFINE_RESULT(WM_NCPOINTERDOWN);
6003 DEFINE_RESULT(WM_NCPOINTERUP);
6004 DEFINE_RESULT(WM_POINTERUPDATE);
6005 DEFINE_RESULT(WM_POINTERDOWN);
6006 DEFINE_RESULT(WM_POINTERUP);
6007 DEFINE_RESULT(WM_POINTERENTER);
6008 DEFINE_RESULT(WM_POINTERLEAVE);
6009 DEFINE_RESULT(WM_POINTERACTIVATE);
6010 DEFINE_RESULT(WM_POINTERCAPTURECHANGED);
6011 DEFINE_RESULT(WM_TOUCHHITTESTING);
6012 DEFINE_RESULT(WM_POINTERWHEEL);
6013 DEFINE_RESULT(WM_POINTERHWHEEL);
6014#endif
6028 DEFINE_RESULT(WM_WTSSESSION_CHANGE);
6029#if WINVER >= 0x0601
6030 DEFINE_RESULT(WM_DPICHANGED);
6031#endif
6054 DEFINE_RESULT(WM_THEMECHANGED);
6055#ifdef WM_CLIPBOARDUPDATE
6056 DEFINE_RESULT(WM_CLIPBOARDUPDATE);
6057#endif
6058#if _WIN32_WINNT >= 0x0600
6063#endif
6064#if _WIN32_WINNT >= 0x0601
6065 DEFINE_RESULT(WM_DWMSENDICONICTHUMBNAIL);
6066 DEFINE_RESULT(WM_DWMSENDICONICLIVEPREVIEWBITMAP);
6067#endif
6068#if WINVER >= 0x0600
6070#endif
6071 default:
6072 if (WM_USER <= uMsg && uMsg < WM_APP)
6073 {
6074 MSGDUMP_TPRINTF(TEXT("%sWM_USER+%u(hwnd:%p, lResult:%p)\n"),
6075 MSGDUMP_PREFIX, uMsg - WM_USER, (void *)hwnd, (void *)lResult);
6076 }
6077 else if (WM_APP <= uMsg && uMsg < MAXINTATOM)
6078 {
6079 MSGDUMP_TPRINTF(TEXT("%sWM_APP+%u(hwnd:%p, lResult:%p)\n"),
6080 MSGDUMP_PREFIX, uMsg - WM_APP, (void *)hwnd, (void *)lResult);
6081 }
6082 else if (MAXINTATOM <= uMsg && uMsg <= MAXWORD &&
6083 GetClipboardFormatName(uMsg, szMsg, _countof(szMsg)))
6084 {
6085 MSGDUMP_TPRINTF(TEXT("%sWM_%u[\"%s\"](hwnd:%p, lResult:%p)\n"),
6086 MSGDUMP_PREFIX, uMsg, szMsg, (void *)hwnd, (void *)lResult);
6087 }
6088 else
6089 {
6090 MSGDUMP_TPRINTF(TEXT("%sWM_%u(hwnd:%p, lResult:%p)\n"),
6091 MSGDUMP_PREFIX, uMsg, (void *)hwnd, (void *)lResult);
6092 }
6093#undef DEFINE_RESULT
6094 }
6095 return 0;
6096}
6097
6098#endif
static HDC hDC
Definition: 3dtext.c:33
#define MSGDUMP_TPRINTF
static HFONT hfont
static HRGN hrgn
HDC hdcTarget
Definition: PatBlt.c:13
UINT cchMax
static int state
Definition: maze.c:121
#define msg(x)
Definition: auth_time.c:54
HIMAGELIST himl
WPARAM wParam
Definition: combotst.c:138
LPARAM lParam
Definition: combotst.c:139
#define NULL
Definition: types.h:112
#define TRUE
Definition: types.h:120
#define FALSE
Definition: types.h:117
#define ARRAYSIZE(array)
Definition: filtermapper.c:47
UINT uFlags
Definition: api.c:59
static const WCHAR indent[]
Definition: object.c:1156
#define FAR
Definition: zlib.h:34
POINTL point
Definition: edittest.c:50
#define WM_APP
Definition: eventvwr.h:73
DWORD dwThreadId
Definition: fdebug.c:31
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
unsigned short WORD
Definition: ntddk_ex.h:93
FxPnpStateCallbackInfo * pCallback
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
GLuint GLuint GLsizei GLenum type
Definition: gl.h:1545
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
GLint GLint GLsizei GLsizei height
Definition: gl.h:1546
GLuint color
Definition: glext.h:6243
GLuint index
Definition: glext.h:6031
GLenum GLint GLuint mask
Definition: glext.h:6028
GLenum GLuint GLenum GLsizei const GLchar * buf
Definition: glext.h:7751
GLbitfield flags
Definition: glext.h:7161
GLenum GLuint GLsizei bufsize
Definition: glext.h:7473
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
Definition: glfuncs.h:248
REFIID LPVOID DWORD_PTR dw
Definition: atlbase.h:40
#define TEXT(s)
Definition: k32.h:26
GLint dy
Definition: linetemp.h:97
GLint dx
Definition: linetemp.h:97
HDC hdc
Definition: main.c:9
static HDC
Definition: imagelist.c:92
static HICON
Definition: imagelist.c:84
static DWORD *static HFONT(WINAPI *pCreateFontIndirectExA)(const ENUMLOGFONTEXDVA *)
static HANDLE ULONG_PTR dwData
Definition: file.c:35
static HMODULE MODULEINFO DWORD cb
Definition: module.c:33
static TfClientId cid
static refpint_t pi[]
Definition: server.c:96
static const CLSID *static CLSID *static const GUID VARIANT VARIANT *static IServiceProvider DWORD *static HMENU
Definition: ordinal.c:63
static ATOM item
Definition: dde.c:856
WORD vk
Definition: input.c:77
HICON hIcon
Definition: msconfig.c:44
UINT_PTR HKL
Definition: msctf.idl:143
static __inline DWORD MSGDUMP_API MD_ListView_OnGetHoverTime(HWND hwnd)
Definition: msgdump.h:3354
static __inline void MSGDUMP_API MD_OnCancelMode(HWND hwnd)
Definition: msgdump.h:305
static __inline void MSGDUMP_API MD_OnInputLangChange(HWND hwnd, DWORD dwCharSet, HKL hKL)
Definition: msgdump.h:1356
static __inline INT MSGDUMP_API MD_RichEdit_OnGetRedoName(HWND hwnd)
Definition: msgdump.h:4624
static __inline BOOL MSGDUMP_API MD_ListView_OnDeleteAllItems(HWND hwnd)
Definition: msgdump.h:2860
static __inline int MSGDUMP_API MD_OnVkeyToItem(HWND hwnd, UINT vk, HWND hwndListbox, int iCaret)
Definition: msgdump.h:393
static __inline INT MSGDUMP_API MD_ListView_OnGetItemCount(HWND hwnd)
Definition: msgdump.h:2820
static __inline void MSGDUMP_API MD_OnSysCommand(HWND hwnd, UINT cmd, int x, int y)
Definition: msgdump.h:867
static __inline INT MSGDUMP_API MD_ComboBox_OnSetItemHeight(HWND hwnd, INT index, INT height)
Definition: msgdump.h:2594
static __inline void MSGDUMP_API MD_MDIRestore(HWND hwnd, HWND hwndRestore)
Definition: msgdump.h:1056
static __inline INT MSGDUMP_API MD_ComboBox_OnSetTopIndex(HWND hwnd, INT index)
Definition: msgdump.h:2670
static __inline void MSGDUMP_API MD_OnCancelJournal(HWND hwnd)
Definition: msgdump.h:1342
static __inline DWORD MSGDUMP_API MD_ListView_OnApproximateViewRect(HWND hwnd, INT iWidth, INT iHeight, INT iCount)
Definition: msgdump.h:3290
static __inline void MSGDUMP_API MD_OnVScroll(HWND hwnd, HWND hwndCtl, UINT code, int pos)
Definition: msgdump.h:888
#define MSGDUMP_PREFIX
Definition: msgdump.h:34
static __inline void MSGDUMP_API MD_OnHScroll(HWND hwnd, HWND hwndCtl, UINT code, int pos)
Definition: msgdump.h:881
static __inline void MSGDUMP_API MD_OnInitMenuPopup(HWND hwnd, HMENU hMenu, UINT item, BOOL fSystemMenu)
Definition: msgdump.h:902
static __inline void MSGDUMP_API MD_OnNCMButtonUp(HWND hwnd, int x, int y, UINT codeHitTest)
Definition: msgdump.h:787
static __inline INT MSGDUMP_API MD_ListView_OnGetTopIndex(HWND hwnd)
Definition: msgdump.h:3092
static __inline UINT MSGDUMP_API MD_OnNCCalcSize(HWND hwnd, BOOL fCalcValidRects, NCCALCSIZE_PARAMS *lpcsp)
Definition: msgdump.h:682
static __inline void MSGDUMP_API MD_OnPrintClient(HWND hwnd, HDC hDC, UINT uFlags)
Definition: msgdump.h:1731
static __inline BOOL MSGDUMP_API MD_ListView_OnSetItemPosition(HWND hwnd, INT i, INT x, INT y)
Definition: msgdump.h:2908
static __inline void MSGDUMP_API MD_Edit_OnSetWordBreakProc(HWND hwnd, EDITWORDBREAKPROC ewbprc)
Definition: msgdump.h:1963
static __inline INT MSGDUMP_API MD_Edit_OnLineIndex(HWND hwnd, INT line)
Definition: msgdump.h:1831
static __inline INT MSGDUMP_API MD_Edit_OnLineFromChar(HWND hwnd, INT ich)
Definition: msgdump.h:1917
static __inline void MSGDUMP_API MD_OnImeKey(HWND hwnd, BOOL fDown, UINT nVirtKey, LONG lKeyData)
Definition: msgdump.h:1681
static __inline INT MSGDUMP_API MD_ScrollBar_OnGetPos(HWND hwnd)
Definition: msgdump.h:2725
static __inline void MSGDUMP_API MD_OnRButtonUp(HWND hwnd, int x, int y, UINT flags)
Definition: msgdump.h:983
static __inline void MSGDUMP_API MD_OnHotKey(HWND hwnd, int idHotKey, UINT fuModifiers, UINT vk)
Definition: msgdump.h:1304
static __inline INT MSGDUMP_API MD_Edit_OnGetLineCount(HWND hwnd)
Definition: msgdump.h:1823
static __inline LRESULT MSGDUMP_API MD_OnImeControl(HWND hwnd, WPARAM wSubMessage, LPVOID lpData)
Definition: msgdump.h:1644
static __inline INT MSGDUMP_API MD_ListView_OnGetHotItem(HWND hwnd)
Definition: msgdump.h:3266
static __inline void MSGDUMP_API MD_OnGetMinMaxInfo(HWND hwnd, LPMINMAXINFO lpMinMaxInfo)
Definition: msgdump.h:342
static __inline HWND MSGDUMP_API MD_TreeView_OnGetToolTips(HWND hwnd)
Definition: msgdump.h:4093
static __inline INT MSGDUMP_API MD_ComboBox_OnSetEditSel(HWND hwnd, INT ichStart, INT ichEnd)
Definition: msgdump.h:2440
static __inline INT MSGDUMP_API MD_TreeView_OnSetItemHeight(HWND hwnd, INT iHeight)
Definition: msgdump.h:4109
static __inline INT MSGDUMP_API MD_ListBox_OnSelItemRangeEx(HWND hwnd, UINT wFirst, UINT wLast)
Definition: msgdump.h:2112
static __inline INT MSGDUMP_API MD_OnGetTextLength(HWND hwnd)
Definition: msgdump.h:191
static __inline HBRUSH MSGDUMP_API MD_OnCtlColor(HWND hwnd, HDC hdc, HWND hwndChild, int type)
Definition: msgdump.h:931
static __inline void MSGDUMP_API MD_OnImeCompositionFull(HWND hwnd)
Definition: msgdump.h:1652
static __inline HFONT MSGDUMP_API MD_OnGetFont(HWND hwnd)
Definition: msgdump.h:416
static __inline BOOL MSGDUMP_API MD_ListView_OnSetColumnOrderArray(HWND hwnd, INT iCount, LPINT pi)
Definition: msgdump.h:3242
static __inline HTREEITEM MSGDUMP_API MD_TreeView_OnInsertItemW(HWND hwnd, LPTV_INSERTSTRUCTW lpis)
Definition: msgdump.h:4257
static __inline BOOL MSGDUMP_API MD_ListView_OnGetItemA(HWND hwnd, LV_ITEMA *pitem)
Definition: msgdump.h:2828
static __inline void MSGDUMP_API MD_OnContextMenu(HWND hwnd, HWND hwndContext, UINT xPos, UINT yPos)
Definition: msgdump.h:653
static __inline INT MSGDUMP_API MD_ComboBox_OnDeleteString(HWND hwnd, INT index)
Definition: msgdump.h:2460
static __inline HTREEITEM MSGDUMP_API MD_TreeView_OnInsertItemA(HWND hwnd, LPTV_INSERTSTRUCTA lpis)
Definition: msgdump.h:3901
static __inline INT MSGDUMP_API MD_ComboBox_OnGetItemHeight(HWND hwnd, INT index)
Definition: msgdump.h:2602
static __inline void MSGDUMP_API MD_MDIMaximize(HWND hwnd, HWND hwndMaximize)
Definition: msgdump.h:1071
static __inline void MSGDUMP_API MD_OnInputLangChangeRequest(HWND hwnd, BOOL bFlag, HKL hKL)
Definition: msgdump.h:1349
static __inline BOOL MSGDUMP_API MD_ListView_OnSetItemTextA(HWND hwnd, INT i, const LV_ITEMA *lvi)
Definition: msgdump.h:3148
static __inline DWORD MSGDUMP_API MD_RichEdit_OnGetEventMask(HWND hwnd)
Definition: msgdump.h:4411
static __inline void MSGDUMP_API MD_RichEdit_OnStopGroupTyping(HWND hwnd)
Definition: msgdump.h:4632
static __inline BOOL MSGDUMP_API MD_TreeView_OnSetIndent(HWND hwnd, INT indent)
Definition: msgdump.h:3949
static __inline void MSGDUMP_API MD_OnAskCBFormatName(HWND hwnd, int cchMax, LPTSTR rgchName)
Definition: msgdump.h:1261
static __inline UINT MSGDUMP_API MD_TreeView_OnGetCount(HWND hwnd)
Definition: msgdump.h:3933
static __inline UINT MSGDUMP_API MD_ListView_OnMapIDToIndex(HWND hwnd, UINT id)
Definition: msgdump.h:3820
static __inline void MSGDUMP_API MD_OnImeComposition(HWND hwnd, WORD wChar, DWORD lAttribute)
Definition: msgdump.h:1466
static __inline LPCTSTR MSGDUMP_API MD_GetNotifyCode(HWND hwndFrom, UINT code)
Definition: msgdump.h:484
static __inline void MSGDUMP_API MD_OnNCMouseHover(HWND hwnd, UINT nHitTest, INT xPos, INT yPos)
Definition: msgdump.h:1710
static __inline void MSGDUMP_API MD_ListView_OnSetItemPosition32(HWND hwnd, INT i, const POINT *ppt)
Definition: msgdump.h:3171
static __inline BOOL MSGDUMP_API MD_RichEdit_OnRedo(HWND hwnd)
Definition: msgdump.h:4600
static __inline void MSGDUMP_API MD_OnNCPaint(HWND hwnd, HRGN hrgn)
Definition: msgdump.h:698
static __inline UINT MSGDUMP_API MD_TreeView_OnSetScrollTime(HWND hwnd, UINT uTime)
Definition: msgdump.h:4157
static __inline BOOL MSGDUMP_API MD_ListView_OnGetISearchStringW(HWND hwnd, LPWSTR lpsz)
Definition: msgdump.h:3502
static __inline INT MSGDUMP_API MD_ListView_OnGetColumnWidth(HWND hwnd, INT iCol)
Definition: msgdump.h:3020
static __inline void MSGDUMP_API MD_OnExitMenuLoop(HWND hwnd, BOOL bIsTrackPopupMenu)
Definition: msgdump.h:1561
static __inline INT MSGDUMP_API MD_ListBox_OnGetAnchorIndex(HWND hwnd)
Definition: msgdump.h:2333
static __inline BOOL MSGDUMP_API MD_TreeView_OnGetISearchStringA(HWND hwnd, LPSTR lpsz)
Definition: msgdump.h:4077
static __inline DWORD MSGDUMP_API MD_Edit_OnGetMargins(HWND hwnd)
Definition: msgdump.h:1993
static __inline UINT MSGDUMP_API MD_ListView_OnMapIndexToID(HWND hwnd, UINT index)
Definition: msgdump.h:3812
static __inline INT_PTR MSGDUMP_API MD_ComboBox_OnSetItemData(HWND hwnd, INT index, DWORD_PTR dwData)
Definition: msgdump.h:2579
static __inline void MSGDUMP_API MD_OnFontChange(HWND hwnd)
Definition: msgdump.h:291
static __inline INT MSGDUMP_API MD_ComboBox_OnAddString(HWND hwnd, LPCTSTR lpsz)
Definition: msgdump.h:2448
static __inline void MSGDUMP_API MD_OnEnable(HWND hwnd, BOOL fEnable)
Definition: msgdump.h:158
static __inline void MSGDUMP_API MD_OnPaletteIsChanging(HWND hwnd, HWND hwndPaletteChange)
Definition: msgdump.h:1290
static __inline BOOL MSGDUMP_API MD_TreeView_OnSortChildren(HWND hwnd, HTREEITEM hitem, BOOL recurse)
Definition: msgdump.h:4045
static __inline LRESULT MSGDUMP_API MD_RichEdit_OnCanPaste(HWND hwnd, UINT uFormat)
Definition: msgdump.h:4341
static __inline BOOL MSGDUMP_API MD_TreeView_OnExpand(HWND hwnd, HTREEITEM hitem, UINT code)
Definition: msgdump.h:3917
static __inline BOOL MSGDUMP_API MD_TreeView_OnSelectItem(HWND hwnd, UINT code, HTREEITEM hitem)
Definition: msgdump.h:3981
static __inline BOOL MSGDUMP_API MD_Edit_OnSetReadOnly(HWND hwnd, BOOL fReadOnly)
Definition: msgdump.h:1955
static __inline void *MSGDUMP_API MD_RichEdit_OnSetWordBreakProcEx(HWND hwnd, void *pfn)
Definition: msgdump.h:4584
static __inline UINT MSGDUMP_API MD_TreeView_OnGetItemState(HWND hwnd, HTREEITEM hti, UINT mask)
Definition: msgdump.h:4199
static __inline COLORREF MSGDUMP_API MD_TreeView_OnGetBkColor(HWND hwnd)
Definition: msgdump.h:4141
static __inline void MSGDUMP_API MD_OnInitMenu(HWND hwnd, HMENU hMenu)
Definition: msgdump.h:895
static __inline void MSGDUMP_API MD_OnSizing(HWND hwnd, UINT nSide, LPRECT lpRect)
Definition: msgdump.h:1575
static __inline BOOL MSGDUMP_API MD_ListView_OnSetColumnA(HWND hwnd, INT iCol, const LV_COLUMNA *pcol)
Definition: msgdump.h:2996
static __inline BOOL MSGDUMP_API MD_ListView_OnIsItemVisible(HWND hwnd, UINT index)
Definition: msgdump.h:3828
static __inline INT MSGDUMP_API MD_ComboBox_OnGetDroppedWidth(HWND hwnd)
Definition: msgdump.h:2693
static __inline DWORD MSGDUMP_API MD_RichEdit_OnGetCharFormat(HWND hwnd, BOOL fSelection, CHARFORMAT *lpFmt)
Definition: msgdump.h:4403
static __inline INT MSGDUMP_API MD_ListBox_OnGetItemHeight(HWND hwnd, INT index)
Definition: msgdump.h:2365
static __inline BOOL MSGDUMP_API MD_TreeView_OnGetISearchStringW(HWND hwnd, LPWSTR lpsz)
Definition: msgdump.h:4299
static __inline void MSGDUMP_API MD_OnNextMenu(HWND hwnd, INT nCode, LPMDINEXTMENU lpMDINextMenu)
Definition: msgdump.h:1568
static __inline void MSGDUMP_API MD_OnPower(HWND hwnd, int code)
Definition: msgdump.h:469
static __inline void MSGDUMP_API MD_OnDestroyClipboard(HWND hwnd)
Definition: msgdump.h:1224
static __inline void MSGDUMP_API MD_OnSysColorChange(HWND hwnd)
Definition: msgdump.h:251
static __inline LCID MSGDUMP_API MD_ComboBox_OnGetLocale(HWND hwnd)
Definition: msgdump.h:2654
static __inline void MSGDUMP_API MD_ListView_OnSetItemCount(HWND hwnd, INT cItems)
Definition: msgdump.h:3156
static __inline void MSGDUMP_API MD_OnMouseWheel(HWND hwnd, int xPos, int yPos, int zDelta, UINT fwKeys)
Definition: msgdump.h:1012
static __inline BOOL MSGDUMP_API MD_ListView_OnGetInsertMark(HWND hwnd, LVINSERTMARK *lvim)
Definition: msgdump.h:3725
static __inline BOOL MSGDUMP_API MD_RichEdit_OnSetTargetDevice(HWND hwnd, HDC hdcTarget, INT cxLineWidth)
Definition: msgdump.h:4512
static __inline INT MSGDUMP_API MD_ListBox_OnSetItemHeight(HWND hwnd, INT index, INT cyItem)
Definition: msgdump.h:2357
static __inline void MSGDUMP_API MD_OnEnterMenuLoop(HWND hwnd, BOOL bIsTrackPopupMenu)
Definition: msgdump.h:1554
static __inline DWORD MSGDUMP_API MD_OnMenuChar(HWND hwnd, UINT ch, UINT flags, HMENU hmenu)
Definition: msgdump.h:916
static __inline HIMAGELIST MSGDUMP_API MD_TreeView_OnCreateDragImage(HWND hwnd, HTREEITEM hitem)
Definition: msgdump.h:4037
static __inline BOOL MSGDUMP_API MD_ListView_OnGetBkImageA(HWND hwnd, LVBKIMAGEA *plvbki)
Definition: msgdump.h:3330
static __inline INT MSGDUMP_API MD_ListView_OnGetSelectionMark(HWND hwnd)
Definition: msgdump.h:3306
static __inline void MSGDUMP_API MD_RichEdit_OnRequestResize(HWND hwnd)
Definition: msgdump.h:4457
static __inline INT MSGDUMP_API MD_ListBox_OnSelectString(HWND hwnd, INT indexStart, LPCTSTR lpszFind)
Definition: msgdump.h:2183
static __inline void MSGDUMP_API MD_OnSysChar(HWND hwnd, TCHAR ch, int cRepeat)
Definition: msgdump.h:838
static __inline void MSGDUMP_API MD_OnQuit(HWND hwnd, int exitCode)
Definition: msgdump.h:236
static __inline INT MSGDUMP_API MD_ListView_OnInsertColumnW(HWND hwnd, INT iCol, const LV_COLUMNW *pcol)
Definition: msgdump.h:3468
static __inline void MSGDUMP_API MD_MDIDestroy(HWND hwnd, HWND hwndDestroy)
Definition: msgdump.h:1042
static __inline INT MSGDUMP_API MD_ListView_OnGetColumnW(HWND hwnd, INT iCol)
Definition: msgdump.h:3452
static __inline INT MSGDUMP_API MD_ListBox_OnFindStringExact(HWND hwnd, INT indexStart, LPCTSTR lpszFind)
Definition: msgdump.h:2373
static __inline INT MSGDUMP_API MD_Edit_OnLineLength(HWND hwnd, INT ich)
Definition: msgdump.h:1862
static __inline DWORD MSGDUMP_API MD_ListView_OnSetIconSpacing(HWND hwnd, INT cx, INT cy)
Definition: msgdump.h:3202
static __inline void MSGDUMP_API MD_OnMenuSelect(HWND hwnd, HMENU hmenu, int item, HMENU hmenuPopup, UINT flags)
Definition: msgdump.h:909
static __inline void MSGDUMP_API MD_OnNCDestroy(HWND hwnd)
Definition: msgdump.h:675
static __inline BOOL MSGDUMP_API MD_ListView_OnSetColumnW(HWND hwnd, INT iCol, INT cx)
Definition: msgdump.h:3460
static __inline INT MSGDUMP_API MD_ListView_OnGetItemTextA(HWND hwnd, INT i, LV_ITEMA *lvi)
Definition: msgdump.h:3140
static __inline BOOL MSGDUMP_API MD_TreeView_OnSortChildrenCB(HWND hwnd, LPTV_SORTCB psort, BOOL recurse)
Definition: msgdump.h:4061
static __inline INT MSGDUMP_API MD_ListBox_OnDir(HWND hwnd, UINT uAttrs, LPCTSTR lpszFileSpec)
Definition: msgdump.h:2195
static __inline BOOL MSGDUMP_API MD_TreeView_OnSetInsertMark(HWND hwnd, HTREEITEM hItem, BOOL fAfter)
Definition: msgdump.h:4101
static __inline UINT MSGDUMP_API MD_OnGetDlgCode(HWND hwnd, LPMSG lpmsg)
Definition: msgdump.h:713
static __inline INT MSGDUMP_API MD_ScrollBar_OnSetScrollInfo(HWND hwnd, BOOL fRedraw, LPSCROLLINFO lpsi)
Definition: msgdump.h:2764
static __inline void MSGDUMP_API MD_ListView_OnGetTileInfo(HWND hwnd, LVTILEINFO *pti)
Definition: msgdump.h:3710
static __inline BOOL MSGDUMP_API MD_ListView_OnSetColumnWidth(HWND hwnd, INT iCol, INT cx)
Definition: msgdump.h:3028
static __inline COLORREF MSGDUMP_API MD_ListView_OnGetInsertMarkColor(HWND hwnd)
Definition: msgdump.h:3757
static __inline INT MSGDUMP_API MD_ListView_OnSetHotItem(HWND hwnd, INT i)
Definition: msgdump.h:3258
static __inline HANDLE MSGDUMP_API MD_Static_OnSetImage(HWND hwnd, UINT fImageType, HANDLE hImage)
Definition: msgdump.h:2064
static __inline COLORREF MSGDUMP_API MD_TreeView_OnSetInsertMarkColor(HWND hwnd, COLORREF clr)
Definition: msgdump.h:4183
static __inline HWND MSGDUMP_API MD_ListView_OnEditLabelA(HWND hwnd, INT i)
Definition: msgdump.h:2972
static __inline DWORD MSGDUMP_API MD_RichEdit_OnSelectionType(HWND hwnd)
Definition: msgdump.h:4464
static __inline INT MSGDUMP_API MD_Edit_OnGetLine(HWND hwnd, INT line, LPCTSTR lpch)
Definition: msgdump.h:1881
static __inline BOOL MSGDUMP_API MD_ComboBox_OnGetExtendedUI(HWND hwnd)
Definition: msgdump.h:2618
static __inline HICON MSGDUMP_API MD_OnSetIcon(HWND hwnd, UINT nType, HICON hIcon)
Definition: msgdump.h:1414
static __inline void MSGDUMP_API MD_OnImeEndComposition(HWND hwnd)
Definition: msgdump.h:1459
static __inline INT MSGDUMP_API MD_RichEdit_OnFormatRange(HWND hwnd, BOOL fRender, FORMATRANGE *lpFmt)
Definition: msgdump.h:4395
static __inline INT MSGDUMP_API MD_ListView_OnSetItemTextW(HWND hwnd, INT i, const LV_ITEMW *pitem)
Definition: msgdump.h:3494
static __inline void MSGDUMP_API MD_ComboBox_OnLimitText(HWND hwnd, UINT cchLimit)
Definition: msgdump.h:2433
static __inline BOOL MSGDUMP_API MD_OnCopyData(HWND hwnd, HWND hwndFrom, PCOPYDATASTRUCT pcds)
Definition: msgdump.h:476
#define MSGDUMP_API
Definition: msgdump.h:30
static __inline UINT MSGDUMP_API MD_RichEdit_OnSetOptions(HWND hwnd, UINT fOperation, UINT fOptions)
Definition: msgdump.h:4552
static __inline void MSGDUMP_API MD_OnLButtonUp(HWND hwnd, int x, int y, UINT keyFlags)
Definition: msgdump.h:961
static __inline void MSGDUMP_API MD_OnRenderAllFormats(HWND hwnd)
Definition: msgdump.h:1217
static __inline LRESULT MSGDUMP_API MD_OnImeNotify(HWND hwnd, WPARAM wSubMessage, LPARAM lParam)
Definition: msgdump.h:1636
static __inline HICON MSGDUMP_API MD_OnQueryDragIcon(HWND hwnd)
Definition: msgdump.h:424
static __inline HICON MSGDUMP_API MD_OnGetIcon(HWND hwnd, UINT nType, LPARAM dpi)
Definition: msgdump.h:1406
static __inline void MSGDUMP_API MD_OnMeasureItem(HWND hwnd, MEASUREITEMSTRUCT *lpMeasureItem)
Definition: msgdump.h:379
static __inline COLORREF MSGDUMP_API MD_ListView_OnSetInsertMarkColor(HWND hwnd, COLORREF color)
Definition: msgdump.h:3749
static __inline HWND MSGDUMP_API MD_ListView_OnSetToolTips(HWND hwnd, HWND hwndNewHwnd)
Definition: msgdump.h:3370
static __inline void MSGDUMP_API MD_OnImeChar(HWND hwnd, WORD wCharCode, LONG lKeyData)
Definition: msgdump.h:1666
static __inline INT MSGDUMP_API MD_ListBox_OnGetCurSel(HWND hwnd)
Definition: msgdump.h:2151
static __inline void MSGDUMP_API MD_Edit_OnSetPasswordChar(HWND hwnd, UINT ch)
Definition: msgdump.h:1933
static __inline BOOL MSGDUMP_API MD_TreeView_OnEndEditLabelNow(HWND hwnd, BOOL fCancel)
Definition: msgdump.h:4069
static __inline BOOL MSGDUMP_API MD_OnQueryOpen(HWND hwnd)
Definition: msgdump.h:221
static __inline COLORREF MSGDUMP_API MD_ListView_OnGetOutlineColor(HWND hwnd)
Definition: msgdump.h:3789
static __inline UINT MSGDUMP_API MD_ListView_OnGetSelectedCount(HWND hwnd)
Definition: msgdump.h:3178
static __inline LRESULT MSGDUMP_API MD_OnGetObject(HWND hwnd, WPARAM wParam, DWORD dwObjId)
Definition: msgdump.h:1334
static __inline void MSGDUMP_API MD_ComboBox_OnGetDroppedControlRect(HWND hwnd, RECT FAR *lprc)
Definition: msgdump.h:2587
static __inline void MSGDUMP_API MD_OnLButtonDown(HWND hwnd, BOOL fDoubleClick, int x, int y, UINT keyFlags)
Definition: msgdump.h:946
static __inline INT MSGDUMP_API MD_ListView_OnInsertItemA(HWND hwnd, const LV_ITEMA *pitem)
Definition: msgdump.h:2844
static __inline COLORREF MSGDUMP_API MD_TreeView_OnGetInsertMarkColor(HWND hwnd)
Definition: msgdump.h:4191
static __inline INT MSGDUMP_API MD_ListView_OnGetItemTextW(HWND hwnd, INT i, LV_ITEMW *pitem)
Definition: msgdump.h:3486
static __inline HMENU MSGDUMP_API MD_MDIRefreshMenu(HWND hwnd)
Definition: msgdump.h:1620
static __inline void MSGDUMP_API MD_ComboBox_OnResetContent(HWND hwnd)
Definition: msgdump.h:2524
static __inline BOOL MSGDUMP_API MD_RichEdit_OnGetOleInterface(HWND hwnd, LPVOID *ppObject)
Definition: msgdump.h:4419
static __inline INT MSGDUMP_API MD_Edit_OnGetThumb(HWND hwnd)
Definition: msgdump.h:1854
static __inline BOOL MSGDUMP_API MD_ListView_OnGetViewRect(HWND hwnd, RECT *prc)
Definition: msgdump.h:3052
static __inline UINT MSGDUMP_API MD_RichEdit_OnGetOptions(HWND hwnd)
Definition: msgdump.h:4560
static __inline HANDLE MSGDUMP_API MD_OnRenderFormat(HWND hwnd, UINT fmt)
Definition: msgdump.h:1209
static __inline COLORREF MSGDUMP_API MD_ListView_OnGetTextBkColor(HWND hwnd)
Definition: msgdump.h:3076
static __inline void MSGDUMP_API MD_OnPaintIcon(HWND hwnd)
Definition: msgdump.h:1327
static __inline void MSGDUMP_API MD_OnCut(HWND hwnd)
Definition: msgdump.h:1174
static __inline void MSGDUMP_API MD_OnMouseLeave(HWND hwnd)
Definition: msgdump.h:1703
static __inline void MSGDUMP_API MD_OnNCXButtonDown(HWND hwnd, BOOL fDoubleClick, UINT nHitTest, WORD fwButton, INT xPos, INT yPos)
Definition: msgdump.h:1429
#define DEFINE_RESULT(WM_)
static __inline void MSGDUMP_API MD_Edit_OnSetRect(HWND hwnd, LPCRECT prc)
Definition: msgdump.h:1768
#define LVM_SETTILEWIDTH
Definition: msgdump.h:3541
static __inline BOOL MSGDUMP_API MD_ListView_OnSortItemsEx(HWND hwnd, PFNLVCOMPARE pfnCompare, LPARAM lPrm)
Definition: msgdump.h:3410
static __inline HWND MSGDUMP_API MD_TreeView_OnGetEditControl(HWND hwnd)
Definition: msgdump.h:4013
static __inline DWORD MSGDUMP_API MD_ComboBox_OnGetEditSel(HWND hwnd, LPDWORD lpdwStart, LPDWORD lpdwEnd)
Definition: msgdump.h:2425
static __inline void MSGDUMP_API MD_OnParentNotify(HWND hwnd, UINT msg, HWND hwndChild, int idChild)
Definition: msgdump.h:1019
static __inline UINT MSGDUMP_API MD_OnMenuDrag(HWND hwnd, UINT nPos, HMENU hMenu)
Definition: msgdump.h:1480
static __inline BOOL MSGDUMP_API MD_ListView_OnGetBkImageW(HWND hwnd, LVBKIMAGEW *plvbki)
Definition: msgdump.h:3526
static __inline DWORD MSGDUMP_API MD_RichEdit_OnSetUndoLimit(HWND hwnd, DWORD dwMaxUndo)
Definition: msgdump.h:4592
static __inline HTREEITEM MSGDUMP_API MD_TreeView_OnMapAccIDToHTREEITEM(HWND hwnd, UINT id)
Definition: msgdump.h:4223
static __inline BOOL MSGDUMP_API MD_OnQueryEndSession(HWND hwnd)
Definition: msgdump.h:213
static __inline INT MSGDUMP_API MD_RichEdit_OnGetSelText(HWND hwnd, LPTSTR lpBuf)
Definition: msgdump.h:4435
static __inline LCID MSGDUMP_API MD_ListBox_OnSetLocale(HWND hwnd, LCID wLocaleID)
Definition: msgdump.h:2385
static __inline void MSGDUMP_API MD_OnUserChanged(HWND hwnd)
Definition: msgdump.h:1377
static __inline INT MSGDUMP_API MD_RichEdit_OnFindText(HWND hwnd, UINT fuFlags, FINDTEXT *lpFindText)
Definition: msgdump.h:4387
static __inline INT MSGDUMP_API MD_ScrollBar_OnSetRangeRedraw(HWND hwnd, INT nMinPos, INT nMaxPos)
Definition: msgdump.h:2741
static __inline INT MSGDUMP_API MD_ComboBox_OnFindString(HWND hwnd, INT indexStart, LPCTSTR lpszFind)
Definition: msgdump.h:2531
static __inline int MSGDUMP_API MD_OnCharToItem(HWND hwnd, UINT ch, HWND hwndListbox, int iCaret)
Definition: msgdump.h:401
static __inline BOOL MSGDUMP_API MD_RichEdit_OnDisplayBand(HWND hwnd, LPRECT lprc)
Definition: msgdump.h:4349
static __inline INT MSGDUMP_API MD_ListView_OnGetStringWidthW(HWND hwnd, LPCWSTR psz)
Definition: msgdump.h:3426
static __inline void MSGDUMP_API MD_OnKillFocus(HWND hwnd, HWND hwndNewFocus)
Definition: msgdump.h:151
static __inline void MSGDUMP_API MD_OnNCLButtonUp(HWND hwnd, int x, int y, UINT codeHitTest)
Definition: msgdump.h:743
static __inline void MSGDUMP_API MD_OnVScrollClipboard(HWND hwnd, HWND hwndCBViewer, UINT code, int pos)
Definition: msgdump.h:1245
static __inline BOOL MSGDUMP_API MD_ListView_OnGetSubItemRect(HWND hwnd, INT iItem, RECT *prc)
Definition: msgdump.h:3226
static __inline DWORD MSGDUMP_API MD_RichEdit_OnStreamIn(HWND hwnd, UINT uFormat, EDITSTREAM *lpStream)
Definition: msgdump.h:4520
static __inline void MSGDUMP_API MD_OnPaintClipboard(HWND hwnd, HWND hwndCBViewer, const LPPAINTSTRUCT lpPaintStruct)
Definition: msgdump.h:1238
static __inline void MSGDUMP_API MD_OnSysKey(HWND hwnd, UINT vk, BOOL fDown, int cRepeat, UINT flags)
Definition: msgdump.h:823
static __inline INT MSGDUMP_API MD_ListBox_OnGetCaretIndex(HWND hwnd)
Definition: msgdump.h:2349
static __inline INT MSGDUMP_API MD_ListBox_OnGetTopIndex(HWND hwnd)
Definition: msgdump.h:2207
static __inline void MSGDUMP_API MD_OnTimer(HWND hwnd, UINT id)
Definition: msgdump.h:874
static __inline BOOL MSGDUMP_API MD_ListView_OnSetInfoTip(HWND hwnd, const LVSETINFOTIP *plvInfoTip)
Definition: msgdump.h:3765
static __inline INT MSGDUMP_API MD_ListBox_OnSetCount(HWND hwnd, INT cItems)
Definition: msgdump.h:2401
static __inline COLORREF MSGDUMP_API MD_TreeView_OnGetLineColor(HWND hwnd)
Definition: msgdump.h:4215
static __inline INT MSGDUMP_API MD_OnGetHotKey(HWND hwnd)
Definition: msgdump.h:1319
static __inline BOOL MSGDUMP_API MD_RichEdit_OnSetCharFormat(HWND hwnd, UINT uFlags, CHARFORMAT *lpFmt)
Definition: msgdump.h:4480
static __inline BOOL MSGDUMP_API MD_TreeView_OnSetItemW(HWND hwnd, const TV_ITEMW *pitem)
Definition: msgdump.h:4291
static __inline INT MSGDUMP_API MD_ScrollBar_OnSetRange(HWND hwnd, INT nMinPos, INT nMaxPos)
Definition: msgdump.h:2733
static __inline void MSGDUMP_API MD_OnCaptureChanged(HWND hwnd, HWND hwndNewCapture)
Definition: msgdump.h:1583
static __inline INT MSGDUMP_API MD_OnNotifyFormat(HWND hwnd, HWND hwndTarget, INT nCommand)
Definition: msgdump.h:1384
static __inline void MSGDUMP_API MD_RichEdit_OnHideSelection(HWND hwnd, BOOL fHide, BOOL fChangeStyle)
Definition: msgdump.h:4443
static __inline HWND MSGDUMP_API MD_MDINext(HWND hwnd, HWND hwndCur, BOOL fPrev)
Definition: msgdump.h:1063
static __inline void MSGDUMP_API MD_OnMouseHover(HWND hwnd, UINT nFlags, INT xPos, INT yPos)
Definition: msgdump.h:1696
static __inline INT MSGDUMP_API MD_RichEdit_OnExLineFromChar(HWND hwnd, DWORD ichCharPos)
Definition: msgdump.h:4371
static __inline BOOL MSGDUMP_API MD_ListView_OnArrange(HWND hwnd, UINT code)
Definition: msgdump.h:2964
static __inline LRESULT MSGDUMP_API MD_OnUser(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
Definition: msgdump.h:84
static __inline BOOL MSGDUMP_API MD_ListView_OnSetWorkAreas(HWND hwnd, INT nWorkAreas, const RECT *prc)
Definition: msgdump.h:3298
static __inline int MSGDUMP_API MD_OnCompareItem(HWND hwnd, const COMPAREITEMSTRUCT *lpCompareItem)
Definition: msgdump.h:432
static __inline void MSGDUMP_API MD_OnMouseMove(HWND hwnd, int x, int y, UINT keyFlags)
Definition: msgdump.h:939
static __inline void MSGDUMP_API MD_OnMButtonUp(HWND hwnd, int x, int y, UINT flags)
Definition: msgdump.h:1005
static __inline DWORD MSGDUMP_API MD_Edit_OnSetIMEStatus(HWND hwnd, UINT uType, DWORD dwFlags)
Definition: msgdump.h:2031
static __inline void MSGDUMP_API MD_OnDisplayChange(HWND hwnd, UINT bitsPerPixel, UINT cxScreen, UINT cyScreen)
Definition: msgdump.h:660
static __inline void MSGDUMP_API MD_ListView_OnGetTileViewInfo(HWND hwnd, LVTILEVIEWINFO *ptvi)
Definition: msgdump.h:3695
static __inline BOOL MSGDUMP_API MD_MDITile(HWND hwnd, UINT cmd)
Definition: msgdump.h:1078
static __inline INT MSGDUMP_API MD_ListView_OnGetStringWidthA(HWND hwnd, LPCSTR psz)
Definition: msgdump.h:2924
static __inline void MSGDUMP_API MD_OnTimeChange(HWND hwnd)
Definition: msgdump.h:298
static __inline HWND MSGDUMP_API MD_ListView_OnGetToolTips(HWND hwnd)
Definition: msgdump.h:3402
static __inline BOOL MSGDUMP_API MD_OnIconEraseBkgnd(HWND hwnd, HDC hdc)
Definition: msgdump.h:349
static __inline BOOL MSGDUMP_API MD_ListView_OnScroll(HWND hwnd, INT dx, INT dy)
Definition: msgdump.h:2948
static __inline INT MSGDUMP_API MD_ListView_OnSetSelectionMark(HWND hwnd, INT i)
Definition: msgdump.h:3314
static __inline INT MSGDUMP_API MD_ListBox_OnGetSel(HWND hwnd, INT index)
Definition: msgdump.h:2143
static __inline BOOL MSGDUMP_API MD_ListView_OnGetISearchStringA(HWND hwnd, LPSTR lpsz)
Definition: msgdump.h:3194
static __inline void MSGDUMP_API MD_OnCommNotify(HWND hwnd, int cid, UINT flags)
Definition: msgdump.h:447
static __inline void MSGDUMP_API MD_MDIActivate(HWND hwnd, BOOL fActive, HWND hwndActivate, HWND hwndDeactivate)
Definition: msgdump.h:1049
#define MSGDUMP_MAX_RECT_TEXT
Definition: msgdump.h:47
static __inline void MSGDUMP_API MD_OnPaint(HWND hwnd)
Definition: msgdump.h:199
static __inline void MSGDUMP_API MD_Edit_OnSetMargins(HWND hwnd, UINT fwMargin, WORD wLeft, WORD wRight)
Definition: msgdump.h:1986
static __inline INT MSGDUMP_API MD_ComboBox_GetLBText(HWND hwnd, INT index, LPTSTR lpszBuffer)
Definition: msgdump.h:2496
static __inline BOOL MSGDUMP_API MD_ListView_OnGetColumnOrderArray(HWND hwnd, INT iCount, LPINT pi)
Definition: msgdump.h:3250
static __inline COLORREF MSGDUMP_API MD_ListView_OnGetTextColor(HWND hwnd)
Definition: msgdump.h:3060
static __inline void MSGDUMP_API MD_OnDrawItem(HWND hwnd, const DRAWITEMSTRUCT *lpDrawItem)
Definition: msgdump.h:372
static __inline BOOL MSGDUMP_API MD_OnImeSetContext(HWND hwnd, BOOL fActive, DWORD dwShow)
Definition: msgdump.h:1628
static __inline BOOL MSGDUMP_API MD_Edit_OnGetModify(HWND hwnd)
Definition: msgdump.h:1808
static __inline BOOL MSGDUMP_API MD_ComboBox_OnShowDropDown(HWND hwnd, BOOL fShow)
Definition: msgdump.h:2563
static __inline void MSGDUMP_API MD_OnDrawClipboard(HWND hwnd)
Definition: msgdump.h:1231
static __inline UINT MSGDUMP_API MD_TreeView_OnMapHTREEITEMToAccID(HWND hwnd, HTREEITEM htreeitem)
Definition: msgdump.h:4231
static __inline INT MSGDUMP_API MD_ListBox_OnGetSelCount(HWND hwnd)
Definition: msgdump.h:2227
static __inline void MSGDUMP_API MD_OnPrint(HWND hwnd, HDC hDC, UINT uFlags)
Definition: msgdump.h:1724
static __inline HIMAGELIST MSGDUMP_API MD_TreeView_OnGetImageList(HWND hwnd, INT iImage)
Definition: msgdump.h:3957
static __inline BOOL MSGDUMP_API MD_ListView_OnRedrawItems(HWND hwnd, INT iFirst, INT iLast)
Definition: msgdump.h:2956
static __inline void MSGDUMP_API MD_OnDeleteItem(HWND hwnd, const DELETEITEMSTRUCT *lpDeleteItem)
Definition: msgdump.h:386
static __inline BOOL MSGDUMP_API MD_ListView_OnGetItemRect(HWND hwnd, INT i, RECT *prc)
Definition: msgdump.h:2900
static __inline void MSGDUMP_API MD_OnMove(HWND hwnd, int x, int y)
Definition: msgdump.h:123
static __inline BOOL MSGDUMP_API MD_ListView_OnUpdate(HWND hwnd, INT i)
Definition: msgdump.h:3116
static __inline INT MSGDUMP_API MD_ListBox_OnInsertString(HWND hwnd, INT index, LPCTSTR lpsz)
Definition: msgdump.h:2092
static __inline BOOL MSGDUMP_API MD_ListView_OnSetItemState(HWND hwnd, INT i, LV_ITEM *lvi)
Definition: msgdump.h:3124
static __inline HIMAGELIST MSGDUMP_API MD_ListView_OnGetImageList(HWND hwnd, INT iImageList)
Definition: msgdump.h:2804
static __inline void MSGDUMP_API MD_OnSyncPaint(HWND hwnd)
Definition: msgdump.h:1422
static __inline BOOL MSGDUMP_API MD_ListView_OnDeleteItem(HWND hwnd, INT i)
Definition: msgdump.h:2852
static __inline HICON MSGDUMP_API MD_Static_OnGetIcon(HWND hwnd)
Definition: msgdump.h:2055
static __inline INT MSGDUMP_API MD_RichEdit_OnFindTextEx(HWND hwnd, UINT fuFlags, FINDTEXTEX *lpFindText)
Definition: msgdump.h:4568
static __inline INT MSGDUMP_API MD_OnSetHotKey(HWND hwnd, INT nCode, UINT nOptions)
Definition: msgdump.h:1311
static __inline INT MSGDUMP_API MD_Edit_OnGetFirstVisibleLine(HWND hwnd)
Definition: msgdump.h:1947
static __inline void MSGDUMP_API MD_OnXButtonDown(HWND hwnd, BOOL fDoubleClick, WORD fwKeys, WORD fwButton, INT xPos, INT yPos)
Definition: msgdump.h:1532
static __inline BOOL MSGDUMP_API MD_RichEdit_OnCanRedo(HWND hwnd)
Definition: msgdump.h:4608
static __inline UINT MSGDUMP_API MD_ListView_OnGetItemState(HWND hwnd, INT i, UINT mask)
Definition: msgdump.h:3132
static __inline BOOL MSGDUMP_API MD_ListView_OnIsGroupViewEnabled(HWND hwnd)
Definition: msgdump.h:3781
static __inline INT MSGDUMP_API MD_ListBox_OnGetSelItems(HWND hwnd, UINT cItems, LPINT lpnItems)
Definition: msgdump.h:2235
static __inline UINT MSGDUMP_API MD_TreeView_OnGetVisibleCount(HWND hwnd)
Definition: msgdump.h:4021
static __inline BOOL MSGDUMP_API MD_ListView_OnGetOrigin(HWND hwnd, POINT *ppt)
Definition: msgdump.h:3108
static __inline INT MSGDUMP_API MD_RichEdit_OnExSetSel(HWND hwnd, INT ichChar)
Definition: msgdump.h:4379
static __inline INT MSGDUMP_API MD_ListView_OnGetNextItem(HWND hwnd, INT i, UINT flags)
Definition: msgdump.h:2884
static __inline BOOL MSGDUMP_API MD_Edit_OnScrollCaret(HWND hwnd)
Definition: msgdump.h:1800
static __inline LRESULT MSGDUMP_API MD_OnPowerBroadcast(HWND hwnd, UINT nPowerEvent, UINT nEventData)
Definition: msgdump.h:1598
static __inline void MSGDUMP_API MD_OnNCRButtonUp(HWND hwnd, int x, int y, UINT codeHitTest)
Definition: msgdump.h:765
static __inline DWORD MSGDUMP_API MD_RichEdit_OnGetTextMode(HWND hwnd)
Definition: msgdump.h:4647
static __inline BOOL MSGDUMP_API MD_OnDeviceChange(HWND hwnd, UINT uEvent, DWORD dwEventData)
Definition: msgdump.h:1026
static __inline void MSGDUMP_API MD_RichEdit_OnExLimitText(HWND hwnd, DWORD cchTextMax)
Definition: msgdump.h:4364
static __inline HWND MSGDUMP_API MD_MDIGetActive(HWND hwnd)
Definition: msgdump.h:1101
static __inline INT MSGDUMP_API MD_ListBox_OnSetSel(HWND hwnd, BOOL fSelect, UINT index)
Definition: msgdump.h:2127
static __inline BOOL MSGDUMP_API MD_ListView_OnSortItems(HWND hwnd, LPARAM lPrm, PFNLVCOMPARE pfnCompare)
Definition: msgdump.h:3163
static __inline BOOL MSGDUMP_API MD_ListView_OnSetBkColor(HWND hwnd, COLORREF clrBk)
Definition: msgdump.h:2796
static __inline void MSGDUMP_API MD_OnUndo(HWND hwnd)
Definition: msgdump.h:1202
static __inline void MSGDUMP_API MD_OnSpoolerStatus(HWND hwnd, UINT status, int cJobInQueue)
Definition: msgdump.h:365
static __inline BOOL MSGDUMP_API MD_ListView_OnSetTextBkColor(HWND hwnd, COLORREF clrTextBk)
Definition: msgdump.h:3084
static __inline void MSGDUMP_API MD_OnSetFont(HWND hwnd, HFONT hfont, BOOL fRedraw)
Definition: msgdump.h:409
static __inline HICON MSGDUMP_API MD_Static_OnSetIcon(HWND hwnd, HICON hIcon)
Definition: msgdump.h:2047
static __inline HLOCAL MSGDUMP_API MD_Edit_OnGetHandle(HWND hwnd)
Definition: msgdump.h:1846
static __inline BOOL MSGDUMP_API MD_Edit_OnFmtLines(HWND hwnd, BOOL fAddEOL)
Definition: msgdump.h:1909
static __inline BOOL MSGDUMP_API MD_Edit_OnUndo(HWND hwnd)
Definition: msgdump.h:1901
static __inline BOOL MSGDUMP_API MD_ListView_OnSetTextColor(HWND hwnd, COLORREF clrText)
Definition: msgdump.h:3068
static __inline void MSGDUMP_API MD_OnSize(HWND hwnd, UINT state, int cx, int cy)
Definition: msgdump.h:130
static __inline DWORD MSGDUMP_API MD_RichEdit_OnSetEventMask(HWND hwnd, DWORD dwMask)
Definition: msgdump.h:4488
static __inline LCID MSGDUMP_API MD_ComboBox_OnSetLocale(HWND hwnd, LCID wLocaleID)
Definition: msgdump.h:2646
static __inline void MSGDUMP_API MD_OnQueueSync(HWND hwnd)
Definition: msgdump.h:335
static __inline BOOL MSGDUMP_API MD_ListView_OnGetCallbackMask(HWND hwnd)
Definition: msgdump.h:2868
static __inline BOOL MSGDUMP_API MD_ListView_OnSetTileInfo(HWND hwnd, const LVTILEINFO *pti)
Definition: msgdump.h:3702
static __inline void MSGDUMP_API MD_OnNCMouseMove(HWND hwnd, int x, int y, UINT codeHitTest)
Definition: msgdump.h:721
static __inline void MSGDUMP_API MD_Edit_OnPosFromChar(HWND hwnd, LPPOINT lpPoint, UINT wCharIndex)
Definition: msgdump.h:2016
static __inline INT MSGDUMP_API MD_ListBox_OnDeleteString(HWND hwnd, INT index)
Definition: msgdump.h:2104
static __inline void MSGDUMP_API MD_ListBox_OnSetColumnWidth(HWND hwnd, INT cxColumn)
Definition: msgdump.h:2266
static __inline LRESULT MSGDUMP_API MD_OnApp(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
Definition: msgdump.h:92
static __inline HIMAGELIST MSGDUMP_API MD_ListView_OnCreateDragImage(HWND hwnd, INT i, LPPOINT lpptUpLeft)
Definition: msgdump.h:3044
static __inline HTREEITEM MSGDUMP_API MD_TreeView_OnHitTest(HWND hwnd, LPTV_HITTESTINFO lpht)
Definition: msgdump.h:4029
static __inline void MSGDUMP_API MD_OnWindowPosChanged(HWND hwnd, const LPWINDOWPOS lpwpos)
Definition: msgdump.h:462
static __inline void MSGDUMP_API MD_ListView_OnCancelEditLabel(HWND hwnd)
Definition: msgdump.h:3805
static __inline INT MSGDUMP_API MD_ListBox_OnGetText(HWND hwnd, INT index, LPTSTR lpszBuffer)
Definition: msgdump.h:2159
static __inline BOOL MSGDUMP_API MD_TreeView_OnGetItemW(HWND hwnd, TV_ITEMW *pitem)
Definition: msgdump.h:4283
static __inline BOOL MSGDUMP_API MD_RichEdit_OnSetOleCallback(HWND hwnd, void *pCallback)
Definition: msgdump.h:4496
static __inline void MSGDUMP_API MD_Edit_OnSetRectNP(HWND hwnd, LPCRECT prc)
Definition: msgdump.h:1776
static __inline BOOL MSGDUMP_API MD_Edit_OnLineScroll(HWND hwnd, INT cxScroll, INT cyScroll)
Definition: msgdump.h:1792
static __inline LRESULT MSGDUMP_API MD_OnUnknown(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
Definition: msgdump.h:65
static __inline void MSGDUMP_API MD_OnXButtonUp(HWND hwnd, WORD fwKeys, WORD fwButton, INT xPos, INT yPos)
Definition: msgdump.h:1547
static __inline void MSGDUMP_API MD_OnSysDeadChar(HWND hwnd, TCHAR ch, int cRepeat)
Definition: msgdump.h:845
static __inline void MSGDUMP_API MD_OnSizeClipboard(HWND hwnd, HWND hwndCBViewer, const LPRECT lprc)
Definition: msgdump.h:1252
static __inline LRESULT MSGDUMP_API MD_msgdump(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
Definition: msgdump.h:4655
static __inline DWORD MSGDUMP_API MD_ListBox_OnItemFromPoint(HWND hwnd, INT xPos, INT yPos)
Definition: msgdump.h:2417
static __inline void MSGDUMP_API MD_OnNCMButtonDown(HWND hwnd, BOOL fDoubleClick, int x, int y, UINT codeHitTest)
Definition: msgdump.h:772
static __inline int MSGDUMP_API MD_OnMouseActivate(HWND hwnd, HWND hwndTopLevel, UINT codeHitTest, UINT msg)
Definition: msgdump.h:320
static __inline DWORD MSGDUMP_API MD_RichEdit_OnFindWordBreak(HWND hwnd, UINT code, DWORD ichStart)
Definition: msgdump.h:4544
static __inline HTREEITEM MSGDUMP_API MD_TreeView_OnGetNextItem(HWND hwnd, HTREEITEM hitem, UINT code)
Definition: msgdump.h:3973
static __inline void MSGDUMP_API MD_OnEndSession(HWND hwnd, BOOL fEnding)
Definition: msgdump.h:229
static __inline BOOL MSGDUMP_API MD_ScrollBar_OnGetScrollBarInfo(HWND hwnd, LPSCROLLBARINFO lpsbi)
Definition: msgdump.h:2780
static __inline EDITWORDBREAKPROC MSGDUMP_API MD_Edit_OnGetWordBreakProc(HWND hwnd)
Definition: msgdump.h:1970
static __inline void MSGDUMP_API MD_OnSetText(HWND hwnd, LPCTSTR lpszText)
Definition: msgdump.h:172
static __inline DWORD MSGDUMP_API MD_ListView_OnSetHoverTime(HWND hwnd, DWORD dwHoverTimeMs)
Definition: msgdump.h:3346
static __inline BOOL MSGDUMP_API MD_OnCreate(HWND hwnd, LPCREATESTRUCT lpCreateStruct)
Definition: msgdump.h:108
static __inline DWORD MSGDUMP_API MD_RichEdit_OnGetTextRange(HWND hwnd, TEXTRANGE *lpRange)
Definition: msgdump.h:4536
static __inline BOOL MSGDUMP_API MD_OnSetCursor(HWND hwnd, HWND hwndCursor, UINT codeHitTest, UINT msg)
Definition: msgdump.h:312
static __inline INT MSGDUMP_API MD_TreeView_OnGetItemHeight(HWND hwnd)
Definition: msgdump.h:4117
static __inline HWND MSGDUMP_API MD_MDICreate(HWND hwnd, const LPMDICREATESTRUCT lpmcs)
Definition: msgdump.h:1034
static __inline INT MSGDUMP_API MD_ComboBox_OnGetHorizontalExtent(HWND hwnd)
Definition: msgdump.h:2678
static __inline BOOL MSGDUMP_API MD_OnNCCreate(HWND hwnd, LPCREATESTRUCT lpCreateStruct)
Definition: msgdump.h:667
static __inline BOOL MSGDUMP_API MD_ListView_OnSetTileViewInfo(HWND hwnd, const LVTILEVIEWINFO *ptvi)
Definition: msgdump.h:3687
static __inline void MSGDUMP_API MD_OnChar(HWND hwnd, TCHAR ch, int cRepeat)
Definition: msgdump.h:809
static __inline BOOL MSGDUMP_API MD_ListView_OnSetBkImageA(HWND hwnd, const LVBKIMAGEA *plvbki)
Definition: msgdump.h:3322
static __inline INT MSGDUMP_API MD_ListView_OnInsertItemW(HWND hwnd, const LV_ITEMW *pitem)
Definition: msgdump.h:3394
static __inline HCURSOR MSGDUMP_API MD_ListView_OnGetHotCursor(HWND hwnd)
Definition: msgdump.h:3282
static __inline BOOL MSGDUMP_API MD_ListView_OnDeleteColumn(HWND hwnd, INT iCol)
Definition: msgdump.h:3012
static __inline BOOL MSGDUMP_API MD_ListView_OnGetItemW(HWND hwnd, LV_ITEMW *pitem)
Definition: msgdump.h:3378
static __inline INT MSGDUMP_API MD_ComboBox_OnGetLBTextLen(HWND hwnd, INT index)
Definition: msgdump.h:2504
static __inline BOOL MSGDUMP_API MD_OnQueryNewPalette(HWND hwnd)
Definition: msgdump.h:1282
static __inline BOOL MSGDUMP_API MD_RichEdit_OnSetParaFormat(HWND hwnd, PARAFORMAT *lpFmt)
Definition: msgdump.h:4504
static __inline INT MSGDUMP_API MD_ListBox_OnFindString(HWND hwnd, INT indexStart, LPCTSTR lpszFind)
Definition: msgdump.h:2215
static __inline void MSGDUMP_API MD_OnChildActivate(HWND hwnd)
Definition: msgdump.h:328
static __inline void MSGDUMP_API MD_OnDevModeChange(HWND hwnd, LPCTSTR lpszDeviceName)
Definition: msgdump.h:273
static __inline void MSGDUMP_API MD_OnPaste(HWND hwnd)
Definition: msgdump.h:1188
static __inline DWORD MSGDUMP_API MD_ListView_OnGetView(HWND hwnd)
Definition: msgdump.h:3561
static __inline void MSGDUMP_API MD_ComboBox_OnSetHorizontalExtent(HWND hwnd, INT cxExtent)
Definition: msgdump.h:2686
static __inline void MSGDUMP_API MD_MDIIconArrange(HWND hwnd)
Definition: msgdump.h:1094
static __inline BOOL MSGDUMP_API MD_ListBox_OnSetTabStops(HWND hwnd, UINT cTabs, LPINT lpnTabs)
Definition: msgdump.h:2243
static __inline INT MSGDUMP_API MD_ComboBox_OnSelectString(HWND hwnd, INT indexStart, LPCTSTR lpszSelect)
Definition: msgdump.h:2543
static __inline COLORREF MSGDUMP_API MD_RichEdit_OnSetBkgndColor(HWND hwnd, BOOL fUseSysColor, COLORREF clr)
Definition: msgdump.h:4472
static __inline BOOL MSGDUMP_API MD_OnEraseBkgnd(HWND hwnd, HDC hdc)
Definition: msgdump.h:243
static __inline HWND MSGDUMP_API MD_TreeView_OnEditLabelA(HWND hwnd, HTREEITEM hitem)
Definition: msgdump.h:4005
static __inline void MSGDUMP_API MD_OnClear(HWND hwnd)
Definition: msgdump.h:1195
static __inline HIMAGELIST MSGDUMP_API MD_ListView_OnSetImageList(HWND hwnd, INT iImageList, HIMAGELIST himl)
Definition: msgdump.h:2812
static __inline BOOL MSGDUMP_API MD_ListView_OnGetItemPosition(HWND hwnd, INT i, POINT *ppt)
Definition: msgdump.h:2916
static __inline void MSGDUMP_API MD_Edit_OnSetSel(HWND hwnd, INT nStart, INT nEnd)
Definition: msgdump.h:1754
static __inline DWORD MSGDUMP_API MD_Edit_OnScroll(HWND hwnd, INT nScroll)
Definition: msgdump.h:1784
static __inline BOOL MSGDUMP_API MD_ListView_OnGetNumberOfWorkAreas(HWND hwnd, UINT *pnWorkAreas)
Definition: msgdump.h:3362
static __inline INT MSGDUMP_API MD_ListBox_OnGetItemRect(HWND hwnd, INT index, RECT FAR *lprc)
Definition: msgdump.h:2293
static __inline COLORREF MSGDUMP_API MD_TreeView_OnSetLineColor(HWND hwnd, COLORREF clr)
Definition: msgdump.h:4207
static __inline INT_PTR MSGDUMP_API MD_ComboBox_OnGetItemData(HWND hwnd, INT index)
Definition: msgdump.h:2571
static __inline HWND MSGDUMP_API MD_TreeView_OnSetToolTips(HWND hwnd, HWND hwndTT)
Definition: msgdump.h:4085
static __inline UINT MSGDUMP_API MD_TreeView_OnGetIndent(HWND hwnd)
Definition: msgdump.h:3941
static __inline void MSGDUMP_API MD_OnHScrollClipboard(HWND hwnd, HWND hwndCBViewer, UINT code, int pos)
Definition: msgdump.h:1275
static __inline DWORD MSGDUMP_API MD_ListView_OnSetView(HWND hwnd, DWORD iView)
Definition: msgdump.h:3553
static __inline void MSGDUMP_API MD_OnDropFiles(HWND hwnd, HDROP hdrop)
Definition: msgdump.h:1167
static __inline void MSGDUMP_API MD_OnImeSelect(HWND hwnd, BOOL fSelect, HKL hKL)
Definition: msgdump.h:1659
static __inline INT MSGDUMP_API MD_ListBox_OnGetTextLen(HWND hwnd, INT index)
Definition: msgdump.h:2167
static __inline void MSGDUMP_API MD_OnUpdateUIState(HWND hwnd, UINT nAction, UINT nUIElement)
Definition: msgdump.h:1517
static __inline void MSGDUMP_API MD_ScrollBar_OnGetRange(HWND hwnd, LPINT lpnMinPos, LPINT lpnMaxPos)
Definition: msgdump.h:2749
static __inline void MSGDUMP_API MD_OnChangeCBChain(HWND hwnd, HWND hwndRemove, HWND hwndNext)
Definition: msgdump.h:1268
static __inline void MSGDUMP_API MD_OnCopy(HWND hwnd)
Definition: msgdump.h:1181
static __inline BOOL MSGDUMP_API MD_OnWindowPosChanging(HWND hwnd, LPWINDOWPOS lpwpos)
Definition: msgdump.h:454
static __inline DWORD MSGDUMP_API MD_Edit_OnGetIMEStatus(HWND hwnd, UINT uType)
Definition: msgdump.h:2039
static __inline void MSGDUMP_API MD_ListBox_OnResetContent(HWND hwnd)
Definition: msgdump.h:2120
static __inline INT MSGDUMP_API MD_ListView_OnGetInsertMarkRect(HWND hwnd, LPRECT rc)
Definition: msgdump.h:3741
static __inline UINT MSGDUMP_API MD_TreeView_OnGetScrollTime(HWND hwnd)
Definition: msgdump.h:4165
static __inline LONG MSGDUMP_API MD_Edit_OnCharFromPos(HWND hwnd, INT x, INT y)
Definition: msgdump.h:2023
static __inline void MSGDUMP_API MD_OnEnterIdle(HWND hwnd, UINT source, HWND hwndSource)
Definition: msgdump.h:924
static __inline BOOL MSGDUMP_API MD_TreeView_OnEnsureVisible(HWND hwnd, HTREEITEM hitem)
Definition: msgdump.h:4053
static __inline BOOL MSGDUMP_API MD_ScrollBar_OnGetScrollInfo(HWND hwnd, LPSCROLLINFO lpsi)
Definition: msgdump.h:2772
static __inline BOOL MSGDUMP_API MD_TreeView_OnGetItemRect(HWND hwnd, UINT code, RECT *prc)
Definition: msgdump.h:3925
static __inline INT MSGDUMP_API MD_OnGetText(HWND hwnd, int cchTextMax, LPTSTR lpszText)
Definition: msgdump.h:183
static __inline DWORD MSGDUMP_API MD_RichEdit_OnGetParaFormat(HWND hwnd, PARAFORMAT *lpFmt)
Definition: msgdump.h:4427
static __inline void MSGDUMP_API MD_OnStyleChanged(HWND hwnd, UINT nStyleType, const STYLESTRUCT *lpStyleStruct)
Definition: msgdump.h:1399
static __inline DWORD MSGDUMP_API MD_ListView_OnGetExtendedListViewStyle(HWND hwnd)
Definition: msgdump.h:3218
static __inline INT MSGDUMP_API MD_ListView_OnInsertMarkHitTest(HWND hwnd, LPPOINT point, LPLVINSERTMARK lvim)
Definition: msgdump.h:3733
static __inline void MSGDUMP_API MD_ListBox_OnSetHorizontalExtent(HWND hwnd, INT cxExtent)
Definition: msgdump.h:2259
static __inline void MSGDUMP_API MD_OnMoving(HWND hwnd, UINT nSide, LPRECT lpRect)
Definition: msgdump.h:1590
static __inline void MSGDUMP_API MD_Edit_OnGetRect(HWND hwnd, LPRECT prc)
Definition: msgdump.h:1761
static __inline void MSGDUMP_API MD_Edit_OnSetHandle(HWND hwnd, HLOCAL hloc)
Definition: msgdump.h:1839
static __inline INT MSGDUMP_API MD_ListBox_OnGetHorizontalExtent(HWND hwnd)
Definition: msgdump.h:2251
static __inline BOOL MSGDUMP_API MD_OnAppCommand(HWND hwnd, HWND hwndTarget, UINT cmd, UINT nDevice, UINT nKey)
Definition: msgdump.h:1738
static __inline DWORD MSGDUMP_API MD_ListView_OnGetItemSpacing(HWND hwnd, BOOL fSmall)
Definition: msgdump.h:3186
static __inline void MSGDUMP_API MD_Edit_OnEmptyUndoBuffer(HWND hwnd)
Definition: msgdump.h:1940
static __inline COLORREF MSGDUMP_API MD_TreeView_OnSetBkColor(HWND hwnd, COLORREF clr)
Definition: msgdump.h:4125
static __inline DWORD MSGDUMP_API MD_RichEdit_OnStreamOut(HWND hwnd, UINT uFormat, EDITSTREAM *lpStream)
Definition: msgdump.h:4528
static __inline HANDLE MSGDUMP_API MD_Static_OnGetImage(HWND hwnd, UINT fImageType)
Definition: msgdump.h:2072
static __inline HWND MSGDUMP_API MD_ListView_OnGetEditControl(HWND hwnd)
Definition: msgdump.h:2980
static __inline UINT MSGDUMP_API MD_Edit_OnGetPasswordChar(HWND hwnd)
Definition: msgdump.h:1978
static __inline void MSGDUMP_API MD_OnStyleChanging(HWND hwnd, UINT nStyleType, LPSTYLESTRUCT lpStyleStruct)
Definition: msgdump.h:1392
static __inline INT MSGDUMP_API MD_ListBox_OnAddString(HWND hwnd, LPCTSTR lpsz)
Definition: msgdump.h:2080
static __inline void MSGDUMP_API MD_OnHelp(HWND hwnd, LPHELPINFO lpHelpInfo)
Definition: msgdump.h:1370
static __inline BOOL MSGDUMP_API MD_OnNCActivate(HWND hwnd, BOOL fActive, HWND hwndActDeact, BOOL fMinimized)
Definition: msgdump.h:705
static __inline BOOL MSGDUMP_API MD_MDICascade(HWND hwnd, UINT cmd)
Definition: msgdump.h:1086
static __inline UINT MSGDUMP_API MD_OnNCHitTest(HWND hwnd, int x, int y)
Definition: msgdump.h:690
static __inline void MSGDUMP_API MD_OnSetRedraw(HWND hwnd, BOOL fRedraw)
Definition: msgdump.h:165
static __inline void MSGDUMP_API MD_OnMenuRButtonUp(HWND hwnd, UINT nPos, HMENU hMenu)
Definition: msgdump.h:1473
static __inline void MSGDUMP_API MD_OnDestroy(HWND hwnd)
Definition: msgdump.h:116
static __inline HWND MSGDUMP_API MD_ListView_OnGetHeader(HWND hwnd)
Definition: msgdump.h:3036
static __inline BOOL MSGDUMP_API MD_Edit_OnSetTabStops(HWND hwnd, INT cTabs, LPDWORD lpdwTabs)
Definition: msgdump.h:1925
static __inline DWORD MSGDUMP_API MD_ListBox_OnInitStorage(HWND hwnd, UINT cItems, DWORD cb)
Definition: msgdump.h:2409
static __inline UINT MSGDUMP_API MD_ListView_OnGetSelectedColumn(HWND hwnd)
Definition: msgdump.h:3773
static __inline INT MSGDUMP_API MD_ComboBox_OnInitStorage(HWND hwnd, INT cItems, DWORD cb)
Definition: msgdump.h:2709
static __inline BOOL MSGDUMP_API MD_ListView_OnGetWorkAreas(HWND hwnd, INT nWorkAreas, RECT *prc)
Definition: msgdump.h:3338
static __inline HWND MSGDUMP_API MD_OnNextDlgCtl(HWND hwnd, HWND hwndSetFocus, BOOL fNext)
Definition: msgdump.h:357
static __inline BOOL MSGDUMP_API MD_ListView_OnSetBkImageW(HWND hwnd, const LVBKIMAGEW *plvbki)
Definition: msgdump.h:3518
static __inline void MSGDUMP_API MD_OnDeadChar(HWND hwnd, TCHAR ch, int cRepeat)
Definition: msgdump.h:816
static __inline INT MSGDUMP_API MD_ListBox_OnSetCurSel(HWND hwnd, INT index)
Definition: msgdump.h:2135
static __inline INT MSGDUMP_API MD_RichEdit_OnGetUndoName(HWND hwnd)
Definition: msgdump.h:4616
static __inline COLORREF MSGDUMP_API MD_TreeView_OnSetTextColor(HWND hwnd, COLORREF clr)
Definition: msgdump.h:4133
static __inline BOOL MSGDUMP_API MD_ListView_OnSetItemW(HWND hwnd, const LV_ITEMW *pitem)
Definition: msgdump.h:3386
static __inline INT MSGDUMP_API MD_ListBox_OnSetCaretIndex(HWND hwnd, INT index, BOOL fScroll)
Definition: msgdump.h:2341
static __inline INT MSGDUMP_API MD_ComboBox_OnSetCurSel(HWND hwnd, INT index)
Definition: msgdump.h:2555
static __inline void MSGDUMP_API MD_OnPaletteChanged(HWND hwnd, HWND hwndPaletteChange)
Definition: msgdump.h:1297
static __inline INT MSGDUMP_API MD_ComboBox_OnFindStringExact(HWND hwnd, INT indexStart, LPCTSTR lpszFind)
Definition: msgdump.h:2634
static __inline void MSGDUMP_API MD_OnActivate(HWND hwnd, UINT state, HWND hwndActDeact, BOOL fMinimized)
Definition: msgdump.h:137
static __inline INT MSGDUMP_API MD_ComboBox_OnDir(HWND hwnd, UINT uAttrs, LPCTSTR lpszFileSpec)
Definition: msgdump.h:2468
static __inline void MSGDUMP_API MD_Edit_OnSetModify(HWND hwnd, BOOL fModified)
Definition: msgdump.h:1816
static __inline BOOL MSGDUMP_API MD_RichEdit_OnSetTextMode(HWND hwnd, DWORD dwTextMode)
Definition: msgdump.h:4639
static __inline LRESULT MSGDUMP_API MD_msgresult(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam, LRESULT lResult)
Definition: msgdump.h:5368
static __inline COLORREF MSGDUMP_API MD_ListView_OnGetBkColor(HWND hwnd)
Definition: msgdump.h:2788
static __inline INT MSGDUMP_API MD_ScrollBar_OnSetPos(HWND hwnd, INT nPos, BOOL fRedraw)
Definition: msgdump.h:2717
static __inline BOOL MSGDUMP_API MD_ComboBox_OnGetDroppedState(HWND hwnd)
Definition: msgdump.h:2626
static __inline LRESULT MSGDUMP_API MD_ListView_OnSetTileWidth(HWND hwnd, WPARAM wParam, LPARAM lParam)
Definition: msgdump.h:3545
static __inline void MSGDUMP_API MD_OnNCLButtonDown(HWND hwnd, BOOL fDoubleClick, int x, int y, UINT codeHitTest)
Definition: msgdump.h:728
static __inline HIMAGELIST MSGDUMP_API MD_TreeView_OnSetImageList(HWND hwnd, INT iImage, HIMAGELIST himl)
Definition: msgdump.h:3965
static __inline HWND MSGDUMP_API MD_ListView_OnEditLabelW(HWND hwnd, INT i)
Definition: msgdump.h:3510
static __inline BOOL MSGDUMP_API MD_ScrollBar_OnEnableArrows(HWND hwnd, UINT fuArrowFlags)
Definition: msgdump.h:2756
static __inline LCID MSGDUMP_API MD_ListBox_OnGetLocale(HWND hwnd)
Definition: msgdump.h:2393
static __inline void MSGDUMP_API MD_ListView_OnSetSelectedColumn(HWND hwnd, INT iCol)
Definition: msgdump.h:3534
static __inline LONG MSGDUMP_API MD_Edit_OnGetSel(HWND hwnd, LPDWORD lpdwStart, LPDWORD lpdwEnd)
Definition: msgdump.h:1746
static __inline BOOL MSGDUMP_API MD_ListView_OnEnsureVisible(HWND hwnd, INT i, BOOL fPartialOK)
Definition: msgdump.h:2940
static __inline INT MSGDUMP_API MD_ComboBox_OnGetTopIndex(HWND hwnd)
Definition: msgdump.h:2662
static __inline void MSGDUMP_API MD_OnTCard(HWND hwnd, UINT idAction, DWORD dwActionData)
Definition: msgdump.h:1363
static __inline BOOL MSGDUMP_API MD_TreeView_OnGetItemA(HWND hwnd, TV_ITEMA *pitem)
Definition: msgdump.h:3989
static __inline LRESULT MSGDUMP_API MD_OnNotify(HWND hwnd, int idFrom, LPNMHDR pnmhdr)
Definition: msgdump.h:643
static __inline void MSGDUMP_API MD_OnCompacting(HWND hwnd, UINT compactRatio)
Definition: msgdump.h:440
static __inline HWND MSGDUMP_API MD_TreeView_OnEditLabelW(HWND hwnd, HTREEITEM hitem)
Definition: msgdump.h:4307
static __inline void MSGDUMP_API MD_OnKey(HWND hwnd, UINT vk, BOOL fDown, int cRepeat, UINT flags)
Definition: msgdump.h:794
static __inline void MSGDUMP_API MD_OnClose(HWND hwnd)
Definition: msgdump.h:206
static __inline INT MSGDUMP_API MD_ListView_OnHitTest(HWND hwnd, LV_HITTESTINFO *pinfo)
Definition: msgdump.h:2932
static __inline BOOL MSGDUMP_API MD_ListView_OnSetItemA(HWND hwnd, const LV_ITEMA *pitem)
Definition: msgdump.h:2836
static __inline UINT MSGDUMP_API MD_OnMenuGetObject(HWND hwnd, MENUGETOBJECTINFO *pmgoi)
Definition: msgdump.h:1488
static __inline INT MSGDUMP_API MD_ComboBox_GetCurSel(HWND hwnd)
Definition: msgdump.h:2488
static __inline INT MSGDUMP_API MD_ListView_OnFindItemA(HWND hwnd, INT iStart, const LV_FINDINFOA *plvfi)
Definition: msgdump.h:2892
static __inline DWORD MSGDUMP_API MD_Edit_OnGetLimitText(HWND hwnd)
Definition: msgdump.h:2008
static __inline void MSGDUMP_API MD_Edit_OnSetLimitText(HWND hwnd, DWORD cbMax)
Definition: msgdump.h:2001
static __inline void MSGDUMP_API MD_OnRButtonDown(HWND hwnd, BOOL fDoubleClick, int x, int y, UINT keyFlags)
Definition: msgdump.h:968
static __inline INT MSGDUMP_API MD_ComboBox_OnInsertString(HWND hwnd, INT index, LPCTSTR lpsz)
Definition: msgdump.h:2512
static __inline void MSGDUMP_API MD_OnActivateApp(HWND hwnd, BOOL fActivate, DWORD dwThreadId)
Definition: msgdump.h:284
static __inline BOOL MSGDUMP_API MD_OnInitDialog(HWND hwnd, HWND hwndFocus, LPARAM lParam)
Definition: msgdump.h:852
static __inline INT MSGDUMP_API MD_ListBox_OnGetCount(HWND hwnd)
Definition: msgdump.h:2175
static __inline void MSGDUMP_API MD_OnImeStartComposition(HWND hwnd)
Definition: msgdump.h:1452
static __inline HMENU MSGDUMP_API MD_MDISetMenu(HWND hwnd, BOOL fRefresh, HMENU hmenuFrame, HMENU hmenuWindow)
Definition: msgdump.h:1159
static __inline void MSGDUMP_API MD_OnShowWindow(HWND hwnd, BOOL fShow, UINT status)
Definition: msgdump.h:258
static __inline INT MSGDUMP_API MD_ListView_OnFindItemW(HWND hwnd, INT iStart, const LV_FINDINFOW *plvfi)
Definition: msgdump.h:3418
static __inline void MSGDUMP_API MD_OnUninitMenuPopup(HWND hwnd, HMENU hMenu, UINT nFlags)
Definition: msgdump.h:1496
static __inline void MSGDUMP_API MD_OnCommand(HWND hwnd, int id, HWND hwndCtl, UINT codeNotify)
Definition: msgdump.h:860
static __inline INT MSGDUMP_API MD_ListBox_OnAddFile(HWND hwnd, LPCTSTR lpszFilename)
Definition: msgdump.h:2273
static __inline UINT MSGDUMP_API MD_OnQueryUIState(HWND hwnd)
Definition: msgdump.h:1524
static __inline INT MSGDUMP_API MD_ComboBox_OnSetExtendedUI(HWND hwnd, BOOL fExtended)
Definition: msgdump.h:2610
static __inline void MSGDUMP_API MD_OnExitSizeMove(HWND hwnd)
Definition: msgdump.h:1613
static __inline INT MSGDUMP_API MD_ListBox_OnSetTopIndex(HWND hwnd, INT index)
Definition: msgdump.h:2285
static __inline INT MSGDUMP_API MD_ComboBox_OnSetDroppedWidth(HWND hwnd, INT wWidth)
Definition: msgdump.h:2701
static __inline INT MSGDUMP_API MD_ListView_OnInsertColumnA(HWND hwnd, INT iCol, const LV_COLUMNA *pcol)
Definition: msgdump.h:3004
static __inline LRESULT MSGDUMP_API MD_OnNull(HWND hwnd)
Definition: msgdump.h:100
static __inline INT_PTR MSGDUMP_API MD_ListBox_OnSetItemData(HWND hwnd, INT index, LPARAM dwData)
Definition: msgdump.h:2309
static __inline void MSGDUMP_API MD_RichEdit_OnExGetSel(HWND hwnd, CHARRANGE *lpchr)
Definition: msgdump.h:4357
static __inline BOOL MSGDUMP_API MD_ListView_OnSetCallbackMask(HWND hwnd, UINT mask)
Definition: msgdump.h:2876
static __inline const TCHAR *MSGDUMP_API MD_rect_text(TCHAR *buf, size_t bufsize, const RECT *prc)
Definition: msgdump.h:50
static __inline void MSGDUMP_API MD_OnNCRButtonDown(HWND hwnd, BOOL fDoubleClick, int x, int y, UINT codeHitTest)
Definition: msgdump.h:750
static __inline INT MSGDUMP_API MD_ListBox_OnSelItemRange(HWND hwnd, BOOL fSelect, UINT wFirst, UINT wLast)
Definition: msgdump.h:2317
static __inline INT MSGDUMP_API MD_ListView_OnSubItemHitTest(HWND hwnd, WPARAM wParam, LPLVHITTESTINFO plvhti)
Definition: msgdump.h:3234
static __inline INT MSGDUMP_API MD_ComboBox_OnGetCount(HWND hwnd)
Definition: msgdump.h:2480
static __inline COLORREF MSGDUMP_API MD_ListView_OnSetOutlineColor(HWND hwnd, COLORREF color)
Definition: msgdump.h:3797
static __inline HCURSOR MSGDUMP_API MD_ListView_OnSetHotCursor(HWND hwnd, HCURSOR hcur)
Definition: msgdump.h:3274
static __inline void MSGDUMP_API MD_OnChangeUIState(HWND hwnd, UINT nAction, UINT nUIElement)
Definition: msgdump.h:1510
static __inline void MSGDUMP_API MD_RichEdit_OnPasteSpecial(HWND hwnd, UINT uFormat, REPASTESPECIAL *lpRePasteSpecial)
Definition: msgdump.h:4450
static __inline DWORD MSGDUMP_API MD_ListView_OnSetExtendedListViewStyle(HWND hwnd, DWORD dwMask, DWORD dw)
Definition: msgdump.h:3210
static __inline LRESULT MSGDUMP_API MD_OnImeRequest(HWND hwnd, WPARAM wParam, LPARAM lParam)
Definition: msgdump.h:1673
static __inline INT_PTR MSGDUMP_API MD_ListBox_OnGetItemData(HWND hwnd, INT index)
Definition: msgdump.h:2301
static __inline INT MSGDUMP_API MD_ListView_OnGetCountPerPage(HWND hwnd)
Definition: msgdump.h:3100
static __inline void *MSGDUMP_API MD_RichEdit_OnGetWordBreakProcEx(HWND hwnd)
Definition: msgdump.h:4576
static __inline LRESULT MSGDUMP_API MD_OnSettingChange(HWND hwnd, UINT_PTR wFlag, LPCTSTR pszSection)
Definition: msgdump.h:265
static __inline INT MSGDUMP_API MD_ListBox_OnSetAnchorIndex(HWND hwnd, INT index)
Definition: msgdump.h:2325
static __inline void MSGDUMP_API MD_OnMButtonDown(HWND hwnd, BOOL fDoubleClick, int x, int y, UINT keyFlags)
Definition: msgdump.h:990
static __inline void MSGDUMP_API MD_OnEnterSizeMove(HWND hwnd)
Definition: msgdump.h:1606
static __inline BOOL MSGDUMP_API MD_TreeView_OnDeleteItem(HWND hwnd, HTREEITEM hitem)
Definition: msgdump.h:3909
static __inline void MSGDUMP_API MD_OnMenuCommand(HWND hwnd, UINT nPos, HMENU hMenu)
Definition: msgdump.h:1503
static __inline void MSGDUMP_API MD_OnNCXButtonUp(HWND hwnd, UINT nHitTest, WORD fwButton, INT xPos, INT yPos)
Definition: msgdump.h:1445
static __inline BOOL MSGDUMP_API MD_Edit_OnCanUndo(HWND hwnd)
Definition: msgdump.h:1893
static __inline BOOL MSGDUMP_API MD_TreeView_OnSetItemA(HWND hwnd, const TV_ITEMA *pitem)
Definition: msgdump.h:3997
static __inline void MSGDUMP_API MD_OnNCMouseLeave(HWND hwnd)
Definition: msgdump.h:1717
static __inline COLORREF MSGDUMP_API MD_TreeView_OnGetTextColor(HWND hwnd)
Definition: msgdump.h:4149
static __inline BOOL MSGDUMP_API MD_ListView_OnGetColumnA(HWND hwnd, INT iCol, LV_COLUMNA *pcol)
Definition: msgdump.h:2988
static __inline void MSGDUMP_API MD_Edit_OnReplaceSel(HWND hwnd, BOOL fCanUndo, LPCTSTR lpszReplace)
Definition: msgdump.h:1870
static __inline void MSGDUMP_API MD_OnSetFocus(HWND hwnd, HWND hwndOldFocus)
Definition: msgdump.h:144
static __inline BOOL MSGDUMP_API MD_ListView_OnSetInsertMark(HWND hwnd, const LVINSERTMARK *lvim)
Definition: msgdump.h:3717
unsigned __int3264 UINT_PTR
Definition: mstsclib_h.h:274
unsigned int UINT
Definition: ndis.h:50
#define MAXWORD
_Out_ LPRECT prc
Definition: ntgdi.h:1658
long LONG
Definition: pedump.c:60
static const WCHAR szName[]
Definition: powrprof.c:45
#define NM_RELEASEDCAPTURE
Definition: commctrl.h:141
#define LVM_INSERTMARKHITTEST
Definition: commctrl.h:2985
#define TVN_ENDLABELEDITA
Definition: commctrl.h:3711
#define LVM_GETCALLBACKMASK
Definition: commctrl.h:2416
#define LVM_DELETEALLITEMS
Definition: commctrl.h:2413
#define LVM_CREATEDRAGIMAGE
Definition: commctrl.h:2652
#define TVM_GETCOUNT
Definition: commctrl.h:3431
#define TVN_SELCHANGINGW
Definition: commctrl.h:3646
#define TVM_CREATEDRAGIMAGE
Definition: commctrl.h:3538
#define LVM_GETITEMA
Definition: commctrl.h:2389
#define NM_RDBLCLK
Definition: commctrl.h:134
#define LVM_ARRANGE
Definition: commctrl.h:2532
#define LVN_GETDISPINFOA
Definition: commctrl.h:3153
#define TVN_ITEMEXPANDEDW
Definition: commctrl.h:3702
_Out_opt_ int _Out_opt_ int * cy
Definition: commctrl.h:586
#define TVN_KEYDOWN
Definition: commctrl.h:3713
#define LVN_ENDSCROLL
Definition: commctrl.h:3236
#define LVM_SETITEMTEXTW
Definition: commctrl.h:2687
#define LVM_SETHOVERTIME
Definition: commctrl.h:2792
#define LPTV_HITTESTINFO
Definition: commctrl.h:3515
#define TVM_GETTOOLTIPS
Definition: commctrl.h:3560
#define TVN_BEGINRDRAGW
Definition: commctrl.h:3706
#define LVN_ODFINDITEMW
Definition: commctrl.h:3145
#define LVM_SETCOLUMNW
Definition: commctrl.h:2625
#define LVM_SETWORKAREAS
Definition: commctrl.h:2782
#define TVN_SETDISPINFOW
Definition: commctrl.h:3657
#define TVM_SORTCHILDRENCB
Definition: commctrl.h:3547
#define LVM_INSERTGROUPSORTED
Definition: commctrl.h:2931
#define LVM_SETTEXTCOLOR
Definition: commctrl.h:2658
#define LVN_HOTTRACK
Definition: commctrl.h:3152
#define LVM_INSERTCOLUMNA
Definition: commctrl.h:2631
#define LVM_GETITEMCOUNT
Definition: commctrl.h:2306
#define LVN_BEGINRDRAG
Definition: commctrl.h:3141
#define LVM_GETITEMSTATE
Definition: commctrl.h:2675
#define TVM_SETITEMW
Definition: commctrl.h:3493
#define LVN_COLUMNCLICK
Definition: commctrl.h:3139
#define NM_DBLCLK
Definition: commctrl.h:131
#define LVM_SETINSERTMARKCOLOR
Definition: commctrl.h:2989
#define TVN_ITEMEXPANDINGA
Definition: commctrl.h:3699
#define LVM_GETCOLUMNORDERARRAY
Definition: commctrl.h:2768
#define LVM_GETHEADER
Definition: commctrl.h:2650
#define LVM_SORTGROUPS
Definition: commctrl.h:2922
#define LVM_GETTOPINDEX
Definition: commctrl.h:2664
#define LVM_GETITEMSPACING
Definition: commctrl.h:2711
#define NM_LDOWN
Definition: commctrl.h:145
#define NM_SETCURSOR
Definition: commctrl.h:142
#define LVM_SETCOLUMNA
Definition: commctrl.h:2624
#define LVM_SETCOLUMNWIDTH
Definition: commctrl.h:2646
#define TVM_MAPACCIDTOHTREEITEM
Definition: commctrl.h:3602
#define LVM_SETBKCOLOR
Definition: commctrl.h:2293
#define TVM_ENDEDITLABELNOW
Definition: commctrl.h:3550
#define LVM_SETOUTLINECOLOR
Definition: commctrl.h:3010
#define LVM_MOVEGROUP
Definition: commctrl.h:2889
#define TVN_BEGINLABELEDITA
Definition: commctrl.h:3709
#define LVM_GETINSERTMARKCOLOR
Definition: commctrl.h:2991
#define LVM_GETITEMPOSITION
Definition: commctrl.h:2483
#define TVM_GETITEMW
Definition: commctrl.h:3486
#define LVN_GETINFOTIPA
Definition: commctrl.h:3222
#define LVM_SETITEMSTATE
Definition: commctrl.h:2672
#define LVM_EDITLABELW
Definition: commctrl.h:2536
#define LVN_SETDISPINFOW
Definition: commctrl.h:3156
#define TVM_GETITEMRECT
Definition: commctrl.h:3428
#define LVN_ODSTATECHANGED
Definition: commctrl.h:3148
#define LVM_GETHOTITEM
Definition: commctrl.h:2772
#define LVM_DELETECOLUMN
Definition: commctrl.h:2638
#define LVM_SETITEMPOSITION
Definition: commctrl.h:2480
#define LVM_FINDITEMW
Definition: commctrl.h:2466
#define LVN_GETINFOTIPW
Definition: commctrl.h:3223
#define LVN_DELETEALLITEMS
Definition: commctrl.h:3134
#define LVN_BEGINSCROLL
Definition: commctrl.h:3235
#define TVM_SETTEXTCOLOR
Definition: commctrl.h:3577
#define LVM_SETCALLBACKMASK
Definition: commctrl.h:2419
#define LVM_GETEDITCONTROL
Definition: commctrl.h:2542
#define LVM_EDITLABELA
Definition: commctrl.h:2535
#define LVM_GETNUMBEROFWORKAREAS
Definition: commctrl.h:2786
#define LPTV_SORTCB
Definition: commctrl.h:3610
#define LVM_UPDATE
Definition: commctrl.h:2670
#define TVN_GETINFOTIPW
Definition: commctrl.h:3715
#define LVM_REDRAWITEMS
Definition: commctrl.h:2524
#define LV_COLUMNA
Definition: commctrl.h:2545
#define LVM_GETCOLUMNA
Definition: commctrl.h:2617
#define LVM_APPROXIMATEVIEWRECT
Definition: commctrl.h:2778
#define TVM_GETISEARCHSTRINGW
Definition: commctrl.h:3554
#define TVN_SELCHANGEDW
Definition: commctrl.h:3648
#define LVM_GETHOVERTIME
Definition: commctrl.h:2794
#define LVM_SETTILEINFO
Definition: commctrl.h:2967
#define LVM_GETSTRINGWIDTHA
Definition: commctrl.h:2486
#define TVM_GETITEMHEIGHT
Definition: commctrl.h:3573
#define TV_ITEMA
Definition: commctrl.h:3298
#define TVM_SETSCROLLTIME
Definition: commctrl.h:3583
#define TVN_BEGINRDRAGA
Definition: commctrl.h:3705
#define LVM_SETIMAGELIST
Definition: commctrl.h:2303
_Out_opt_ int * cx
Definition: commctrl.h:585
#define LVN_INSERTITEM
Definition: commctrl.h:3132
#define LVM_ENABLEGROUPVIEW
Definition: commctrl.h:2917
#define LVM_SETITEMW
Definition: commctrl.h:2397
#define LVM_SETTOOLTIPS
Definition: commctrl.h:2796
#define LVM_SETSELECTEDCOLUMN
Definition: commctrl.h:2836
#define NM_CHAR
Definition: commctrl.h:143
#define NM_HOVER
Definition: commctrl.h:138
#define LVN_ITEMCHANGING
Definition: commctrl.h:3130
#define NM_TOOLTIPSCREATED
Definition: commctrl.h:144
#define LVM_GETVIEWRECT
Definition: commctrl.h:2654
#define LVM_GETNEXTITEM
Definition: commctrl.h:2433
#define LVM_SETINSERTMARK
Definition: commctrl.h:2981
#define LVN_ODCACHEHINT
Definition: commctrl.h:3143
#define NM_CLICK
Definition: commctrl.h:130
#define LVM_MAPIDTOINDEX
Definition: commctrl.h:3016
#define LVN_BEGINDRAG
Definition: commctrl.h:3140
#define LVM_MAPINDEXTOID
Definition: commctrl.h:3014
#define NM_KILLFOCUS
Definition: commctrl.h:136
#define LVM_GETSUBITEMRECT
Definition: commctrl.h:2762
#define LVM_ENSUREVISIBLE
Definition: commctrl.h:2518
#define LVM_GETTOOLTIPS
Definition: commctrl.h:2798
#define LVM_HASGROUP
Definition: commctrl.h:2935
#define LVM_SETINFOTIP
Definition: commctrl.h:3002
#define TVN_ITEMEXPANDEDA
Definition: commctrl.h:3701
#define LVN_INCREMENTALSEARCHA
Definition: commctrl.h:3163
#define LVM_GETWORKAREAS
Definition: commctrl.h:2784
#define TVM_EDITLABELA
Definition: commctrl.h:3499
#define LV_FINDINFOW
Definition: commctrl.h:2444
#define LVM_GETINSERTMARK
Definition: commctrl.h:2983
#define TVM_SETINSERTMARKCOLOR
Definition: commctrl.h:3587
#define LVN_BEGINLABELEDITA
Definition: commctrl.h:3135
#define LVM_INSERTGROUP
Definition: commctrl.h:2881
#define LVM_SETGROUPMETRICS
Definition: commctrl.h:2913
#define LVM_REMOVEALLGROUPS
Definition: commctrl.h:2933
#define LVN_INCREMENTALSEARCHW
Definition: commctrl.h:3164
#define LVM_GETVIEW
Definition: commctrl.h:2848
#define LVM_SETSELECTIONMARK
Definition: commctrl.h:2790
#define LVM_SETITEMTEXTA
Definition: commctrl.h:2686
#define LVM_CANCELEDITLABEL
Definition: commctrl.h:3012
#define NM_CUSTOMDRAW
Definition: commctrl.h:137
#define LVM_GETBKIMAGEW
Definition: commctrl.h:2834
#define TVN_GETDISPINFOW
Definition: commctrl.h:3655
#define LVM_GETCOLUMNW
Definition: commctrl.h:2618
#define TVM_GETEDITCONTROL
Definition: commctrl.h:3506
#define LVM_GETGROUPINFO
Definition: commctrl.h:2885
#define TVM_GETTEXTCOLOR
Definition: commctrl.h:3581
#define TVM_DELETEITEM
Definition: commctrl.h:3414
#define TVN_SELCHANGINGA
Definition: commctrl.h:3645
#define NM_NCHITTEST
Definition: commctrl.h:139
#define TV_ITEMW
Definition: commctrl.h:3297
#define LVN_ENDLABELEDITW
Definition: commctrl.h:3138
#define LVM_SETITEMCOUNT
Definition: commctrl.h:2696
#define LVN_SETDISPINFOA
Definition: commctrl.h:3155
#define LVM_GETTILEINFO
Definition: commctrl.h:2969
#define TVM_SORTCHILDREN
Definition: commctrl.h:3541
#define WC_TREEVIEW
Definition: commctrl.h:3245
#define LVM_MOVEITEMTOGROUP
Definition: commctrl.h:2891
#define LVM_SCROLL
Definition: commctrl.h:2521
#define LVM_GETIMAGELIST
Definition: commctrl.h:2295
#define TVM_SETBKCOLOR
Definition: commctrl.h:3575
#define LVM_ISITEMVISIBLE
Definition: commctrl.h:3018
#define LVM_INSERTITEMA
Definition: commctrl.h:2403
#define TVM_SETINSERTMARK
Definition: commctrl.h:3564
#define LVM_GETCOUNTPERPAGE
Definition: commctrl.h:2666
#define LVN_BEGINLABELEDITW
Definition: commctrl.h:3136
#define LV_COLUMNW
Definition: commctrl.h:2546
#define TVM_MAPHTREEITEMTOACCID
Definition: commctrl.h:3605
#define LVM_GETOUTLINECOLOR
Definition: commctrl.h:3008
#define TVN_BEGINDRAGW
Definition: commctrl.h:3704
#define LVM_SETBKIMAGEW
Definition: commctrl.h:2832
#define NM_RETURN
Definition: commctrl.h:132
#define TVM_GETVISIBLECOUNT
Definition: commctrl.h:3509
#define LVM_SETHOTCURSOR
Definition: commctrl.h:2774
#define TVM_SELECTITEM
Definition: commctrl.h:3478
#define LVM_SUBITEMHITTEST
Definition: commctrl.h:2764
#define LVN_ENDLABELEDITA
Definition: commctrl.h:3137
#define LVM_GETBKIMAGEA
Definition: commctrl.h:2833
#define TVN_DELETEITEMA
Definition: commctrl.h:3707
#define WC_LISTVIEW
Definition: commctrl.h:2259
#define LV_ITEM
Definition: commctrl.h:2337
#define TVM_INSERTITEMW
Definition: commctrl.h:3408
#define LVM_GETITEMTEXTW
Definition: commctrl.h:2680
#define LVM_SETBKIMAGEA
Definition: commctrl.h:2831
#define LVM_GETITEMRECT
Definition: commctrl.h:2477
#define WM_MOUSELEAVE
Definition: commctrl.h:4975
#define LVM_GETITEMTEXTA
Definition: commctrl.h:2679
#define TVM_GETITEMA
Definition: commctrl.h:3485
#define LVM_GETBKCOLOR
Definition: commctrl.h:2291
#define LPTV_INSERTSTRUCTW
Definition: commctrl.h:3374
#define LVM_INSERTCOLUMNW
Definition: commctrl.h:2632
#define LVM_GETISEARCHSTRINGA
Definition: commctrl.h:2714
#define LVM_DELETEITEM
Definition: commctrl.h:2410
#define LVM_GETEXTENDEDLISTVIEWSTYLE
Definition: commctrl.h:2727
#define LVM_SETTILEVIEWINFO
Definition: commctrl.h:2963
#define LVM_SETITEMA
Definition: commctrl.h:2396
#define TVM_SETITEMA
Definition: commctrl.h:3492
#define TVM_ENSUREVISIBLE
Definition: commctrl.h:3544
#define TVM_SETIMAGELIST
Definition: commctrl.h:3446
#define LVM_SETVIEW
Definition: commctrl.h:2846
#define TVN_BEGINDRAGA
Definition: commctrl.h:3703
#define TVM_SETINDENT
Definition: commctrl.h:3437
#define LVM_GETSELECTIONMARK
Definition: commctrl.h:2788
#define NM_OUTOFMEMORY
Definition: commctrl.h:129
#define LVM_GETORIGIN
Definition: commctrl.h:2668
#define TVN_GETDISPINFOA
Definition: commctrl.h:3654
#define NM_RCLICK
Definition: commctrl.h:133
#define NM_SETFOCUS
Definition: commctrl.h:135
#define LVM_SETICONSPACING
Definition: commctrl.h:2721
#define LVN_ODFINDITEMA
Definition: commctrl.h:3144
#define LV_FINDINFOA
Definition: commctrl.h:2443
#define LV_HITTESTINFO
Definition: commctrl.h:2504
#define LV_ITEMW
Definition: commctrl.h:2332
#define TVN_ITEMEXPANDINGW
Definition: commctrl.h:3700
#define TVM_HITTEST
Definition: commctrl.h:3512
#define LVM_ISGROUPVIEWENABLED
Definition: commctrl.h:3006
#define TVM_INSERTITEMA
Definition: commctrl.h:3407
#define TVM_GETIMAGELIST
Definition: commctrl.h:3440
#define WM_MOUSEHOVER
Definition: commctrl.h:4974
#define TVM_GETINSERTMARKCOLOR
Definition: commctrl.h:3589
#define TVN_BEGINLABELEDITW
Definition: commctrl.h:3710
#define TVM_GETBKCOLOR
Definition: commctrl.h:3579
#define LVM_REMOVEGROUP
Definition: commctrl.h:2887
#define LVN_GETDISPINFOW
Definition: commctrl.h:3154
#define LVN_KEYDOWN
Definition: commctrl.h:3184
#define TVM_EDITLABELW
Definition: commctrl.h:3500
#define LVM_SETHOTITEM
Definition: commctrl.h:2770
#define LVM_SETGROUPINFO
Definition: commctrl.h:2883
#define LVM_GETSELECTEDCOUNT
Definition: commctrl.h:2708
int(CALLBACK * PFNLVGROUPCOMPARE)(int, int, void *)
Definition: commctrl.h:2920
#define LVM_GETTEXTCOLOR
Definition: commctrl.h:2656
#define LVM_SETITEMPOSITION32
Definition: commctrl.h:2705
#define LVM_SETTEXTBKCOLOR
Definition: commctrl.h:2662
#define LV_ITEMA
Definition: commctrl.h:2331
#define LVM_SORTITEMSEX
Definition: commctrl.h:2800
#define LVN_MARQUEEBEGIN
Definition: commctrl.h:3198
#define LVM_SETCOLUMNORDERARRAY
Definition: commctrl.h:2766
#define LVN_ITEMCHANGED
Definition: commctrl.h:3131
#define TVN_SELCHANGEDA
Definition: commctrl.h:3647
#define LVM_INSERTITEMW
Definition: commctrl.h:2404
#define TVN_SETDISPINFOA
Definition: commctrl.h:3656
#define LVM_GETITEMW
Definition: commctrl.h:2390
#define NM_KEYDOWN
Definition: commctrl.h:140
#define LVN_DELETEITEM
Definition: commctrl.h:3133
#define LVM_SORTITEMS
Definition: commctrl.h:2702
#define LVM_FINDITEMA
Definition: commctrl.h:2465
#define TVM_GETINDENT
Definition: commctrl.h:3434
#define LVM_GETCOLUMNWIDTH
Definition: commctrl.h:2641
int(CALLBACK * PFNLVCOMPARE)(LPARAM, LPARAM, LPARAM)
Definition: commctrl.h:2700
#define LVM_HITTEST
Definition: commctrl.h:2515
#define LVM_GETTEXTBKCOLOR
Definition: commctrl.h:2660
#define LPTV_INSERTSTRUCTA
Definition: commctrl.h:3373
#define TVM_GETSCROLLTIME
Definition: commctrl.h:3585
#define TVN_ENDLABELEDITW
Definition: commctrl.h:3712
#define TVM_EXPAND
Definition: commctrl.h:3419
#define TVN_DELETEITEMW
Definition: commctrl.h:3708
#define LVM_GETTILEVIEWINFO
Definition: commctrl.h:2965
#define LVM_GETISEARCHSTRINGW
Definition: commctrl.h:2715
#define TVM_SETTOOLTIPS
Definition: commctrl.h:3558
#define LVM_GETINSERTMARKRECT
Definition: commctrl.h:2987
#define LVN_ITEMACTIVATE
Definition: commctrl.h:3147
#define LVM_GETSTRINGWIDTHW
Definition: commctrl.h:2487
#define LVM_GETHOTCURSOR
Definition: commctrl.h:2776
#define LVM_GETSELECTEDCOLUMN
Definition: commctrl.h:3004
#define NM_RDOWN
Definition: commctrl.h:146
#define TVN_SINGLEEXPAND
Definition: commctrl.h:3716
#define TVN_GETINFOTIPA
Definition: commctrl.h:3714
#define LVM_SETEXTENDEDLISTVIEWSTYLE
Definition: commctrl.h:2724
#define TVM_GETNEXTITEM
Definition: commctrl.h:3449
#define TVM_SETITEMHEIGHT
Definition: commctrl.h:3571
#define TVM_GETISEARCHSTRINGA
Definition: commctrl.h:3553
#define LVM_GETGROUPMETRICS
Definition: commctrl.h:2915
#define EN_PARAGRAPHEXPANDED
Definition: richedit.h:204
#define EM_CANREDO
Definition: richedit.h:118
#define EM_SCROLLCARET
Definition: richedit.h:81
#define RICHEDIT_CLASS
Definition: richedit.h:55
#define EM_SETOLECALLBACK
Definition: richedit.h:103
#define EM_GETREDONAME
Definition: richedit.h:120
#define EM_GETEVENTMASK
Definition: richedit.h:92
#define EM_REDO
Definition: richedit.h:117
#define EM_REQUESTRESIZE
Definition: richedit.h:98
#define EM_GETSELTEXT
Definition: richedit.h:95
#define EM_FORMATRANGE
Definition: richedit.h:90
#define EM_STREAMIN
Definition: richedit.h:106
#define EN_PROTECTED
Definition: richedit.h:195
#define EM_SETEVENTMASK
Definition: richedit.h:102
#define EM_SETOPTIONS
Definition: richedit.h:110
#define EM_CANPASTE
Definition: richedit.h:83
#define WM_UNICHAR
Definition: richedit.h:67
#define EM_GETUNDONAME
Definition: richedit.h:119
#define EM_GETTEXTMODE
Definition: richedit.h:124
#define EM_GETWORDBREAKPROCEX
Definition: richedit.h:113
#define EN_LOWFIRTF
Definition: richedit.h:206
#define EM_SETBKGNDCOLOR
Definition: richedit.h:100
#define EM_HIDESELECTION
Definition: richedit.h:96
#define EM_POSFROMCHAR
Definition: richedit.h:77
#define EM_GETCHARFORMAT
Definition: richedit.h:91
#define EN_SELCHANGE
Definition: richedit.h:193
#define EM_SETCHARFORMAT
Definition: richedit.h:101
#define EN_DRAGDROPDONE
Definition: richedit.h:203
#define WM_CONTEXTMENU
Definition: richedit.h:64
#define EM_GETPARAFORMAT
Definition: richedit.h:94
#define EM_SETWORDBREAKPROCEX
Definition: richedit.h:114
#define EN_ALIGNLTR
Definition: richedit.h:207
#define EM_GETOPTIONS
Definition: richedit.h:111
#define EM_DISPLAYBAND
Definition: richedit.h:84
#define EN_ALIGNRTL
Definition: richedit.h:208
#define EN_REQUESTRESIZE
Definition: richedit.h:192
#define EM_CHARFROMPOS
Definition: richedit.h:78
#define EM_GETTEXTRANGE
Definition: richedit.h:108
#define WM_PRINTCLIENT
Definition: richedit.h:70
#define EN_STOPNOUNDO
Definition: richedit.h:197
#define EM_SETTEXTMODE
Definition: richedit.h:123
#define EM_EXSETSEL
Definition: richedit.h:88
#define EM_EXLIMITTEXT
Definition: richedit.h:86
#define EM_PASTESPECIAL
Definition: richedit.h:97
#define EN_DROPFILES
Definition: richedit.h:194
#define EM_SELECTIONTYPE
Definition: richedit.h:99
#define EM_FINDTEXT
Definition: richedit.h:89
#define EM_STOPGROUPTYPING
Definition: richedit.h:121
#define EN_CORRECTTEXT
Definition: richedit.h:196
#define EM_SETTARGETDEVICE
Definition: richedit.h:105
#define EM_GETLIMITTEXT
Definition: richedit.h:74
#define EN_OBJECTPOSITIONS
Definition: richedit.h:201
#define EN_MSGFILTER
Definition: richedit.h:191
#define EN_LINK
Definition: richedit.h:202
#define EM_EXLINEFROMCHAR
Definition: richedit.h:87
#define EM_GETOLEINTERFACE
Definition: richedit.h:93
#define WM_NOTIFY
Definition: richedit.h:61
#define EN_IMECHANGE
Definition: richedit.h:198
#define EM_SETPARAFORMAT
Definition: richedit.h:104
#define EM_EXGETSEL
Definition: richedit.h:85
#define EM_FINDTEXTEX
Definition: richedit.h:112
#define EN_SAVECLIPBOARD
Definition: richedit.h:199
#define EM_SETUNDOLIMIT
Definition: richedit.h:116
#define EM_FINDWORDBREAK
Definition: richedit.h:109
#define EN_OLEOPFAILED
Definition: richedit.h:200
#define EN_PAGECHANGE
Definition: richedit.h:205
#define EM_STREAMOUT
Definition: richedit.h:107
DWORD LCID
Definition: nls.h:13
#define _countof(array)
Definition: sndvol32.h:68
#define StringCbCopy
Definition: strsafe.h:155
#define StringCbPrintf
Definition: strsafe.h:544
Definition: ftp_var.h:139
Definition: inflate.c:139
Definition: dsound.c:943
Definition: parser.c:49
Definition: ps.c:97
UINT_PTR idFrom
Definition: winuser.h:3158
UINT code
Definition: winuser.h:3159
HWND hwndFrom
Definition: winuser.h:3157
LONG right
Definition: windef.h:308
LONG bottom
Definition: windef.h:309
LONG top
Definition: windef.h:307
LONG left
Definition: windef.h:306
#define WM_MOUSEWHEEL
Definition: treelist.c:96
#define TVM_GETLINECOLOR
Definition: treelist.h:345
#define TVM_SETLINECOLOR
Definition: treelist.h:348
#define TVM_GETEXTENDEDSTYLE
Definition: treelist.h:339
#define TVM_GETITEMSTATE
Definition: treelist.h:336
#define TVM_SETEXTENDEDSTYLE
Definition: treelist.h:342
uint16_t * PWSTR
Definition: typedefs.h:56
int32_t INT_PTR
Definition: typedefs.h:64
uint32_t DWORD_PTR
Definition: typedefs.h:65
uint32_t * LPDWORD
Definition: typedefs.h:59
int32_t INT
Definition: typedefs.h:58
#define WM_DRAGLOOP
Definition: undocuser.h:57
#define WM_DRAGSELECT
Definition: undocuser.h:58
#define WM_QUERYDROPOBJECT
Definition: undocuser.h:55
#define WM_DROPOBJECT
Definition: undocuser.h:54
#define WM_DRAGMOVE
Definition: undocuser.h:59
#define WM_BEGINDRAG
Definition: undocuser.h:56
#define dpi
Definition: sysparams.c:23
static HMENU hmenu
Definition: win.c:66
#define GlobalGetAtomName
Definition: winbase.h:3860
#define lstrcmpi
Definition: winbase.h:3873
#define MAXINTATOM
Definition: winbase.h:449
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1176
_In_ LONG _In_ HWND hwnd
Definition: winddi.h:4023
LONG_PTR LPARAM
Definition: windef.h:208
LONG_PTR LRESULT
Definition: windef.h:209
UINT_PTR WPARAM
Definition: windef.h:207
int * LPINT
Definition: windef.h:178
DWORD COLORREF
Definition: windef.h:300
HICON HCURSOR
Definition: windef.h:299
#define HANDLE_MSG(hwnd, message, fn)
Definition: windowsx.h:322
_In_ UINT iStart
Definition: wingdi.h:3620
#define WM_PAINT
Definition: winuser.h:1620
#define WM_POWER
Definition: winuser.h:1663
#define LB_ADDFILE
Definition: winuser.h:2030
#define EM_SETREADONLY
Definition: winuser.h:2015
#define WM_VSCROLLCLIPBOARD
Definition: winuser.h:1871
#define WM_ERASEBKGND
Definition: winuser.h:1625
#define WM_COMMNOTIFY
Definition: winuser.h:1660
#define WM_MDITILE
Definition: winuser.h:1818
#define WM_GETHOTKEY
Definition: winuser.h:1653
#define WM_MDISETMENU
Definition: winuser.h:1822
#define WM_QUERYNEWPALETTE
Definition: winuser.h:1878
#define CB_SELECTSTRING
Definition: winuser.h:1960
#define CB_SETITEMDATA
Definition: winuser.h:1966
#define WM_IME_KEYUP
Definition: winuser.h:1839
#define SBM_SETRANGE
Definition: winuser.h:2081
#define EM_GETIMESTATUS
Definition: winuser.h:1987
#define WM_CTLCOLORSTATIC
Definition: winuser.h:1772
#define CB_GETHORIZONTALEXTENT
Definition: winuser.h:1949
#define LB_GETCOUNT
Definition: winuser.h:2038
#define WM_GETTEXTLENGTH
Definition: winuser.h:1619
#define CB_SETDROPPEDWIDTH
Definition: winuser.h:1962
#define EM_GETRECT
Definition: winuser.h:1996
#define WM_IME_REQUEST
Definition: winuser.h:1836
#define LB_FINDSTRINGEXACT
Definition: winuser.h:2035
#define WM_CLOSE
Definition: winuser.h:1621
#define CB_GETLBTEXTLEN
Definition: winuser.h:1953
#define LB_GETITEMDATA
Definition: winuser.h:2041
#define WM_INPUT_DEVICE_CHANGE
Definition: winuser.h:1711
#define WM_SYSCOMMAND
Definition: winuser.h:1741
#define EM_LINEFROMCHAR
Definition: winuser.h:2001
#define CB_GETLBTEXT
Definition: winuser.h:1952
#define WM_ENABLE
Definition: winuser.h:1615
#define WM_HSCROLL
Definition: winuser.h:1743
#define WM_NEXTMENU
Definition: winuser.h:1806
#define WM_QUIT
Definition: winuser.h:1623
#define WM_PASTE
Definition: winuser.h:1863
#define LB_SETHORIZONTALEXTENT
Definition: winuser.h:2064
#define WM_KEYUP
Definition: winuser.h:1716
#define EM_GETWORDBREAKPROC
Definition: winuser.h:1999
#define EM_FMTLINES
Definition: winuser.h:1986
#define EM_GETPASSWORDCHAR
Definition: winuser.h:1995
#define WM_CHARTOITEM
Definition: winuser.h:1649
#define WM_MDICREATE
Definition: winuser.h:1812
#define STM_SETICON
Definition: winuser.h:2092
#define WM_IME_NOTIFY
Definition: winuser.h:1830
#define LB_SETCOUNT
Definition: winuser.h:2062
#define WM_DESTROYCLIPBOARD
Definition: winuser.h:1868
#define LB_GETTEXT
Definition: winuser.h:2049
#define LB_SETTOPINDEX
Definition: winuser.h:2070
#define WM_HSCROLLCLIPBOARD
Definition: winuser.h:1875
#define WM_QUERYOPEN
Definition: winuser.h:1624
#define WM_SETHOTKEY
Definition: winuser.h:1652
#define WM_CAPTURECHANGED
Definition: winuser.h:1808
#define WM_WINDOWPOSCHANGING
Definition: winuser.h:1661
#define WM_VSCROLL
Definition: winuser.h:1744
#define WM_IME_KEYDOWN
Definition: winuser.h:1838
#define WM_MDICASCADE
Definition: winuser.h:1819
#define WM_CHILDACTIVATE
Definition: winuser.h:1638
#define WM_SYNCPAINT
Definition: winuser.h:1690
#define WM_CREATE
Definition: winuser.h:1608
#define CB_SETTOPINDEX
Definition: winuser.h:1969
#define CB_SHOWDROPDOWN
Definition: winuser.h:1970
#define EM_SETIMESTATUS
Definition: winuser.h:2010
#define CB_GETITEMHEIGHT
Definition: winuser.h:1951
#define EM_GETSEL
Definition: winuser.h:1997
#define EM_SETPASSWORDCHAR
Definition: winuser.h:2014
#define EM_GETMODIFY
Definition: winuser.h:1994
#define CB_SETHORIZONTALEXTENT
Definition: winuser.h:1965
#define GetClassName
Definition: winuser.h:5783
#define LB_DIR
Definition: winuser.h:2033
#define WM_DRAWCLIPBOARD
Definition: winuser.h:1869
#define WM_CANCELJOURNAL
Definition: winuser.h:1665
#define WM_SIZE
Definition: winuser.h:1611
#define EM_EMPTYUNDOBUFFER
Definition: winuser.h:1985
#define WM_DROPFILES
Definition: winuser.h:1825
#define WM_CANCELMODE
Definition: winuser.h:1635
#define LB_GETSELCOUNT
Definition: winuser.h:2047
#define WM_LBUTTONDBLCLK
Definition: winuser.h:1778
#define WM_DWMNCRENDERINGCHANGED
Definition: winuser.h:1885
#define WM_PALETTECHANGED
Definition: winuser.h:1877
#define WM_COMMAND
Definition: winuser.h:1740
#define WM_WININICHANGE
Definition: winuser.h:1630
#define SBM_ENABLE_ARROWS
Definition: winuser.h:2077
#define LB_GETITEMRECT
Definition: winuser.h:2043
#define EM_REPLACESEL
Definition: winuser.h:2006
#define CB_INITSTORAGE
Definition: winuser.h:1956
#define WM_DEVMODECHANGE
Definition: winuser.h:1631
#define WM_GETTITLEBARINFOEX
Definition: winuser.h:1897
#define WM_APPCOMMAND
Definition: winuser.h:1882
#define CB_SETCURSEL
Definition: winuser.h:1961
#define LB_GETTOPINDEX
Definition: winuser.h:2051
#define LB_GETANCHORINDEX
Definition: winuser.h:2036
#define WM_SPOOLERSTATUS
Definition: winuser.h:1644
#define EM_SETRECT
Definition: winuser.h:2016
#define WM_NCHITTEST
Definition: winuser.h:1686
#define WM_RBUTTONUP
Definition: winuser.h:1780
#define WM_NCRBUTTONDBLCLK
Definition: winuser.h:1697
#define WM_RBUTTONDBLCLK
Definition: winuser.h:1781
#define WM_SETFOCUS
Definition: winuser.h:1613
#define WM_MOUSEMOVE
Definition: winuser.h:1775
#define LB_GETLOCALE
Definition: winuser.h:2045
#define WM_GETTEXT
Definition: winuser.h:1618
#define WM_NCMBUTTONUP
Definition: winuser.h:1699
#define WM_INPUT
Definition: winuser.h:1712
#define GetClipboardFormatName
Definition: winuser.h:5784
#define WM_MDINEXT
Definition: winuser.h:1816
#define WM_INITMENU
Definition: winuser.h:1745
#define WM_CTLCOLORSCROLLBAR
Definition: winuser.h:1771
#define WM_CUT
Definition: winuser.h:1861
#define LB_SETLOCALE
Definition: winuser.h:2067
#define CB_RESETCONTENT
Definition: winuser.h:1959
#define CB_FINDSTRINGEXACT
Definition: winuser.h:1940
#define WM_INITDIALOG
Definition: winuser.h:1739
#define WM_LBUTTONDOWN
Definition: winuser.h:1776
#define LB_GETSEL
Definition: winuser.h:2046
#define WM_DEVICECHANGE
Definition: winuser.h:1811
#define LB_ADDSTRING
Definition: winuser.h:2031
#define EM_LINEINDEX
Definition: winuser.h:2002
#define CB_DIR
Definition: winuser.h:1938
#define CB_GETCOUNT
Definition: winuser.h:1942
#define WM_SYSCOLORCHANGE
Definition: winuser.h:1626
#define SBM_GETRANGE
Definition: winuser.h:2079
#define WM_CHANGECBCHAIN
Definition: winuser.h:1874
#define WM_MDIACTIVATE
Definition: winuser.h:1814
#define LB_SETCOLUMNWIDTH
Definition: winuser.h:2061
#define WM_ASKCBFORMATNAME
Definition: winuser.h:1873
#define WM_GETFONT
Definition: winuser.h:1651
#define EM_LINESCROLL
Definition: winuser.h:2004
#define WM_QUERYDRAGICON
Definition: winuser.h:1654
#define CB_GETDROPPEDWIDTH
Definition: winuser.h:1946
#define WM_DELETEITEM
Definition: winuser.h:1647
#define EM_GETFIRSTVISIBLELINE
Definition: winuser.h:1988
#define EM_GETHANDLE
Definition: winuser.h:1989
#define WM_CTLCOLORMSGBOX
Definition: winuser.h:1766
#define LB_SELITEMRANGEEX
Definition: winuser.h:2058
#define STM_SETIMAGE
Definition: winuser.h:2093
#define WM_NCLBUTTONDBLCLK
Definition: winuser.h:1694
#define SBM_GETPOS
Definition: winuser.h:2078
#define WM_DRAWITEM
Definition: winuser.h:1645
#define WM_NEXTDLGCTL
Definition: winuser.h:1643
#define WM_UNDO
Definition: winuser.h:1865
#define WM_DWMCOMPOSITIONCHANGED
Definition: winuser.h:1884
#define CB_SETLOCALE
Definition: winuser.h:1968
#define LB_SELITEMRANGE
Definition: winuser.h:2057
#define WM_NCCREATE
Definition: winuser.h:1683
#define STM_GETICON
Definition: winuser.h:2090
#define LB_SETANCHORINDEX
Definition: winuser.h:2059
#define LB_SETITEMHEIGHT
Definition: winuser.h:2066
#define WM_ACTIVATE
Definition: winuser.h:1612
#define WM_MDIREFRESHMENU
Definition: winuser.h:1826
#define WM_SHOWWINDOW
Definition: winuser.h:1628
#define WM_MDIICONARRANGE
Definition: winuser.h:1820
#define WM_TIMECHANGE
Definition: winuser.h:1634
#define WM_QUEUESYNC
Definition: winuser.h:1639
#define WM_IME_SETCONTEXT
Definition: winuser.h:1829
#define WM_RBUTTONDOWN
Definition: winuser.h:1779
#define WM_SETTINGCHANGE
Definition: winuser.h:1629
#define WM_CTLCOLORBTN
Definition: winuser.h:1769
#define WM_SETTEXT
Definition: winuser.h:1617
#define EM_CANUNDO
Definition: winuser.h:1983
#define EM_LINELENGTH
Definition: winuser.h:2003
BOOL WINAPI IsWindowUnicode(_In_ HWND)
#define WM_NCMOUSEMOVE
Definition: winuser.h:1691
#define LB_SELECTSTRING
Definition: winuser.h:2056
#define WM_NCACTIVATE
Definition: winuser.h:1688
#define WM_IME_CHAR
Definition: winuser.h:1834
#define EM_SETHANDLE
Definition: winuser.h:2009
#define WM_SYSCHAR
Definition: winuser.h:1721
#define WM_ENTERMENULOOP
Definition: winuser.h:1804
#define LB_RESETCONTENT
Definition: winuser.h:2055
#define LB_DELETESTRING
Definition: winuser.h:2032
#define EM_GETLINE
Definition: winuser.h:1991
#define CB_GETDROPPEDCONTROLRECT
Definition: winuser.h:1944
#define EM_SETRECTNP
Definition: winuser.h:2017
#define WM_SYSDEADCHAR
Definition: winuser.h:1722
#define WM_GETMINMAXINFO
Definition: winuser.h:1640
#define WM_EXITSIZEMOVE
Definition: winuser.h:1824
#define WM_MENUCHAR
Definition: winuser.h:1748
#define WM_INITMENUPOPUP
Definition: winuser.h:1746
#define LB_FINDSTRING
Definition: winuser.h:2034
#define EM_SETLIMITTEXT
Definition: winuser.h:2011
#define WM_MDIDESTROY
Definition: winuser.h:1813
#define LB_GETITEMHEIGHT
Definition: winuser.h:2042
#define WM_NCMBUTTONDOWN
Definition: winuser.h:1698
#define WM_MDIMAXIMIZE
Definition: winuser.h:1817
#define WM_SETFONT
Definition: winuser.h:1650
#define WM_TIMER
Definition: winuser.h:1742
#define WM_QUERYENDSESSION
Definition: winuser.h:1622
#define EM_UNDO
Definition: winuser.h:2021
#define LB_GETHORIZONTALEXTENT
Definition: winuser.h:2040
#define EM_SCROLL
Definition: winuser.h:2007
#define LB_INSERTSTRING
Definition: winuser.h:2053
#define CB_ADDSTRING
Definition: winuser.h:1936
_In_ int cchText
Definition: winuser.h:4465
#define EM_SETWORDBREAKPROC
Definition: winuser.h:2020
#define CB_GETITEMDATA
Definition: winuser.h:1950
#define WM_DWMWINDOWMAXIMIZEDCHANGE
Definition: winuser.h:1887
#define WM_COPYDATA
Definition: winuser.h:1664
#define WM_NULL
Definition: winuser.h:1607
#define WM_MBUTTONDBLCLK
Definition: winuser.h:1784
#define WM_SYSKEYUP
Definition: winuser.h:1720
#define WM_EXITMENULOOP
Definition: winuser.h:1805
#define LB_ITEMFROMPOINT
Definition: winuser.h:2054
#define EM_SETSEL
Definition: winuser.h:2018
#define WM_MOUSEACTIVATE
Definition: winuser.h:1637
#define WM_COMPACTING
Definition: winuser.h:1659
#define WM_MEASUREITEM
Definition: winuser.h:1646
#define CB_SETEDITSEL
Definition: winuser.h:1963
#define CB_GETDROPPEDSTATE
Definition: winuser.h:1945
#define WM_LBUTTONUP
Definition: winuser.h:1777
#define WM_IME_COMPOSITIONFULL
Definition: winuser.h:1832
#define WM_CHAR
Definition: winuser.h:1717
#define LB_GETTEXTLEN
Definition: winuser.h:2050
#define SBM_SETRANGEREDRAW
Definition: winuser.h:2082
#define LB_SETITEMDATA
Definition: winuser.h:2065
#define WM_MOVE
Definition: winuser.h:1610
#define WM_SIZING
Definition: winuser.h:1807
_In_ int _Inout_ LPRECT lprc
Definition: winuser.h:4466
#define WM_NCDESTROY
Definition: winuser.h:1684
#define CB_GETEXTENDEDUI
Definition: winuser.h:1948
#define WM_NCLBUTTONUP
Definition: winuser.h:1693
#define LB_GETCARETINDEX
Definition: winuser.h:2037
#define WM_COPY
Definition: winuser.h:1862
#define EM_GETTHUMB
Definition: winuser.h:1998
#define WM_SETCURSOR
Definition: winuser.h:1636
#define WM_HOTKEY
Definition: winuser.h:1879
#define CB_GETTOPINDEX
Definition: winuser.h:1955
#define CB_LIMITTEXT
Definition: winuser.h:1958
#define WM_USER
Definition: winuser.h:1895
#define EM_GETMARGINS
Definition: winuser.h:1993
#define WM_IME_CONTROL
Definition: winuser.h:1831
#define CB_GETEDITSEL
Definition: winuser.h:1947
#define WM_ACTIVATEAPP
Definition: winuser.h:1632
#define WM_POWERBROADCAST
Definition: winuser.h:1810
#define WM_CTLCOLORLISTBOX
Definition: winuser.h:1768
#define LB_SETTABSTOPS
Definition: winuser.h:2069
#define EM_SETTABSTOPS
Definition: winuser.h:2019
#define LB_SETSEL
Definition: winuser.h:2068
#define WM_IME_SELECT
Definition: winuser.h:1833
#define WM_DESTROY
Definition: winuser.h:1609
#define CB_FINDSTRING
Definition: winuser.h:1939
#define WM_NCRBUTTONUP
Definition: winuser.h:1696
#define LB_SETCURSEL
Definition: winuser.h:2063
#define WM_FONTCHANGE
Definition: winuser.h:1633
#define WM_CLEAR
Definition: winuser.h:1864
#define WM_KEYDOWN
Definition: winuser.h:1715
#define CB_SETEXTENDEDUI
Definition: winuser.h:1964
#define WM_RENDERFORMAT
Definition: winuser.h:1866
#define WM_MOVING
Definition: winuser.h:1809
#define EM_GETLINECOUNT
Definition: winuser.h:1992
#define WM_COMPAREITEM
Definition: winuser.h:1655
#define WM_MDIGETACTIVE
Definition: winuser.h:1821
#define WM_ENDSESSION
Definition: winuser.h:1627
#define EDITWORDBREAKPROC
Definition: winuser.h:5711
#define WM_ICONERASEBKGND
Definition: winuser.h:1642
#define CB_INSERTSTRING
Definition: winuser.h:1957
#define WM_PARENTNOTIFY
Definition: winuser.h:1803
#define WM_NCMOUSELEAVE
Definition: winuser.h:1842
#define WM_NCMBUTTONDBLCLK
Definition: winuser.h:1700
#define LB_GETCURSEL
Definition: winuser.h:2039
#define CB_GETCURSEL
Definition: winuser.h:1943
#define WM_PRINT
Definition: winuser.h:1880
#define CB_DELETESTRING
Definition: winuser.h:1937
#define WM_NCCALCSIZE
Definition: winuser.h:1685
#define WM_MBUTTONUP
Definition: winuser.h:1783
#define CB_GETLOCALE
Definition: winuser.h:1954
#define LB_GETSELITEMS
Definition: winuser.h:2048
#define CB_SETITEMHEIGHT
Definition: winuser.h:1967
#define LB_INITSTORAGE
Definition: winuser.h:2052
#define EM_SETMARGINS
Definition: winuser.h:2012
#define WM_CTLCOLOREDIT
Definition: winuser.h:1767
#define WM_MENUSELECT
Definition: winuser.h:1747
#define WM_WINDOWPOSCHANGED
Definition: winuser.h:1662
#define WM_ENTERIDLE
Definition: winuser.h:1749
#define WM_DWMCOLORIZATIONCOLORCHANGED
Definition: winuser.h:1886
#define WM_DEADCHAR
Definition: winuser.h:1718
#define WM_CTLCOLORDLG
Definition: winuser.h:1770
#define WM_KILLFOCUS
Definition: winuser.h:1614
#define STM_GETIMAGE
Definition: winuser.h:2091
#define SBM_SETPOS
Definition: winuser.h:2080
#define WM_PAINTCLIPBOARD
Definition: winuser.h:1870
#define WM_SIZECLIPBOARD
Definition: winuser.h:1872
#define WM_SYSKEYDOWN
Definition: winuser.h:1719
#define WM_RENDERALLFORMATS
Definition: winuser.h:1867
#define WM_NCLBUTTONDOWN
Definition: winuser.h:1692
#define LB_SETCARETINDEX
Definition: winuser.h:2060
#define WM_PAINTICON
Definition: winuser.h:1641
#define WM_GETDLGCODE
Definition: winuser.h:1689
#define WM_PALETTEISCHANGING
Definition: winuser.h:1876
#define WM_MBUTTONDOWN
Definition: winuser.h:1782
#define EM_SETMODIFY
Definition: winuser.h:2013
#define CharUpper
Definition: winuser.h:5745
#define WM_NCMOUSEHOVER
Definition: winuser.h:1841
#define WM_NCPAINT
Definition: winuser.h:1687
#define WM_VKEYTOITEM
Definition: winuser.h:1648
#define WM_NCRBUTTONDOWN
Definition: winuser.h:1695
#define WM_SETREDRAW
Definition: winuser.h:1616
#define WM_MDIRESTORE
Definition: winuser.h:1815
#define WM_ENTERSIZEMOVE
Definition: winuser.h:1823
char TCHAR
Definition: xmlstorage.h:189
const char * LPCSTR
Definition: xmlstorage.h:183
char * LPSTR
Definition: xmlstorage.h:182
WCHAR * LPWSTR
Definition: xmlstorage.h:184
const CHAR * LPCTSTR
Definition: xmlstorage.h:193
CHAR * LPTSTR
Definition: xmlstorage.h:192
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185