Assigns a boot camp partition to the specified virtual hard disk.
PRL_RESULT PrlVmDevHd_AddPartition( PRL_HANDLE hVmDev, PRL_HANDLE_PTR phPartition );
PrlApiVm.h
PRL_RESULT. Possible values:
PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed.
PRL_ERR_SUCCESS - function completed successfully.
When creating a virtual machine based on a boot camp partition, this function must be used to obtain a handle of type PHT_VIRTUAL_DEV_HD_PARTITION. The handle can then be used to set the system name of the boot camp partition that you would like to use.