[NTUSER] Add more QUERY_WINDOW_* values (#3034)

Add QUERY_WINDOW_* constant values for NtUserQueryWindow funciton. CORE-11700
This commit is contained in:
Katayama Hirofumi MZ 2020-08-12 06:01:22 +09:00 committed by GitHub
parent 451a9c6f52
commit 047da7e632
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 0 deletions

View file

@ -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

View file

@ -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;