FreeMibTable function

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

Syntax


VOID NETIOAPI_API_ FreeMibTable(
  _In_  PVOID Memory
);

Parameters

Memory [in]

A pointer to the buffer to free.

Return value

None

Remarks

The FreeMibTable function is used to free the internal buffers that various functions use to retrieve tables of interfaces, addresses, and routes. When these tables are no longer needed, your driver should call FreeMibTable to release the memory that these tables use.

Requirements

Version

Available in Windows Vista and later versions of the Windows operating systems.

Header

Netioapi.h (include Netioapi.h)

IRQL

< DISPATCH_LEVEL

See also

GetAnycastIpAddressTable
GetIfStackTable
GetIfTable2
GetIfTable2Ex
GetInvertedIfStackTable
GetIpForwardTable2
GetIpInterfaceTable
GetIpNetTable2
GetIpPathTable
GetMulticastIpAddressTable
GetUnicastIpAddressTable

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft