Collapse All
Virtuozzo Virtualization SDK C API Reference
ContentsIndex
PreviousUpNext
PrlIPPrivNet_SetNetAddresses Function
PHT_IPPRIV_NET

Allows to set IP addresses/Subnet masks to a private network.

Syntax
PRL_RESULT PrlIPPrivNet_SetNetAddresses(
    PRL_HANDLE hPrivNet, 
    PRL_HANDLE NetAddresses
);
File

PrlApiNet.h

Parameters

hPrivNet
A handle of type PHT_IPPRIV_NET identifying the private network.
hNetAddressesList
A handle of type PHT_STRINGS_LIST containing the list of "IP address/Subnet mask" pairs to be applied to the network adapter. 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. 

Links
Copyright ©2016-2017 Parallels International GmbH. All rights reserved.