Group: IP Helper - Library: iphlpapi
PCHAR WINAPI if_indextoname(
__in NET_IFINDEX InterfaceIndex,
__out PCHAR InterfaceName
);
DECLARE INTEGER if_indextoname IN Iphlpapi;
INTEGER InterfaceIndex,;
STRING @InterfaceName InterfaceIndex The local index for a network interface.
InterfaceName A pointer to a buffer to hold the NULL-terminated ANSI string containing the interface name when the function returns successfully.
On success, if_indextoname returns a pointer to NULL-terminated ANSI string containing the interface name.
Minimum OS: Vista.
See also: if_nametoindex, GetNumberOfInterfaces, GetIfEntry.
Home