Group: IP Helper - Library: iphlpapi
The IpReleaseAddress function releases an IP address previously obtained through Dynamic Host Configuration Protocol (DHCP).
DWORD IpReleaseAddress(
PIP_ADAPTER_INDEX_MAP AdapterInfo
);
DECLARE INTEGER IpReleaseAddress IN iphlpapi;
STRING @ AdapterInfo AdapterInfo [in] Pointer to an IP_ADAPTER_INDEX_MAP structure that specifies the adapter associated with the IP address to release.
If the function succeeds, the return value is NO_ERROR.
Normally this functionality is achieved through IPCONFIG /release call.
Home