GetActiveWindow function user32

int GetActiveWindow()

Retrieves the window handle to the active window attached to the calling thread's message queue.

HWND GetActiveWindow();

Implementation

int GetActiveWindow() => _GetActiveWindow();