Luminita
October 12th, 2004, 03:19 AM
Hello
I am writing a virtual printer driver for Win XP/2000. The driver is using an engine-managed surface and is hooking all next DDI functions:
- DrvBitBlt
- DrvStretchBlt
- DrvTransparentBlt
- DrvCopyBits
- DrvAlphaBlend
- DrvStretchBltROP
- DrvPlgBlt
All this functions are tested when printing from different applications, and they work fine.
But there is a problem when printing from MSPaint. None of these function is called between DrvStartPage and DrvSendPage.
Does anyone know what painting functions is MSPaint using? Because I think I hooked all DDI functions that are handling image painting and noe of them is called.
Thanks
I am writing a virtual printer driver for Win XP/2000. The driver is using an engine-managed surface and is hooking all next DDI functions:
- DrvBitBlt
- DrvStretchBlt
- DrvTransparentBlt
- DrvCopyBits
- DrvAlphaBlend
- DrvStretchBltROP
- DrvPlgBlt
All this functions are tested when printing from different applications, and they work fine.
But there is a problem when printing from MSPaint. None of these function is called between DrvStartPage and DrvSendPage.
Does anyone know what painting functions is MSPaint using? Because I think I hooked all DDI functions that are handling image painting and noe of them is called.
Thanks