Memory allocations & locking

Hi!
i have a few questions regarding memory allocations & (un)lockings on
drivers for WinNT 4.0.

  1. Is it possible to lock\unlock memory without using MDL’s?

If not, and the locking must be using MDL, meaning allocationg an MDL and
locking the memory using it, -

  1. Do i have to keep the MDL for the unlock , or can i allocate it just for
    this action? (will the “Locked Page” data be kept and retrieved when i
    declare the MDL for the memory just before the unlock action?)

thanks in advance
avishai shoshani


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