mouse_event(dwFlags, dx, dy, dwData, dwExtraInfo)
Simulate a mouse event
Parameters
dwFlags=0 : DWORD
Flags specifying various function options
dx : DWORD
Horizontal position of mousedy : DWORD
Vertical position of mousedwData : DWORD
Flag specific parameterdwExtraInfo=0 : DWORD
Additional data associated with mouse event
Win32 API References
Search for mouse_event at msdn, google or google groups.