GetConsoleWindow function kernel32
Retrieves the window handle used by the console associated with the calling process.
To learn more, see learn.microsoft.com/windows/console/getconsolewindow.
Implementation
@pragma('vm:prefer-inline')
HWND GetConsoleWindow() => HWND(_GetConsoleWindow());