TCPIP_DHCP_IsBound Function

C

bool TCPIP_DHCP_IsBound(
    TCPIP_NET_HANDLE hNet
);

Description

This functin returns the status of the current IP address lease on the specified interface.

Preconditions

None.

Parameters

ParametersDescription
hNetInterface to query.

Returns

  • True - DHCP client has obtained an IP address lease (and likely other parameters) and these values are currently being used.

  • False - No IP address is currently leased.

Remarks

None.