GetUdpStatisticsEx
This function retrieves the User Datagram Protocol (UDP) statistics for the current computer. This function differs from the GetUdpStatistics function in that this function also supports the Internet Protocol version 6 (IPv6) protocol family.
DWORD GetUdpStatisticsEx(
PMIB_UDPSTATS pStats,
DWORD dwFamily
);
Parameters
- pStats
[out] Pointer to a MIB_UDPSTATS structure that, on successful return, contains the TCP statistics for the local computer. - dwFamily
[in] Specifies the protocol family for which to retrieve statistics. The following table shows the possible 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 | GetUdpStatistics
Last updated on Tuesday, May 18, 2004
© 1992-2003 Microsoft Corporation. All rights reserved.