GetIpForwardTable.3w

Langue: en

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

Section: 3 (Bibliothèques de fonctions)

NAME

GetIpForwardTable (IPHLPAPI.@)

SYNOPSIS

DWORD GetIpForwardTable
 (
  PMIB_IPFORWARDTABLE pIpForwardTable,
  PULONG              pdwSize,
  BOOL                bOrder
 )

DESCRIPTION

Get the route table.

PARAMS

pIpForwardTable [Out] buffer for route table.

pdwSize [In/Out] length of output buffer.

bOrder [In] whether to sort the table.

RETURNS

Success: NO_ERROR

Failure: error code from Winerror.h.

NOTES

If pdwSize is less than required, the function will return ERROR_INSUFFICIENT_BUFFER, and *pdwSize will be set to the required byte size. If bOrder is TRUE, the returned table will be sorted by the next hop and an assortment of arbitrary parameters.

IMPLEMENTATION

Defined in "iphlpapi.h".

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

Debug channel "iphlpapi".