SwitchToThisWindow function user32

void SwitchToThisWindow(
  1. int hwnd,
  2. int fUnknown
)

Switches focus to the specified window and brings it to the foreground.

void SwitchToThisWindow(
  HWND hwnd,
  BOOL fUnknown
);

Implementation

void SwitchToThisWindow(int hwnd, int fUnknown) =>
    _SwitchToThisWindow(hwnd, fUnknown);