The GetIfTable function retrieves a table that contains a list of network interfaces on the local computer. Each entry provides detailed information about an interface, such as its index, description, type, MTU, speed, and operational status.
This API is part of the IP Helper (IPHL) suite and is commonly used for network diagnostics, monitoring, and configuration tools.
pIfTable – A pointer to a MIB_IFTABLE structure that receives the interface table.
pdwSize – On input, specifies the size of the buffer pointed to by pIfTable. On output, receives the required size if ERROR_INSUFFICIENT_BUFFER is returned.
bOrder – If TRUE, the table is sorted by interface index. If FALSE, the order is unspecified.