Virtuozzo Virtualization SDK C API Reference
|
Obtains the number of virtual devices of the specified type available in the specified virtual machine.
PRL_RESULT PrlVmCfg_GetDevsCountByType( PRL_HANDLE hVmCfg, PRL_DEVICE_TYPE vmDeviceType, PRL_UINT32_PTR pnDevicesCount );
PrlApiVm.h
PRL_RESULT. Possible values:
PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed.
PRL_ERR_SUCCESS - function completed successfully.