A | B | C |  D | E | F |  G | H | I |  J | K | L |  M | N | O |  P | Q | R |  S | T | U |  V | W | X |  Y | Z



GetIpStatistics

The GetIpStatistics function retrieves the IP statistics for the current computer.

VB4-32,5,6
Declare Function GetIpStatistics Lib "iphlpapi" (pStats As MIB_IPSTATS) As Long

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

Library
Iphlpapi

Parameter Information
- pStats
[out] Pointer to a MIB_IPSTATS structure thatreceives the IP 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.

Last update: 07 April 2006