1.2.1.4.12 TCPIP_DHCPS_RemovePoolEntries Function

C

bool TCPIP_DHCPS_RemovePoolEntries(
    TCPIP_NET_HANDLE netH, 
    TCPIP_DHCPS_POOL_ENTRY_TYPE type
);

Description

This function is used to remove the DHCP server entries from the pool as per TCPIP_DHCPS_POOL_ENTRY_TYPE.

Preconditions

The DHCP server module should have been initialized.

Parameters

ParametersDescription
hNetInterface handle to use.
typetype of entries to remove: - DHCP_SERVER_POOL_ENTRY_ALL- DHCP_SERVER_POOL_ENTRY_IN_USE

Returns

  • True - If successful.

  • False - If unsuccessful.

Remarks

None.