will MmmapIoSpace nulls the variable after freeing the memory RRS feed


  • no, and if you look at the signature you answer your own question, the first parameter is

    In_  PVOID BaseAddress

    and you are passing the pointer BaseAddress by value. Even if the function assigned NULL to BaseAddress, it would be an effect local to the function and not visible to you, the caller.

    d -- This posting is provided "AS IS" with no warranties, and confers no rights.

    Monday, August 11, 2014 5:39 AM