https://git.reactos.org/?p=reactos.git;a=commitdiff;h=3af58ea993a76c2bbaf53…
commit 3af58ea993a76c2bbaf532b318238f761c0b0fe8
Author: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
AuthorDate: Sat Apr 27 18:30:29 2019 +0900
Commit: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
CommitDate: Sat Apr 27 18:30:29 2019 +0900
[SDK][INCLUDE] small fix for 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 f69fd4a68d..5d476024cb 100644
--- a/sdk/include/reactos/msgdump.h
+++ b/sdk/include/reactos/msgdump.h
@@ -5,7 +5,7 @@
* COPYRIGHT: Copyright 2018 Katayama Hirofumi MZ (katayama.hirofumi.mz(a)gmail.com)
*/
#ifndef _INC_MSGDUMP
-#define _INC_MSGDUMP 2 /* Version 2 */
+#define _INC_MSGDUMP 3 /* Version 3 */
/*
* NOTE: MD_msgdump function in this file provides Win32API message dump feature.
@@ -28,7 +28,7 @@
#endif
#ifndef MSGDUMP_PREFIX
- #define MSGDUMP_PREFIX ""
+ #define MSGDUMP_PREFIX TEXT("")
#endif
/* MD_msgdump function */
@@ -1620,6 +1620,7 @@ MD_Edit_OnScroll(HWND hwnd, INT nScroll)
{
MSGDUMP_TPRINTF(TEXT("%sEM_SCROLL(hwnd:%p, nScroll:%d)\n"),
MSGDUMP_PREFIX, (void *)hwnd, nScroll);
+ return 0;
}
static __inline BOOL MSGDUMP_API
@@ -1689,6 +1690,7 @@ MD_Edit_OnGetThumb(HWND hwnd)
{
MSGDUMP_TPRINTF(TEXT("%sEM_GETTHUMB(hwnd:%p)\n"),
MSGDUMP_PREFIX, (void *)hwnd);
+ return 0;
}
static __inline INT MSGDUMP_API
@@ -1789,6 +1791,7 @@ MD_Edit_OnSetReadOnly(HWND hwnd, BOOL fReadOnly)
{
MSGDUMP_TPRINTF(TEXT("%sEM_SETREADONLY(hwnd:%p, fReadOnly:%d)\n"),
MSGDUMP_PREFIX, (void *)hwnd, fReadOnly);
+ return 0;
}
static __inline void MSGDUMP_API
@@ -2349,6 +2352,7 @@ MD_ComboBox_OnInsertString(HWND hwnd, INT index, LPCTSTR lpsz)
else
MSGDUMP_TPRINTF(TEXT("%sCB_INSERTSTRING(hwnd:%p, index:%d,
lpsz:%hs)\n"),
MSGDUMP_PREFIX, (void *)hwnd, index, (LPCSTR)lpsz);
+ return 0;
}
static __inline void MSGDUMP_API