如何将ATA安全擦除命令传递给我的ssd [英] How can i pass ATA secure erase command to my ssd
问题描述
我想使用ATA命令将安全擦除准备(f3h)和安全擦除(f4h)命令传递给我的sdd。我认为我需要使用DeviceIoControl函数和ATA_PASS_THROUG_DIRECT数据结构,但我无法弄清楚如何正确地完成它。
I would like to pass secure erase prepare(f3h) and secure erase(f4h) commands to my sdd using ATA commands. I think that i need to use DeviceIoControl function and ATA_PASS_THROUG_DIRECT data structure but i could not figure out how to do it properly.
推荐答案
你好,
感谢您在这里发帖。
这是一个项目链接,它显示了如何使用 DeviceIoControl函数和ATA_PASS_THROUG_DIRECT数据结构,也许你可以参考它。 https://github.com/DarthTon/SecureEraseWin/tree/master/src
Here is a link of project, it shows that how to use the DeviceIoControl function and ATA_PASS_THROUG_DIRECT data structure, maybe you could refer to it. https://github.com/DarthTon/SecureEraseWin/tree/master/src
祝福,
杰克
这篇关于如何将ATA安全擦除命令传递给我的ssd的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!