mirror of
https://github.com/reactos/reactos.git
synced 2025-05-30 14:39:46 +00:00
[IPHLPAPI] Properly return on invalid parameters in GetIcmpStatisticsEx(). Fixes two iphlpapi tests.
svn path=/trunk/; revision=70274
This commit is contained in:
parent
1d17a74606
commit
204f7eeb2f
1 changed files with 7 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue