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