Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
XP
accessibility
basics
beta.general
beta.help-and-support
configuration_manage
customize
device_driver.dev
embedded
embedded.techpreview
games
general
hardware
help_and_support
messenger
moviemaker
music
network_web
newusers
perform_maintain
photos
print_fax
security_admin
setup_deployment
video
winlogo
wmi
work_remotely
  
 
date: Wed, 2 Jul 2008 20:32:10 +0530,    group: microsoft.public.windowsxp.device_driver.dev        back       


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

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

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

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

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

Many thanks if anyone can help.


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

http://forums.techarena.in
date: Wed, 2 Jul 2008 20:32:10 +0530   author:   EdT

Re: Using SCSI_PASS_THROUGH with a lower device   
"EdT"  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
date: Sat, 9 Aug 2008 09:31:27 -0700   author:   bilm

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us