Click here to Skip to main content
15,888,579 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
How to find the BUS Type in the harddisk.. in QT?? pls help me..
Posted

1 solution

You mean whether or not it's IDE or SATA?

You need to use WMI to find the controller it's attached to, and then to find out what kind of controller it is. Google is your friend.

EDIT ============

You 1-voted the only answer you got? WMI most certainly IS the only reliable way to obtain the info you're afte. I don't do C++ anymore, but finding out how to access WMI (regardless of the language you use) is very easily findable on google.
 
Share this answer
 
v3
Comments
Gokulnath007 10-Mar-11 8:11am    
Not Exactly

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900