iphlpapi: add FreeMibTable implementation (try 2)
Nikolay Sivov
bunglehead at gmail.com
Sun Dec 28 12:46:01 CST 2014
On 27.12.2014 7:04, Austin English wrote:
>
> +/******************************************************************
> + * FreeMibTable (IPHLPAPI.@)
> + *
> + * Free buffer allocated by network functions
> + *
> + * PARAMS
> + * ptr [In] pointer to the buffer to free
> + *
> + * RETURNS
> + * Success: TRUE
> + * Failure: FALSE
As Thomas pointed out, this is wrong.
> + */
> +void WINAPI FreeMibTable (PVOID *ptr)
> +{
> + TRACE("(ptr %p): stub\n", ptr);
> + HeapFree(GetProcessHeap(), 0, ptr);
> +}
Argument type should be 'void *'. Trace message could be just '(%p)\n'.
More information about the wine-devel
mailing list