https://docs.microsoft.com/en-us/windows/desktop/api/winuser/nf-winuser-switchtothiswindow
CORE-15165
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)
{
VOID WINAPI
-SwitchToThisWindow(HWND hwnd, BOOL bUnknown)
+SwitchToThisWindow(HWND hwnd, BOOL fAltTab)
{
- NtUserxSwitchToThisWindow(hwnd, bUnknown);
+ NtUserxSwitchToThisWindow(hwnd, fAltTab);
}