SwitchToThisWindow

[DllImport("user32.dll", SetLastError = true)]
public static extern void SwitchToThisWindow(
   IntPtr hWnd,
   bool fAltTab
);

Microsoft documentation: Linkarrow-up-right

Last updated