Click here to Skip to main content
15,885,216 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I need to get hard disk drive ATA properties such as:
- interface type (SATA-II) (importantly)
- rotation speed (RPM)
- form-factor
- etc.


I try to use WMI with
C++
"Win32_DiskDrive class"
, but unfortunately it does not provide required information.

Please explain me, what functions I should use to get this information?
Posted

1 solution

There are several links listed in the solutions to this CP post Getting Hard Disk Speed[^]
 
Share this answer
 
Comments
Igor-84 5-Jan-15 9:53am    
This post and proposed solutions do not provide needed data. They maintainly use "Win32_DiskDrive class", but as I wrote above, it can't help. Any solutions?
CHill60 5-Jan-15 10:21am    
As far as I know if the information isn't available via Win32_DiskDrive, Win32_Volume or (at a push) Win32_PhysicalMemory then the information is not known to the OS. Windows doesn't really care if the disk is 3.5 or 2.5 inches.

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