iphlpapi: Add FreeMibTable implementation.

This commit is contained in:
Austin English 2015-01-12 14:50:43 -08:00 committed by Alexandre Julliard
parent 0486b4368d
commit 44933230f6
2 changed files with 15 additions and 1 deletions

View File

@ -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 )

View File

@ -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.@)