[PATCH 1/2] mscms: add stub for WcsGetUsePerUserProfiles
Louis Lenders
xerox.xerox2000x at gmail.com
Thu Sep 27 06:12:28 CDT 2018
fix for https://bugs.winehq.org/show_bug.cgi?id=45861
Signed-off-by: Louis Lenders <xerox.xerox2000x at gmail.com>
---
dlls/mscms/mscms.spec | 1 +
dlls/mscms/profile.c | 10 ++++++++++
include/icm.h | 1 +
3 files changed, 12 insertions(+)
diff --git a/dlls/mscms/mscms.spec b/dlls/mscms/mscms.spec
index dd404f10a7..421a8fcf77 100644
--- a/dlls/mscms/mscms.spec
+++ b/dlls/mscms/mscms.spec
@@ -59,3 +59,4 @@
@ stdcall UninstallColorProfileW(wstr wstr long)
@ stdcall UnregisterCMMA(str long)
@ stdcall UnregisterCMMW(wstr long)
+@ stdcall WcsGetUsePerUserProfiles(wstr long ptr)
diff --git a/dlls/mscms/profile.c b/dlls/mscms/profile.c
index cb4908cb27..53016ef5ce 100644
--- a/dlls/mscms/profile.c
+++ b/dlls/mscms/profile.c
@@ -1525,3 +1525,13 @@ BOOL WINAPI CloseColorProfile( HPROFILE profile )
#endif /* HAVE_LCMS2 */
return ret;
}
+
+/******************************************************************************
+ * WcsGetUsePerUserProfiles [MSCMS.@]
+ */
+BOOL WINAPI WcsGetUsePerUserProfiles( const WCHAR* name, DWORD class, BOOL* use_per_user_profile )
+{
+ FIXME( "%s %s %p\n", debugstr_w(name), dbgstr_tag(class), use_per_user_profile );
+ SetLastError( ERROR_CALL_NOT_IMPLEMENTED );
+ return FALSE;
+}
diff --git a/include/icm.h b/include/icm.h
index 34b0b63d80..8a666fad5c 100644
--- a/include/icm.h
+++ b/include/icm.h
@@ -403,6 +403,7 @@ BOOL WINAPI UninstallColorProfileW(PCWSTR,PCWSTR,BOOL);
BOOL WINAPI UnregisterCMMA(PCSTR,DWORD);
BOOL WINAPI UnregisterCMMW(PCWSTR,DWORD);
#define UnregisterCMM WINELIB_NAME_AW(UnregisterCMM)
+BOOL WINAPI WcsGetUsePerUserProfiles(const WCHAR*,DWORD,BOOL*);
#define PROFILE_FILENAME 1
#define PROFILE_MEMBUFFER 2
--
2.17.1
More information about the wine-devel
mailing list