Group: IP Helper - Library: iphlpapi
Retrieving IP statistics for the computer
DWORD GetIpStatistics(
PMIB_IPSTATS pStats // pointer to IP stats
); DECLARE INTEGER GetIpStatistics IN iphlpapi;
STRING @ pStats pStats [out] Pointer to a MIB_IPSTATS structure that receives the IP statistics for the local computer.
If the function succeeds, the return value is NO_ERROR (0). If the function fails, use FormatMessage to obtain the message string for the returned error.
Home