INPUT_RECORD STRUCT   (MS-Windows)

   Used to report input events in the console input buffer.
   These events can be read from the input buffer by using ReadConsoleInput or PeekConsoleInput, or written to the console input buffer by WriteConsoleInput.


INPUT_RECORD STRUCT
    EventType WORD ?
              WORD ? ; Padding to dword-align the following union.
    UNION Event
        KeyEvent              KEY_EVENT_RECORD <>
        MouseEvent            MOUSE_EVENT_RECORD <>
        WindowBufferSizeEvent WINDOW_BUFFER_SIZE_RECORD <>
        MenuEvent             MENU_EVENT_RECORD <>
        FocusEvent            FOCUS_EVENT_RECORD <>
    ENDS
INPUT_RECORD ENDS

Member Win Type Description
EventType WORD  Handle to the type of input event and the event record stored in the Event member.
· KEY_EVENT (0001h)
· MOUSE_EVENT (0002h)
· WINDOW_BUFFER_SIZE_EVENT (0004h)
· MENU_EVENT (0008h)
· FOCUS_EVENT (0010h)
  WORD  Padding to dword-align one of the following records.
Event.KeyEvent KEY_EVENT_RECORD  Event contains a KEY_EVENT_RECORD structure.
Event.MouseEvent MOUSE_EVENT_RECORD  Event contains a MOUSE_EVENT_RECORD structure.
Event.WindowBufferSizeEvent WINDOW_BUFFER_SIZE_RECORD  Event contains a WINDOW_BUFFER_SIZE_RECORD structure.
Event.MenuEvent MENU_EVENT_RECORD  Event contains a MENU_EVENT_RECORD structure.
 These events are used internally and should be ignored.
Event.FocusEvent FOCUS_EVENT_RECORD  Event contains a FOCUS_EVENT_RECORD structure.
 These events are used internally and should be ignored.

Converted from CHM to HTML with chm2web Pro 2.85 (unicode)