Collapse All
Parallels Virtualization SDK
ContentsIndex
PreviousUpNext
PrlVmDevUsb_SetAutoconnectOption Function
PHT_VIRTUAL_DEV_USB_DEVICE  See Also

Sets USB controller autoconnect device option.

Syntax
PRL_RESULT PrlVmDevUsb_SetAutoconnectOption(
    PRL_HANDLE hVmDev, 
    PRL_USB_DEVICE_AUTO_CONNECT_OPTION nAutoconnectOption
);
File

PrlApiVm.h

Parameters

hVmDev
A handle of type PHT_VIRTUAL_DEV_USB_DEVICE identifying the USB device.
nAutoconnectOption
Autoconnect option to set.

Returns

PRL_RESULT. Possible values: 

PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed. 

PRL_ERR_SUCCESS - function completed successfully. 

See Also
Links
© 2021 Parallels International GmbH. All rights reserved.