Commit 44933230 authored by Austin English's avatar Austin English Committed by Alexandre Julliard

iphlpapi: Add FreeMibTable implementation.

parent 0486b436
...@@ -66,7 +66,7 @@ ...@@ -66,7 +66,7 @@
#@ stub FlushIpNetTable2 #@ stub FlushIpNetTable2
@ stub FlushIpNetTableFromStack @ stub FlushIpNetTableFromStack
#@ stub FlushIpPathTable #@ stub FlushIpPathTable
#@ stub FreeMibTable @ stdcall FreeMibTable( ptr )
@ stdcall GetAdapterIndex( wstr ptr ) @ stdcall GetAdapterIndex( wstr ptr )
@ stub GetAdapterOrderMap @ stub GetAdapterOrderMap
@ stdcall GetAdaptersAddresses( long long ptr ptr ptr ) @ stdcall GetAdaptersAddresses( long long ptr ptr ptr )
......
...@@ -442,6 +442,20 @@ DWORD WINAPI FlushIpNetTable(DWORD dwIfIndex) ...@@ -442,6 +442,20 @@ DWORD WINAPI FlushIpNetTable(DWORD dwIfIndex)
return ERROR_NOT_SUPPORTED; return ERROR_NOT_SUPPORTED;
} }
/******************************************************************
* FreeMibTable (IPHLPAPI.@)
*
* Free buffer allocated by network functions
*
* PARAMS
* ptr [In] pointer to the buffer to free
*
*/
void WINAPI FreeMibTable(void *ptr)
{
TRACE("(%p)\n", ptr);
HeapFree(GetProcessHeap(), 0, ptr);
}
/****************************************************************** /******************************************************************
* GetAdapterIndex (IPHLPAPI.@) * GetAdapterIndex (IPHLPAPI.@)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment