Jump to main content

##

# TCPIP_DHCP_IsEnabled Function

## C

    bool TCPIP_DHCP_IsEnabled(
        TCPIP_NET_HANDLE hNet
    );

## Description

This function returns the current state of the DHCP client on the specified interface.

## Preconditions

The DHCP module must be initialized.

## Parameters

Parameters | Description
--- | ---
hNet | Interface to query.

## Returns

- True - If the DHCP client service is enabled on the specified interface.
- False - If the DHCP client service is not enabled on the specified interface.

## Remarks

None.