Note that very important in the case of hooking the console window is to register a hook callback using the WH_KEYBOARD_LL flag (value 13) instead of WH_KEYBOARD (value 2). Using the second one, the hook will not work — input will not be blocked.
Thanks again... rather easy to miss that it must be a low level hook.