Hello Friends,
I’m trying to copy a buffer passed by one driver to my driver
which is specified in IRP->MdlAddress to my own buffer, before doing this
i check the memory access (or check whether the page fault will occur or not ),
by using MmIsAddressValid if it returns true then only i copy the buffer.
But still i’m getting the page fault…
DDK help says " Even if MmIsAddressValid returns TRUE, accessing the address
can cause page faults unless the memory has been locked down or the address is
a valid nonpaged pool address." Is there any other way or function is available for checking the page fault ???
thanks
Maliye