- question on mirror and miniport driver.
- Posted by R2 on February 19th, 2008
Hi All,
I am new to device driver development.i want to know some of the
concept regarding driver development.
- What is mirror driver?
- What is the miniport driver?
Can anybody help me to understand this two terms?
Ravi.
- Posted by Maxim S. Shatskih on February 19th, 2008
Mirror driver is only about displays, it redirects the painting command
sequence to some display server, so that the server will maintain a copy of the
original picture.
"Miniport" driver is a device-specific plugin for a port driver. For
instance, if SCSIPORT is the port (generic driver for any SCSI HBA), then the
particular SCSI HBA hardware-specific driver is a miniport, plugged into the
SCSIPORT port.
The port isolates the miniport from the details of Windows IO manager, PnP
and Power Management, and implements things like queues, device naming and
other device-class-required standard things like SCSI queue tag assignment.
Such an architecture reduces the complexity of the hardware-specific driver
a lot.
--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim@storagecraft.com
http://www.storagecraft.com
"R2" <gamiravi.d@gmail.com> wrote in message
news:63f5cc10-23b9-4f9e-a20a-6f169a8b18dd@e23g2000prf.googlegroups.com...
- Posted by R2 on February 20th, 2008
Hi Maxim,
Thanks for reply. I understood what mirror driver and miniport
driver is. but when i looked into DDK samples they are using miniport
driver with mirror driver.
i am still unable to relate both of this.
can you plz tell me that how we can relate mirror driver with
miniport driver?
Ravi.
- Posted by Tim Roberts on February 21st, 2008
R2 <gamiravi.d@gmail.com> wrote:
GDI display drivers have two parts: the display driver, which gets the
drawing commands, and the miniport driver, which handles initializing the
hardware.
A mirror driver is a type of GDI display driver. They could have a
miniport component, but many mirror drivers are software only and do not
use one.
--
Tim Roberts, timr@probo.com
Providenza & Boekelheide, Inc.
- Posted by Ivan Brugiolo [MSFT] on February 21st, 2008
Mirror drivers needs a bare bone miniport to get NtGdi
to enumerate the physical-devices create by VideoPrt.sys
on behalf of the miniport when VideoPortInitialize succeeds.
--
--
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of any included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
"Tim Roberts" <timr@probo.com> wrote in message
news:bd3qr39nhcg93ir3u66j13l878drgm53lt@4ax.com...