I already have a long working on an application that can read information from Micro, some (most) failed more still missing some, I’m working with WMI and Delphi.
The problem I’m facing is that I need to be listed units which belong to each HD, for example: HD1 has drive C:, D: and so on.
thank you
To correlate the Logical Drives and Physical Disks you must use the
Win32_DiskDriveclass and theWin32_DiskDriveToDiskPartition,Win32_LogicalDiskToPartitionASSOCIATORS classes.Try this sample.
This will output something like so