SetActiveWindow function Null safety user32

int SetActiveWindow(
  1. int hWnd
)

Activates a window. The window must be attached to the calling thread's message queue.

HWND SetActiveWindow(
  HWND hWnd
);

Implementation

int SetActiveWindow(int hWnd) => _SetActiveWindow(hWnd);