if(strstr(szBuf, "ADDITIONAL") != NULL) dwAttributes |= SIC_ADDITIONAL; if(strstr(szBuf, "DISABLED") != NULL) dwAttributes |= SIC_DISABLED;
HRESULT ParseComponentAttributes(char *szAttribute){  char  szBuf[MAX_BUF];  DWORD dwAttributes = 0;  lstrcpy(szBuf, szAttribute);  strupr(szBuf);  if(strstr(szBuf, "SELECTED") != NULL)    dwAttributes |= SIC_SELECTED;  if(strstr(szBuf, "INVISIBLE") != NULL)    dwAttributes |= SIC_INVISIBLE;  if(strstr(szBuf, "LAUNCHAPP") != NULL)    dwAttributes |= SIC_LAUNCHAPP;  if(strstr(szBuf, "DOWNLOAD_ONLY") != NULL)    dwAttributes |= SIC_DOWNLOAD_ONLY;  return(dwAttributes);}