Checks if the specified virtual device is connected.
PRL_RESULT PrlVmDev_IsConnected( PRL_HANDLE hVmDev, PRL_BOOL_PTR pbConnected );
PrlApiVm.h
PRL_RESULT. Possible values: PRL_ERR_INVALID_ARG - invalid device handle or non valid (NULL) pointer to storing result, or handle of already removed VM device was passed. PRL_ERR_SUCCESS - operation completed successfully