Closes the virtual machine connection that was previously established using the PrlDevDisplay_ConnectToVm function call.
PRL_RESULT PrlDevDisplay_DisconnectFromVm( PRL_HANDLE hObj );
PrlApiVm.h
PRL_RESULT . Possible values:
PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed.
PRL_ERR_SUCCESS - function completed successfully.