RE: Filter Manager: Multiple FileObject in Callback routi nes

If a mini filter changes the TargetFileObject in the Pre Op will they be
different in the Post Op (i.e. the TargetFileObject be what it was set to in
the Pre Op) or will they be the same again?

-----Original Message-----
From: Ravinder Thind [mailto:xxxxx@windows.microsoft.com]
Sent: Tuesday, March 16, 2004 5:52 PM
To: Windows File Systems Devs Interest List
Subject: Re:[ntfsd] Filter Manager: Multiple FileObject in Callback routines

Ken,

The FileObject in FltObjects and the TargetFileObject in the Iopb are the
same. If a minifilter decides that this IO be redirected to a different
FileObject it can change the TargetFileObject in the Iopb.

Thanks
Ravinder

This posting is provided "AS IS" with no warranties, and confers no rights.

"Ken Galipeau" wrote in message news:xxxxx@ntfsd...
> What is the difference between FileObject in FLT_RELATED_OBJECTS and
> TargetFileObject in Data->Iopb when being called in callback routines? Are
> they the same in both the pre and post?
>
>
>
> Ken
>
>
>
>

---
Questions? First check the IFS FAQ at
The NT Insider:Windows NT Virtual Memory (Part I)

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

The TargetFileObject in the post will be what the minifilter saw in the
pre-operation not what he set to. Iopb works as a stack location and is
snapshoted so that the minifilter gets a consistent view of the parameters
in the pre and the post operation callbacks. So both these fileobjects will
be the same.

I hope this clarifies your doubts.

Thanks
Ravinder

This posting is provided "AS IS" with no warranties, and confers no rights.

"Ken Galipeau" wrote in message news:xxxxx@ntfsd...
> If a mini filter changes the TargetFileObject in the Pre Op will they be
> different in the Post Op (i.e. the TargetFileObject be what it was set to
in
> the Pre Op) or will they be the same again?
>
> -----Original Message-----
> From: Ravinder Thind [mailto:xxxxx@windows.microsoft.com]
> Sent: Tuesday, March 16, 2004 5:52 PM
> To: Windows File Systems Devs Interest List
> Subject: Re:[ntfsd] Filter Manager: Multiple FileObject in Callback
routines
>
> Ken,
>
> The FileObject in FltObjects and the TargetFileObject in the Iopb are the
> same. If a minifilter decides that this IO be redirected to a different
> FileObject it can change the TargetFileObject in the Iopb.
>
> Thanks
> Ravinder
> --
> This posting is provided "AS IS" with no warranties, and confers no
rights.
>
> "Ken Galipeau" wrote in message news:xxxxx@ntfsd...
> > What is the difference between FileObject in FLT_RELATED_OBJECTS and
> > TargetFileObject in Data->Iopb when being called in callback routines?
Are
> > they the same in both the pre and post?
> >
> >
> >
> > Ken
> >
> >
> >
> >
>
>
>
> ---
> Questions? First check the IFS FAQ at
> The NT Insider:Windows NT Virtual Memory (Part I)
>
> You are currently subscribed to ntfsd as: xxxxx@legato.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>