i have a driver, that has no hardware associated with it.
how can my setup.exe install it?
assaf
If it's a NT4.0 style driver, you can use Service control manager APIs to
install. Take a look at the Src\cancel\exe\install.c file in the Server 2003
DDK.
If it's a WDM driver, then root enumerate it using Setupdi functions. You
can copy the code from the src\setup\devcon sample. You will need an INF
file.
Devcon.exe install <name of your INF file> <device-id from the INF>
--
-Eliyas
This posting is provided "AS IS" with no warranties, and confers no rights.
http://www.microsoft.com/whdc/hwdev/driver/kb-drv.mspx
My driver is a Mirror Display Driver.
i have an inf file that does the job very well.
i am currently using the System -> Hardware -> Add New Hadware Wizard.
what is a good setup.exe sample for my case?
assaf
"Eliyas Yakub [MSFT]" <eli...@online.microsoft.com> wrote in message
news:OYmyE$IjEH...@TK2MSFTNGP11.phx.gbl...