Returns the type of the specified device.
PRL_RESULT PrlVmDev_GetType( PRL_HANDLE hVmDev, PRL_DEVICE_TYPE_PTR pnDeviceType );
PrlApiVm.h
PRL_RESULT. Possible values:
PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed.
PRL_ERR_SUCCESS - function completed successfully.