Using Win32 functions in Visual FoxPro Image Gallery
IP Helper
..msdn
GetAdaptersAddresses
GetAdaptersInfo
GetBestInterface
GetBestRoute
GetIfEntry
GetInterfaceInfo
GetIpAddrTable
GetIpNetTable
GetIpStatistics
GetNetworkParams
GetNumberOfInterfaces
GetRTTAndHopCount
GetTcp6Table
GetTcpStatistics
GetTcpTable
GetUdpTable
IcmpCloseHandle
IcmpCreateFile
IcmpSendEcho
if_indextoname
if_nametoindex
IpReleaseAddress
IpRenewAddress
SendARP
Code examples:
if_nametoindex
..msdn    Add comment     W32 Constants      Translate this page
Converts the ANSI interface name for a network interface to the local index for the interface.
Code examples:
Declaration:
NET_IFINDEX WINAPI if_nametoindex(
  __in  PCSTR InterfaceName
);
FoxPro declaration:
DECLARE INTEGER if_nametoindex IN Iphlpapi;
    STRING InterfaceName
Parameters:
InterfaceName
A pointer to a NULL-terminated ANSI string containing the interface name.
Return value:
On success, if_nametoindex returns the local interface index. On failure, zero is returned.
Usage:
? if_nametoindex("ppp_1")
My comment:
Minimum OS: Vista.

See also: if_indextoname, GetNumberOfInterfaces, GetIfEntry
Word Index links for the if_nametoindex :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2008-01-08 10:53:08
Modified: 2010-05-19 22:14:32
Visited in last 7 days: 7
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2017 News2News, Inc. Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use. The information on this page is presented AS IS, meaning that you may use it at your own risk. Microsoft Visual FoxPro and Windows are trade marks of Microsoft Corp. All other trademarks are the property of their respective owners. 

Privacy policy
Credits: PHP (4.4.9), an HTML-embedded scripting language, MySQL (5.6.37), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.166.245.10)
7 sec.Function: 'gethostbyaddr'
13 sec.Function: 'GetSystemPowerStatus'
21 sec.Function: 'InternalGetWindowText'
27 sec.Function: 'FindVolumeClose'
35 sec.Function: 'ClipCursor'
44 sec.Function: 'GdipGetImagePalette'
56 sec.Function: 'SetBkMode'
1.13 min.Function: 'ExtractIcon'
1.35 min.Function: 'GetProcessIoCounters'
1.55 min.Banners
Google
Advertise here!