Collapse All
Parallels C API Reference Guide
ContentsIndex
PreviousUpNext
PHT_VIRTUAL_DEV_NET_ADAPTER
Functions  Functions by Handle  Legend  See Also  Send Feedback

The PHT_VIRTUAL_DEV_NET_ADAPTER handle is used to manage network adapters in a virtual machine. The handle is obtained by making the PrlVmCfg_CreateVmDev or the PrlVmCfg_GetNetAdapter function call.

Functions
 
Name 
Description 
 
Generates a unique MAC address for a virtual network adapter on a virtual machine. 
 
Returns the index of the adapter to which the specified virtual adapter is bound. 
 
Returns the name of the adapter to which the specified virtual adapter is bound. 
 
Obtains the default gateway assigned to a virtual network adapter in a virtual machine. 
 
Obtains the list of DNS servers which is assigned to a virtual network adapter on virtual machine startup. 
 
Returns the MAC address of a virtual network adapter inside a virtual machine. 
 
Obtains a list of IP addresses in the address/subnet_mask format which is assigned to a virtual network adapter on virtual machine startup. 
 
Obtains a lists of search domains which are assigned to a virtual network adapter on virtual machine startup. 
 
Obtains the virtual network ID assigned to a virtual network adapter in a virtual machine. 
 
Determines if the specified network adapter is configured to automatically apply network settings inside guest. 
 
Determines if the specified network adapter is configured through DHCP on the guest OS side. 
 
Allows to specify whether a network adapter in a virtual machine should be automatically configured. 
 
Sets the index of the adapter to which the specified virtual adapter should be bound. 
 
Sets the name of the network adapter to which a virtual network adapter inside a virtual machine will bind. 
 
Allows to specify whether a network adapter in a virtual machine should be configured through DHCP or manually. 
 
Allows to manually set the default gateway address for a network adapter in a virtual machine. 
 
Allows to manually assign DNS servers to a network adapter in a virtual machine. 
 
Allows to manually set MAC address to a network adapter inside a virtual machine. 
 
Allows to manually set IP addresses/Subnet masks to a network adapter in a virtual machine. 
 
Allows to manually assign search domains to a network adapter in a virtual machine. 
 
Allows to set the virtual network ID for a network adapter in a virtual machine. 
See Also
Links
Copyright (c) 1999-2009 Parallels Software International Inc.
What do you think about this topic? Send feedback!