Re: Windows 7 WDK Mirror Driver Question
- From: J. Lourens <JLourens@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 30 Jan 2009 01:38:00 -0800
Dear Tim,
Thanks for your response, and you are right. C/C++ can't do any more magic
then Delphi they both access the same api's, only differnce is that Delphi
can only compile (PE) .exe or Dll. No driver writing in delphi.
I'm aware of the struggle and the part that it is not documented.
And although it's going to be very hard.
I would still like to gain this knowledge
I hope someone can explain the key asspects, of doing the drawing yourself.
And pointing me in the right direction.
I know google is my best friend but like you said, it is rarely documented.
All help is greatly appreciated,
Jonathan Lourens
"Tim Roberts" wrote:
J. Lourens <J. Lourens@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:.
I'm quite new to C/C++ let alone driver writing.
Then you have made a poor choice. Display drivers are among the more
complicated of Windows drivers, difficult to write, difficult to debug, and
the mirror drivers are a poorly documented subclass.
I've writtin some apps in Delphi, but when it comes to
screen capturing then delphi just doesn't cut it.
What does that mean? C can't do any magic beyond what Delphi can do. They
both have access to the same APIs.
-t This starts a DrvBitBlt ( but I don't know what this does )
Google is your friend. You will NEED to know that to write a mirror
driver.
Could someone please tell me what steps I have to take,
to modify the sample mirror driver.
To make one whole screen capture and start tracking updates from there.
You don't do screen captures in a mirror driver. The mirror driver does
not have access to the primary display surface. Instead, it is expected to
do its own drawing, and maintain its own copy of the desktop in a bitmap.
The goal is remote administration, but I don't know if this is the right way
to do it.
This problem has already been solved innumerable times. Have you looked at
VNC and its variants (like www.uvnc.com)? You would be much better served
by finding a way to modify one of those, instead of starting over from
scratch. Many people have struggled for months and months to get a mirror
driver to do what you describe.
--
Tim Roberts, timr@xxxxxxxxx
Providenza & Boekelheide, Inc.
- References:
- Windows 7 WDK Mirror Driver Question
- From: J. Lourens
- Re: Windows 7 WDK Mirror Driver Question
- From: Tim Roberts
- Windows 7 WDK Mirror Driver Question
- Prev by Date: IoGetDeviceProperty returns STATUS_OBJECT_NAME_NOT_FOUND
- Next by Date: Re: USB transfer not working after 6 incomplete IN transactions
- Previous by thread: Re: Windows 7 WDK Mirror Driver Question
- Next by thread: WebCam Driver
- Index(es):
Relevant Pages
|