GetPrivateProfileString(szComponentItem, "Attributes", "", szBuf, MAX_BUF, szFileIni);
GetPrivateProfileString(szComponentItem, "Attributes", "", szBuf, sizeof(szBuf), szFileIni);
void ResetComponentAttributes(char *szFileIni){  char  szIndex[MAX_BUF];  char  szBuf[MAX_BUF];  char  szComponentItem[MAX_BUF];  siC   *siCTemp;  DWORD dwCounter;  for(dwCounter = 0; dwCounter < sgProduct.dwNumberOfComponents; dwCounter++)  {    itoa(dwCounter, szIndex, 10);    lstrcpy(szComponentItem, "Component");    lstrcat(szComponentItem, szIndex);    siCTemp = SiCNodeGetObject(dwCounter, TRUE, AC_ALL);    GetPrivateProfileString(szComponentItem, "Attributes", "", szBuf, MAX_BUF, szFileIni);    siCTemp->dwAttributes = ParseComponentAttributes(szBuf);  }}