The mouse_event function synthesizes mouse motion and button clicks. Windows NT/ 2000: This function has been superseded. Use SendInput instead.VOID mouse_event(
  DWORD dwFlags,         // motion and click options
  DWORD dx,              // horizontal position or change
  DWORD dy,              // vertical position or change
  DWORD dwData,          // wheel movement
  ULONG_PTR dwExtraInfo  // application-defined information
);