Collapse All
Parallels Virtualization SDK
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

PrlApiDeprecated.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
© 2021 Parallels International GmbH. All rights reserved.