Discussion:
Display filter driver
(too old to reply)
Ram Shriram
2008-01-22 21:13:25 UTC
Permalink
I want to create a filter driver that sits between the real display driver
and windows, and can do things like rotating the display, changing colors,
scaling the display, etc.

Where can I get started? What kind of driver do I need to write?

Thanks,
Ram
Kerem Gümrükcü
2008-01-22 22:23:57 UTC
Permalink
Hi Ram,

first to notice is that there is now a difference
between Windows XP and lower and the new
Windows Vista Driver Concept for Graphics
Drivers,...

These are good starting points:
http://www.codeproject.com/KB/system/driverdev6asp.aspx

If you are not familiar with drivers at all, check out the
tutorials of that series,...


Regards

Kerem
--
-----------------------
Beste Grüsse / Best regards / Votre bien devoue
Kerem Gümrükcü
Microsoft Live Space: http://kerem-g.spaces.live.com/
Latest Open-Source Projects: http://entwicklung.junetz.de
-----------------------
"This reply is provided as is, without warranty express or implied."
Post by Ram Shriram
I want to create a filter driver that sits between the real display driver
and windows, and can do things like rotating the display, changing colors,
scaling the display, etc.
Where can I get started? What kind of driver do I need to write?
Thanks,
Ram
Ram Shriram
2008-01-23 12:55:02 UTC
Permalink
Hi Kerem,

Thank you for this starting point. Is there a similar one for Vista (is it
LDDM?)

Which books cover the video drivers?

Thank you,
Ram
Post by Kerem Gümrükcü
Hi Ram,
first to notice is that there is now a difference
between Windows XP and lower and the new
Windows Vista Driver Concept for Graphics
Drivers,...
http://www.codeproject.com/KB/system/driverdev6asp.aspx
If you are not familiar with drivers at all, check out the
tutorials of that series,...
Regards
Kerem
--
-----------------------
Beste Grüsse / Best regards / Votre bien devoue
Kerem Gümrükcü
Microsoft Live Space: http://kerem-g.spaces.live.com/
Latest Open-Source Projects: http://entwicklung.junetz.de
-----------------------
"This reply is provided as is, without warranty express or implied."
Post by Ram Shriram
I want to create a filter driver that sits between the real display driver
and windows, and can do things like rotating the display, changing colors,
scaling the display, etc.
Where can I get started? What kind of driver do I need to write?
Thanks,
Ram
Kerem Gümrükcü
2008-01-23 13:36:55 UTC
Permalink
Hi Ram,

you dont need a particular book, just get the DDK for Vista and
it has a lot of Samples for you. Dont waste your money,...:-)

Have a look here (see sections for Vista and Display Drivers):
http://www.microsoft.com/whdc/devtools/WDK/vista_dev.mspx

This is also very good:
http://www.microsoft.com/whdc/device/display/default.mspx

This is a good starting point, since there are endless documents
and informations, most of them well formed! for you out there:

See here for Vista Display Driver Model:
http://msdn2.microsoft.com/en-us/library/aa480220.aspx

These are also good NG's for this:
microsoft.public.development.device.drivers

Hope this helps...


Regards

Kerem
--
-----------------------
Beste Grüsse / Best regards / Votre bien devoue
Kerem Gümrükcü
Microsoft Live Space: http://kerem-g.spaces.live.com/
Latest Open-Source Projects: http://entwicklung.junetz.de
-----------------------
"This reply is provided as is, without warranty express or implied."
Tim Roberts
2008-01-24 07:36:20 UTC
Permalink
Post by Ram Shriram
I want to create a filter driver that sits between the real display driver
and windows, and can do things like rotating the display, changing colors,
scaling the display, etc.
Where can I get started? What kind of driver do I need to write?
This is far more difficult than you might imagine. GDI drivers are not WDM
drivers, so you can't just write a "filter driver". For XPDM drivers, you
basically have to make yourself the master display driver, then load the
original driver yourself, as if it were a DLL. Then you get all the calls
the original would have had, and you can pass them along.

For WDDM drivers on Vista, I'm not convinced that this task is achievable
as the model is currently defined.
--
Tim Roberts, ***@probo.com
Providenza & Boekelheide, Inc.
Loading...