Vijay Kiran Kamuju : mscms: Add stub for WcsGetDefaultColorProfileSize.
Alexandre Julliard
julliard at winehq.org
Sun Feb 2 12:56:45 CST 2020
Module: wine
Branch: master
Commit: 87e14f61027eef63cea7bcf68727454c482fa1f9
URL: https://source.winehq.org/git/wine.git/?a=commit;h=87e14f61027eef63cea7bcf68727454c482fa1f9
Author: Vijay Kiran Kamuju <infyquest at gmail.com>
Date: Fri Jan 31 01:50:01 2020 +0100
mscms: Add stub for WcsGetDefaultColorProfileSize.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48541
Signed-off-by: Vijay Kiran Kamuju <infyquest at gmail.com>
Signed-off-by: Hans Leidekker <hans at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/mscms/mscms.spec | 2 +-
dlls/mscms/profile.c | 12 ++++++++++++
include/icm.h | 1 +
3 files changed, 14 insertions(+), 1 deletion(-)
diff --git a/dlls/mscms/mscms.spec b/dlls/mscms/mscms.spec
index fec0af571d..c535d4c88e 100644
--- a/dlls/mscms/mscms.spec
+++ b/dlls/mscms/mscms.spec
@@ -92,7 +92,7 @@
@ stdcall WcsEnumColorProfilesSize(long ptr ptr)
@ stub WcsGetCalibrationManagementState
@ stub WcsGetDefaultColorProfile
-@ stub WcsGetDefaultColorProfileSize
+@ stdcall WcsGetDefaultColorProfileSize(long wstr long long long ptr)
@ stub WcsGetDefaultRenderingIntent
@ stdcall WcsGetUsePerUserProfiles(wstr long ptr)
@ stub WcsGpCanInstallOrUninstallProfiles
diff --git a/dlls/mscms/profile.c b/dlls/mscms/profile.c
index d45ac4af12..efc0e4b416 100644
--- a/dlls/mscms/profile.c
+++ b/dlls/mscms/profile.c
@@ -1552,6 +1552,18 @@ BOOL WINAPI WcsEnumColorProfilesSize( WCS_PROFILE_MANAGEMENT_SCOPE scope, ENUMTY
return FALSE;
}
+/******************************************************************************
+ * WcsGetDefaultColorProfileSize [MSCMS.@]
+ */
+BOOL WINAPI WcsGetDefaultColorProfileSize( WCS_PROFILE_MANAGEMENT_SCOPE scope, PCWSTR device_name,
+ COLORPROFILETYPE type, COLORPROFILESUBTYPE subtype,
+ DWORD profile_id, PDWORD profile_size)
+{
+ FIXME( "%d %s %d %d %d %p\n", scope, debugstr_w(device_name), type, subtype, profile_id, profile_size );
+ SetLastError( ERROR_CALL_NOT_IMPLEMENTED );
+ return FALSE;
+}
+
/******************************************************************************
* WcsOpenColorProfileA [MSCMS.@]
*/
diff --git a/include/icm.h b/include/icm.h
index 67bfcc89fd..dab0b5f2e5 100644
--- a/include/icm.h
+++ b/include/icm.h
@@ -499,6 +499,7 @@ BOOL WINAPI UnregisterCMMA(PCSTR,DWORD);
BOOL WINAPI UnregisterCMMW(PCWSTR,DWORD);
#define UnregisterCMM WINELIB_NAME_AW(UnregisterCMM)
BOOL WINAPI WcsEnumColorProfilesSize(WCS_PROFILE_MANAGEMENT_SCOPE,ENUMTYPEW*,DWORD*);
+BOOL WINAPI WcsGetDefaultColorProfileSize(WCS_PROFILE_MANAGEMENT_SCOPE,const WCHAR*,COLORPROFILETYPE,COLORPROFILESUBTYPE,DWORD,DWORD*);
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);
More information about the wine-cvs
mailing list