GetBestInterface.3w

Langue: en

Version: Jun 2009 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

GetBestInterface (IPHLPAPI.@)

SYNOPSIS

DWORD GetBestInterface
 (
  IPAddr dwDestAddr,
  PDWORD pdwBestIfIndex
 )

DESCRIPTION

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

Defined in "iphlpapi.h".

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

Debug channel "iphlpapi".