Collapse All
Parallels C API Reference Guide
PrlDispCfg_SetUsbIdentAssociation Function
PrlApi.h 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
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
Copyright © 1999-2011 Parallels Holdings, Ltd. and its affiliates. All rights reserved.
What do you think about this topic? Send feedback!