// Get and print information from IP_ADDR_STRING structure.
//
// pCurIP - pointer to IP_ADDR_STRING structure
// bFullInf - level of details to print; false - print only
// ip address, true - mask and name
void PrintIPs(PIP_ADDR_STRING pCurIP, bool bFullInf, CString &strADDRList)
{
strADDRList = "";
if (pCurIP->IpAddress.String[0] == '\0') {
strADDRList = "not presented\n\n";
return;
}