Windows System Software -- Consulting, Training, Development -- Unique Expertise, Guaranteed Results
Hi, calling FltCreateFileEx
with a given FLT_INSTANCE
is the same than using FltGetVolumeFromInstance
then FltGetDeviceObject
and using that DEVICE_OBJECT
in a call to IoCreateFileEx
or IoCreateFileSpecifyDeviceObjectHint
?
I want to merge/refactor some common code and was asking myself if the above applies.
Thanks,
Mauro.
It looks like you're new here. If you want to get involved, click one of these buttons!
Upcoming OSR Seminars | ||
---|---|---|
Writing WDF Drivers | 21 Oct 2019 | OSR Seminar Space & ONLINE |
Internals & Software Drivers | 18 Nov 2019 | Dulles, VA |
Kernel Debugging | 30 Mar 2020 | OSR Seminar Space |
Developing Minifilters | 27 Apr 2020 | OSR Seminar Space & ONLINE |
Comments
The filter manager routines respect the filter manager hierarchy, the io ones only respect the device object hierarchy (a super set), so by not calling filter manger you will risk skipping a mini filter.
Excellent.
Thanks @rod_widdowson for pointing it out. Now I remember filter manager groups some filters.
Kind regards.