mscms: Add stub for WcsGetUsePerUserProfiles.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45861
Signed-off-by: Louis Lenders <xerox.xerox2000x@gmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Louis Lenders 2018-09-27 13:12:28 +02:00 committed by Alexandre Julliard
parent ec13f6ec2a
commit 82c7f7977b
3 changed files with 12 additions and 0 deletions

View File

@ -59,3 +59,4 @@
@ stdcall UninstallColorProfileW(wstr wstr long) @ stdcall UninstallColorProfileW(wstr wstr long)
@ stdcall UnregisterCMMA(str long) @ stdcall UnregisterCMMA(str long)
@ stdcall UnregisterCMMW(wstr long) @ stdcall UnregisterCMMW(wstr long)
@ stdcall WcsGetUsePerUserProfiles(wstr long ptr)

View File

@ -1525,3 +1525,13 @@ BOOL WINAPI CloseColorProfile( HPROFILE profile )
#endif /* HAVE_LCMS2 */ #endif /* HAVE_LCMS2 */
return ret; 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;
}

View File

@ -403,6 +403,7 @@ BOOL WINAPI UninstallColorProfileW(PCWSTR,PCWSTR,BOOL);
BOOL WINAPI UnregisterCMMA(PCSTR,DWORD); BOOL WINAPI UnregisterCMMA(PCSTR,DWORD);
BOOL WINAPI UnregisterCMMW(PCWSTR,DWORD); BOOL WINAPI UnregisterCMMW(PCWSTR,DWORD);
#define UnregisterCMM WINELIB_NAME_AW(UnregisterCMM) #define UnregisterCMM WINELIB_NAME_AW(UnregisterCMM)
BOOL WINAPI WcsGetUsePerUserProfiles(const WCHAR*,DWORD,BOOL*);
#define PROFILE_FILENAME 1 #define PROFILE_FILENAME 1
#define PROFILE_MEMBUFFER 2 #define PROFILE_MEMBUFFER 2