windows, device driver, SEH, asm, MmProbeAndLockPages,_except_handler3 - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

windows, device driver, SEH, asm, MmProbeAndLockPages,_except_handler3

hello, i would like to write a driver wich use MmProbeAndLockPages function().

in order to do that i must put it in SEH structure.

i know how to do that, just add handler to fs:0.
it works for simple exceptions like int3 or page fault.

however not for this function.

ive managed to find _except_handler3() function, wich is used by __try/__except from ddk compiler.
is it what i should use?

i write in fasm if it does matter.

i pass UserMode as second argument to mmprobeandlockpages, so its not this. mdl is also correct.

please help me i stuck with this problem for a long time, and have no vlue what to do ;/
Sign In or Register to comment.