Using SCSI_PASS_THROUGH with a lower device

Posted: 07-02-2008, 04:02 PM

From within a device driver I need to pass an asynmchronous SCSI reques
down to a "lower device". In the past, I have always passed the reques
to the lower driver using the ASPI miniport driver.

This doesn't work with USB based devices, so I am trying to use th
SCSI_PASS_THROUGH mechanism. I can manage to build up th
SCSI_PASS_THROUGH_BUFFER with no problem. The problem I have is fillin
in a few fields of the IRP.

First question is, can the SCSI_PASS_THROUGH mechanism be used fo
asynchronous I/O?

The second question is how to fill in the request packet. I need th
equivalent of:

I.MajorFunction(NEXT) = IRP_MJ_SCSI;
I.NextStackLocation()->Parameters.Scsi.Srb = srb;

Many thanks if anyone can help

--
Ed
-----------------------------------------------------------------------
EdT's Profile: http://forums.techarena.in/member.php?u=5240
View this thread: http://forums.techarena.in/showthread.php?t=99541

http://forums.techarena.i

Reply With Quote

Responses to "Using SCSI_PASS_THROUGH with a lower device"

bilm
Guest
Posts: n/a
 
Re: Using SCSI_PASS_THROUGH with a lower device
Posted: 08-09-2008, 05:31 PM
"EdT" <EdT.3bxfna@DoNotSpam.com> wrote in message
news:EdT.3bxfna@DoNotSpam.com...
>
> First question is, can the SCSI_PASS_THROUGH mechanism be used for
> asynchronous I/O?
No it cannot ---> http://msdn.microsoft.com/en-us/library/ms803657.aspx

bilm


Reply With Quote
 
LinkBack Thread Tools Display Modes
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Lower Resolution/DPI Amandar097 Windows XP Photos 6 11-11-2007 10:09 PM
FPS much lower in vista than in xp... Joe Windows Vista Games 4 10-03-2006 10:11 PM
Uppper & lower case folder names on USB device Don W Windows XP Device Drivers 0 05-02-2006 08:37 PM
diskperf.sys to lower filter the storage device Hendrix Tavarez Windows XP Device Drivers 0 08-15-2005 03:43 PM
lower titles jbabb Windows XP Movie Maker 0 09-03-2003 05:51 AM