FltGetContext - Doc's confused me... :-(

Hello folks,

In the documentation about FltGetContexts, it states:
“*FltGetContexts* retrieves a minifilter’s contexts for the objects
related to the current operation.”

The statement “objects related to the current operation.” along with
the/ FltObjects->FileObject /parameter
lead me to believe only StreamHandle Context for a given file will be
returned if FLT_STREAMHANDLE_CONTEXT
is specified. Is this correct?

I was reading somewhere online that made it sound like FltGetContexts
produces all context
known to the FltMgr (based on the /DesiredContexts /setting).

Basically, if I have two open instances of “c:\test.txt” and have a
stream handle context associated with each,
and in a third create I call this function, it will only return context
associated with the two previous file opens (c:\test.txt) and no
other (I’d get only two context back for this file right)?

I apologize for such a lame question…

Thanks,

m

It’s amazing how I can confuse myself… Confusing multiple things
together…

Apparently I was reading the docs with my ‘chocolate goggles’ on… :slight_smile:

My bad… Head removed from arse; now burried in sand…

Once again, trying to become invisible…

MM wrote:

Hello folks,

In the documentation about FltGetContexts, it states:
“*FltGetContexts* retrieves a minifilter’s contexts for the objects
related to the current operation.”

The statement “objects related to the current operation.” along with
the/ FltObjects->FileObject /parameter
lead me to believe only StreamHandle Context for a given file will be
returned if FLT_STREAMHANDLE_CONTEXT
is specified. Is this correct?

I was reading somewhere online that made it sound like FltGetContexts
produces all context
known to the FltMgr (based on the /DesiredContexts /setting).

Basically, if I have two open instances of “c:\test.txt” and have a
stream handle context associated with each,
and in a third create I call this function, it will only return
context associated with the two previous file opens (c:\test.txt) and no
other (I’d get only two context back for this file right)?

I apologize for such a lame question…

Thanks,

m


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

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