[NTUSER] NtUserxSwitchToThisWindow 2nd argument is fAltTab (#989)
authorKatayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>
Sat, 27 Oct 2018 18:27:49 +0000 (03:27 +0900)
committerGitHub <noreply@github.com>
Sat, 27 Oct 2018 18:27:49 +0000 (03:27 +0900)
Fix the 2nd parameter name of NtUserxSwitchToThisWindow. #988 similiarly.
CORE-15165

win32ss/user/user32/include/ntwrapper.h

index e1d31f9..67b67de 100644 (file)
@@ -688,9 +688,9 @@ EXTINLINE BOOL NtUserxUpdateUiState(HWND hWnd, DWORD Param)
     return (BOOL)NtUserCallTwoParam((DWORD_PTR)hWnd, (DWORD_PTR)Param, TWOPARAM_ROUTINE_ROS_UPDATEUISTATE);
 }
 
-EXTINLINE VOID NtUserxSwitchToThisWindow(HWND hWnd, BOOL bUnknown)
+EXTINLINE VOID NtUserxSwitchToThisWindow(HWND hWnd, BOOL fAltTab)
 {
-    NtUserCallTwoParam((DWORD_PTR)hWnd, (DWORD_PTR)bUnknown, TWOPARAM_ROUTINE_SWITCHTOTHISWINDOW);
+    NtUserCallTwoParam((DWORD_PTR)hWnd, (DWORD_PTR)fAltTab, TWOPARAM_ROUTINE_SWITCHTOTHISWINDOW);
 }
 
 EXTINLINE BOOL NtUserxShowOwnedPopups(HWND hWnd, BOOL fShow)