GetIcmpStatistics (Windows CE 5.0)

Send Feedback

This function retrieves the Internet Control Message Protocol (ICMP) statistics for the local computer.

DWORDGetIcmpStatistics(PMIB_ICMPpStats);

Parameters

  • pStats
    [out] Pointer to a MIB_ICMP structure containing the ICMP statistics for the local computer.

Return Values

Returns NO_ERROR if successful. If the function fails, it returns an error code. For a complete list of error codes, see Error Values or the SDK header file Winerror.h.

Requirements

OS Versions: Windows CE 3.0 and later.
Header: Iphlpapi.h.
Link Library: Iphlpapi.lib.

See Also

IP Helper Functions | GetIpStatistics | GetTcpStatistics | GetUdpStatistics | MIB_ICMP

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.