Freigeben über


GetIcmpStatistics (Compact 2013)

3/26/2014

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

Syntax

DWORD GetIcmpStatistics(
  PMIB_ICMP pStats 
);

Parameters

  • pStats
    [out] Pointer to a MIB_ICMP structure that contains the ICMP statistics for the local device.

Return Value

If the function succeeds, the return value is NO_ERROR.

If the function fails, use FormatMessage to obtain the message string for the returned error.

Requirements

Header

iphlpapi.h

Library

Iphlpapi.lib

See Also

Reference

IP Helper Functions
GetIpStatistics
GetTcpStatistics
GetUdpStatistics
MIB_ICMP

Other Resources

IP Helper