NAME

GetBestInterfaceEx  (IPHLPAPI.@)

SYNOPSIS

 DWORD GetBestInterfaceEx
 (
  struct sockaddr* pDestAddr,
  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

Declared in "include/iphlpapi.h". gitlab.winehq.org/wine/wine/blob/master/include/iphlpapi.h

Implemented in "dlls/iphlpapi/iphlpapi_main.c". gitlab.winehq.org/wine/wine/blob/master/dlls/iphlpapi/iphlpapi_main.c

Debug channel "iphlpapi".


Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Dec 2024.