https://git.reactos.org/?p=reactos.git;a=commitdiff;h=047da7e63266a0606a95c…
commit 047da7e63266a0606a95cd2dfe799d2b7c6b7720
Author: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
AuthorDate: Wed Aug 12 06:01:22 2020 +0900
Commit: GitHub <noreply(a)github.com>
CommitDate: Wed Aug 12 06:01:22 2020 +0900
[NTUSER] Add more QUERY_WINDOW_* values (#3034)
Add QUERY_WINDOW_* constant values for NtUserQueryWindow funciton. CORE-11700
---
win32ss/include/ntuser.h | 3 +++
win32ss/user/ntuser/window.c | 15 +++++++++++++++
2 files changed, 18 insertions(+)
diff --git a/win32ss/include/ntuser.h b/win32ss/include/ntuser.h
index 15e0e995922..86cca3ab6e2 100644
--- a/win32ss/include/ntuser.h
+++ b/win32ss/include/ntuser.h
@@ -2798,6 +2798,9 @@ NtUserQueryUserCounters(
#define QUERY_WINDOW_ISHUNG 0x04
#define QUERY_WINDOW_REAL_ID 0x05
#define QUERY_WINDOW_FOREGROUND 0x06
+#define QUERY_WINDOW_DEFAULT_IME 0x07
+#define QUERY_WINDOW_DEFAULT_ICONTEXT 0x08
+#define QUERY_WINDOW_ACTIVE_IME 0x09
DWORD_PTR
NTAPI
diff --git a/win32ss/user/ntuser/window.c b/win32ss/user/ntuser/window.c
index 6095ed1b403..319cef9063a 100644
--- a/win32ss/user/ntuser/window.c
+++ b/win32ss/user/ntuser/window.c
@@ -3996,6 +3996,21 @@ NtUserQueryWindow(HWND hWnd, DWORD Index)
Result = (pWnd->head.pti->MessageQueue == gpqForeground);
break;
+ case QUERY_WINDOW_DEFAULT_IME:
+ ERR("QUERY_WINDOW_DEFAULT_IME: FIXME\n");
+ Result = 0;
+ break;
+
+ case QUERY_WINDOW_DEFAULT_ICONTEXT:
+ ERR("QUERY_WINDOW_DEFAULT_ICONTEXT: FIXME\n");
+ Result = 0;
+ break;
+
+ case QUERY_WINDOW_ACTIVE_IME:
+ ERR("QUERY_WINDOW_ACTIVE_IME: FIXME\n");
+ Result = 0;
+ break;
+
default:
Result = 0;
break;