I am trying to send a SCSI passthrough command to a mass storage device. I
identified the device based on the device ID. I used the SetpDi* calls to get
the handle to call CreateFile(). If I send the IOCTL_SCSI_PASS_THROUGH_DIRECT
command and specify read or write, it fails with error 50. The USB analyzer
is not capturing the SCSI command - so probably the failure is happening in
the port driver?
I got the device path name for CreateFile() using
SetupDiGetDeviceInterfaceDetail function.
Any ideas on why error 50(OPERATION NOT SUPPORTED) is occuring?
"Odomae" <Odo...@discussions.microsoft.com> a écrit dans le message de
news:0A605B03-21F2-4409...@microsoft.com...
"a" <b82...@gmail.com> wrote in message
news:689D875A-975B-41AA...@microsoft.com...