This site is no longer active and is available for archival purposes only. Registration and login is disabled.

Renew IP


Renew IP

Postby Students » Mar 19, 2003 @ 2:04pm

Students
 


Postby refractor » Mar 19, 2003 @ 4:43pm

User avatar
refractor
pm Insider
 
Posts: 2304
Joined: Feb 5, 2002 @ 1:12pm
Location: Luxembourg


Postby Dan East » Mar 19, 2003 @ 5:27pm

User avatar
Dan East
Site Admin
 
Posts: 5264
Joined: Jan 25, 2001 @ 5:19pm
Location: Virginia, USA


Postby refractor » Mar 20, 2003 @ 9:58am

User avatar
refractor
pm Insider
 
Posts: 2304
Joined: Feb 5, 2002 @ 1:12pm
Location: Luxembourg


Postby Students » Mar 20, 2003 @ 11:31am

PIP_INTERFACE_INFO if_info;
ulong size=0;
DWORD result;
result=GetInterfaceInfo(NULL,&size);
// check result here


if_info=(PIP_INTERFACE_INFO)malloc(size);
result=GetInterfaceInfo(if_info,&size);
// check result here
result=IpRenewAddress(&if_info->Adapter[0]);

if(result != NO_ERROR)
{
MessageBox(_T("Data Received !!"));
}
else
MessageBox(_T("Data Received 2 !!"));

I execute this code by the reply was
Data Received 2
Students
 


Postby Students » Mar 20, 2003 @ 11:46am

Ok Thanks its working now .. I misinterpret the if else

Thanks Alot
Students
 


Return to Windows Mobile


Sort


Forum Description

A discussion forum for mobile device developers on the Windows Mobile platform. Any platform specific topics are welcome.

Moderators:

Dan East, sponge, Digby, David Horn, Kevin Gelso, RICoder

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum