In the FS filter driver and on IrpMjCreate() I pass down then do post
processing.
In case I want to close the file after the post processing what is the
healthy way to do that?
Do I allocate a new IRP and set a IRP_MJ_CLOSE then IoCallDriver() then
return status=STATUS_ACCESS_DENIED in the IrpMjCreate() dispatch routine?
Read the FAQ and archives. Look at stream objects and the discussions about
them. Understanding before coding is good.
“lallous” wrote in message news:xxxxx@ntfsd… > > Hello, > > In the FS filter driver and on IrpMjCreate() I pass down then do post > processing. > In case I want to close the file after the post processing what is the > healthy way to do that? > > Do I allocate a new IRP and set a IRP_MJ_CLOSE then IoCallDriver() then > return status=STATUS_ACCESS_DENIED in the IrpMjCreate() dispatch routine? > > Regards, > Elias > > > >