Virtuozzo Virtualization SDK C API Reference
|
(Un)Associates USB device with given Vm.
PRL_RESULT PrlDispCfg_SetUsbIdentAssociation( PRL_HANDLE hDispCfg, PRL_CONST_STR sSystemName, PRL_CONST_STR sVmUuid, PRL_UINT32 nFlags );
PrlApiDisp.h
PRL_RESULT. Posible values:
PRL_ERR_INVALID_ARG - invalid handle or invalid system name was passed.
PRL_ERR_OUT_OF_MEMORY - insufficient memory to complete operation
PRL_ERR_SUCCESS - function completed successfully