This function can be used to configure a new virtual disk, which is based on an external physical device, locally without being connected to the Parallels Service.
PRL_RESULT PrlDisk_ConfigurePhysical( PRL_CONST_STR pDiskName, PRL_CONST_STR pDevPath, PRL_UINT32 nReserved );
PrlDisk.h
PRL_RESULT. Possible values are:
PRL_ERR_INVALID_ARG - Invalid handle or null pointer was passed. PRL_ERR_OUT_OF_MEMORY - Not enough memory to create an object. PRL_ERR_CANT_CONFIGURE_PHYSICAL_HDD - Unable to configure the hard disk settings. PRL_ERR_SUCCESS - Function completed successfully.