Reference

AllocateAndGetIpForwardTableFromStack(3w)

NAME

AllocateAndGetIpForwardTableFromStack (IPHLPAPI.@)

SYNOPSIS

DWORD AllocateAndGetIpForwardTableFromStack
(
PMIB_IPFORWARDTABLE* ppIpForwardTable,
BOOL bOrder,
HANDLE heap,
DWORD flags
)

DESCRIPTION

Get the route table. Like GetIpForwardTable(3w), but allocate the returned table from heap.

PARAMS

ppIpForwardTable [Out] pointer into which the MIB_IPFORWARDTABLE is allocated and returned.

bOrder [In] whether to sort the table.

heap [In] heap from which the table is allocated.

flags [In] flags to HeapAlloc.

RETURNS

ERROR_INVALID_PARAMETER if ppIfTable is NULL, other error codes on failure, NO_ERROR on success.

IMPLEMENTATION

Declared in "ipstats.h".

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

Debug channel "iphlpapi".

History