Reference

AllocateAndGetTcpTableFromStack(3w)

NAME

AllocateAndGetTcpTableFromStack (IPHLPAPI.@)

SYNOPSIS

DWORD AllocateAndGetTcpTableFromStack
(
PMIB_TCPTABLE* ppTcpTable,
BOOL bOrder,
HANDLE heap,
DWORD flags
)

DESCRIPTION

Get the TCP connection table. Like GetTcpTable(3w), but allocate the returned table from heap.

PARAMS

ppTcpTable [Out] pointer into which the MIB_TCPTABLE 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 ppTcpTable is NULL, whatever GetTcpTable(3w) returns otherwise.

IMPLEMENTATION

Declared in "ipstats.h".

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

Debug channel "iphlpapi".

History