Collapse All
Parallels Virtualization SDK
ContentsIndex
PreviousUpNext
PrlVmDevNet_GetDnsServers Function
PHT_VIRTUAL_DEV_NET_ADAPTER  See Also

Obtains the list of DNS servers which is assigned to a virtual network adapter on virtual machine startup.

Syntax
PRL_RESULT PrlVmDevNet_GetDnsServers(
    PRL_HANDLE hVmDev, 
    PRL_HANDLE_PTR phDnsServersList
);
File

PrlApiVm.h

Parameters

hVmDev
A handle of type PHT_VIRTUAL_DEV_NET_ADAPTER identifying the virtual network adapter.
phDnsServersList
[out] A pointer to the PHT_STRINGS_LIST handle that receives the list of DNS servers.

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. 

See Also
Links
© 2021 Parallels International GmbH. All rights reserved.