Collapse All
Virtuozzo Virtualization SDK C API Reference
ContentsIndex
PreviousUpNext
PrlSrvCfgNet_GetNetAddresses Function
PHT_HW_NET_ADAPTER

Obtains a list of network addresses (IP address/Subnet mask pairs) assigned to the specified network adapter.

Syntax
PRL_RESULT PrlSrvCfgNet_GetNetAddresses(
    PRL_HANDLE hNetAdapter, 
    PRL_HANDLE_PTR phNetAddressesList
);
File

PrlApiDisp.h

Parameters

hNetAdapter
A valid handle of type PHT_HW_NET_ADAPTER identifying the adapter.
phNetAddressesList
[out] A pointer to a variable that receives the PHT_STRINGS_LIST handle containing the addresses.

Returns

PRL_RESULT. Possible values: 

PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed. 

PRL_ERR_OUT_OF_MEMORY - not enough memory to instantiate strings list object 

PRL_ERR_SUCCESS - function completed successfully. 

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