The syntax for the HARDWAREINPUT structure from winuser.h is as follows:
HARDWAREINPUT
winuser.h
typedef struct tagHARDWAREINPUT { DWORD uMsg; WORD wPa