@ stdcall CheckBitmapBits(ptr ptr ptr long long long ptr ptr long)
@ stdcall CheckColors(ptr ptr long long ptr)
@ stdcall CloseColorProfile(ptr)
+@ stub CloseDisplay
+@ stub ColorCplGetDefaultProfileScope
+@ stub ColorCplGetDefaultRenderingIntentScope
+@ stub ColorCplGetProfileProperties
+@ stub ColorCplHasSystemWideAssociationListChanged
+@ stub ColorCplInitialize
+@ stub ColorCplLoadAssociationList
+@ stub ColorCplMergeAssociationLists
+@ stub ColorCplOverwritePerUserAssociationList
+@ stub ColorCplReleaseProfileProperties
+@ stub ColorCplResetSystemWideAssociationListChangedWarning
+@ stub ColorCplSaveAssociationList
+@ stub ColorCplSetUsePerUserProfiles
+@ stub ColorCplUninitialize
@ stdcall ConvertColorNameToIndex(ptr ptr ptr long)
@ stdcall ConvertIndexToColorName(ptr ptr ptr long)
@ stdcall CreateColorTransformA(ptr ptr ptr long)
@ stdcall CreateMultiProfileTransform(ptr long ptr long long long)
@ stdcall CreateProfileFromLogColorSpaceA(ptr ptr)
@ stdcall CreateProfileFromLogColorSpaceW(ptr ptr)
+@ stub DccwCreateDisplayProfileAssociationList
+@ stub DccwGetDisplayProfileAssociationList
+@ stub DccwGetGamutSize
+@ stub DccwReleaseDisplayProfileAssociationList
+@ stub DccwSetDisplayProfileAssociationList
@ stdcall DeleteColorTransform(ptr)
+@ stub DeviceRenameEvent
@ stdcall DisassociateColorProfileFromDeviceA(str str str)
@ stdcall DisassociateColorProfileFromDeviceW(wstr wstr wstr)
+#@ stub DllCanUnloadNow
+#@ stub DllGetClassObject
@ stdcall EnumColorProfilesA(str ptr ptr ptr ptr)
@ stdcall EnumColorProfilesW(wstr ptr ptr ptr ptr)
@ stdcall GenerateCopyFilePaths(wstr wstr ptr long ptr ptr ptr ptr long)
@ stub InternalGetPS2ColorRenderingDictionary
@ stub InternalGetPS2ColorSpaceArray
@ stub InternalGetPS2PreviewCRD
+@ stub InternalRefreshCalibration
@ stub InternalSetDeviceConfig
+@ stub InternalWcsAssociateColorProfileWithDevice
@ stdcall IsColorProfileTagPresent(ptr long ptr)
@ stdcall IsColorProfileValid(ptr ptr)
@ stdcall OpenColorProfileA(ptr long long long)
@ stdcall OpenColorProfileW(ptr long long long)
+@ stub OpenDisplay
@ stdcall RegisterCMMA(str long str)
@ stdcall RegisterCMMW(wstr long wstr)
@ stdcall SelectCMM(long)
@ stdcall UninstallColorProfileW(wstr wstr long)
@ stdcall UnregisterCMMA(str long)
@ stdcall UnregisterCMMW(wstr long)
+@ stub WcsAssociateColorProfileWithDevice
+@ stub WcsCheckColors
+@ stub WcsCreateIccProfile
+@ stub WcsDisassociateColorProfileFromDevice
+@ stub WcsEnumColorProfiles
+@ stdcall WcsEnumColorProfilesSize(long ptr ptr)
+@ stub WcsGetCalibrationManagementState
+@ stub WcsGetDefaultColorProfile
+@ stub WcsGetDefaultColorProfileSize
+@ stub WcsGetDefaultRenderingIntent
+@ stdcall WcsGetUsePerUserProfiles(wstr long ptr)
+@ stub WcsGpCanInstallOrUninstallProfiles
+@ stub WcsOpenColorProfileA
+@ stub WcsOpenColorProfileW
+@ stub WcsSetCalibrationManagementState
+@ stub WcsSetDefaultColorProfile
+@ stub WcsSetDefaultRenderingIntent
+@ stub WcsSetUsePerUserProfiles
+@ stub WcsTranslateColors
if (machine || !size) return FALSE;
- GetSystemDirectoryW( colordir, sizeof(colordir) / sizeof(WCHAR) );
+ GetSystemDirectoryW( colordir, ARRAY_SIZE( colordir ));
lstrcatW( colordir, colorsubdir );
len = lstrlenW( colordir ) * sizeof(WCHAR);
static BOOL header_from_file( LPCWSTR file, PPROFILEHEADER header )
{
+ static const WCHAR slash[] = {'\\',0};
BOOL ret;
PROFILE profile;
- WCHAR path[MAX_PATH], slash[] = {'\\',0};
+ WCHAR path[MAX_PATH];
DWORD size = sizeof(path);
HANDLE handle;
BOOL WINAPI EnumColorProfilesW( PCWSTR machine, PENUMTYPEW record, PBYTE buffer,
PDWORD size, PDWORD number )
{
+ static const WCHAR spec[] = {'\\','*','i','c','m',0};
BOOL match, ret = FALSE;
- WCHAR spec[] = {'\\','*','i','c','m',0};
WCHAR colordir[MAX_PATH], glob[MAX_PATH], **profiles = NULL;
DWORD i, len = sizeof(colordir), count = 0, totalsize = 0;
PROFILEHEADER header;
#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;
+}
+
+/******************************************************************************
+ * 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;
+}