Scroll to navigation

GetBestRoute(3w) Wine API GetBestRoute(3w)

NAME

GetBestRoute (IPHLPAPI.@)

SYNOPSIS

DWORD GetBestRoute
(
DWORD dwDestAddr,
DWORD dwSourceAddr,
PMIB_IPFORWARDROW pBestRoute
)
 

DESCRIPTION

Get the best route for the given IP address.
 

PARAMS

dwDestAddr [In] IP address to search the best route for.
dwSourceAddr [In] optional source IP address.
pBestRoute [Out] found best route.
 

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".
Oct 2012 Wine API