tags:

views:

26

answers:

1

If two drives in a system - How to get Hard Disk Number? How to get in order (primary & secondary).

A: 

You can emumerate the volumes (drives) attached in the system with FindFirstVolume Function and FindNextVolume Function. (example)

To filter out drives that are not hard disks use the GetDriveType Function.

Nick D