Add some win32 console functions.