mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +00:00
[WIN32SS] SwitchToThisWindow 2nd argument is fAltTab (#988)
https://docs.microsoft.com/en-us/windows/desktop/api/winuser/nf-winuser-switchtothiswindow CORE-15165
This commit is contained in:
parent
4bd0166e63
commit
1f3353ac3b
2 changed files with 4 additions and 3 deletions
|
@ -508,13 +508,14 @@ NtUserCallTwoParam(
|
|||
case TWOPARAM_ROUTINE_SWITCHTOTHISWINDOW:
|
||||
{
|
||||
HWND hwnd = (HWND)Param1;
|
||||
BOOL fAltTab = (BOOL)Param2;
|
||||
Ret = 0;
|
||||
Window = UserGetWindowObject(hwnd);
|
||||
if (!Window)
|
||||
{
|
||||
break;
|
||||
}
|
||||
if ((BOOL)Param2)
|
||||
if (fAltTab)
|
||||
{
|
||||
if (Window->style & WS_MINIMIZE)
|
||||
{
|
||||
|
|
|
@ -79,9 +79,9 @@ BringWindowToTop(HWND hWnd)
|
|||
|
||||
|
||||
VOID WINAPI
|
||||
SwitchToThisWindow(HWND hwnd, BOOL bUnknown)
|
||||
SwitchToThisWindow(HWND hwnd, BOOL fAltTab)
|
||||
{
|
||||
NtUserxSwitchToThisWindow(hwnd, bUnknown);
|
||||
NtUserxSwitchToThisWindow(hwnd, fAltTab);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue