Get Complete Device/Drive Path

Hi guys!


I need to get the complete device path of a drive.

For example:
SATA Disk Drive = IDE\SATADiskDriveNameHere
PCIe Disk Drive = SCSI\PCIeDiskDriveName Here

What I really need is to get the "IDE" or "SCSI" in the devicepath.

Thanks in advance. Sample code will be greatly appreciated
Only a driver can give you that information I think. Motherboard chipset can emulate a SATA hard-disk as being IDE (just an example - this is useful with operating systems as windows xp which does not have SATA drivers by default).

Programs like AIDA64 uses a driver to get the information.
closed account (Dy7SLyTq)
use dirent.h to list all files in IDE and SCSI
Topic archived. No new replies allowed.