Arghh...
I can set a "port number" in the PDO device extension when the bus driver
enumerates my child devices. This would, for example, correspond to the
UINumber in the registry. The coinstaller would pick up the UINumber so it
can set the friendly name - eg. MyDev0, MyDev1...
During AddDevice() in my child device driver, I need to assign the
symbolic name - eg. MYDEV0, MYDEV1... This, however, needs the same "port
number" or UINumber that was assigned during enumeration - but how do I
access this from the DeviceAdd()?
TIA!
Regards,
--
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
|