enhmfdrv: Return proper values from GDI APIs

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

enhmfdrv: Return proper values from GDI APIs

Phil Krylov
Hi,

This patch fixes EMF rendering in some programs that depend on the fact
that SetTextAlign(), SetBkMode(), SetROP2(), SetPolyFillMode(), and
SetStretchBltMode() return proper values when called on a EMF device
context.


ChangeLog:

Fixed EMFDRV_SetTextAlign, EMFDRV_SetBkMode, EMFDRV_SetROP2,
EMFDRV_SetPolyFillMode, and EMFDRV_SetStretchBltMode to return proper
old values of modes that are being set. Added FIXMEs for other cases of
improper return values.

-- Ph.


enhmfdrv-retval.patch (4K) Download Attachment