Hey, I’m doing the following
- Post Create - allocate and set stream handle context
- Post Close - get , if successful release twice
The issue is the get fails and the minifilter hangs since reference from allocate was not released
It fails with status not supported , I’ve read the docs and apparently ntfs and fat do not support contexts for paging I/O in pre create and post close
Is there a way I can check if the operation if a paging I/o operation in my post create? My Thought is not allocating the context in such case , so refcount is 0 even if get fails in post close which is fine
Is FlagOn(Data->Iopb->IrpFlags,IRP_PAGING_IO) sufficient ?
Edit : not supported at all in post close ():