How to find number of drives connected on IDE bus

Hi NT Gurus,

How to find out number of disk drives connected to IDE controller and How
to get their device object pointers.

Thanks shak

Use SetupDi* to enumerate all the physical disks on the system. For each
physical disk use IOCTL_STORAGE_QUERY_PROPERTY with PropertyId
StorageAdapterProperty to identify IDE drives. Search this list, a very
similar topic was recently discussed.

=====================
Mark Roddy

-----Original Message-----
From: shakeel [mailto:xxxxx@yahoo.com]
Sent: Thursday, October 23, 2003 2:36 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] How to find number of drives connected on IDE bus

Hi NT Gurus,

How to find out number of disk drives connected to IDE
controller and How to get their device object pointers.

Thanks shak


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: xxxxx@stratus.com To
unsubscribe send a blank email to xxxxx@lists.osr.com