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 release and renew a lease on an IP address previously obtained through Dynamic Host Configuration Protocol (DHCP)
IpRenewAddress
..msdn    Add comment     W32 Constants      Translate this page
The IpRenewAddress function renews a lease on an IP address previously obtained through Dynamic Host Configuration Protocol (DHCP).
Code examples:
How to release and renew a lease on an IP address previously obtained through Dynamic Host Configuration Protocol (DHCP)
Declaration:
DWORD IpRenewAddress(
    PIP_ADAPTER_INDEX_MAP AdapterInfo
);

FoxPro declaration:
DECLARE INTEGER IpRenewAddress IN iphlpapi;
    STRING @ AdapterInfo
Parameters:
AdapterInfo
[in] Pointer to an IP_ADAPTER_INDEX_MAP structure that specifies the adapter associated with the IP address to renew.
Return value:
If the function succeeds, the return value is NO_ERROR.
My comment:
Normally this functionality is achieved through IPCONFIG /renew call.
Word Index links for the IpRenewAddress :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2002-12-02 11:49:28
Modified: 2002-12-02 11:53:04
Visited in last 7 days: 11
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2014 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.1.68), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.87.88.52)
30 sec.Function: 'GetPrinterData'
Function group: 'Printing and Print Spooler'
1.15 min.Function: 'CloseHandle'
1.9 min.Example: 'Running MSDOS Shell as a child process with redirected input and output (smarter RUN command)'
2.85 min.Function: 'PlaySound'
Function group: 'Windows Multimedia'
4.23 min.Function: 'mmioWrite'
Function group: 'Windows Multimedia'
8.72 min.Function: 'GetFullPathName'
Function group: 'File Management'
2 day(s)Function: 'CryptProtectData'
Function group: 'Cryptography Reference'
 Function: 'InternetCrackUrl'
Function group: 'Internet Functions (WinInet)'
 Example: 'Displaying the main Dial-Up Networking dialog box'
 Example: 'Retrieving information specific to the current Time Zone'
Google
Advertise here!