Sends absolute or relative mouse event with specified parameters within the virtual machine display coordinate grid.
PRL_RESULT PrlDevMouse_Event( PRL_HANDLE hObj, const PRL_IO_MOUSE_EVENT_EX4 * mouse, PRL_UINT32 size, PRL_BOOL absolute );
PrlApiVm.h
PRL_RESULT. Possible values:
PRL_ERR_INVALID_ARG - invalid handle.
PRL_ERR_SUCCESS - function completed successfully.
Absolute event can only be sent if Parallels Tools package is installed in the target virtual machine and if Sliding Mouse feature is enabled. To find out if Sliding Mouse is enabled, use the PrlDevDisplay_IsSlidingMouseEnabled function.