Louis Lenders : mscms: Add stub for WcsGetUsePerUserProfiles.

Alexandre Julliard julliard at winehq.org
Thu Sep 27 18:25:13 CDT 2018


Module: wine
Branch: master
Commit: 82c7f7977b9e13d297b8398b0902c5b3b8e630e9
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=82c7f7977b9e13d297b8398b0902c5b3b8e630e9

Author: Louis Lenders <xerox.xerox2000x at gmail.com>
Date:   Thu Sep 27 13:12:28 2018 +0200

mscms: Add stub for WcsGetUsePerUserProfiles.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45861
Signed-off-by: Louis Lenders <xerox.xerox2000x 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 |  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 dd404f1..421a8fc 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 cb4908c..53016ef 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 34b0b63..8a666fa 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




More information about the wine-cvs mailing list