How to get device or driver object of a particular driver??

Hi! friends,
How to get the device or driver object of next to next lower device or
driver in the IRP stack. Actually I m writting a higher level USB layered
printer driver. In this driver for some specific IOCTL I want to pass my
own IRP with new URB to the bus driver. I don’t know whether the next lower
driver has implemented IOCTL_INTERNAL_USB_SUBMIT_URB or not. So my doubt is
that How can I get the next to next lower driver or device object so that I
can pass the IRP with my own URB to that device driver directly. I can get
the device object of the next lower driver but after that how to proceed as
I don’t know the driver of the lower device object which I got has
implemented the IOCTL_INTERNAL_USB_SUBMIT_URB or not. So please clarify my
doubt and show me some way to proceed.

Thank you very much boss…
Debabrata Debnath


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com