问题描述
你好,
我用Visual C ++ 2010为64位Windows 10 PRO编写了一个小C程序
我'使用iotcl命令成功将ATA命令发送到SATA驱动器(设备 \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ ,'Lucida Grande',Verdana,Arial,Helvetica,sans-serif; font-size:14px; line-height:1.429em; color:#00188f"> IOCTL_ATA_PASS_THROUGH_DIRECT 。(设备
标识为SCSI设备)
现在我想通过USB / SATA适配器将ATA命令发送到连接到USB端口的同一磁盘。
。(设备被识别为USBSTOR设备)
ioctl命令 IOCTL_ATA_PASS_THROUGH_DIRECT
不再工作(不支持)
我该怎么办?
Delphine GARRO
Hello,
I've written little C program with Visual C++ 2010 for 64-bits Windows 10 PRO
I've succeed in sending ATA command to SATA drive ( device \\\\.\\PhysicalDrive3 ) with iotcl command IOCTL_ATA_PASS_THROUGH_DIRECT .(device identified as an SCSI device )
Now I would like to send ATA command to the same disk connected to USB port thanks to an USB/SATA Adapter .
.(device identified as an USBSTOR device )
The ioctl command IOCTL_ATA_PASS_THROUGH_DIRECT doesn't work any more (NOT SUPPORTED )
How can I do it ?
Delphine GARRO
这篇关于如何将ATA命令发送到连接到USB / SATA适配器的外部SATA磁盘的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!