void ToggleCheck(HWND hwndListBox, DWORD dwIndex)
void ToggleCheck(HWND hwndListBox, DWORD dwIndex, DWORD dwACFlag)
void ToggleCheck(HWND hwndListBox, DWORD dwIndex){  BOOL  bMoreToResolve;  LPSTR szToggledDescriptionShort = NULL;  // Checks to see if the checkbox is checked or not checked, and  // toggles the node attributes appropriately.    if(SiCNodeGetAttributes(dwIndex, FALSE) & SIC_SELECTED)    {      SiCNodeSetAttributes(dwIndex, SIC_SELECTED, FALSE, FALSE);      szToggledDescriptionShort = SiCNodeGetDescriptionShort(dwIndex, FALSE);      ResolveDependees(szToggledDescriptionShort);      SunJavaDependencyHack(dwIndex, FALSE);    }    else    {      SiCNodeSetAttributes(dwIndex, SIC_SELECTED, TRUE, FALSE);      bMoreToResolve = ResolveDependencies(dwIndex);      while(bMoreToResolve)        bMoreToResolve = ResolveDependencies(-1);      szToggledDescriptionShort = SiCNodeGetDescriptionShort(dwIndex, FALSE);      ResolveDependees(szToggledDescriptionShort);      SunJavaDependencyHack(dwIndex, TRUE);    }  InvalidateLBCheckbox(hwndListBox);}