GetConsoleWindow function Null safety kernel32
Retrieves the window handle used by the console associated with the calling process.
HWND WINAPI GetConsoleWindow(void);
Implementation
int GetConsoleWindow() {
final _GetConsoleWindow = _kernel32
.lookupFunction<IntPtr Function(), int Function()>('GetConsoleWindow');
return _GetConsoleWindow();
}