From: J Kumar J on
Hi,

Currently I am using IOCTL_SCSI_PASS_THRU commands in admin user mode, when
logged in limited user mode I am not able to send IOCTL_SCSI_PASS_THRU
commands to an USB device. The reason is Create file will fail due to
Generic_read/Generic_write which is not available in limited user modes, and
IOCTL_SCSI_PASS_THRU needs these options in DeviceIOControl.

As I am working with USB Mass Storage device using usbstor.sys mass storage
driver is there a method that would send same commands through USB end points
or pipes.

Also I found IOCTL_USB_USER_REQUEST which has USBUSER_PASS_THRU option but
I could not locate any sample codes, i guess these are not documented. What I
am trying to do is to send an vendor specfic command to an USB Mass Storage
deivce.

Thanks,
JK