Tech Support > Microsoft Windows > Drivers > send notification from mirror driver to user application
send notification from mirror driver to user application
Posted by R2 on February 28th, 2008


Hi All,
The mirror driver runs in kernel mode and notifies the user
mode application when it detects
changes in the GUI. In mirror driver at where we can detects these
changes and after that we can send notification of changes to user
application?

Posted by Sasha Bublyk on February 28th, 2008


Use mapped user-mode events to kernel-mode. EngMapEvent will help you.

---
Sasha Bublyk
www.sycorelogic.com

"R2" <gamiravi.d@gmail.com> повідомив/повідомила в
news:1975c5ed-492d-4e25-ac93-356d1a0520c4@34g2000hsz.googlegroups.com...

Posted by R2 on February 29th, 2008


Hi Sasha,
Actually my problem is that i am interested in last drawing
area that is drawn on mirror driver and i don't know in mirror driver
from where i can get that area. Can u please tell me that in mirror
driver how can i get that area and after that i can send that data to
user application ? If possible can you please give me idea in detail
as i am new to mirror driver development.

Thanks,
Ravi.

Posted by Sasha Bublyk on February 29th, 2008


You have your own surface in your mirror driver where you can (if you wish
of course) render all GDI commands. In this case (if you render all
commands) that surfase actually is a bitmap which is a duplicate of real
surface.

---
Sasha Bublyk
www.sycorelogic.com


"R2" <gamiravi.d@gmail.com> повідомив/повідомила в
news:f7448df8-daf1-4c52-8a8f-06f80c059c45@s19g2000prg.googlegroups.com...