[PATCH 7/7] gdi32: Factor out get_icm_profile.
Jacek Caban
jacek at codeweavers.com
Thu Sep 9 07:02:03 CDT 2021
And move it to dc.c.
Signed-off-by: Jacek Caban <jacek at codeweavers.com>
---
I don't think there is a way to get that information directly from
ntgdi. On Windows, ICM profiles are stored in registry for each display
(printers seem to use a different config). There seems to be a way to
match DCs with monotors and then it should be possible to use it. It
does not fit well into our gdi32, so I suggest to extent ntgdi
interface, at least for now.
dlls/gdi32/dc.c | 17 +++++++++++++++++
dlls/gdi32/gdi_private.h | 2 ++
dlls/gdi32/icm.c | 32 ++++----------------------------
3 files changed, 23 insertions(+), 28 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0007-gdi32-Factor-out-get_icm_profile.txt
Type: text/x-patch
Size: 3231 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20210909/fc66b81b/attachment-0001.bin>
More information about the wine-devel
mailing list