GetConsoleWindow function kernel32

HWND GetConsoleWindow()

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());