If there are IRPs which are not completed when unloading the filter driver, is the system guarantee their completion or my driver?
> If there are IRPs which are not completed when unloading the filter
driver, is the system guarantee their completion or my driver?
IRPs are not completed or cancelled.
In the case of a minifilter the postoperation callback with a DRAIN flag is
called.
The old style filter driver( i.e that uses IoAttachDevice ) should not be
unloaded until all stacks to which it has attached its objects are not torn
down by the system.
–
Slava Imameyev, xxxxx@hotmail.com
wrote in message news:xxxxx@ntfsd…
> If there are IRPs which are not completed when unloading the filter
> driver, is the system guarantee their completion or my driver?
>
My driver is the old style filter driver.
Should I wait for the stacks torn down?
How to do this?
If your driver is old style, you cannot unload.
wrote in message news:xxxxx@ntfsd…
> My driver is the old style filter driver.
> Should I wait for the stacks torn down?
> How to do this?
>