Group: IP Helper - Library: iphlpapi
DWORD GetInterfaceInfo(
PIP_INTERFACE_INFO pIfTable,
PULONG dwOutBufLen
);
DECLARE INTEGER GetInterfaceInfo IN iphlpapi;
STRING @ pIfTable,;
LONG @ dwOutBufLen
pIfTable [in] Pointer to a buffer that specifies a IP_INTERFACE_INFO structure that contains the list of adapters.
dwOutBufLen [out] Pointer to a DWORD variable. If the buffer pointed to by the pIfTable parameter is NULL, or is not large enough to contain the list of adapters, GetInterfaceInfo receives the required size in this DWORD variable.
If the function succeeds, the return value is NO_ERROR.
Normally this functionality is achieved through IPCONFIG /all call.