Tech Support > Microsoft Windows > Drivers > question regarding the UsbSnoopy (SniffUSB) project, an usb filter driver
question regarding the UsbSnoopy (SniffUSB) project, an usb filter driver
Posted by Svyatoslav on August 22nd, 2003


Hi,

I've taken a look at the source code from the usbsnoopy project
(SniffUSB) and I have a question about it:

The entry points for the MyDispatchPnp (IRP_MJ_PNP) and
MyDispatchInternalIOCTL (IRP_MJ_INTERNAL_DEVICE_CONTROL) routines are
set in the AddDevice routine in the driver object structure from the
FUNCTIONAL device object.
Why is that?
Could those entry points not be set in the DriverEntry routine in the
driver object structure from the FILTER device object?

Please help me.

Thanx.


Similar Posts