Checking the PendingReturned Flag
Note
For optimal reliability and performance, use file system minifilter drivers with Filter Manager support instead of legacy file system filter drivers. To port your legacy driver to a minifilter driver, see Guidelines for Porting Legacy Filter Drivers.
If a completion routine doesn't signal an event, it must check the Irp‑>PendingReturned flag. If this flag is set, the completion routine must mark the IRP pending by calling IoMarkIrpPending.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for