Partager via


GetUdpStatistics (Compact 2013)

3/26/2014

This function retrieves the User Datagram Protocol (UDP) statistics for the local device.

Syntax

DWORD GetUdpStatistics(
  PMIB_UDPSTATS pStats
);

Parameters

  • pStats
    [out] Pointer to a MIB_UDPSTATS structure that contains the UDP 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
GetIcmpStatistics
GetIpStatistics
GetTcpStatistics
GetUdpStatisticsEx
MIB_UDPSTATS

Other Resources

IP Helper