Parallels Desktop® 10 for Mac — C API Reference Guide
|
Allows to manually assign DNS servers to a network adapter in a virtual machine.
PRL_RESULT PrlVmDevNet_SetDnsServers( PRL_HANDLE hVmDev, PRL_HANDLE hDnsServersList );
PrlApiVm.h
PRL_RESULT . Possible values:
PRL_ERR_INVALID_ARG - invalid handle of virtual network adapter specified.
PRL_ERR_SUCCESS - function completed successfully.
Note : For these changes to take effect, Parallels Tools must be installed in the target virtual machine, and its network adapter settings should be configured to change automatically.
If the changes are applied to a stopped virtual machine, they will take effect the next time the machine is started. If the changes are applied to a running virtual machine, they will take effect on configuration changes commit.
Copyright © 1999-2015 Parallels IP Holdings GmbH and its affiliates. All rights reserved.
|
What do you think about this topic?
Send feedback!
|