mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 02:15:47 +00:00
Add two more query window types.
svn path=/trunk/; revision=34296
This commit is contained in:
parent
033f85022a
commit
b82fda4139
2 changed files with 15 additions and 3 deletions
|
@ -1903,6 +1903,8 @@ NtUserQueryUserCounters(
|
||||||
|
|
||||||
#define QUERY_WINDOW_UNIQUE_PROCESS_ID 0x00
|
#define QUERY_WINDOW_UNIQUE_PROCESS_ID 0x00
|
||||||
#define QUERY_WINDOW_UNIQUE_THREAD_ID 0x01
|
#define QUERY_WINDOW_UNIQUE_THREAD_ID 0x01
|
||||||
|
#define QUERY_WINDOW_ACTIVE 0x02
|
||||||
|
#define QUERY_WINDOW_FOCUS 0x03
|
||||||
#define QUERY_WINDOW_ISHUNG 0x04
|
#define QUERY_WINDOW_ISHUNG 0x04
|
||||||
DWORD
|
DWORD
|
||||||
NTAPI
|
NTAPI
|
||||||
|
|
|
@ -3952,12 +3952,14 @@ NtUserMoveWindow(
|
||||||
|
|
||||||
0 = QWUniqueProcessId
|
0 = QWUniqueProcessId
|
||||||
1 = QWUniqueThreadId
|
1 = QWUniqueThreadId
|
||||||
|
2 = QWActiveWindow
|
||||||
|
3 = QWFocusWindow
|
||||||
4 = QWIsHung Implements IsHungAppWindow found
|
4 = QWIsHung Implements IsHungAppWindow found
|
||||||
by KJK::Hyperion.
|
by KJK::Hyperion.
|
||||||
|
|
||||||
9 = QWKillWindow When I called this with hWnd ==
|
9 = QWKillWindow When I called this with hWnd ==
|
||||||
DesktopWindow, it shutdown the system
|
DesktopWindow, it shutdown the system
|
||||||
and rebooted.
|
and rebooted.
|
||||||
*/
|
*/
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
|
@ -3987,6 +3989,14 @@ NtUserQueryWindow(HWND hWnd, DWORD Index)
|
||||||
Result = (DWORD)IntGetWndThreadId(Window);
|
Result = (DWORD)IntGetWndThreadId(Window);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case QUERY_WINDOW_ACTIVE:
|
||||||
|
Result = (DWORD)UserGetActiveWindow();
|
||||||
|
break;
|
||||||
|
|
||||||
|
case QUERY_WINDOW_FOCUS:
|
||||||
|
Result = (DWORD)IntGetFocusWindow();
|
||||||
|
break;
|
||||||
|
|
||||||
case QUERY_WINDOW_ISHUNG:
|
case QUERY_WINDOW_ISHUNG:
|
||||||
Result = (DWORD)MsqIsHung(Window->MessageQueue);
|
Result = (DWORD)MsqIsHung(Window->MessageQueue);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue