Platform SDK: Internet Protocol Helper

DeleteIpNetEntry

The DeleteIpNetEntry function deletes an ARP entry from the ARP table on the local computer.

DWORD DeleteIpNetEntry(
  PMIB_IPNETROW pArpEntry    // info identifying entry to delete
);

Parameters

pArpEntry
Pointer to a MIB_IPNETROW structure. The information in this structure identifies the entry to delete. The caller must specify values for at least the dwIndex and dwAddr members of this structure.

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 NT 4.0 SP4 or later.
  Windows 95/98: Requires Windows 98.
  Header: Declared in Iphlpapi.h.
  Library: Use Iphlpapi.lib.

See Also

CreateIpNetEntry, MIB_IPNETROW, SetIpNetEntry