From: Pavel A. on 3 Apr 2010 17:46 Study the devcon.exe sources in WDK; it has everything that one may ever want to know about setupapi. Regards, --pa "eugals" <eugals(a)gmail.com> wrote in message news:c90b2c8e-b25a-4f6e-b03d-7165469932d7(a)r1g2000yqj.googlegroups.com... > Hi. > > MSDN, a the SetupDiCreateDeviceInfo Function article, <a href="http:// > msdn.microsoft.com/en-us/library/ff550952.aspx">says</a> that: > <i> DICD_INHERIT_CLASSDRVS > If this flag is specified, the resulting device information element > inherits the class driver list, if any, associated with the device > information set. In addition, if there is a selected driver for the > device information set, that same driver is selected for the new > device information element.</i> > > My question is how do i "associate a driver list with the device > information set"? I have an empty HDEVINFO created with the > SetupDiCreateDeviceInfoList, which function should I perform on it, > before I call the SetupDiCreateDeviceInfo so I could pass the > DICD_INHERIT_CLASSDRVS there?
From: eugals on 4 Apr 2010 01:16 On 4 апÑ, 01:46, "Pavel A." <pave...(a)12fastmail34.fm> wrote: > Study the devcon.exe sources in WDK; it has everything that one may ever > want to know about setupapi. > Hi Pavel, thanks for your responce. Yeah, I checked the devcon sources already. Unfortunately there are 0 occurrences of the DICD_INHERIT_CLASSDRVS flag in there.
From: Kalle Olavi Niemitalo on 4 Apr 2010 04:10 eugals <eugals(a)gmail.com> writes: > My question is how do i "associate a driver list with the device > information set"? Passing DeviceInfoData=NULL to either SetupDiBuildDriverInfoList or SetupDiSelectOEMDrv might do it.
From: eugals on 4 Apr 2010 04:56 On 4 апÑ, 12:10, Kalle Olavi Niemitalo <k...(a)iki.fi> wrote: > Passing DeviceInfoData=NULL to either SetupDiBuildDriverInfoList > or SetupDiSelectOEMDrv might do it. Thanks!
|
Pages: 1 Prev: [SetupAPI] DICD_INHERIT_CLASSDRVS? Next: USB device name |