3.1 INPUT_RECORD Structure Example
The following is an example of a populated INPUT_RECORD structure.
-
EventType = 0x0001 bKeyDown = 0x01 wRepeatCount = 0x0001 wVirtualKeyCode = 0x0044 wVirtualScanCode = 0x0020 uChar = 0x0064 dwControlKeyState = 0x0020
The INPUT_RECORD structure tells the server that 0x0064 is the input character, and NUM LOCK was on when the character was entered. The value 0x01 in bKeyDown indicates that the key was pressed; 0x0001 in wRepeatCount indicates that the key was pressed once.