Virtuozzo Virtualization SDK C API Reference
|
Obtains a list of network addresses (IP address/Subnet mask pairs) assigned to the specified network adapter.
PRL_RESULT PrlSrvCfgNet_GetNetAddresses( PRL_HANDLE hNetAdapter, PRL_HANDLE_PTR phNetAddressesList );
PrlApiDisp.h
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.