Filter Manager Data Buffer Change from pre to post callback?

For various operation in IRP model there are data stuctures that change from
the pre to the post. These are buffers eithe in Irp->AssociateSystemBuffer
or pIrpStack->Parameters.SomeBufferPointer. e.g.

FSCTL_SET_ZERO_DATA, FileBasicInformation (Attributes and FileTime), etc.

It has been said that if a MF changes something in Data->Iopb that we will
not see the change in the completion routine and we need to save it. It that
true for these other buffers that the underlying file system has changed in
the IRP model? Or are we only talking about values in the the Data->Iopb
structures themselves (i.e. not buffer pointed to by it).

Should I assume that any buffer that could change in the IRP model will
still change in the MF model?

Thanks,

Ken

Yes, you should assume that anything that could change in the IRP model will also change in the mini-filter model. Yes, we are only talking about the IOPB members itself, not what they point to.

Neal Christiansen
Microsoft File System Filter Group Lead
This posting is provided “AS IS” with no warranties, and confers no rights.


From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Ken Galipeau
Sent: Thursday, March 25, 2004 9:28 AM
To: Windows File Systems Devs Interest List
Subject: [ntfsd] Filter Manager Data Buffer Change from pre to post callback?

For various operation in IRP?model there are data stuctures that change from the pre to the post. These are buffers eithe in Irp->AssociateSystemBuffer or pIrpStack->Parameters.SomeBufferPointer. e.g.
FSCTL_SET_ZERO_DATA, FileBasicInformation (Attributes and FileTime), etc.
It has been said that if a MF changes something in Data->Iopb that we will not see the change in the completion routine and we need to save it. It that true for these other buffers that?the underlying file system has changed in the IRP model? Or are we only talking about values in the the Data->Iopb structures themselves (i.e. not buffer pointed to by it).
Should I assume that any buffer that could change in the IRP model will still change in the MF model?
Thanks,
Ken

Questions? First check the IFS FAQ at https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: xxxxx@windows.microsoft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com