Share via


ResolveNeighbor (Compact 2013)

3/26/2014

Deprecated.

This function resolves the physical address for a neighbor IP address entry on the local device.

Note

This function is deprecated and not supported. Developers should use the ResolveIpNetEntry2 function.

Syntax

ULONG WINAPI ResolveNeighbor(
  __in     SOCKADDR* NetworkAddress,
  __out    PVOID PhysicalAddress,
  __inout  PULONG PhysicalAddressLength
);

Parameters

  • NetworkAddress
    A pointer to a SOCKADDR structure that contains the neighbor IP address entry and address family.
  • PhysicalAddress
    A pointer to a byte array buffer that will receive the physical address that corresponds to the IP address specified by the NetworkAddress parameter if the function is successful. The length of the byte array is passed in the PhysicalAddressLength parameter.
  • PhysicalAddressLength
    On input, this parameter specifies the maximum length, in bytes, of the buffer that is passed in the PhysicalAddress parameter to receive the physical address. If the function is successful, this parameter will receive the length of the physical address returned in the buffer pointed to by the PhysicalAddress parameter. If ERROR_BUFFER_OVERFLOW is returned, this parameter contains the number of bytes required to hold the physical address.

Return Value

The ResolveNeighbor function always fails and returns the following error code.

Return code

Description

ERROR_NOT_SUPPORTED

The request is not supported.

Remarks

The ResolveNeighbor function is deprecated.

See Also

Reference

IP Helper Functions
ResolveIpNetEntry2