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:
Obtaining addresses for the adapters on the local computer (Win XP/2003/Vista)
GetAdaptersAddresses
..msdn    Add comment     W32 Constants      Translate this page
Retrieves the addresses associated with the adapters on the local computer.
Code examples:
Obtaining addresses for the adapters on the local computer (Win XP/2003/Vista)
Declaration:
DWORD WINAPI GetAdaptersAddresses(
  ULONG Family,
  DWORD Flags,
  PVOID Reserved,
  PIP_ADAPTER_ADDRESSES pAdapterAddresses,
  PULONG pOutBufLen
);
FoxPro declaration:
DECLARE INTEGER GetAdaptersAddresses IN Iphlpapi;
    LONG Family,;
    LONG flgs,;
    INTEGER Reserved,;
    INTEGER pAdapterAddresses,;
    LONG @pOutBufLen
Parameters:
Family
[in] Address family of the addresses to retrieve: AF_INET, AF_INET6, AF_UNSPEC

Flags
[in] Type of addresses to retrieve.

Reserved
[in] The calling application should pass NULL for this parameter.
pAdapterAddresses

[out] Pointer to a buffer. On successful return, this buffer contains the address information.

pOutBufLen
[in, out] Pointer to a variable that specifies the size of the buffer pointed to by pAdapterAddresses.
Return value:
If the function is successful, the return value is ERROR_SUCCESS (0).
Word Index links for the GetAdaptersAddresses :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2006-02-22 07:41:50
Modified: 2006-02-22 07:45:00
Visited in last 7 days: 31
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.38), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.92.194.75)
17 sec.Function: 'ExitProcess'
34 sec.Function: 'MAPIResolveName'
50 sec.Function: 'UrlMkGetSessionOption'
1.1 min.Function: 'SendMessage'
1.37 min.Function: 'JetCreateTable'
1.63 min.Function: 'GetComputerNameEx'
1.9 min.Function: 'GetPrinterData'
2.17 min.Function: 'WSAWaitForMultipleEvents'
2.42 min.Function: 'JetGetColumnInfo'
2.72 min.Function: 'DrawEdge'
Google
Advertise here!