You’ve registered your driver as upper filter for the SCSI controller
device, but what you actually want to do is filter the SCSI devices
themselves.
What you’ll need to do is set a completion routine for the
IRP_MN_QUERY_DEVICE_RELATIONS for BusRelations sent to the SCSI controller
and before you procceed with the completion attach a device to the PDOs
reported by the controller’s driver.
Shahar
-----Original Message-----
From: xxxxx@lists.osr.com [mailto:bounce-198155-
xxxxx@lists.osr.com] On Behalf Of ? ??
Sent: Wednesday, January 12, 2005 1:40 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] SCSI filter driver
Sorry… I don’t know english well and I’m beginner driver auther.
I want to monitoring all SCSI device’s SRB I registered simple WDM filter
driver as UpperFilters at
HKLM\SYSTEM\CurrentControlSet\Control\Class{4D36E97B-E325-11CE-BFC1-
08002BE10318}.
but it does not work that I thought.
I compared with another SCSI filter driver by DeviceTree utility written by
OSR.
My driver has just one node. but another filter has many sub nodes.
My driver is very simple.
It is WDM filter sample in the book “Programming the MICROSOFT WINDOWS
DRIVER MODEL 2nd”
Please let me know…
thanks for reading…
å??? ?ٸ? ?ø??? ???ϰ? ???.. MSN ?¶??? ???
http://vod.msn.co.kr
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@safend.com To unsubscribe
send a blank email to xxxxx@lists.osr.com