S
S
ShinShil2016-09-17 15:52:56
Iron
ShinShil, 2016-09-17 15:52:56

How to find out which ATA standards are supported by a hard drive?

I need to get the ATA standards supported by the hard drive. I use c++, winapi. WMI cannot be used. Any software solution that does not use WMI is needed. These ATA standards are meant www.ihdd.ru/ata-atapi-standard .

Answer the question

In order to leave comments, you need to log in

1 answer(s)
1
15432, 2016-09-17
@ShinShil

We use the ATA command IDENTIFY DEVICE (0xEC), the response will contain the most complete information about the device.
Response fields:
https://msdn.microsoft.com/en-us/library/windows/h...
Example of sending an ATA command:
stackoverflow.com/questions/12942606/ata-command-d...
To execute a request for internal disk needs admin rights.
You can also ask for general information using Windows tools, for example, through STORAGE_QUERY_PROPERTY, it does not seem to require admin rights, but the information is not so complete
https://msdn.microsoft.com/en-us/library/windows/d...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question