Moves a mouse pointer to the specified absolute position within the virtual machine display coordinate grid and sends a mouse event (presses or releases the specified button).
PRL_RESULT PrlDevMouse_SetPosEx( PRL_HANDLE hObj, PRL_INT32 x, PRL_INT32 y, PRL_INT32 z, PRL_INT32 w, PRL_UINT32 buttons );
PrlApiVm.h
PRL_RESULT. Possible values:
PRL_ERR_INVALID_ARG - invalid handle.
PRL_ERR_SUCCESS - function completed successfully.
This function can only be used 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.