Prev: RE" Assembly code in driver source with x64 build not working
Next: Setting/Changing the device name in Device Manager
From: Mark McDougall on 23 Apr 2010 03:21 alberto wrote: > I don't know if I quite understand your need, You do, but I've found the solution, which also solved another problem with friendly names in Device Manager. Firstly, the bus driver, which enumerates the PDOs, sets the UINumber member of the PnPCaps structure. For good measure, I also recorded it in the PDO's device-extension. The child device FDO then queries the UINumber device property to both name the device and create a symbolic link. Again for good measure, I recorded this in the child device FDO device-extension. Lastly, the coinstaller also queries the UINumber from the registry to use for the friendly name in Device Manager. Thusly, the bus driver, the child PDO, child FDO, FDO symbolic name and Device Manager friendly name all use the same indexing for the child devices! Phew! :) -- Mark McDougall, Engineer Virtual Logic Pty Ltd, <http://www.vl.com.au> 21-25 King St, Rockdale, 2216 Ph: +612-9599-3255 Fax: +612-9599-3266 |