Hi!
How can I install a WDM driver for a device residing on a "root" bus programmatically in Windows 98/ME?
I have working software that creates virtual devices. That devices reside on virtual bus. Driver for the virtual device is installed by the system when the bus driver creates a virtual device. But the driver for the bus itself is installed programmatically. This works well under Win2000/XP.
Currently I'm using the same idea as the TOASTER sample from DDK does.
This approach does not work under Win98. For example, Win98 has no UpdateDriverForPlugAndPlayDevices() function.
I think that the cure exists because I can install the driver manually using "Add New Hardware" wizard.
How to do the same as the wizard does?
Thank you.
|