Low-Level Console I/O

The low-level console I/O functions expand an application's control over console I/O by enabling direct access to a console's input and screen buffers. These functions enable an application to perform the following tasks:

愛eceive input about mouse and buffer-resizing events

愛eceive extended information about keyboard input events

慌rite input records to the input buffer

愛ead input records without removing them from the input buffer

嵯etermine the number of pending events in the input buffer

幹lush the input buffer

愛ead and write strings of Unicode or ANSI characters at a specified location in a screen buffer

愛ead and write strings of text and background color attributes at a specified screen buffer location

愛ead and write rectangular blocks of character and color data at a specified screen buffer location

慌rite a single Unicode or ANSI character, or a text and background color attribute combination, to a specified number of consecutive cells beginning at a specified screen buffer location