problem with Drvcopybit

Hi,

we have a problem in our monolithic printer driver with GDI managed
surface…
for a particular application, when printed with a rectangle image,

with ICM profile, drvcopybits is getting called in which we punt back
with EngCopyBits.

EngCopyBits returns TRUE, but doesn’t draw the image correctly…
what would be the possibility for this to go wrong…??

when explicitly returned FALSE, instead of punting back with
EngCopyBits,
DrvStretchBltROP is called to handle the drawing… which draws the
image correctly…

Can somebody throw more light on why this happens…

Thanks,

Shiva P

“Doesn’t draw the image correctly” is not a very distinct description…

Any number of things could go wrong in your punt operation, but most likely
some parameter in your punt-call to EngCopyBits is incorrect… Without
knowing what’s wrong with the picture, it’s hard to say what parameter, or
how it’s wrong…


Mats

-------- Notice --------
The information in this message is confidential and may be legally
privileged. It is intended solely for the addressee. Access to this
message by anyone else is unauthorized. If you are not the intended
recipient, any disclosure, copying or distribution of the message, or any
action taken by you in reliance on it, is prohibited and may be unlawful.
If you have received this message in error, please delete it and contact
the sender immediately. Thank you.

xxxxx@lists.osr.com wrote on 02/21/2005 06:48:07 AM:

Hi,

we have a problem in our monolithic printer driver with GDI managed
surface…
for a particular application, when printed with a rectangle image,

with ICM profile, drvcopybits is getting called in which we punt
back with EngCopyBits.

EngCopyBits returns TRUE, but doesn’t draw the image correctly…
what would be the possibility for this to go wrong…??

when explicitly returned FALSE, instead of punting back with EngCopyBits,
DrvStretchBltROP is called to handle the drawing… which draws the
image correctly…
Can somebody throw more light on why this happens…

Thanks,

Shiva P

Questions? First check the Kernel Driver FAQ at http://www.
osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: unknown lmsubst tag argument:
‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com
ForwardSourceID:NT0000D57A