Real Geek Forums  

Go Back   Real Geek Forums > Archives > Operating Systems > Windows XP > Windows XP Device Drivers

Notices

Reply

Using SCSI_PASS_THROUGH with a lower device

 

LinkBack Thread Tools Display Modes
Old 07-02-2008, 03:02 PM   #1 (permalink)
Default Using SCSI_PASS_THROUGH with a lower device


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

EdT
Guest
 
Posts: n/a
Reply With Quote  
Old 08-09-2008, 04:31 PM   #2 (permalink)
Default Re: Using SCSI_PASS_THROUGH with a lower device

"EdT" <EdT.3bxfna@DoNotSpam.com> wrote in message
news:EdT.3bxfna@DoNotSpam.com...
Quote:
>
> 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


bilm
Guest
 
Posts: n/a
Reply With Quote  
Reply

Tags
None

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


Similar Threads

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


All times are GMT. The time now is 06:32 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright © 2005 - 2007 RealGeek.com. All rights reserved.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90