The PrlDevDisplay_NeedCursorData function allows to obtain cursor data from the virtual machine.
PRL_RESULT PrlDevDisplay_NeedCursorData( PRL_HANDLE hVm );
PrlApiVm.h
PRL_RESULT . Possible values:
PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed.
PRL_ERR_SUCCESS - function completed successfully.
The function sends a request to the virtual machine and immediately returns. The data is received as a PHT_EVENT handle via callback.