mscms/tests: EnumColorProfiles() should not fail even if there are no ICM files in the 'color directory'.

Francois Gouget fgouget at free.fr
Wed Feb 13 14:56:45 CST 2008


---

It fails neither on Windows 98 nor on Windows XP. However it does fail 
in Wine, hence the todo_wine.

However the real problem is that Wine's implementation is completely 
wrong: EnumColorProfiles() should enumerate the values in 
HKLM\Software\Microsoft\Windows NT\CurrentVersion\ICM\RegisteredProfiles 
and not enumerate the files in the color directory.

This patch is independent from the next one.

 dlls/mscms/tests/profile.c |   37 ++++++++++++++-----------------------
 1 files changed, 14 insertions(+), 23 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1cca33b754130cb17bf6b2724660d21777a4e574.diff
Type: text/x-patch
Size: 4610 bytes
Desc: 
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080213/bf6c1f9e/attachment.bin 


More information about the wine-patches mailing list