[PATCH 0/1] MR11138: mscms: Add patch to fix Qt 6.12.0-beta1 GUI apps not being able to create a window
This patch fixes Qt 6.12.0-beta1 GUI apps not being able to create a window. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/11138
From: Fatih Uzunoglu <fuzun54@outlook.com> This patch fixes Qt 6.12.0-beta1 GUI apps not being able to create a window. --- dlls/mscms/mscms.spec | 2 +- dlls/mscms/profile.c | 11 +++++++++++ include/icm.h | 1 + 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/dlls/mscms/mscms.spec b/dlls/mscms/mscms.spec index ec14db72d62..9c50455fa39 100644 --- a/dlls/mscms/mscms.spec +++ b/dlls/mscms/mscms.spec @@ -86,7 +86,7 @@ @ stdcall UnregisterCMMW(wstr long) @ stub WcsAssociateColorProfileWithDevice @ stub WcsCheckColors -@ stub WcsCreateIccProfile +@ stdcall WcsCreateIccProfile(ptr long) @ stub WcsDisassociateColorProfileFromDevice @ stub WcsEnumColorProfiles @ stdcall WcsEnumColorProfilesSize(long ptr ptr) diff --git a/dlls/mscms/profile.c b/dlls/mscms/profile.c index 395fe50dabf..7824f76e31d 100644 --- a/dlls/mscms/profile.c +++ b/dlls/mscms/profile.c @@ -1526,3 +1526,14 @@ HPROFILE WINAPI WcsOpenColorProfileW( PROFILE *cdm, PROFILE *camp, PROFILE *gmmp return OpenColorProfileW( cdm, access, sharing, creation ); } + +/****************************************************************************** + * WcsCreateIccProfile [MSCMS.@] + */ +HPROFILE WINAPI WcsCreateIccProfile( HPROFILE profile, DWORD options ) +{ + TRACE( "%p, %#lx\n", profile, options ); + FIXME( "no support for WCS profiles\n" ); + + return NULL; +} diff --git a/include/icm.h b/include/icm.h index bcf79eb63bd..9c53ec15d10 100644 --- a/include/icm.h +++ b/include/icm.h @@ -505,6 +505,7 @@ BOOL WINAPI WcsGetDefaultRenderingIntent(WCS_PROFILE_MANAGEMENT_SCOPE,DWOR BOOL WINAPI WcsGetUsePerUserProfiles(const WCHAR*,DWORD,BOOL*); HPROFILE WINAPI WcsOpenColorProfileA(PROFILE*,PROFILE*,PROFILE*,DWORD,DWORD,DWORD,DWORD); HPROFILE WINAPI WcsOpenColorProfileW(PROFILE*,PROFILE*,PROFILE*,DWORD,DWORD,DWORD,DWORD); +HPROFILE WINAPI WcsCreateIccProfile(HPROFILE,DWORD); #define PROFILE_FILENAME 1 #define PROFILE_MEMBUFFER 2 -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/11138
Zhiyi Zhang (@zhiyi) commented about dlls/mscms/profile.c:
return OpenColorProfileW( cdm, access, sharing, creation ); } + +/****************************************************************************** + * WcsCreateIccProfile [MSCMS.@] + */ +HPROFILE WINAPI WcsCreateIccProfile( HPROFILE profile, DWORD options ) +{ + TRACE( "%p, %#lx\n", profile, options ); + FIXME( "no support for WCS profiles\n" );
A "FIXME( "%p, %#lx stub!\n" );" is enough. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/11138#note_142966
participants (3)
-
Fatih Uzunoglu -
Fatih Uzunoglu (@fuzun) -
Zhiyi Zhang (@zhiyi)