[This is preliminary documentation and subject to change.]
Carries information describing simulated mouse, keyboard, or other user input.
typedef struct tagINPUT {
DWORD type;
union {
MOUSEINPUT mi;
KEYBDINPUT ki;
HARDWAREINPUT hi;
};
} INPUT, FAR* LPINPUT;
INPUT_HARDWARE | The hi union member is valid. |
INPUT_KEYBOARD | The ki union member is valid. |
INPUT_MOUSE | The mi union member is valid. |
This structure is used with the SendInput sample application.
This structure contains information identical to that used in the parameter list for a call to the keybd_event, mouse_event, or hardware_event functions.
Simulating Input