Collapse All
Parallels Desktop® 10 for Mac — C API Reference Guide
PrlSrvCfgDev_IsConnectedToVm Function
PHT_HW_GENERIC_DEVICE

Determines whether the device is connected to a virtual machine.

Syntax
PRL_RESULT PrlSrvCfgDev_IsConnectedToVm(
    PRL_HANDLE hGenericDevice, 
    PRL_BOOL_PTR pbConnected
);
File

PrlApiDisp.h

Parameters

hGenericDevice
A handle of type PHT_HW_GENERIC_DEVICE , or one of the descendant types, identifying the device.
pbConnected
[out] A pointer to a variable that receives the device connection status.
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!