For my Console Application, I needed to prevent user input and window resizing. I used
HWND consoleWindow = GetConsole