Those two fellows have incorrect values: #define TOUCHEVENTF_DOWN 0x0001 #define TOUCHEVENTF_MOVE 0x0002
According to MSDN the values should be as follows: #define TOUCHEVENTF_DOWN 0x0002 #define TOUCHEVENTF_MOVE 0x0001
Issues: #2205
Looking at winuser.h:
winuser.h:#define MOUSEEVENTF_MOVE 0x00000001 winuser.h:#define MOUSEEVENTF_LEFTDOWN 0x00000002
Looking at winuser.h:
winuser.h:#define MOUSEEVENTF_MOVE 0x00000001
winuser.h:#define MOUSEEVENTF_LEFTDOWN 0x00000002