Collapse All
Parallels C API Reference Guide
PrlIPPrivNet_GetNetAddresses Function
PrlApi.h PHT_IPPRIV_NET

Obtains a list of IP addresses in the address/subnet_mask format which is assigned to a private network.

Syntax
PRL_RESULT PrlIPPrivNet_GetNetAddresses(
    PRL_HANDLE hPrivNet, 
    PRL_HANDLE_PTR pNetAddresses
);
File
Parameters

hPrivNet
A handle of type PHT_IPPRIV_NET identifying the private network.
phNetAddressesList
[out] A pointer to the PHT_STRINGS_LIST handle containing the IP addresses.
Returns

PRL_RESULT . Possible values are:

PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed.

PRL_ERR_OUT_OF_MEMORY - not enough memory to allocate strings list object.

PRL_ERR_SUCCESS - function completed successfully.

Remarks

Returns the list of pairs "IP address/Subnet mask" which is applied to the private network. The result will be returned as list of strings ( PHT_STRINGS_LIST type) of pairs "IP address/Subnet mask".

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