mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
[IPHLPAPI] Properly return on invalid parameters in GetIcmpStatisticsEx(). Fixes two iphlpapi tests.
svn path=/trunk/; revision=70274
This commit is contained in:
@@ -2527,6 +2527,13 @@ DWORD WINAPI NhpAllocateAndGetInterfaceInfoFromStack(IP_INTERFACE_NAME_INFO **pp
|
||||
DWORD WINAPI GetIcmpStatisticsEx(PMIB_ICMP_EX pStats,DWORD dwFamily)
|
||||
{
|
||||
FIXME(":stub\n");
|
||||
|
||||
if (!pStats)
|
||||
return ERROR_INVALID_PARAMETER;
|
||||
|
||||
if (dwFamily != AF_INET && dwFamily != AF_INET6)
|
||||
return ERROR_INVALID_PARAMETER;
|
||||
|
||||
return 0L;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user