MIB_IFTABLE (Compact 2013)

3/26/2014

This structure contains a table of interface entries.

Syntax

typedef struct _MIB_IFTABLE {
  DWORD dwNumEntries; 
  MIB_IFROW table[ANY_SIZE]; 
} MIB_IFTABLE, *PMIB_IFTABLE;

Members

  • dwNumEntries
    The number of interface entries in the array.
  • table
    Pointer to a table of interface entries implemented as an array of MIB_IFROW structures.

Remarks

The GetIfTable function enumerates the interface entries on a local system and returns this information in a MIB_IFTABLE structure.

The MIB_IFTABLE structure can contain padding for alignment between the dwNumEntries member and the first MIB_IFROW array entry in the table member. Padding for alignment can also be present between the MIB_IFROW array entries in the table member. Any access to a MIB_IFROW array entry should assume padding may exist.

The header files organization has changed and the MIB_IFTABLE structure is defined in the Ifmib.h header file instead of in the Iprtrmib.h header file. Be aware that the Ifmib.h header file is automatically included in Ipmib.h header file. This file is automatically included in the Iprtrmib.h header file, which is automatically included in the Iphlpapi.h header file. The Ifmib.h header file should never be used directly.

Requirements

Header

iprtrmib.h,
ws2def.h,
ws2ipdef.h

See Also

Reference

MIB Structures
IP Helper Structures
GetIfTable
GetIfTable2
GetIfTable2Ex
MIB_IFROW
MIB_IF_ROW2
MIB_IF_TABLE2
MIB_IFNUMBER
MIB_IFROW