GetConsoleWindow function Null safety kernel32

int GetConsoleWindow()

Retrieves the window handle used by the console associated with the calling process.

HWND WINAPI GetConsoleWindow(void);

Implementation

int GetConsoleWindow() => _GetConsoleWindow();