iphlpapi: Add FreeMibTable implementation.
This commit is contained in:
parent
0486b4368d
commit
44933230f6
|
@ -66,7 +66,7 @@
|
|||
#@ stub FlushIpNetTable2
|
||||
@ stub FlushIpNetTableFromStack
|
||||
#@ stub FlushIpPathTable
|
||||
#@ stub FreeMibTable
|
||||
@ stdcall FreeMibTable( ptr )
|
||||
@ stdcall GetAdapterIndex( wstr ptr )
|
||||
@ stub GetAdapterOrderMap
|
||||
@ stdcall GetAdaptersAddresses( long long ptr ptr ptr )
|
||||
|
|
|
@ -442,6 +442,20 @@ DWORD WINAPI FlushIpNetTable(DWORD dwIfIndex)
|
|||
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.@)
|
||||
|
|
Loading…
Reference in New Issue