[This is preliminary documentation and subject to change.]
Contains information about a simulated keyboard event.
typedef struct tagKEYBDINPUT {
WORD wVk;
WORD wScan;
DWORD dwFlags;
DWORD time;
DWORD dwExtraInfo;
} KEYBDINPUT, *PKEYBDINPUT, FAR* LPKEYBDINPUT;
KEYEVENTF_EXTENDEDKEY | If specified, the scan code was preceded by a prefix byte that has the value 0xE0 (224). |
KEYEVENTF_KEYUP | If specified, the key is being released. If not specified, the key is being pressed. |
This structure is contained by the INPUT structure and used with the SendInput function.
Simulating Input