- why couldn't icons be displayed properly in the display driver?
- Posted by lee on November 2nd, 2005
I wrote a mirror driver based on DDK sample. Each of 4 conditional
required DDI functions, ie, DrvCopyBits, DrvBitBlt, DrvTextOut and
DrvStrokePath, just punts back to GDI engine, then throw all changed
pixels to remote machine. The image is displayed on the remote monitor.
Everything looks fine except all icons. each icon has a small black
ground. Shall I set something in the driver so that I may get rid of
black ground for each icon?
Thanks in advance,
- Posted by Ivan Brugiolo [MSFT] on November 4th, 2005
Can you compare the image you are getting at the remote end,
with the Eng-managed bitmap you are using to punt the call ?
You may want to introduce some custom Draw-Escape code
in the mirror driver to have one application to fetch the whole bitmap,
so that you can save it on a file, and inspect-it to compare it with the one
received at the remote side.
--
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
"lee" <lander_gao@yahoo.com> wrote in message
news:1130948493.881085.50320@g43g2000cwa.googlegro ups.com...
- Posted by lee on November 6th, 2005
I compared the bitmap captured by the mirror driver with the one
received at the remote side. They are same. the color quality of both
side is set at 32bit per pixel. But I found that all the icons were
displayed properly without any little black ground on remote side if I
set the color quality as 16 bits per pixel in the machine in which the
mirror driver is resided. I'm still wondering what's the problem. Do
you have any thought?
Thanks in advance,
Ivan Brugiolo [MSFT] wrote: