Collapse All
Parallels C API Reference Guide
PrlSrvCfgDev_GetDeviceState Function
PrlApi.h PHT_HW_GENERIC_DEVICE See Also

Determines whether a virtual machine can directly use a device, such as a PCI device through IOMMU technology (e.g.

Syntax
PRL_RESULT PrlSrvCfgDev_GetDeviceState(
    PRL_HANDLE hGenericDevice, 
    PRL_GENERIC_DEVICE_STATE_PTR pnDeviceState
);
File
Parameters

hGenericDevice
A handle of type PHT_HW_GENERIC_DEVICE , or one of the descendant types, identifying the device.
pnDeviceState
[out] A pointer to a variable that receives the currently set device access preference.
Returns

PRL_RESULT . Possible values:

PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed.

PRL_ERR_SUCCESS - function completed successfully.

Remarks

Intel Vt-d) or a USB device.

See Also
Links
Copyright © 1999-2011 Parallels Holdings, Ltd. and its affiliates. All rights reserved.
What do you think about this topic? Send feedback!