GetIcmpStatisticsEx
This function retrieves the Internet Control Message Protocol (ICMP) statistics for the current computer. This function differs from the GetIcmpStatistics function in that this function also supports the Internet Protocol version 6 (IPv6) protocol family.
DWORD GetIcmpStatisticsEx(
PMIB_ICMP pStats,
DWORD dwFamily
);
Parameters
- pStats
[out] Pointer to a MIB_ICMP structure that, on successful return, contains the ICMP statistics for the local computer. - dwFamily
[in] Specifies the protocol family for which to retrieve statistics. This parameter can be one of the following values.Value Description AF_INET Internet Protocol version 4 (IPv4). AF_INET6 Internet Protocol version 6 (IPv6).
Return Values
If the function succeeds, the return value is NO_ERROR. If the function fails, an error code is returned.
Requirements
OS Versions: Windows CE .NET 4.1 and later.
Header: Iphlpapi.h.
Link Library: Iphlpapi.lib.
See Also
IPHelper Functions | GetIcmpStatistics | MIB_ICMP
Last updated on Tuesday, May 18, 2004
© 1992-2003 Microsoft Corporation. All rights reserved.