DNS_PROXY_INFORMATION structure (windns.h)

The DNS_PROXY_INFORMATION structure contains the proxy information for a DNS server's name resolution policy table.

Syntax

typedef struct DNS_PROXY_INFORMATION {
  ULONG                      version;
  DNS_PROXY_INFORMATION_TYPE proxyInformationType;
  PWSTR                      proxyName;
} DNS_PROXY_INFORMATION;

Members

version

A value that specifies the structure version. This value must be 1.

proxyInformationType

A DNS_PROXY_INFORMATION_TYPE enumeration that contains the proxy information type.

proxyName

A pointer to a string that contains the proxy server name if proxyInformationType is DNS_PROXY_INFORMATION_PROXY_NAME. Otherwise, this member is ignored.

Note  To free this string, use the DnsFreeProxyName function.
 

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Header windns.h

See also

DNS Structures

DnsGetProxyInformation