Platform SDK: Internet Protocol Helper

FlushIpNetTable

The FlushIpNetTable function deletes all ARP entries for the specified interface from the ARP table on the local computer.

DWORD FlushIpNetTable(
  DWORD dwIfIndex    // delete ARP entries for this interface
);

Parameters

dwIfIndex
Specifies the index of the interface for which to delete all ARP entries.

Return Values

If the function succeeds, the return value is NO_ERROR.

If the function fails, use FormatMessage to obtain the message string for the returned error.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Windows 95/98: Unsupported.
  Header: Declared in Iphlpapi.h.
  Library: Use Iphlpapi.lib.

See Also

GetIfTable, GetIpNetTable