Author Topic: USB Attached SCSI Protocol(USAP) command in C/C++  (Read 14637 times)

csttt

  • Member
  • ***
  • Posts: 1
USB Attached SCSI Protocol(USAP) command in C/C++
« on: February 20, 2012, 03:52:19 am »
I want to write a tool in BCB/VC to execute USB Attached SCSI Protocol commands to external USB HDD.

I am not sure whether if I can use DeviceIoControl() to read/write UASP command to device.

Has anyone do this before or can anyone give me some suggestions or sample code?
Thanks!
   

Jan Axelson

  • Administrator
  • Frequent Contributor
  • *****
  • Posts: 3033
    • Lakeview Research
Re: USB Attached SCSI Protocol(USAP) command in C/C++
« Reply #1 on: February 20, 2012, 10:31:38 am »
I don't have example code, but a web search on

windows send scsi command

should bring up some discussions.

Jan