Obtains a handle to a virtual device in a virtual machine according to the specified device type and index.
An index identifying the device instance (beginning with 0). To determine the number of the devices of the specified type available in the virtual machine, use the PrlVmCfg_GetDevsCountByType
[out] A pointer to a variable that receives the handle. The type of the handle can be determined using the PrlHandle_GetType
function. You should also "know" the handle type based on the device type for which you are obtaining a handle. Search this documentation for topics with PHT_VIRTUAL_DEV_ prefix in their names for the list of the available virtual device handles.
PRL_RESULT. Possible values:
PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed, or device index out of bound
PRL_ERR_SUCCESS - function completed successfully.
Copyright ©2016-2017 Parallels International GmbH. All rights reserved.