Collapse All
Parallels Desktop® 10 for Mac — C API Reference Guide
PrlVmDev_SetConnected Function
Virtual Device Functions

Connects the specified virtual device.

Syntax
PRL_RESULT PrlVmDev_SetConnected(
    PRL_HANDLE hVmDev, 
    PRL_BOOL bConnected
);
File

PrlApiVm.h

Parameters

hVmDev
A handle identifying the virtual device.
bConnected
Value to set. PRL_TRUE to connect the device. PRL_FALSE to disconnect it.
Returns

PRL_RESULT . Possible values:

PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed.

PRL_ERR_SUCCESS - function completed successfully.

Links
Copyright © 1999-2015 Parallels IP Holdings GmbH and its affiliates. All rights reserved.
What do you think about this topic? Send feedback!