https://git.reactos.org/?p=reactos.git;a=commitdiff;h=c59c185d1c64e2a19e3eb9ba4addcd933cc5f397

commit c59c185d1c64e2a19e3eb9ba4addcd933cc5f397
Author:     Katayama Hirofumi MZ <[email protected]>
AuthorDate: Thu Aug 19 08:18:20 2021 +0900
Commit:     GitHub <[email protected]>
CommitDate: Thu Aug 19 08:18:20 2021 +0900

    [INCLUDE] Move WM_IME_SYSTEM from ntuser.h to undocuser.h (#3920)
    
    CORE-11700
---
 dll/win32/imm32/imm.c           | 1 +
 sdk/include/reactos/undocuser.h | 1 +
 win32ss/include/ntuser.h        | 2 --
 3 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dll/win32/imm32/imm.c b/dll/win32/imm32/imm.c
index b6c2051d1fa..bb12ff791c5 100644
--- a/dll/win32/imm32/imm.c
+++ b/dll/win32/imm32/imm.c
@@ -31,6 +31,7 @@
 #include <ndk/rtlfuncs.h>
 #include "../../../win32ss/include/ntuser.h"
 #include "../../../win32ss/include/ntwin32.h"
+#include <undocuser.h>
 #include <imm32_undoc.h>
 #include <strsafe.h>
 
diff --git a/sdk/include/reactos/undocuser.h b/sdk/include/reactos/undocuser.h
index 5d02b3a213b..b706c0f6660 100644
--- a/sdk/include/reactos/undocuser.h
+++ b/sdk/include/reactos/undocuser.h
@@ -56,6 +56,7 @@ extern "C" {
 #define WM_DRAGLOOP            0x0000022D
 #define WM_DRAGSELECT       0x0000022E
 #define WM_DRAGMOVE            0x0000022F
+#define WM_IME_SYSTEM       0x00000287
 #define WM_POPUPSYSTEMMENU  0x00000313
 #define WM_UAHINIT          0x0000031b
 #define WM_CBT              0x000003FF // ReactOS only.
diff --git a/win32ss/include/ntuser.h b/win32ss/include/ntuser.h
index f1832446f5c..a4d3b95e985 100644
--- a/win32ss/include/ntuser.h
+++ b/win32ss/include/ntuser.h
@@ -7,8 +7,6 @@ struct _DESKTOP;
 struct _WND;
 struct tagPOPUPMENU;
 
-#define WM_IME_SYSTEM 0x287
-
 #define FIRST_USER_HANDLE 0x0020 /* first possible value for low word of user 
handle */
 #define LAST_USER_HANDLE 0xffef /* last possible value for low word of user 
handle */
 

Reply via email to