GetBestInterfaceEx(3w)

GetBestInterfaceEx3w

Usage

DWORD GetBestInterfaceEx
(
struct WS_sockaddr* pDestAddr,
PDWORD pdwBestIfIndex
)

Overview

Get the interface, with the best route for the given IP address.

Params

dwDestAddr [In] IP address to search the interface for.

pdwBestIfIndex [Out] found best interface.

Returns

Success: NO_ERROR

Failure: error code from Winerror.h

Implementation

Declared in "iphlpapi.h".

Implemented in "dlls/iphlpapi/iphlpapi_main.c".

Debug channel "iphlpapi".

Releases

3 releases since Debian 5.0 (Lenny); the text changed 2 times.

  1. 5.0
  2. 6.0
  3. 7

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.