GetFriendlyIfIndex function (iphlpapi.h)

The GetFriendlyIfIndex function takes an interface index and returns a backward-compatible interface index, that is, an index that uses only the lower 24 bits.

Syntax

IPHLPAPI_DLL_LINKAGE DWORD GetFriendlyIfIndex(
  DWORD IfIndex
);

Parameters

IfIndex

The interface index from which the backward-compatible or "friendly" interface index is derived.

Return value

A backward-compatible interface index that uses only the lower 24 bits.

Requirements

   
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header iphlpapi.h
Library Iphlpapi.lib
DLL Iphlpapi.dll

See also

GetIfEntry

IP Helper Function Reference

IP Helper Start Page

MIB_IFROW