+BOOL ProcessSysSetupInf(void)
+{
+#define SECTIONBUF_SIZE 4096
+ TCHAR *pBuf2;
+ TCHAR pBuf[SECTIONBUF_SIZE];
+
+ SetLastError(0);
+
+ DWORD dwBufSize = GetPrivateProfileSection(_T("DeviceInfsToInstall"),pBuf,SECTIONBUF_SIZE,_T("Inf\\SYSSETUP.INF"));
+
+ // fix this first...
+ if(GetLastError() == ERROR_CALL_NOT_IMPLEMENTED)
+ return TRUE;
+
+ if(dwBufSize == SECTIONBUF_SIZE-2)
+ return FALSE;
+ if(!dwBufSize)
+ return FALSE;
+ pBuf2=pBuf;
+ while(*pBuf2)
+ {
+ OutputDebugString(_T("Calling Class Installer for "));
+ OutputDebugString(pBuf2);
+ OutputDebugString(_T("\r\n"));
+
+// Currently unsupported
+// if(!SetupDiInstallClass(NULL,pBuf2,DI_QUIETINSTALL,NULL))
+// return FALSE;
+ pBuf2+=_tcslen(pBuf2)+1;
+ }
+
+ return TRUE;
+}
+
+