Collapse All
Parallels C API Reference Guide
PrlIPPrivNet_SetNetAddresses Function
PrlApi.h 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
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 © 1999-2011 Parallels Holdings, Ltd. and its affiliates. All rights reserved.
What do you think about this topic? Send feedback!