MIB_IPINTERFACE_TABLE structure (netioapi.h)

The MIB_IPINTERFACE_TABLE structure contains a table of IP interface entries.

Syntax

typedef struct _MIB_IPINTERFACE_TABLE {
  ULONG               NumEntries;
  MIB_IPINTERFACE_ROW Table[ANY_SIZE];
} MIB_IPINTERFACE_TABLE, *PMIB_IPINTERFACE_TABLE;

Members

NumEntries

The number of IP interface entries in the array.

Table[ANY_SIZE]

An array of MIB_IPINTERFACE_ROW structures that contain IP interface entries.

Remarks

The MIB_IPINTERFACE_TABLE structure is defined on Windows Vista and later.

The GetIpInterfaceTable function enumerates the IP interface entries on a local system and returns this information in a MIB_IPINTERFACE_TABLE structure.

The MIB_IPINTERFACE_TABLE structure may contain padding for alignment between the NumEntries member and the first MIB_IPINTERFACE_ROW array entry in the Table member. Padding for alignment may also be present between the MIB_IPINTERFACE_ROW array entries in the Table member. Any access to a MIB_IPINTERFACE_ROW array entry should assume padding may exist.

Note that the Netioapi.h header file is automatically included in the Iphlpapi.h header file. The Netioapi.h header file should never be used directly.

Examples

To view an example that retrieves the MIB_IPINTERFACE_TABLE structure and then prints out a few members of the MIB_IPINTERFACE_ROW structure entries in this table, see the GetIpInterfaceTable function.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Header netioapi.h (include Iphlpapi.h)

See also

GetIpInterfaceTable

MIB_IPINTERFACE_ROW