Re: SCSI pass-through in user mode
- From: "Gary G. Little" <gary.g.little@xxxxxxxxxxx>
- Date: Thu, 30 Mar 2006 11:16:59 -0600
The problem is that you cannot get a handle, CreateFile. You can do what
Mark suggests, write a service, or write an itermediate driver that attaches
to t he storage stack. Trust me. The service is much easier.
Oh ... and I have nver heard of SCSI_PASS_THROUGH_DIRECT_WITH_BUFFER IOCTL.
I think you meant SCSI_PASS_THROUGH_DIRECT.
--
The personal opinion of
Gary G. Little
"Mark Roddy" <markr@xxxxxxxxxxxxxx> wrote in message
news:6snm22hc6r28mu1ejn06ejlvjt1piq943r@xxxxxxxxxx
On 29 Mar 2006 07:30:55 -0800, "pada" <paymand@xxxxxxxxxxx> wrote:
I have an application that uses SCSI pass through to communicate with
my device. This application works fine if I log in as Administrator,
but in user mode it does not work.
I the problem on the SCSI_PASS_THROUGH_DIRECT_WITH_BUFFER IOCTL or when
I try to open the device using CreatFile function?
Thanks for your help
The problem is that SPT is a restricted interface. Write a service and
have your users give their requests to your service which in turn will
perform the SPT correctly.
=====================
Mark Roddy DDK MVP
Windows Vista/2003/XP/2000 Consulting
Device and Filesystem Drivers
Hollis Technology Solutions 603-321-1032
www.hollistech.com
.
- Follow-Ups:
- Re: SCSI pass-through in user mode
- From: pada
- Re: SCSI pass-through in user mode
- References:
- SCSI pass-through in user mode
- From: pada
- Re: SCSI pass-through in user mode
- From: Mark Roddy
- SCSI pass-through in user mode
- Prev by Date: Re: Dynamically loading binaries in Kernel mode.
- Next by Date: Re: Windows XP x64 and WM_DEVICECHANGE
- Previous by thread: Re: SCSI pass-through in user mode
- Next by thread: Re: SCSI pass-through in user mode
- Index(es):
Relevant Pages
|