Installing Camera driver programmatically - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Installing Camera driver programmatically

[b][red]This message was edited by leojose at 2005-10-21 1:2:33[/red][/b][hr]
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 an .ppd files) by using
if( !CreateProcess( NULL, //ModuleName, // module name
, // 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
return false;
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?


Sign In or Register to comment.