What makes it a mirror driver

Hey,

Quick question, I’ve looked at the sources for the Microsoft sample
Mirror driver and also at the sample frame buffer driver and there’s not
a huge amount of difference between them, so my question is; What makes
the mirror driver a mirror driver rather than a driver for a seperate
display device i.e. an “Extend my Windows Desktop onto this Monitor”
display device. Is the secret in the miniport driver? Because there
isn’t one for the frame buffer driver, so it’s hard to tell.

Thanks,
JHZ

Jared Holzman wrote:

Quick question, I’ve looked at the sources for the Microsoft sample
Mirror driver and also at the sample frame buffer driver and there’s
not a huge amount of difference between them, so my question is; What
makes the mirror driver a mirror driver rather than a driver for a
seperate display device i.e. an “Extend my Windows Desktop onto this
Monitor” display device.

It’s all in the registry keys you create when the driver is installed.
A mirror driver has a “MirrorDriver” value.

Is the secret in the miniport driver? Because there isn’t one for the
frame buffer driver, so it’s hard to tell.

Every driver needs a miniport. The frame buffer driver is just a
“generic” driver, that happens to be amenable to running with almost any
miniport. When developing a new display driver, it’s common to start
with a custom miniport and the frame buffer driver, just to make sure
the miniport is valid. Then you start creating your own display driver.


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.