I have a FSD that operates with a user-mode piece that I need to be able to
pass buffers to and receive buffers from, for reading and writing. I
inherited this thing and it was originally designed to be read-only. I’m
trying to make it do writes too. When a windows client wants to read
something, this user-mode piece allocs buffers and the the FSD can access
those buffers by doing a MmGetSystemAddressForMdlSafe.
My question is how do I get my FSD to allocate buffers and make them
accessable to the user-mode server (The opposite of
MmGetSystemAddressForMdlSafe)? I think I need to pass a virtual address of
the buffer back to the user-mode server, but I don’t know which function
calls can make this happen.
For example, if I am copying a file from NTFS to my FSD, (which in turn
passes it to the user-mode server), is the SystemBuffer address in the IRP
usable? Or should I/must I copy that buffer to another one that the
user-mode piece can access?
Any insight into this would be greatly appreciated - especially a pointer
to an example would be great…!
Thanks - Greg
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