Multiple instances of a Driver.

Hi,

I have a driver with multiple DeviceObjects. My requirement is to install
different instances for each of the DeviceObjects. How this can be done
using INF files ?? (or) Is there any other way to do it?
any info on this would be of great help!

Thanks a lot!
-Naveen


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

NT4 or 2000/XP?

If NT4 then just create the device objects you need and then keep track of
them.

If it is 2000/XP, then things get a bit trickier. You can create a bus
driver that enumerates a set of hardware IDs. For each hardware ID you will
create a PDO and then cause an invalidation of the bus, which in turn will
invoke an AddDevice call to create an FDO in your function driver, and
voila, you have your device objects.

Gary G. Little
Staff Engineer
Broadband Storage, Inc.
xxxxx@broadstor.com

-----Original Message-----
From: xxxxx@wipro.com [mailto:xxxxx@wipro.com]
Sent: Monday, October 15, 2001 5:00 PM
To: NT Developers Interest List
Subject: [ntdev] Multiple instances of a Driver.

Hi,

I have a driver with multiple DeviceObjects. My requirement is to install
different instances for each of the DeviceObjects. How this can be done
using INF files ?? (or) Is there any other way to do it?
any info on this would be of great help!

Thanks a lot!
-Naveen


You are currently subscribed to ntdev as: xxxxx@broadstor.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com