Hi,
i want to install a display mirror driver (from .inf file)
as a device driver programmaly from an application.
If I install my driver manually using "add new ardware"
the entry is added to the "device manager" tree and it
works without any problems.
But I want to have the same effect by installing driver
programmaly with some API (like Setup API), but the
SetupDi*** functions (DDK), which are looking as a best
way, need the hardwareID.
Because mirror driver isn't pointing to a device, there
isn't hardareID for DDK functions.
Could you send me, please, some hints how to solve this
problem. In the best way a few lines of code (best in c++)
as a template ...
thanks very much for reply,
Josef Vesely
|