IpHlpApiGetIpStatistics Method
Retrieves the Internet Protocol (IP) statistics for the current computer.
Namespace: DevCase.Win32.NativeMethodsAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[DllImportAttribute("IpHlpApi.dll", ExactSpelling = true)]
public static Win32ErrorCode GetIpStatistics(
out IpStats refIpStats
)
<DllImportAttribute("IpHlpApi.dll", ExactSpelling := true>]
Public Shared Function GetIpStatistics (
<OutAttribute> ByRef refIpStats As IpStats
) As Win32ErrorCode
Dim refIpStats As IpStats
Dim returnValue As Win32ErrorCode
returnValue = IpHlpApi.GetIpStatistics(refIpStats)
public:
[DllImportAttribute(L"IpHlpApi.dll", ExactSpelling = true)]
static Win32ErrorCode GetIpStatistics(
[OutAttribute] IpStats% refIpStats
)
[<DllImportAttribute("IpHlpApi.dll", ExactSpelling = true)>]
static member GetIpStatistics :
refIpStats : IpStats byref -> Win32ErrorCode
No code example is currently available or this language may not be supported.
- refIpStats IpStats
-
A IpStats structure that receives the IP statistics for the local computer.
Win32ErrorCode
If this function succeeds, it returns
ERROR_SUCCESS.
Otherwise, it returns an
Win32ErrorCode error code.