Group: IP Helper - Library: iphlpapi
Retrieving the interface–to–IP address mapping table
DWORD GetIpAddrTable(
PMIB_IPADDRTABLE pIpAddrTable, // buffer for mapping table
PULONG pdwSize, // size of buffer
BOOL bOrder // sort the table
); DECLARE INTEGER GetIpAddrTable IN iphlpapi;
STRING @ pIpAddrTable,;
INTEGER @ pdwSize,;
INTEGER bOrder pIpAddrTable [out] Pointer to a buffer that receives the interface–to–IP address mapping table as a MIB_IPADDRTABLE structure.
pdwSize [in, out] The size of the buffer pointed to by the pIpAddrTable parameter.
bOrder [in] Specifies whether the returned mapping table should be sorted in ascending order by IP address.
If the function succeeds, the return value is NO_ERROR.
Home