Hi, all
I have question about the IOCTL_SCSI_PASS_THROUGH, wish someone can help me,
thanks.
As demoed in Microsoft example SPTI, I can send the SCSI CDB directly to
SCSI port using IOCTL_SCSI_PASS_THROUGH. But it also indicated that if a
device is claimed, all SCSI pass through requests must be sent first through
the class driver. Otherwise, the DeviceIoControl call will fail the with
ERROR_INVALID_PARAMETER.
How can I send IOCTL_SCSI_PASS_THROUGH the class driver for the SCSI driver?
Now, I open the device using \.\SCSI0:
If I can not open the class driver, or the class dirver fail the
IOCTL_SCSI_PASS_THROUGH, can I write my own driver that can pass the
IOCTL_SCSI_PASS_THROUGH to the SCSI port driver.
thanks,
Jianruan
xxxxx@yahoo.com
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com