none
The function "MmProbeAndLockPages" is fail in Windows 10 (ver 1511, 1607) RRS feed

  • Question

  • hello.

    The function "MmProbeAndLockPages" in my driver is  not working properly in windows 10(ver 1511,1607) only.

    (it is working well in ver 1703, 1709 )

    IoAllocateMdl()

    ....

      __try {
     MmProbeAndLockPages(
                    pMdl,
                    UserMode,
                    IoModifyAccess
                    );
            }
            __except(EXCEPTION_EXECUTE_HANDLER) {

            // called exception..

    }

    How can i do?

    Tuesday, January 9, 2018 7:13 AM

All replies

  • What does the rest of the function look like? Are you sure you are in the right process context?

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

    Tuesday, January 9, 2018 3:11 PM