dwIndex = 0; siCObject = SiCNodeGetObject(dwIndex, TRUE, AC_ALL); while(siCObject) { if(siCObject->dwAttributes & SIC_SELECTED) { wsprintf(szBuf, "        %s: NetRetries:%d, CRCRetries:%d, NetTimeOuts:%d\n", siCObject->szDescriptionShort, siCObject->iNetRetries, siCObject->iCRCRetries, siCObject->iNetTimeOuts); UpdateInstallStatusLog(szBuf); }  ++dwIndex; siCObject = SiCNodeGetObject(dwIndex, TRUE, AC_ALL); }
void LogISDownloadStatus(char *szStatus, char *szFailedFile){  char szBuf[MAX_BUF];  if(szFailedFile)    wsprintf(szBuf,             "\n    Download status:\n        %s\n          file: %s\n",             szStatus,             szFailedFile);  else    wsprintf(szBuf,             "\n    Download status:\n        %s\n",             szStatus);  UpdateInstallStatusLog(szBuf);}