Jacek Caban : kernelbase: Use ioctl for WriteConsoleInputW implementation.