See the DDK docs for IOCTL_SCSI_PASS_THROUGH and
IOCTL_SCSI_PASS_THROUGH_DIRECT for info on where to get the buffer.
-scott
–
Scott Noone
Software Engineer
OSR Open Systems Resources, Inc.
http://www.osronline.com
<ben.simpson> wrote in message news:xxxxx@ntdev…
> Yea, I can see the SCSI passthrough’s now, thanks I notice there’s no
> SCSI_PASS_THROUGH within the PIO_STACK_LOCATION->Parameters, is there
> another function I need to call for getting the SCSI_PASS_THROUGH from the
> IRP?
>
> Ben
></ben.simpson>
Are you watching for IRP_MJ_DEVICE_CONTROL with IOCTL_SCSI_PASS_THROUGH[_DIRECT] as well as IRP_MJ_SCSI?
-p
-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of ben.simpson@hp.com
Sent: Thursday, August 07, 2008 5:58 AM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] SCSI Filter Driver
Yea, sorry I found a bug in my DebugPrint func It’s all working really well now, I’m making good progress with it. I’ve got the filter sitting as a lower class filter on the TapeDrive class, and I’m able to see most traffic, but I’m not able to see SCSI passthrough commands. Is this just a matter of sitting my driver elsewhere in the stack?
Thanks,
Ben
NTDEV is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer