mscms: Add stub for WcsEnumColorProfilesSize.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45994
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>
oldstable
Louis Lenders 2018-10-15 14:21:31 +02:00 committed by Alexandre Julliard
parent 83fd23347a
commit 920b1371ac
3 changed files with 18 additions and 1 deletions

View File

@ -89,7 +89,7 @@
@ stub WcsCreateIccProfile
@ stub WcsDisassociateColorProfileFromDevice
@ stub WcsEnumColorProfiles
@ stub WcsEnumColorProfilesSize
@ stdcall WcsEnumColorProfilesSize(long ptr ptr)
@ stub WcsGetCalibrationManagementState
@ stub WcsGetDefaultColorProfile
@ stub WcsGetDefaultColorProfileSize

View File

@ -1535,3 +1535,13 @@ BOOL WINAPI WcsGetUsePerUserProfiles( const WCHAR* name, DWORD class, BOOL* use_
SetLastError( ERROR_CALL_NOT_IMPLEMENTED );
return FALSE;
}
/******************************************************************************
* WcsEnumColorProfilesSize [MSCMS.@]
*/
BOOL WINAPI WcsEnumColorProfilesSize( WCS_PROFILE_MANAGEMENT_SCOPE scope, ENUMTYPEW *record, DWORD *size )
{
FIXME( "%d %p %p\n", scope, record, size );
SetLastError( ERROR_CALL_NOT_IMPLEMENTED );
return FALSE;
}

View File

@ -176,6 +176,12 @@ typedef enum
BM_16b_GRAY,
} BMFORMAT, *PBMFORMAT, *LPBMFORMAT;
typedef enum
{
WCS_PROFILE_MANAGEMENT_SCOPE_SYSTEM_WIDE,
WCS_PROFILE_MANAGEMENT_SCOPE_CURRENT_USER
} WCS_PROFILE_MANAGEMENT_SCOPE;
typedef BOOL (CALLBACK *PBMCALLBACKFN)(ULONG,ULONG,LPARAM);
typedef PBMCALLBACKFN LPPBMCALLBACKFN;
@ -403,6 +409,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 WcsEnumColorProfilesSize(WCS_PROFILE_MANAGEMENT_SCOPE,ENUMTYPEW*,DWORD*);
BOOL WINAPI WcsGetUsePerUserProfiles(const WCHAR*,DWORD,BOOL*);
#define PROFILE_FILENAME 1