Collapse All
Parallels Desktop® 10 for Mac — C API Reference Guide
PrlVmCfg_SetAutoApplyIpOnly Function
PHT_VM_CONFIGURATION

Allows to specify whether a virtual machine should be automatically configured for IP addrs.

Syntax
PRL_RESULT PrlVmCfg_SetAutoApplyIpOnly(
    PRL_HANDLE hVmCfg, 
    PRL_BOOL bAutoApplyIpOnly
);
File

PrlApiVm.h

Parameters

hVmCfg
A handle of type PHT_VM_CONFIGURATION identifying the virtual network adapter.
bAutoApplyIpOnly
Specify PRL_TRUE to configure the adapter automatically. Specified PRL_FALSE to configure the network settings manually in a virtual machine.
Returns

PRL_RESULT . Possible values:

PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed.

PRL_ERR_SUCCESS - function completed successfully.

Remarks

In comparison with PrlVmDevNet_SetAutoApply (), dns servers and searchdomains settings will be skipped.

Notes

for changes to take effect, Parallels Tools must be installed in a target virtual machine.

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.

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