https://git.reactos.org/?p=reactos.git;a=commitdiff;h=f8c51ecdd78cda96c6b8c…
commit f8c51ecdd78cda96c6b8c486054a671c5c9dddd2
Author: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
AuthorDate: Sun Jun 2 10:09:34 2019 +0900
Commit: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
CommitDate: Sun Jun 2 10:09:34 2019 +0900
[SDK][INCLUDE] Update msgdump.h
---
sdk/include/reactos/msgdump.h | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/sdk/include/reactos/msgdump.h b/sdk/include/reactos/msgdump.h
index 514914a30c9..c81763b02e6 100644
--- a/sdk/include/reactos/msgdump.h
+++ b/sdk/include/reactos/msgdump.h
@@ -5,7 +5,7 @@
* COPYRIGHT: Copyright 2018-2019 Katayama Hirofumi MZ
(katayama.hirofumi.mz(a)gmail.com)
*/
#ifndef _INC_MSGDUMP
-#define _INC_MSGDUMP 5 /* Version 5 */
+#define _INC_MSGDUMP 6 /* Version 6 */
/*
* NOTE: MD_msgdump function in this file provides Win32API message dump feature.
@@ -65,7 +65,7 @@ MD_OnUnknown(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
if (0xC000 <= uMsg && uMsg <= 0xFFFF &&
GlobalGetAtomName(uMsg, szName, ARRAYSIZE(szName)))
{
- // RegisterWindowMessage'd message
+ /* RegisterWindowMessage'd message */
MSGDUMP_TPRINTF(TEXT("%s'%s'(%u)(hwnd:%p, wParam:%p,
lParam:%p)\n"),
MSGDUMP_PREFIX, szName, uMsg, (void *)hwnd, (void *)wParam,
(void *)lParam);
@@ -3323,7 +3323,9 @@ MD_msgresult(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam,
LRESULT lResult
DEFINE_RESULT(WM_NCXBUTTONDOWN);
DEFINE_RESULT(WM_NCXBUTTONUP);
DEFINE_RESULT(WM_NCXBUTTONDBLCLK);
+#ifdef WM_INPUT_DEVICE_CHANGE
DEFINE_RESULT(WM_INPUT_DEVICE_CHANGE);
+#endif
DEFINE_RESULT(WM_INPUT);
DEFINE_RESULT(WM_KEYDOWN);
DEFINE_RESULT(WM_KEYUP);
@@ -3473,7 +3475,9 @@ MD_msgresult(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam,
LRESULT lResult
DEFINE_RESULT(WM_PRINTCLIENT);
DEFINE_RESULT(WM_APPCOMMAND);
DEFINE_RESULT(WM_THEMECHANGED);
+#ifdef WM_CLIPBOARDUPDATE
DEFINE_RESULT(WM_CLIPBOARDUPDATE);
+#endif
#if _WIN32_WINNT >= 0x0600
DEFINE_RESULT(WM_DWMCOMPOSITIONCHANGED);
DEFINE_RESULT(WM_DWMNCRENDERINGCHANGED);