Group: IP Helper - Library: iphlpapi
DWORD GetIfEntry(
PMIB_IFROW pIfRow // pointer to interface entry
);
DECLARE INTEGER GetIfEntry IN iphlpapi;
STRING @ pIfRow
pIfRow [in, out] Pointer to a MIB_IFROW structure that, on successful return, receives information for an interface on 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.
On input, set the dwIndex member of MIB_IFROW to the index of the interface for which to retrieve information.