Returns the boot device type.
PRL_RESULT PrlBootDev_GetType( PRL_HANDLE hVmBootDev, PRL_DEVICE_TYPE_PTR pnDevType );
PrlApiVm.h
PRL_RESULT. Possible values:
PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed.
PRL_ERR_SUCCESS - function completed successfully.
Device type is a property that, together with device index, is used to uniquely identify a device in the virtual machine boot list. The supported device types are defined in the PRL_DEVICE_TYPE enumeration.