DeleteProxyArpEntry (Compact 2013)

3/26/2014

This function deletes the PARP entry on the local computer specified by the dwAddress and dwIfIndex parameters.

Syntax

DWORD DeleteProxyArpEntry(
  DWORD dwAddress, 
  DWORD dwMask, 
  DWORD dwIfIndex 
);

Parameters

  • dwAddress
    [in] The IP address for which this computer is acting as a proxy.
  • dwMask
    [in] The subnet mask for the IP address specified by the dwAddress parameter.
  • dwIfIndex
    [in] The index of the interface on which this device is supporting proxy ARP for the IP address specified by dwAddress.

Return Value

Return code

Description

NO_ERROR (zero)

The function is successful.

ERROR_ACCESS_DENIED

Access is denied.

ERROR_INVALID_PARAMETER

An input parameter is invalid, no action was taken.

ERROR_NOT_SUPPORTED

The IPv4 transport is not configured on the local device.

Other

Use FormatMessage to obtain the message string for the returned error.

Remarks

To retrieve the ARP table, call the GetIpNetTable function.

Requirements

Header

iphlpapi.h

Library

Iphlpapi.lib

See Also

Reference

IP Helper Functions
GetIpNetTable
CreateProxyArpEntry
MIB_PROXYARP

Other Resources

IP Helper