MIB_IPINTERFACE_TABLE (Compact 7)
3/12/2014
This 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
An array of MIB_IPINTERFACE_ROW structures that contain IP interface entries.
Remarks
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 can contain padding for alignment between the NumEntries member and the first MIB_IPINTERFACE_ROW array entry in the Table member. Padding for alignment can 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 can exist.
Example Code
To view an example that retrieves the MIB_IPINTERFACE_TABLE structure and then prints out several members of the MIB_IPINTERFACE_ROW structure entries in this table, see the GetIpInterfaceTable function.
Requirements
Header |
ws2def.h, |