mmurphy
August 23rd, 2004, 09:11 AM
Hello All ...
I am currently attempting to programmatically install driver for a PCI card. It has 1 Plug ‘n Play Driver and 2 Device Drivers. I am using the UpdateDriverForPlugAndPlayDevices() from the Windows DDK. Passing it the Hardware ID and the Full Path to the INF. It Works great for both the PnP driver and the device driver, except that the PnP driver seems to install 1 more then necessary. Example: If I manually install the PnP driver for the card I get 3 entries:
Device Manager
+Sound, Video and Game Controllers
-Master
-Master
-Master
The results of the UpdateDriverForPlugAndPlayDevices():
Device Manager
+Sound, Video and Game Controllers
-Master
-Master
-Master
!Master
The last Master has explanation point by it. The card / driver function with the extra Master, but I would prefer not to have it there if its not being used.
Has anyone had any experience using this function?
Thanks,
Mike Murphy
I am currently attempting to programmatically install driver for a PCI card. It has 1 Plug ‘n Play Driver and 2 Device Drivers. I am using the UpdateDriverForPlugAndPlayDevices() from the Windows DDK. Passing it the Hardware ID and the Full Path to the INF. It Works great for both the PnP driver and the device driver, except that the PnP driver seems to install 1 more then necessary. Example: If I manually install the PnP driver for the card I get 3 entries:
Device Manager
+Sound, Video and Game Controllers
-Master
-Master
-Master
The results of the UpdateDriverForPlugAndPlayDevices():
Device Manager
+Sound, Video and Game Controllers
-Master
-Master
-Master
!Master
The last Master has explanation point by it. The card / driver function with the extra Master, but I would prefer not to have it there if its not being used.
Has anyone had any experience using this function?
Thanks,
Mike Murphy