Hi all,

What I have is a .inf and .sys file of a Camera driver. I would like to install it on my WinXP machine programmatically.
Earlier, I managed to install a printer driver (.inf and .ppd files) by using

Code:
		if( !CreateProcess( NULL, //ModuleName, // module name
			sCommandLine2
			, // Command line. 
			NULL,             // Process handle not inheritable. 
			NULL,             // Thread handle not inheritable. 
			FALSE,            // Set handle inheritance to FALSE. 
			0,                // No creation flags. 
			NULL,             // Use parent's environment block. 
			NULL,             // Use parent's starting directory. 
			&si,              // Pointer to STARTUPINFO structure.
			&pi )             // Pointer to PROCESS_INFORMATION structure.
		) 
		{
			printf("CreateProcess2 failed\n");
			return false;
		}
where
Code:
 sCommandLine2 = "rundll32 printui.dll,PrintUIEntry /q /if /b \"PrinterName\" /f \"c:\\gs\\gs8.15\\lib\\PrinterName.inf\" /r file: /m \"PrinterName\
Is there any similar method to install a Camera driver?

Thank You