FreeMibTable function (netioapi.h)

The FreeMibTable function frees the buffer allocated by the functions that return tables of network interfaces, addresses, and routes (GetIfTable2 and GetAnycastIpAddressTable, for example).

Syntax

IPHLPAPI_DLL_LINKAGE VOID NETIOAPI_API_ FreeMibTable(
  PVOID Memory
);

Parameters

Memory

A pointer to the buffer to free.

Return value

This function does not return a value.

Remarks

The FreeMibTable function is defined on Windows Vista and later.

The FreeMibTable function is used to free the internal buffers used by various functions to retrieve tables of interfaces, addresses, and routes. When these tables are no longer needed, then FreeMibTable should be called to release the memory used by these tables.

Requirements

   
Minimum supported client Windows Vista [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 [desktop apps | UWP apps]
Target Platform Windows
Header netioapi.h (include Iphlpapi.h)
Library Iphlpapi.lib
DLL Iphlpapi.dll

See also

GetAnycastIpAddressTable

GetIfStackTable

GetIfTable2

GetIfTable2Ex

GetInvertedIfStackTable

GetIpForwardTable2

GetIpInterfaceTable

GetIpNetTable2

GetIpPathTable

GetMulticastIpAddressTable

GetUnicastIpAddressTable