not just call GetConsoleWindow, propagate it's return value