May a UMDF Filter be used to detect all USB devices

Hello,

I would like to detect all the USB devices (mass storage ones) attached to my machine and, if need be, intercept IOCTL, Read and Write calls for some of them (the list of PID & VID is variable and not predictable).

Can this be done with a UMDF Filter? If not, why not?

Sitting on top of WinUSB? Again if not, why not?

No, umdf was not intended for this. WinUSB does not pass through URBS and umdf cannot marshal the km urb pointer into user mode as a lower filter.

d

dent from a phpne with no keynoard

-----Original Message-----
From: xxxxx@live.ca
Sent: October 10, 2010 10:55 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] May a UMDF Filter be used to detect all USB devices

Hello,

I would like to detect all the USB devices (mass storage ones) attached to my machine and, if need be, intercept IOCTL, Read and Write calls for some of them (the list of PID & VID is variable and not predictable).

Can this be done with a UMDF Filter? If not, why not?

Sitting on top of WinUSB? Again if not, why not?


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

Okay, Doron, that was fast and saves me a lot of time.