Collapse All
Virtuozzo Virtualization SDK C API Reference
ContentsIndex
PreviousUpNext
PrlVmDevNet_SetAutoApply Function
PHT_VIRTUAL_DEV_NET_ADAPTER

Allows to specify whether a network adapter in a virtual machine should be automatically configured.

Syntax
PRL_RESULT PrlVmDevNet_SetAutoApply(
    PRL_HANDLE hVmDev, 
    PRL_BOOL bAutoApply
);
File

PrlApiVm.h

Parameters

hVmDev
A handle of type PHT_VIRTUAL_DEV_NET_ADAPTER identifying the virtual network adapter.
bAutoApply
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

Note: For these changes to take effect, Virtuozzo 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 ©2016-2017 Parallels International GmbH. All rights reserved.