View Single Post
  #2  
Old 05-20-2004, 13:54
peleon peleon is offline
Friend
 
Join Date: Sep 2003
Posts: 174
Rept. Given: 0
Rept. Rcvd 7 Times in 1 Post
Thanks Given: 0
Thanks Rcvd at 7 Times in 7 Posts
peleon Reputation: 7
Hi,

When I was a little boy, I played with VxD. I remember that I coulndn't access to non present pages from certain parts in Ring-0. Example, when processing interrupt requests.

I guess that your problem might be in accesing those pages from a DEBUG_QUERY event, that as you well have read, it can cause page faults. (dunno about W32_DEVICEIOCONTROL)

It could be a similar mechanism like KMD with PassiveLevel, DispatchLevel....though VxD architecture is quite different from the NT one.

Could you first lock the pages with function like "PageLock", "LinPageLock" and friends?

Hope I'm right, hope it helps

Last edited by peleon; 05-20-2004 at 14:04.
Reply With Quote