Obtains a list of addresses of DNS servers assigned to the specified network adapter.
PRL_RESULT PrlSrvCfgNet_GetDnsServers( PRL_HANDLE hNetAdapter, PRL_HANDLE_PTR phDnsServersList );
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.