- SCSI IOControl in user mode
- Posted by majorsoul on February 18th, 2008
Hi,
I would like to send SCSI read command in user mode.
Is it possible in WINDOWS?
thanks in advance,
majorsou
--
majorsou
http://www.techtalkz.com - Technology and Computer Troubleshooting Forum
- Posted by Gary G. Little on February 19th, 2008
Sure... simply get a handle via CreateFile, then use ReadFile\WriteFile all
day long. I guarantee they will send SCSI READ and WRITE. Now if you want to
do a READ CAPACITY or MODE SENSE/SELECT you will have to either settle, and
determine what you need, to find the SCSI and STORAGE IOCTL commands that
are availble. Beyond that you will have to use SCSI pass through, and create
your own CDB to pass to DeviceIoControl.
--
The personal opinion of
Gary G. Little
"majorsoul" <guest@unknown-email.com> wrote in message
news:6bd822b812a73290f7740f587e858c83@nntp-gateway.com...
- Posted by majorsoul on February 20th, 2008
Thanks.
I need to make it from a user account (guest account), is tha
possible?
--------------------------
Sure... simply get a handle via CreateFile, then use ReadFile\WriteFil
all
day long. I guarantee they will send SCSI READ and WRITE. Now if yo
want to
do a READ CAPACITY or MODE SENSE/SELECT you will have to either settle
and
determine what you need, to find the SCSI and STORAGE IOCTL command
that
are availble. Beyond that you will have to use SCSI pass through, an
create
your own CDB to pass to DeviceIoControl.
--
The personal opinion of
Gary G. Littl
--
majorsou
http://www.techtalkz.com - Technology and Computer Troubleshooting Forum
- Posted by Gary G. Little on February 20th, 2008
Nope, you have to be an admin to acquire the handle to the physical drive,
or use the SetupApi DLL and to use CreateFile. You can do it from a service,
which the user app then connects to via a pipe.
--
The personal opinion of
Gary G. Little
"majorsoul" <guest@unknown-email.com> wrote in message
news:e48aa24e763eb65b192f4e223e055415@nntp-gateway.com...