Hi All,
I’m using an IOCTL_SCSI_PASS_THROUGH_DIRECT in user mode, and sometimes
DeviceIoControl call is failing with “Invalid Access To Memeory”. I am
allocating 64K databuffer using “malloc”. At first I thought the device
might
require certain alignment restrictions, but I queried the device’s bus
adapter which had an AlignmentMask of
0, which the documentation indicates as meaning byte alignment is
sufficient. I guess there is some issue with byte alignment of DataBuffer.
I am trying this stuff on Windows 2003 Server.
Can anybody suggest me way out?
Thanks and regards,
Kumsi.