GetTcpStatistics The GetTcpStatistics function retrieves the TCP statistics for the local computer.
VB4-32,5,6
Declare Function GetTcpStatistics Lib "iphlpapi" (pStats As PMIB_TCPSTATS) As Long |
Operating Systems Supported |
Windows NT 4.0 SP4 or later; Windows 98 or later |
- pStats
[out] Pointer to a MIB_TCPSTATS structure that receives the TCP statistics for the local computer. |
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. |
|