BOOL ResolveComponentDependency(siCD *siCDInDependency)
BOOL ResolveComponentDependency(siCD *siCDInDependency, HWND hwndListBox)
BOOL ResolveComponentDependency(siCD *siCDInDependency){  int     dwIndex;  siCD    *siCDepTemp = siCDInDependency;  BOOL    bMoreToResolve = FALSE;  DWORD   dwAttrib;  if(siCDepTemp != NULL)  {    if((dwIndex = SiCNodeGetIndexRN(siCDepTemp->szReferenceName)) != -1)    {      dwAttrib = SiCNodeGetAttributes(dwIndex, TRUE, AC_ALL);      if(!(dwAttrib & SIC_SELECTED) && !(dwAttrib & SIC_DISABLED))      {        bMoreToResolve = TRUE;        SiCNodeSetAttributes(dwIndex, SIC_SELECTED, TRUE, TRUE, AC_ALL);      }    }    siCDepTemp = siCDepTemp->Next;    while((siCDepTemp != NULL) && (siCDepTemp != siCDInDependency))    {      if((dwIndex = SiCNodeGetIndexRN(siCDepTemp->szReferenceName)) != -1)      {        dwAttrib = SiCNodeGetAttributes(dwIndex, TRUE, AC_ALL);        if(!(dwAttrib & SIC_SELECTED) && !(dwAttrib & SIC_DISABLED))        {          bMoreToResolve = TRUE;          SiCNodeSetAttributes(dwIndex, SIC_SELECTED, TRUE, TRUE, AC_ALL);        }      }      siCDepTemp = siCDepTemp->Next;    }  }  return(bMoreToResolve);}