TCPIP_DNS_IsEnabled Function

C

bool TCPIP_DNS_IsEnabled(
    TCPIP_NET_HANDLE hNet
);

Description

This function returns the current state of DNS Client on the specified interface.

Preconditions

The DNS module must be initialized.

Paramaters

ParametersDescription
hNetInterface to query.

Returns

  • True - If the DNS client service is enabled on the specified interface.

  • False - If the DNS client service is not enabled on the specified interface.