[PATCH 7/9] gdi32: Use NtGdiCreateClientObj for CreateMetaFile.

Jacek Caban jacek at codeweavers.com
Tue Aug 17 04:39:33 CDT 2021


Instead of alloc_dc_ptr. Metafile DCs are not real DCs.

Signed-off-by: Jacek Caban <jacek at codeweavers.com>
---
  dlls/gdi32/dc.c                |   3 +-
  dlls/gdi32/gdi_private.h       |   1 +
  dlls/gdi32/mfdrv/dc.c          |  60 ------
  dlls/gdi32/mfdrv/graphics.c    |  39 ----
  dlls/gdi32/mfdrv/init.c        | 347 ++++++++-------------------------
  dlls/gdi32/mfdrv/metafiledrv.h |  23 +--
  dlls/gdi32/objects.c           |   2 +
  dlls/gdi32/tests/metafile.c    |   2 -
  8 files changed, 88 insertions(+), 389 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0007-gdi32-Use-NtGdiCreateClientObj-for-CreateMetaFile.txt
Type: text/x-patch
Size: 23183 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20210817/763f0363/attachment-0001.bin>


More information about the wine-devel mailing list