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:
How to retrieve adapter information for the local computer (including MAC address)
GetAdaptersInfo
..msdn    Add comment     W32 Constants      Translate this page
The GetAdaptersInfo function retrieves adapter information for the local computer.
Code examples:
How to retrieve adapter information for the local computer (including MAC address)
Declaration:
DWORD GetAdaptersInfo(
    PIP_ADAPTER_INFO pAdapterInfo,
    PULONG pOutBufLen
);

FoxPro declaration:
DECLARE INTEGER GetAdaptersInfo IN iphlpapi;
    STRING @ pAdapterInfo,;
    LONG   @ pOutBufLen

Parameters:
pAdapterInfo
[out] Pointer to a buffer that receives a linked list of IP_ADAPTER_INFO structures.

pOutBufLen
[in] Pointer to a ULONG variable that specifies the size of the buffer pointed to by the pAdapterInfo parameter.
Return value:
If the function succeeds, the return value is ERROR_SUCCESS. If the function fails, the return value is one of predefined error codes.
My comment:
Windows Server 2003 and Windows XP: Use the GetAdaptersAddresses function instead of GetAdaptersInfo.
Word Index links for the GetAdaptersInfo :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2002-11-27 11:39:48
Modified: 2004-05-26 08:06:00
Visited in last 7 days: 21
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.81.79.128)
3 sec.Function: 'RegQueryValueEx'
7 sec.Function: 'GdipCreateHICONFromBitmap'
11 sec.Function: 'RtlCompressBuffer'
14 sec.Function: 'inet_addr'
18 sec.Function: 'GetSystemWow64Directory'
22 sec.Function: 'GdipSetPathGradientCenterPointI'
26 sec.Function: 'InternalGetWindowText'
30 sec.Function: 'CeGetSystemInfo'
34 sec.Function: 'SetClipboardViewer'
38 sec.Function: 'GdipCloneBitmapArea'
Google
Advertise here!