Collapse All
Parallels Virtualization SDK
ContentsIndex
PreviousUpNext
PrlDispCfg_SetUsbIdentAssociation Function
PHT_DISP_CONFIG

(Un)Associates USB device with given Vm.

Syntax
PRL_RESULT PrlDispCfg_SetUsbIdentAssociation(
    PRL_HANDLE hDispCfg, 
    PRL_CONST_STR sSystemName, 
    PRL_CONST_STR sVmUuid, 
    PRL_UINT32 nFlags
);
File

PrlApiDisp.h

Parameters

hDispCfg
A handle of type PHT_DISP_CONFIG.
sSystemName
System name / id of USB device
sVmUuid
Uuid of Vm to associate USB device with. It could be NULL or empty to clear association.
nFlags
Reserved parameter.

Returns

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 

Links
© 2021 Parallels International GmbH. All rights reserved.