A better way than checking the name would be to have the FDO implement a PNP
interface and then have the filter send a IRP_MJ_PNP/IRP_MN_QUERY_INTERFACE
to determine if the FDO is in place.
If your goal is to poke around in the FDO driver's internal data structures
(which might be why you want to know that a specific driver is running) you
should stop now and try something else. Unless you're producing both
drivers, you don't know when that FDO driver is going to get updated and
once that happens you'll probably crash the machine.
if you are producing both drivers then you can change the FDO driver to use
the PNP interface method.
-p
--
This posting is provided "AS IS" with no warranties, and confers no rights.
"shahar" <shahar@discussions.microsoft.com> wrote in message
news:FF73314E-BD1F-4784-A9A0-D808469C42B3@microsoft.com...