- Comment out the GetAdaptersAddresses code and add the stub back
- Fixes Firefox 3.x (bug 5399)
svn path=/trunk/; revision=48474
*/
DWORD WINAPI GetAdaptersAddresses(ULONG Family,ULONG Flags,PVOID Reserved,PIP_ADAPTER_ADDRESSES pAdapterAddresses,PULONG pOutBufLen)
{
+#if 0
InterfaceIndexTable *indexTable;
IFInfo ifInfo;
int i;
free(indexTable);
return NO_ERROR;
+#else
+ if (!pOutBufLen) return ERROR_INVALID_PARAMETER;
+ if (!pAdapterAddresses || *pOutBufLen == 0)
+ return ERROR_BUFFER_OVERFLOW;
+ if (Reserved) return ERROR_INVALID_PARAMETER;
+
+ FIXME(":stub\n");
+ return ERROR_NO_DATA;
+#endif
}
/*