... if(p->AdapterName) strcpy(st2,p->AdapterName); elsestrcpy(st2,"unknown"); if((p->CurrentIpAddress)&&(p->CurrentIpAddress->IpAddress).String) strcpy(st3,(p->CurrentIpAddress->IpAddress).String); ... if((p->CurrentIpAddress)&&(p->CurrentIpAddress->IpAddress).String) strcpy(st3,(p->CurrentIpAddress->IpAddress).String); else strcpy(st3,"unknown"); if(p->Description) strcpy(st4,p->Description); else strcpy(st4,"unknown"); ... %u",p->Index); sprintf(s3,"\tNetwork adapter information:\tAdapter name :%s\tIP Address :%s", st2,st3); if((p->DhcpEnabled)) sprintf(st3,"\tDHCP server :%s",(p->DhcpServer.IpAddress).String);...