Collapse All
Parallels C API Reference Guide
PrlVmCfg_SetSearchDomains Function
PrlApi.h PHT_VM_CONFIGURATION See Also

Allows to manually set the global search domain list that will be assigned to the Virtuozzo Container.

Syntax
PRL_RESULT PrlVmCfg_SetSearchDomains(
    PRL_HANDLE hVmCfg, 
    PRL_HANDLE hSearchDomainsList
);
File
Parameters

hVmCfg
A handle of type PHT_VM_CONFIGURATION identifying the virtual machine configuration.
hSearchDomainsList
A handle of type PHT_STRINGS_LIST containing the list of search domains to be applied to the global network settings of the virtual machine operating system. Can be PRL_INVALID_HANDLE if it's necessary to specify an empty list.
Returns

PRL_RESULT . Possible values:

PRL_ERR_INVALID_ARG - invalid handle of virtual network adapter specified.

PRL_ERR_SUCCESS - function completed successfully.

Remarks

Note: For these 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.

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