FileObject->FsContext

Is there any requirement that FileObject->FsContext must point to
FSRTL_COMMON_FCB_HEADER, and not to other structure?

In my experience, I had problems (BSODs) if I have used
FileObject->FsContext pointing to some private structure of my own.
Rewriting the code to use FileObject->FsContext2 instead fixed the
problem.

So - is there any such requirement?
For instance - what about TDI address and connection file objects? Do
they use FileObject->FsContext to point to some transport’s internal
structure instead of common FCB header?

Max


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com