In my driver’s read/write dispatch routine I want to allocate IRPs to
fulfill an incomming request. I want each IRP to read to (and write from)
part of the buffer described by the incomming MDL. I use IoAllocateMdl()
to allocate an MDL. Then I use IoBuildPartislMdl() to map in part of the
MDL for the original IRP. Do I need to call MmProbeAndLockPages() on the
MDL, before IoCallDriver?
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
> In my driver’s read/write dispatch routine I want to allocate IRPs to
fulfill an incomming request. I want each IRP to read to (and write from)
part of the buffer described by the incomming MDL. I use IoAllocateMdl()
to allocate an MDL. Then I use IoBuildPartislMdl() to map in part of the
MDL for the original IRP. Do I need to call MmProbeAndLockPages() on the
MDL, before IoCallDriver?
No, since the master MDL has been locked already - the partial MDL does not
need locking.
Max
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com