AllAPI Network - The KPD-Team

Allapi Network

 API List

API Resources
 Tips & Tricks
 VB Tutorials
 Error Lookup
Misc Stuff
 VB examples
 VB Tools
 VB Links
 Top Downloads
This Site
 Search Engine
 Contact Form

Donate to


The GetUdpStatistics function retrieves the User Datagram Protocol (UDP) statistics for the local computer.

Declare Function GetUdpStatistics Lib "iphlpapi" (pStats As PMIB_UDPSTATS) As Long

Operating Systems Supported
Requires Windows NT 4.0 or later; Requires Windows 98 or later


Parameter Information
[out] Pointer to a MIB_UDPSTATS structure that receives the UDP statistics for the local computer.

Return Values
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.


Related Functions



Copyright © 1998-2007, The Team - Privacy statement
Did you find a bug on this page? Tell us!
This site is located at