Headers diff for icmui.dll between 6.1.7600.16385-Windows_7.0 and 6.3.9600.17415-Windows_8.1 versions



 icm.h (6.1.7600.16385-Windows_7.0)   icm.h (6.3.9600.17415-Windows_8.1) 
skipping to change at line 23 skipping to change at line 23
Revision History: Revision History:
--*/ --*/
#ifndef _ICM_H_ #ifndef _ICM_H_
#define _ICM_H_ #define _ICM_H_
#if _MSC_VER > 1000 #if _MSC_VER > 1000
#pragma once #pragma once
#endif #endif
#include <winapifamily.h>
#pragma region Desktop Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
// //
// Support for named color profiles // Support for named color profiles
// //
typedef char COLOR_NAME[32]; typedef char COLOR_NAME[32];
skipping to change at line 717 skipping to change at line 721
PCMSCALLBACKA lpfnApplyCallback; // Callback Procedure address when apply is pushed PCMSCALLBACKA lpfnApplyCallback; // Callback Procedure address when apply is pushed
LPARAM lParamApplyCallback; // Given to callback Procedure for apply LPARAM lParamApplyCallback; // Given to callback Procedure for apply
} COLORMATCHSETUPA, *PCOLORMATCHSETUPA, *LPCOLORMATCHSETUPA; } COLORMATCHSETUPA, *PCOLORMATCHSETUPA, *LPCOLORMATCHSETUPA;
// //
// Windows API definitions // Windows API definitions
// //
HPROFILE WINAPI OpenColorProfileA(__in PPROFILE pProfile, DWORD dwDesiredAcces HPROFILE WINAPI OpenColorProfileA(_In_ PPROFILE pProfile, DWORD dwDesiredAcces
s, DWORD dwShareMode, DWORD dwCreationMode); s, DWORD dwShareMode, DWORD dwCreationMode);
HPROFILE WINAPI OpenColorProfileW(__in PPROFILE pProfile, DWORD dwDesiredAcces HPROFILE WINAPI OpenColorProfileW(_In_ PPROFILE pProfile, DWORD dwDesiredAcces
s, DWORD dwShareMode, DWORD dwCreationMode); s, DWORD dwShareMode, DWORD dwCreationMode);
BOOL WINAPI CloseColorProfile(__in_opt HPROFILE hProfile); BOOL WINAPI CloseColorProfile(_In_opt_ HPROFILE hProfile);
BOOL WINAPI GetColorProfileFromHandle(__in HPROFILE hProfile, __out_bcount BOOL WINAPI GetColorProfileFromHandle(_In_ HPROFILE hProfile, _Out_writes_
_opt(*pcbProfile) PBYTE pProfile, __inout PDWORD pcbProfile); bytes_opt_(*pcbProfile) PBYTE pProfile, _Inout_ PDWORD pcbProfile);
BOOL WINAPI IsColorProfileValid(__in HPROFILE hProfile, __out PBOOL pbVali BOOL WINAPI IsColorProfileValid(_In_ HPROFILE hProfile, _Out_ PBOOL pbVali
d); d);
BOOL WINAPI CreateProfileFromLogColorSpaceA(__in LPLOGCOLORSPACEA pLogColo BOOL WINAPI CreateProfileFromLogColorSpaceA(_In_ LPLOGCOLORSPACEA pLogColo
rSpace, __deref_out_xcount(GlobalSize(*pProfile)) PBYTE* pProfile); rSpace, _Outptr_result_buffer_(_Inexpressible_(GlobalSize(*pProfile))) PBYTE* pP
BOOL WINAPI CreateProfileFromLogColorSpaceW(__in LPLOGCOLORSPACEW pLogColo rofile);
rSpace, __deref_out_xcount(GlobalSize(*pProfile)) PBYTE* pProfile); BOOL WINAPI CreateProfileFromLogColorSpaceW(_In_ LPLOGCOLORSPACEW pLogColo
BOOL WINAPI GetCountColorProfileElements(__in HPROFILE hProfile, __out PDW rSpace, _Outptr_result_buffer_(_Inexpressible_(GlobalSize(*pProfile))) PBYTE* pP
ORD pnElementCount); rofile);
BOOL WINAPI GetColorProfileHeader(__in HPROFILE hProfile, __out PPROFILEHE BOOL WINAPI GetCountColorProfileElements(_In_ HPROFILE hProfile, _Out_ PDW
ADER pHeader); ORD pnElementCount);
BOOL WINAPI GetColorProfileElementTag(__in HPROFILE hProfile, DWORD dwInde BOOL WINAPI GetColorProfileHeader(_In_ HPROFILE hProfile, _Out_ PPROFILEHE
x, __out PTAGTYPE pTag); ADER pHeader);
BOOL WINAPI IsColorProfileTagPresent(__in HPROFILE hProfile, TAGTYPE tag, BOOL WINAPI GetColorProfileElementTag(_In_ HPROFILE hProfile, DWORD dwInde
__out PBOOL pbPresent); x, _Out_ PTAGTYPE pTag);
BOOL WINAPI GetColorProfileElement(__in HPROFILE hProfile, TAGTYPE tag, DW BOOL WINAPI IsColorProfileTagPresent(_In_ HPROFILE hProfile, TAGTYPE tag,
ORD dwOffset, __inout PDWORD pcbElement, __out_bcount_opt(*pcbElement) PVOID pEl _Out_ PBOOL pbPresent);
ement, __out PBOOL pbReference); BOOL WINAPI GetColorProfileElement(_In_ HPROFILE hProfile, TAGTYPE tag, DW
BOOL WINAPI SetColorProfileHeader(__in HPROFILE hProfile, __in_bcount(size ORD dwOffset, _Inout_ PDWORD pcbElement, _Out_writes_bytes_opt_(*pcbElement) PVO
of(PROFILEHEADER)) PPROFILEHEADER pHeader); ID pElement, _Out_ PBOOL pbReference);
BOOL WINAPI SetColorProfileElementSize(__in HPROFILE hProfile, TAGTYPE tag BOOL WINAPI SetColorProfileHeader(_In_ HPROFILE hProfile, _In_reads_bytes_
Type, DWORD pcbElement); (sizeof(PROFILEHEADER)) PPROFILEHEADER pHeader);
BOOL WINAPI SetColorProfileElement(__in HPROFILE hProfile, TAGTYPE tag, DW BOOL WINAPI SetColorProfileElementSize(_In_ HPROFILE hProfile, TAGTYPE tag
ORD dwOffset, __in PDWORD pcbElement, __in_ecount(*pcbElement) PVOID pElement); Type, DWORD pcbElement);
BOOL WINAPI SetColorProfileElementReference(__in HPROFILE hProfile, TAGTYP BOOL WINAPI SetColorProfileElement(_In_ HPROFILE hProfile, TAGTYPE tag, DW
E newTag, TAGTYPE refTag); ORD dwOffset, _In_ PDWORD pcbElement, _In_reads_(*pcbElement) PVOID pElement);
BOOL WINAPI GetPS2ColorSpaceArray(__in HPROFILE hProfile, DWORD dwIntent, BOOL WINAPI SetColorProfileElementReference(_In_ HPROFILE hProfile, TAGTYP
DWORD dwCSAType, __out_bcount_opt(*pcbPS2ColorSpaceArray) PBYTE pPS2ColorSpaceAr E newTag, TAGTYPE refTag);
ray, __inout PDWORD pcbPS2ColorSpaceArray, __out PBOOL pbBinary); BOOL WINAPI GetPS2ColorSpaceArray(_In_ HPROFILE hProfile, DWORD dwIntent,
BOOL WINAPI GetPS2ColorRenderingIntent(__in HPROFILE hProfile, DWORD dwInt DWORD dwCSAType, _Out_writes_bytes_opt_(*pcbPS2ColorSpaceArray) PBYTE pPS2ColorS
ent, __out_bcount_opt(*pcbPS2ColorRenderingIntent) PBYTE pBuffer, __inout PDWORD paceArray, _Inout_ PDWORD pcbPS2ColorSpaceArray, _Out_ PBOOL pbBinary);
pcbPS2ColorRenderingIntent); BOOL WINAPI GetPS2ColorRenderingIntent(_In_ HPROFILE hProfile, DWORD dwInt
BOOL WINAPI GetPS2ColorRenderingDictionary(__in HPROFILE hProfile, DWORD d ent, _Out_writes_bytes_opt_(*pcbPS2ColorRenderingIntent) PBYTE pBuffer, _Inout_
wIntent, __out_bcount_opt(*pcbPS2ColorRenderingDictionary) PBYTE pPS2ColorRender PDWORD pcbPS2ColorRenderingIntent);
ingDictionary, __inout PDWORD pcbPS2ColorRenderingDictionary, __inout PBOOL pbBi BOOL WINAPI GetPS2ColorRenderingDictionary(_In_ HPROFILE hProfile, DWORD d
nary); wIntent, _Out_writes_bytes_opt_(*pcbPS2ColorRenderingDictionary) PBYTE pPS2Color
BOOL WINAPI GetNamedProfileInfo(__in HPROFILE hProfile, __inout_bcount(siz RenderingDictionary, _Inout_ PDWORD pcbPS2ColorRenderingDictionary, _Inout_ PBOO
eof(NAMED_PROFILE_INFO)) PNAMED_PROFILE_INFO pNamedProfileInfo); L pbBinary);
BOOL WINAPI ConvertColorNameToIndex(__in HPROFILE hProfile, __in_ecount(dw BOOL WINAPI GetNamedProfileInfo(_In_ HPROFILE hProfile, _Inout_updates_byt
Count) PCOLOR_NAME paColorName, __out_ecount(dwCount) PDWORD paIndex, DWORD dwCo es_(sizeof(NAMED_PROFILE_INFO)) PNAMED_PROFILE_INFO pNamedProfileInfo);
unt); BOOL WINAPI ConvertColorNameToIndex(_In_ HPROFILE hProfile, _In_reads_(dwC
BOOL WINAPI ConvertIndexToColorName(__in HPROFILE hProfile, __in_ecount(dw ount) PCOLOR_NAME paColorName, _Out_writes_(dwCount) PDWORD paIndex, DWORD dwCou
Count) PDWORD paIndex, __out_ecount(dwCount) PCOLOR_NAME paColorName, DWORD dwCo nt);
unt); BOOL WINAPI ConvertIndexToColorName(_In_ HPROFILE hProfile, _In_reads_(dwC
BOOL WINAPI CreateDeviceLinkProfile(__in_ecount(nProfiles) PHPROFILE hProf ount) PDWORD paIndex, _Out_writes_(dwCount) PCOLOR_NAME paColorName, DWORD dwCou
ile, DWORD nProfiles, __in_ecount(nIntents) PDWORD padwIntent, DWORD nIntents, D nt);
WORD dwFlags, __deref_out_xcount(GlobalSize(*pProfileData)) PBYTE* pProfileData, BOOL WINAPI CreateDeviceLinkProfile(_In_reads_(nProfiles) PHPROFILE hProfi
DWORD indexPreferredCMM); le, DWORD nProfiles, _In_reads_(nIntents) PDWORD padwIntent, DWORD nIntents, DWO
HTRANSFORM WINAPI CreateColorTransformA(__in LPLOGCOLORSPACEA pLogColorSpace, __ RD dwFlags, _Outptr_result_buffer_(_Inexpressible_(GlobalSize(*pProfileData))) P
in HPROFILE hDestProfile, __in HPROFILE hTargetProfile, DWORD dwFlags); BYTE* pProfileData, DWORD indexPreferredCMM);
HTRANSFORM WINAPI CreateColorTransformW(__in LPLOGCOLORSPACEW pLogColorSpace, __ HTRANSFORM WINAPI CreateColorTransformA(_In_ LPLOGCOLORSPACEA pLogColorSpace, _I
in HPROFILE hDestProfile, __in HPROFILE hTargetProfile, DWORD dwFlags); n_ HPROFILE hDestProfile, _In_ HPROFILE hTargetProfile, DWORD dwFlags);
HTRANSFORM WINAPI CreateMultiProfileTransform(__in_ecount(nProfiles) PHPROFILE p HTRANSFORM WINAPI CreateColorTransformW(_In_ LPLOGCOLORSPACEW pLogColorSpace, _I
ahProfiles, DWORD nProfiles, __in_ecount(nIntents) PDWORD padwIntent, DWORD nInt n_ HPROFILE hDestProfile, _In_ HPROFILE hTargetProfile, DWORD dwFlags);
ents, DWORD dwFlags, DWORD indexPreferredCMM); HTRANSFORM WINAPI CreateMultiProfileTransform(_In_reads_(nProfiles) PHPROFILE pa
BOOL WINAPI DeleteColorTransform(__inout HTRANSFORM hxform); hProfiles, DWORD nProfiles, _In_reads_(nIntents) PDWORD padwIntent, DWORD nInten
BOOL WINAPI TranslateBitmapBits(__in HTRANSFORM hColorTransform, __in PVOI ts, DWORD dwFlags, DWORD indexPreferredCMM);
D pSrcBits, BMFORMAT bmInput, DWORD dwWidth, DWORD dwHeight, DWORD dwInputStride BOOL WINAPI DeleteColorTransform(_Inout_ HTRANSFORM hxform);
, __out PVOID pDestBits, BMFORMAT bmOutput, DWORD dwOutputStride, __in_opt __cal BOOL WINAPI TranslateBitmapBits(_In_ HTRANSFORM hColorTransform, _In_ PVOI
lback PBMCALLBACKFN pfnCallBack, __in_opt LPARAM ulCallbackData); D pSrcBits, BMFORMAT bmInput, DWORD dwWidth, DWORD dwHeight, DWORD dwInputStride
BOOL WINAPI CheckBitmapBits(__in HTRANSFORM hColorTransform, __in PVOID pS , _Out_ PVOID pDestBits, BMFORMAT bmOutput, DWORD dwOutputStride, _In_opt_ __cal
rcBits, BMFORMAT bmInput, DWORD dwWidth, DWORD dwHeight, DWORD dwStride, __out_e lback PBMCALLBACKFN pfnCallBack, _In_opt_ LPARAM ulCallbackData);
count(dwWidth * dwHeight) PBYTE paResult, __in_opt __callback PBMCALLBACKFN pfnC BOOL WINAPI CheckBitmapBits(_In_ HTRANSFORM hColorTransform, _In_ PVOID pS
allback, __in_opt LPARAM lpCallbackData); rcBits, BMFORMAT bmInput, DWORD dwWidth, DWORD dwHeight, DWORD dwStride, _Out_wr
BOOL WINAPI TranslateColors(__in HTRANSFORM hColorTransform, __in_ecount(n ites_(dwWidth * dwHeight) PBYTE paResult, _In_opt_ __callback PBMCALLBACKFN pfnC
Colors) PCOLOR paInputColors, DWORD nColors, COLORTYPE ctInput, __out_ecount(nCo allback, _In_opt_ LPARAM lpCallbackData);
lors) PCOLOR paOutputColors, COLORTYPE ctOutput); BOOL WINAPI TranslateColors(_In_ HTRANSFORM hColorTransform, _In_reads_(nC
BOOL WINAPI CheckColors(__in HTRANSFORM hColorTransform, __in_ecount(nColo olors) PCOLOR paInputColors, DWORD nColors, COLORTYPE ctInput, _Out_writes_(nCol
rs) PCOLOR paInputColors, DWORD nColors, COLORTYPE ctInput, __out_ecount(nColors ors) PCOLOR paOutputColors, COLORTYPE ctOutput);
) PBYTE paResult); BOOL WINAPI CheckColors(_In_ HTRANSFORM hColorTransform, _In_reads_(nColor
DWORD WINAPI GetCMMInfo(__in HTRANSFORM hColorTransform, __in DWORD); s) PCOLOR paInputColors, DWORD nColors, COLORTYPE ctInput, _Out_writes_(nColors)
BOOL WINAPI RegisterCMMA(__in_opt PCSTR pMachineName, __in DWORD cmmID, __ PBYTE paResult);
in PCSTR pCMMdll); DWORD WINAPI GetCMMInfo(_In_ HTRANSFORM hColorTransform, _In_ DWORD);
BOOL WINAPI RegisterCMMW(__in_opt PCWSTR pMachineName, __in DWORD cmmID, _ BOOL WINAPI RegisterCMMA(_In_opt_ PCSTR pMachineName, _In_ DWORD cmmID, _I
_in PCWSTR pCMMdll); n_ PCSTR pCMMdll);
BOOL WINAPI UnregisterCMMA(__in_opt PCSTR pMachineName, __in DWORD cmmID); BOOL WINAPI RegisterCMMW(_In_opt_ PCWSTR pMachineName, _In_ DWORD cmmID, _
BOOL WINAPI UnregisterCMMW(__in_opt PCWSTR pMachineName, __in DWORD cmmID) In_ PCWSTR pCMMdll);
; BOOL WINAPI UnregisterCMMA(_In_opt_ PCSTR pMachineName, _In_ DWORD cmmID);
BOOL WINAPI UnregisterCMMW(_In_opt_ PCWSTR pMachineName, _In_ DWORD cmmID)
;
BOOL WINAPI SelectCMM(DWORD dwCMMType); BOOL WINAPI SelectCMM(DWORD dwCMMType);
BOOL BOOL
WINAPI WINAPI
GetColorDirectoryA( GetColorDirectoryA(
__in_opt PCSTR pMachineName, _In_opt_ PCSTR pMachineName,
__out_bcount_part_opt(*pdwSize, *pdwSize) PSTR pBuffer, _Out_writes_bytes_to_opt_(*pdwSize, *pdwSize) PSTR pBuffer,
__inout PDWORD pdwSize _Inout_ PDWORD pdwSize
); );
BOOL BOOL
WINAPI WINAPI
GetColorDirectoryW( GetColorDirectoryW(
__in_opt PCWSTR pMachineName, _In_opt_ PCWSTR pMachineName,
__out_bcount_part_opt(*pdwSize, *pdwSize) PWSTR pBuffer, _Out_writes_bytes_to_opt_(*pdwSize, *pdwSize) PWSTR pBuffer,
__inout PDWORD pdwSize _Inout_ PDWORD pdwSize
); );
BOOL WINAPI InstallColorProfileA(__in_opt PCSTR pMachineName, __in PCSTR BOOL WINAPI InstallColorProfileA(_In_opt_ PCSTR pMachineName, _In_ PCSTR
pProfileName); pProfileName);
BOOL WINAPI InstallColorProfileW(__in_opt PCWSTR pMachineName, __in PCWSTR BOOL WINAPI InstallColorProfileW(_In_opt_ PCWSTR pMachineName, _In_ PCWSTR
pProfileName); pProfileName);
BOOL WINAPI UninstallColorProfileA(__in_opt PCSTR pMachineName, __in PCST BOOL WINAPI UninstallColorProfileA(_In_opt_ PCSTR pMachineName, _In_ PCST
R pProfileName, BOOL bDelete); R pProfileName, BOOL bDelete);
BOOL WINAPI UninstallColorProfileW(__in_opt PCWSTR pMachineName, __in PCWS BOOL WINAPI UninstallColorProfileW(_In_opt_ PCWSTR pMachineName, _In_ PCWS
TR pProfileName, BOOL bDelete); TR pProfileName, BOOL bDelete);
BOOL WINAPI EnumColorProfilesA(__in_opt PCSTR pMachineName, __in PENUMTYP BOOL WINAPI EnumColorProfilesA(_In_opt_ PCSTR pMachineName, _In_ PENUMTYP
EA pEnumRecord, __out_bcount_opt(*pdwSizeOfEnumerationBuffer) PBYTE pEnumeration EA pEnumRecord, _Out_writes_bytes_opt_(*pdwSizeOfEnumerationBuffer) PBYTE pEnume
Buffer, __inout PDWORD pdwSizeOfEnumerationBuffer, __out_opt PDWORD pnProfiles); rationBuffer, _Inout_ PDWORD pdwSizeOfEnumerationBuffer, _Out_opt_ PDWORD pnProf
BOOL WINAPI EnumColorProfilesW(__in_opt PCWSTR pMachineName, __in PENUMTYP iles);
EW pEnumRecord, __out_bcount_opt(*pdwSizeOfEnumerationBuffer) PBYTE pEnumeration BOOL WINAPI EnumColorProfilesW(_In_opt_ PCWSTR pMachineName, _In_ PENUMTYP
Buffer, __inout PDWORD pdwSizeOfEnumerationBuffer, __out_opt PDWORD pnProfiles); EW pEnumRecord, _Out_writes_bytes_opt_(*pdwSizeOfEnumerationBuffer) PBYTE pEnume
BOOL WINAPI SetStandardColorSpaceProfileA(__in_opt PCSTR pMachineName, DW rationBuffer, _Inout_ PDWORD pdwSizeOfEnumerationBuffer, _Out_opt_ PDWORD pnProf
ORD dwProfileID, __in PCSTR pProfilename); iles);
BOOL WINAPI SetStandardColorSpaceProfileW(__in_opt PCWSTR pMachineName, DW BOOL WINAPI SetStandardColorSpaceProfileA(_In_opt_ PCSTR pMachineName, DW
ORD dwProfileID, __in PCWSTR pProfileName); ORD dwProfileID, _In_ PCSTR pProfilename);
BOOL WINAPI SetStandardColorSpaceProfileW(_In_opt_ PCWSTR pMachineName, DW
ORD dwProfileID, _In_ PCWSTR pProfileName);
_Success_(return != FALSE)
BOOL BOOL
WINAPI WINAPI
GetStandardColorSpaceProfileA( GetStandardColorSpaceProfileA(
__in_opt PCSTR pMachineName, _In_opt_ PCSTR pMachineName,
__in DWORD dwSCS, _In_ DWORD dwSCS,
__out_bcount_part_opt(*pcbSize, *pcbSize) PSTR pBuffer, _Out_writes_bytes_to_opt_(*pcbSize, *pcbSize) PSTR pBuffer,
__inout PDWORD pcbSize _Inout_ PDWORD pcbSize
); );
_Success_(return != FALSE)
BOOL BOOL
WINAPI WINAPI
GetStandardColorSpaceProfileW( GetStandardColorSpaceProfileW(
__in_opt PCWSTR pMachineName, _In_opt_ PCWSTR pMachineName,
__in DWORD dwSCS, _In_ DWORD dwSCS,
__out_bcount_part_opt(*pcbSize, *pcbSize) PWSTR pBuffer, _Out_writes_bytes_to_opt_(*pcbSize, *pcbSize) PWSTR pBuffer,
__inout PDWORD pcbSize _Inout_ PDWORD pcbSize
); );
BOOL WINAPI AssociateColorProfileWithDeviceA(__in_opt PCSTR pMachineName, BOOL WINAPI AssociateColorProfileWithDeviceA(_In_opt_ PCSTR pMachineName,
__in PCSTR pProfileName, __in PCSTR pDeviceName); _In_ PCSTR pProfileName, _In_ PCSTR pDeviceName);
BOOL WINAPI AssociateColorProfileWithDeviceW(__in_opt PCWSTR pMachineName, BOOL WINAPI AssociateColorProfileWithDeviceW(_In_opt_ PCWSTR pMachineName,
__in PCWSTR pProfileName, __in PCWSTR pDeviceName); _In_ PCWSTR pProfileName, _In_ PCWSTR pDeviceName);
BOOL WINAPI DisassociateColorProfileFromDeviceA(__in_opt PCSTR pMachineNam BOOL WINAPI DisassociateColorProfileFromDeviceA(_In_opt_ PCSTR pMachineNam
e, __in PCSTR pProfileName, __in PCSTR pDeviceName); e, _In_ PCSTR pProfileName, _In_ PCSTR pDeviceName);
BOOL WINAPI DisassociateColorProfileFromDeviceW(__in_opt PCWSTR pMachineNa BOOL WINAPI DisassociateColorProfileFromDeviceW(_In_opt_ PCWSTR pMachineNa
me, __in PCWSTR pProfileName, __in PCWSTR pDeviceName); me, _In_ PCWSTR pProfileName, _In_ PCWSTR pDeviceName);
BOOL WINAPI SetupColorMatchingW(__inout_bcount(sizeof(COLORMATCHSETUPW)) P BOOL WINAPI SetupColorMatchingW(_Inout_updates_bytes_(sizeof(COLORMATCHSET
COLORMATCHSETUPW pcms); UPW)) PCOLORMATCHSETUPW pcms);
BOOL WINAPI SetupColorMatchingA(__inout_bcount(sizeof(COLORMATCHSETUPA)) P BOOL WINAPI SetupColorMatchingA(_Inout_updates_bytes_(sizeof(COLORMATCHSET
COLORMATCHSETUPA pcms); UPA)) PCOLORMATCHSETUPA pcms);
#if NTDDI_VERSION >= NTDDI_VISTA #if NTDDI_VERSION >= NTDDI_VISTA
BOOL BOOL
WINAPI WINAPI
WcsAssociateColorProfileWithDevice( WcsAssociateColorProfileWithDevice(
__in WCS_PROFILE_MANAGEMENT_SCOPE scope, _In_ WCS_PROFILE_MANAGEMENT_SCOPE scope,
__in PCWSTR pProfileName, _In_ PCWSTR pProfileName,
__in PCWSTR pDeviceName _In_ PCWSTR pDeviceName
); );
BOOL BOOL
WINAPI WINAPI
WcsDisassociateColorProfileFromDevice( WcsDisassociateColorProfileFromDevice(
__in WCS_PROFILE_MANAGEMENT_SCOPE scope, _In_ WCS_PROFILE_MANAGEMENT_SCOPE scope,
__in PCWSTR pProfileName, _In_ PCWSTR pProfileName,
__in PCWSTR pDeviceName _In_ PCWSTR pDeviceName
); );
BOOL BOOL
WINAPI WINAPI
WcsEnumColorProfilesSize( WcsEnumColorProfilesSize(
__in WCS_PROFILE_MANAGEMENT_SCOPE scope, _In_ WCS_PROFILE_MANAGEMENT_SCOPE scope,
__in PENUMTYPEW pEnumRecord, _In_ PENUMTYPEW pEnumRecord,
__out PDWORD pdwSize _Out_ PDWORD pdwSize
); );
BOOL BOOL
WINAPI WINAPI
WcsEnumColorProfiles( WcsEnumColorProfiles(
__in WCS_PROFILE_MANAGEMENT_SCOPE scope, _In_ WCS_PROFILE_MANAGEMENT_SCOPE scope,
__in PENUMTYPEW pEnumRecord, _In_ PENUMTYPEW pEnumRecord,
__out_bcount(dwSize) PBYTE pBuffer, _Out_writes_bytes_(dwSize) PBYTE pBuffer,
__in DWORD dwSize, _In_ DWORD dwSize,
__out_opt PDWORD pnProfiles _Out_opt_ PDWORD pnProfiles
); );
BOOL BOOL
WINAPI WINAPI
WcsGetDefaultColorProfileSize( WcsGetDefaultColorProfileSize(
__in WCS_PROFILE_MANAGEMENT_SCOPE scope, _In_ WCS_PROFILE_MANAGEMENT_SCOPE scope,
__in_opt PCWSTR pDeviceName, _In_opt_ PCWSTR pDeviceName,
__in COLORPROFILETYPE cptColorProfileType, _In_ COLORPROFILETYPE cptColorProfileType,
__in COLORPROFILESUBTYPE cpstColorProfileSubType, _In_ COLORPROFILESUBTYPE cpstColorProfileSubType,
__in DWORD dwProfileID, _In_ DWORD dwProfileID,
__out PDWORD pcbProfileName _Out_ PDWORD pcbProfileName
); );
BOOL BOOL
WINAPI WINAPI
WcsGetDefaultColorProfile( WcsGetDefaultColorProfile(
__in WCS_PROFILE_MANAGEMENT_SCOPE scope, _In_ WCS_PROFILE_MANAGEMENT_SCOPE scope,
__in_opt PCWSTR pDeviceName, _In_opt_ PCWSTR pDeviceName,
__in COLORPROFILETYPE cptColorProfileType, _In_ COLORPROFILETYPE cptColorProfileType,
__in COLORPROFILESUBTYPE cpstColorProfileSubType, _In_ COLORPROFILESUBTYPE cpstColorProfileSubType,
__in DWORD dwProfileID, _In_ DWORD dwProfileID,
__in DWORD cbProfileName, _In_ DWORD cbProfileName,
__out_bcount(cbProfileName) LPWSTR pProfileName _Out_writes_bytes_(cbProfileName) LPWSTR pProfileName
); );
BOOL BOOL
WINAPI WINAPI
WcsSetDefaultColorProfile( WcsSetDefaultColorProfile(
__in WCS_PROFILE_MANAGEMENT_SCOPE scope, _In_ WCS_PROFILE_MANAGEMENT_SCOPE scope,
__in_opt PCWSTR pDeviceName, _In_opt_ PCWSTR pDeviceName,
__in COLORPROFILETYPE cptColorProfileType, _In_ COLORPROFILETYPE cptColorProfileType,
__in COLORPROFILESUBTYPE cpstColorProfileSubType, _In_ COLORPROFILESUBTYPE cpstColorProfileSubType,
__in DWORD dwProfileID, _In_ DWORD dwProfileID,
__in_opt LPCWSTR pProfileName _In_opt_ LPCWSTR pProfileName
); );
BOOL BOOL
WINAPI WINAPI
WcsSetDefaultRenderingIntent( WcsSetDefaultRenderingIntent(
__in WCS_PROFILE_MANAGEMENT_SCOPE scope, _In_ WCS_PROFILE_MANAGEMENT_SCOPE scope,
__in DWORD dwRenderingIntent _In_ DWORD dwRenderingIntent
); );
BOOL BOOL
WINAPI WINAPI
WcsGetDefaultRenderingIntent( WcsGetDefaultRenderingIntent(
__in WCS_PROFILE_MANAGEMENT_SCOPE scope, _In_ WCS_PROFILE_MANAGEMENT_SCOPE scope,
__out PDWORD pdwRenderingIntent _Out_ PDWORD pdwRenderingIntent
); );
BOOL BOOL
WINAPI WINAPI
WcsGetUsePerUserProfiles( WcsGetUsePerUserProfiles(
__in LPCWSTR pDeviceName, _In_ LPCWSTR pDeviceName,
__in DWORD dwDeviceClass, _In_ DWORD dwDeviceClass,
__out PBOOL pUsePerUserProfiles _Out_ PBOOL pUsePerUserProfiles
); );
BOOL BOOL
WINAPI WINAPI
WcsSetUsePerUserProfiles( WcsSetUsePerUserProfiles(
__in LPCWSTR pDeviceName, _In_ LPCWSTR pDeviceName,
__in DWORD dwDeviceClass, _In_ DWORD dwDeviceClass,
__in BOOL usePerUserProfiles _In_ BOOL usePerUserProfiles
); );
BOOL BOOL
WINAPI WINAPI
WcsTranslateColors( WcsTranslateColors(
__in HTRANSFORM hColorTransform, _In_ HTRANSFORM hColorTransform,
__in DWORD nColors, _In_ DWORD nColors,
__in DWORD nInputChannels, _In_ DWORD nInputChannels,
__in COLORDATATYPE cdtInput, _In_ COLORDATATYPE cdtInput,
__in DWORD cbInput, _In_ DWORD cbInput,
__in_bcount(cbInput) PVOID pInputData, _In_reads_bytes_(cbInput) PVOID pInputData,
__in DWORD nOutputChannels, _In_ DWORD nOutputChannels,
__in COLORDATATYPE cdtOutput, _In_ COLORDATATYPE cdtOutput,
__in DWORD cbOutput, _In_ DWORD cbOutput,
__out_bcount(cbOutput) PVOID pOutputData _Out_writes_bytes_(cbOutput) PVOID pOutputData
); );
BOOL BOOL
WINAPI WINAPI
WcsCheckColors( WcsCheckColors(
__in HTRANSFORM hColorTransform, _In_ HTRANSFORM hColorTransform,
__in DWORD nColors, _In_ DWORD nColors,
__in DWORD nInputChannels, _In_ DWORD nInputChannels,
__in COLORDATATYPE cdtInput, _In_ COLORDATATYPE cdtInput,
__in DWORD cbInput, _In_ DWORD cbInput,
__in_bcount(cbInput) PVOID pInputData, _In_reads_bytes_(cbInput) PVOID pInputData,
__out_ecount(nColors) PBYTE paResult _Out_writes_(nColors) PBYTE paResult
); );
// //
// The APIs SetupColorMatchingA and SetupColorMatchingW are // The APIs SetupColorMatchingA and SetupColorMatchingW are
// deprecated as of Windows Vista. The implementations in icmui.dll // deprecated as of Windows Vista. The implementations in icmui.dll
// now SetLastError to ERROR_NOT_SUPPORTED, and return FALSE. // now SetLastError to ERROR_NOT_SUPPORTED, and return FALSE.
// //
#pragma deprecated (SetupColorMatchingA) #pragma deprecated (SetupColorMatchingA)
#pragma deprecated (SetupColorMatchingW) #pragma deprecated (SetupColorMatchingW)
skipping to change at line 1013 skipping to change at line 1019
// Pointer to ICC color profile data. // Pointer to ICC color profile data.
// //
typedef PVOID LPDEVCHARACTER; typedef PVOID LPDEVCHARACTER;
// //
// CMM API definition // CMM API definition
// //
BOOL WINAPI CMCheckColors( BOOL WINAPI CMCheckColors(
__in HCMTRANSFORM hcmTransform, // transform handle _In_ HCMTRANSFORM hcmTransform, // transform handle
__in_ecount(nColors) LPCOLOR lpaInputColors, // array of COLORs _In_reads_(nColors) LPCOLOR lpaInputColors, // array of COLORs
DWORD nColors, // COLOR array size DWORD nColors, // COLOR array size
COLORTYPE ctInput, // input color type COLORTYPE ctInput, // input color type
__out_ecount(nColors) LPBYTE lpaResult // buffer for results _Out_writes_(nColors) LPBYTE lpaResult // buffer for results
); );
BOOL WINAPI CMCheckRGBs( BOOL WINAPI CMCheckRGBs(
__in HCMTRANSFORM hcmTransform, // transform _In_ HCMTRANSFORM hcmTransform, // transform
handle handle
__in LPVOID lpSrcBits, // source bi _In_ LPVOID lpSrcBits, // source bi
tmap bits tmap bits
BMFORMAT bmInput, // source bi tmap format BMFORMAT bmInput, // source bi tmap format
DWORD dwWidth, // source bi tmap width DWORD dwWidth, // source bi tmap width
DWORD dwHeight, // source bi tmap hight DWORD dwHeight, // source bi tmap hight
DWORD dwStride, // source bi tmap delta DWORD dwStride, // source bi tmap delta
__out_ecount(dwWidth * dwHeight) LPBYTE lpaResult, // buffer fo r results _Out_writes_(dwWidth * dwHeight) LPBYTE lpaResult, // buffer fo r results
__callback PBMCALLBACKFN pfnCallback, // pointer t o callback function __callback PBMCALLBACKFN pfnCallback, // pointer t o callback function
LPARAM ulCallbackData // caller-de fined parameter to callback LPARAM ulCallbackData // caller-de fined parameter to callback
); );
BOOL WINAPI CMConvertColorNameToIndex( BOOL WINAPI CMConvertColorNameToIndex(
__in HPROFILE hProfile, _In_ HPROFILE hProfile,
__in_ecount(dwCount) PCOLOR_NAME paColorName, _In_reads_(dwCount) PCOLOR_NAME paColorName,
__out_ecount(dwCount) PDWORD paIndex, _Out_writes_(dwCount) PDWORD paIndex,
DWORD dwCount DWORD dwCount
); );
BOOL WINAPI CMConvertIndexToColorName( BOOL WINAPI CMConvertIndexToColorName(
__in HPROFILE hProfile, _In_ HPROFILE hProfile,
__in_ecount(dwCount) PDWORD paIndex, _In_reads_(dwCount) PDWORD paIndex,
__out_ecount(dwCount) PCOLOR_NAME paColorName, _Out_writes_(dwCount) PCOLOR_NAME paColorName,
DWORD dwCount DWORD dwCount
); );
BOOL WINAPI CMCreateDeviceLinkProfile( BOOL WINAPI CMCreateDeviceLinkProfile(
__in_ecount(nProfiles) PHPROFILE pahProfiles, // array of profile handles _In_reads_(nProfiles) PHPROFILE pahProfiles, // array of profile handles
DWORD nProfiles, // profile handle array size DWORD nProfiles, // profile handle array size
__in_ecount(nIntents) PDWORD padwIntents, // array of rendering intents _In_reads_(nIntents) PDWORD padwIntents, // array of rendering intents
DWORD nIntents, // intent array size DWORD nIntents, // intent array size
DWORD dwFlags, // transform creation flags DWORD dwFlags, // transform creation flags
__deref_out_xcount(GlobalSize(*lpProfileData)) LPBYTE *lpProfileData // pointer to pointer to buffer _Outptr_result_buffer_(_Inexpressible_(GlobalSize(*lpProfileData))) LPBYTE *lpProfileData // pointer to pointer to buffer
); );
HCMTRANSFORM WINAPI CMCreateMultiProfileTransform( HCMTRANSFORM WINAPI CMCreateMultiProfileTransform(
__in_ecount(nProfiles) PHPROFILE pahProfiles, // array of profile handles _In_reads_(nProfiles) PHPROFILE pahProfiles, // array of profile handles
DWORD nProfiles, // profile handle array siz e DWORD nProfiles, // profile handle array siz e
__in_ecount(nIntents) PDWORD padwIntents, // array of rendering inten ts _In_reads_(nIntents) PDWORD padwIntents, // array of rendering intent s
DWORD nIntents, // intent array size DWORD nIntents, // intent array size
DWORD dwFlags // transform creation flags DWORD dwFlags // transform creation flags
); );
BOOL WINAPI CMCreateProfileW( BOOL WINAPI CMCreateProfileW(
__inout LPLOGCOLORSPACEW lpColorSpace, // pointer to a logical color space _Inout_ LPLOGCOLORSPACEW lpColorSpace, // pointer to a logical color space
__out LPDEVCHARACTER *lpProfileData // pointer to pointer to buffer _Out_ LPDEVCHARACTER *lpProfileData // pointer to pointer to buffer
); );
// //
// The CMM APIs CMCreateTransform, CMCreateTransformW, and CMCreateTransformExt are // The CMM APIs CMCreateTransform, CMCreateTransformW, and CMCreateTransformExt are
// deprecated as of Windows Vista, and CMM implementors are no longer required t o // deprecated as of Windows Vista, and CMM implementors are no longer required t o
// implement them. The implementations in the default CMM (icm32.dll) in Windows Vista // implement them. The implementations in the default CMM (icm32.dll) in Windows Vista
// now SetLastError to ERROR_NOT_SUPPORTED, and return an invalid transform hand le // now SetLastError to ERROR_NOT_SUPPORTED, and return an invalid transform hand le
// (a value < 256). // (a value < 256).
// //
HCMTRANSFORM WINAPI CMCreateTransform( HCMTRANSFORM WINAPI CMCreateTransform(
__in LPLOGCOLORSPACEA lpColorSpace, // pointer to logical color space _In_ LPLOGCOLORSPACEA lpColorSpace, // pointer to logical color space
__in LPDEVCHARACTER lpDevCharacter, // profile data _In_ LPDEVCHARACTER lpDevCharacter, // profile data
__in LPDEVCHARACTER lpTargetDevCharacter // target profile data _In_ LPDEVCHARACTER lpTargetDevCharacter // target profile data
); );
HCMTRANSFORM WINAPI CMCreateTransformW( HCMTRANSFORM WINAPI CMCreateTransformW(
__in LPLOGCOLORSPACEW lpColorSpace, // pointer to logical color space _In_ LPLOGCOLORSPACEW lpColorSpace, // pointer to logical color space
__in LPDEVCHARACTER lpDevCharacter, // profile data _In_ LPDEVCHARACTER lpDevCharacter, // profile data
__in LPDEVCHARACTER lpTargetDevCharacter // target profile data _In_ LPDEVCHARACTER lpTargetDevCharacter // target profile data
); );
HCMTRANSFORM WINAPI CMCreateTransformExt( HCMTRANSFORM WINAPI CMCreateTransformExt(
__in LPLOGCOLORSPACEA lpColorSpace, // pointer to logical color space _In_ LPLOGCOLORSPACEA lpColorSpace, // pointer to logical color space
__in LPDEVCHARACTER lpDevCharacter, // profile data _In_ LPDEVCHARACTER lpDevCharacter, // profile data
__in LPDEVCHARACTER lpTargetDevCharacter, // target profile data _In_ LPDEVCHARACTER lpTargetDevCharacter, // target profile data
__in DWORD dwFlags // creation flags _In_ DWORD dwFlags // creation flags
); );
// //
// The CMM APIs CMCheckColorsInGamut, CMCreateProfile, CMTranslateRGB and CMTran slateRGBs are // The CMM APIs CMCheckColorsInGamut, CMCreateProfile, CMTranslateRGB and CMTran slateRGBs are
// deprecated as of Windows 7, and CMM implementors are no longer required to // deprecated as of Windows 7, and CMM implementors are no longer required to
// implement them. The implementations in the default CMM (icm32.dll) in Windows 7 // implement them. The implementations in the default CMM (icm32.dll) in Windows 7
// now SetLastError to ERROR_NOT_SUPPORTED, and return FALSE. // now SetLastError to ERROR_NOT_SUPPORTED, and return FALSE.
// //
BOOL WINAPI CMCheckColorsInGamut( BOOL WINAPI CMCheckColorsInGamut(
__in HCMTRANSFORM hcmTransform, // transform handle _In_ HCMTRANSFORM hcmTransform, // transform handle
__in_ecount(nCount) RGBTRIPLE *lpaRGBTriple, // RGB triple array _In_reads_(nCount) RGBTRIPLE *lpaRGBTriple, // RGB triple array
__out_bcount(nCount) LPBYTE lpaResult, // buffer for results _Out_writes_bytes_(nCount) LPBYTE lpaResult, // buffer for resu
lts
UINT nCount // result buffer size UINT nCount // result buffer size
); );
BOOL WINAPI CMCreateProfile( BOOL WINAPI CMCreateProfile(
__inout LPLOGCOLORSPACEA lpColorSpace, // pointer to a logical color space _Inout_ LPLOGCOLORSPACEA lpColorSpace, // pointer to a logical color space
__out LPDEVCHARACTER *lpProfileData // pointer to pointer to buffer _Out_ LPDEVCHARACTER *lpProfileData // pointer to pointer to buffer
); );
BOOL WINAPI CMTranslateRGB( BOOL WINAPI CMTranslateRGB(
__in HCMTRANSFORM hcmTransform, _In_ HCMTRANSFORM hcmTransform,
COLORREF ColorRef, COLORREF ColorRef,
__out LPCOLORREF lpColorRef, _Out_ LPCOLORREF lpColorRef,
DWORD dwFlags DWORD dwFlags
); );
BOOL WINAPI CMTranslateRGBs( BOOL WINAPI CMTranslateRGBs(
__in HCMTRANSFORM hcmTransform, _In_ HCMTRANSFORM hcmTransform,
__in LPVOID lpSrcBits, _In_ LPVOID lpSrcBits,
BMFORMAT bmInput, BMFORMAT bmInput,
DWORD dwWidth, DWORD dwWidth,
DWORD dwHeight, DWORD dwHeight,
DWORD dwStride, DWORD dwStride,
__out LPVOID lpDestBits, _Out_ LPVOID lpDestBits,
BMFORMAT bmOutput, BMFORMAT bmOutput,
DWORD dwTranslateDirection DWORD dwTranslateDirection
); );
#if NTDDI_VERSION >= NTDDI_VISTA #if NTDDI_VERSION >= NTDDI_VISTA
#pragma deprecated (CMCreateTransform) #pragma deprecated (CMCreateTransform)
#pragma deprecated (CMCreateTransformW) #pragma deprecated (CMCreateTransformW)
#pragma deprecated (CMCreateTransformExt) #pragma deprecated (CMCreateTransformExt)
#pragma deprecated (CMCheckColorsInGamut) #pragma deprecated (CMCheckColorsInGamut)
#pragma deprecated (CMCreateProfile) #pragma deprecated (CMCreateProfile)
#pragma deprecated (CMTranslateRGB) #pragma deprecated (CMTranslateRGB)
#endif // NTDDI_VERSION >= NTDDI_VISTA #endif // NTDDI_VERSION >= NTDDI_VISTA
#if NTDDI_VERSION > NTDDI_VISTA #if NTDDI_VERSION > NTDDI_VISTA
#pragma deprecated (CMTranslateRGBs) #pragma deprecated (CMTranslateRGBs)
#endif // NTDDI_VERSION > NTDDI_VISTA #endif // NTDDI_VERSION > NTDDI_VISTA
HCMTRANSFORM WINAPI CMCreateTransformExtW( HCMTRANSFORM WINAPI CMCreateTransformExtW(
__in LPLOGCOLORSPACEW lpColorSpace, // pointer to logical color _In_ LPLOGCOLORSPACEW lpColorSpace, // pointer to logical color
space space
__in LPDEVCHARACTER lpDevCharacter, // profile data _In_ LPDEVCHARACTER lpDevCharacter, // profile data
__in LPDEVCHARACTER lpTargetDevCharacter, // target profile data _In_ LPDEVCHARACTER lpTargetDevCharacter, // target profile data
__in DWORD dwFlags // creation flags _In_ DWORD dwFlags // creation flags
); );
BOOL WINAPI CMDeleteTransform( BOOL WINAPI CMDeleteTransform(
__inout HCMTRANSFORM hcmTransform // transform handle to be dele ted. _Inout_ HCMTRANSFORM hcmTransform // transform handle to be dele ted.
); );
DWORD WINAPI CMGetInfo( DWORD WINAPI CMGetInfo(
DWORD dwInfo DWORD dwInfo
); );
BOOL WINAPI CMGetNamedProfileInfo( BOOL WINAPI CMGetNamedProfileInfo(
__in HPROFILE hProfile, // profile handle _In_ HPROFILE hProfile, // profile handle
__inout PNAMED_PROFILE_INFO pNamedProfileInfo // pointer to named profile in _Inout_ PNAMED_PROFILE_INFO pNamedProfileInfo // pointer to named profile in
fo fo
); );
BOOL WINAPI CMGetPS2ColorRenderingDictionary( BOOL WINAPI CMGetPS2ColorRenderingDictionary(
__in HPROFILE hProfile, _In_ HPROFILE hProfile,
DWORD dwIntent, DWORD dwIntent,
__out_bcount_opt(*lpcbSize) LPBYTE lpBuffer, _Out_writes_bytes_opt_(*lpcbSize) LPBYTE lpBuffer,
__inout LPDWORD lpcbSize, _Inout_ LPDWORD lpcbSize,
__inout LPBOOL lpbBinary _Inout_ LPBOOL lpbBinary
); );
BOOL WINAPI CMGetPS2ColorRenderingIntent( BOOL WINAPI CMGetPS2ColorRenderingIntent(
__in HPROFILE hProfile, _In_ HPROFILE hProfile,
DWORD dwIntent, DWORD dwIntent,
__out_bcount_opt(*lpcbSize) LPBYTE lpBuffer, _Out_writes_bytes_opt_(*lpcbSize) LPBYTE lpBuffer,
__inout LPDWORD lpcbSize _Inout_ LPDWORD lpcbSize
); );
BOOL WINAPI CMGetPS2ColorSpaceArray( BOOL WINAPI CMGetPS2ColorSpaceArray(
__in HPROFILE hProfile, _In_ HPROFILE hProfile,
DWORD dwIntent, DWORD dwIntent,
DWORD dwCSAType, DWORD dwCSAType,
__out_bcount_opt(*lpcbSize) LPBYTE lpBuffer, _Out_writes_bytes_opt_(*lpcbSize) LPBYTE lpBuffer,
__inout LPDWORD lpcbSize, _Inout_ LPDWORD lpcbSize,
__inout LPBOOL lpbBinary _Inout_ LPBOOL lpbBinary
); );
BOOL WINAPI CMIsProfileValid( BOOL WINAPI CMIsProfileValid(
__in HPROFILE hProfile, // proflle handle _In_ HPROFILE hProfile, // proflle handle
__out LPBOOL lpbValid // buffer for result. _Out_ LPBOOL lpbValid // buffer for result.
); );
BOOL WINAPI CMTranslateColors( BOOL WINAPI CMTranslateColors(
__in HCMTRANSFORM hcmTransform, // transform handl _In_ HCMTRANSFORM hcmTransform, // transform handl
e e
__in_ecount(nColors) LPCOLOR lpaInputColors, // pointer to inpu _In_reads_(nColors) LPCOLOR lpaInputColors, // pointer to input
t color array color array
DWORD nColors, // number of color in color array DWORD nColors, // number of color in color array
COLORTYPE ctInput, // input color typ e COLORTYPE ctInput, // input color typ e
__out_ecount(nColors) LPCOLOR lpaOutputColors, // pointer to outp ut color array _Out_writes_(nColors) LPCOLOR lpaOutputColors, // pointer to outp ut color array
COLORTYPE ctOutput // output color ty pe COLORTYPE ctOutput // output color ty pe
); );
BOOL WINAPI CMTranslateRGBsExt( BOOL WINAPI CMTranslateRGBsExt(
__in HCMTRANSFORM hcmTransform, _In_ HCMTRANSFORM hcmTransform,
__in LPVOID lpSrcBits, _In_ LPVOID lpSrcBits,
BMFORMAT bmInput, BMFORMAT bmInput,
DWORD dwWidth, DWORD dwWidth,
DWORD dwHeight, DWORD dwHeight,
DWORD dwInputStride, DWORD dwInputStride,
__out LPVOID lpDestBits, _Out_ LPVOID lpDestBits,
BMFORMAT bmOutput, BMFORMAT bmOutput,
DWORD dwOutputStride, DWORD dwOutputStride,
__callback LPBMCALLBACKFN lpfnCallback, __callback LPBMCALLBACKFN lpfnCallback,
LPARAM ulCallbackData LPARAM ulCallbackData
); );
#if NTDDI_VERSION >= NTDDI_VISTA #if NTDDI_VERSION >= NTDDI_VISTA
// //
// Windows Color System APIs // Windows Color System APIs
skipping to change at line 1232 skipping to change at line 1238
// //
// Passed in as a bit-flag for dwFlags, this instructs WcsOpenColorProfile // Passed in as a bit-flag for dwFlags, this instructs WcsOpenColorProfile
// to ignore any embedded Wcs information in the WcsProfiles tag if the input // to ignore any embedded Wcs information in the WcsProfiles tag if the input
// profile is an ICC one. // profile is an ICC one.
// //
#define DONT_USE_EMBEDDED_WCS_PROFILES 0x00000001L #define DONT_USE_EMBEDDED_WCS_PROFILES 0x00000001L
HPROFILE WINAPI WcsOpenColorProfileA( HPROFILE WINAPI WcsOpenColorProfileA(
__in PPROFILE pCDMPProfile, _In_ PPROFILE pCDMPProfile,
__in_opt PPROFILE pCAMPProfile, _In_opt_ PPROFILE pCAMPProfile,
__in_opt PPROFILE pGMMPProfile, _In_opt_ PPROFILE pGMMPProfile,
__in DWORD dwDesireAccess, _In_ DWORD dwDesireAccess,
__in DWORD dwShareMode, _In_ DWORD dwShareMode,
__in DWORD dwCreationMode, _In_ DWORD dwCreationMode,
__in DWORD dwFlags _In_ DWORD dwFlags
); );
HPROFILE WINAPI WcsOpenColorProfileW( HPROFILE WINAPI WcsOpenColorProfileW(
__in PPROFILE pCDMPProfile, _In_ PPROFILE pCDMPProfile,
__in_opt PPROFILE pCAMPProfile, _In_opt_ PPROFILE pCAMPProfile,
__in_opt PPROFILE pGMMPProfile, _In_opt_ PPROFILE pGMMPProfile,
__in DWORD dwDesireAccess, _In_ DWORD dwDesireAccess,
__in DWORD dwShareMode, _In_ DWORD dwShareMode,
__in DWORD dwCreationMode, _In_ DWORD dwCreationMode,
__in DWORD dwFlags _In_ DWORD dwFlags
); );
// //
// Flags for WcsCreateIccProfile. // Flags for WcsCreateIccProfile.
// //
// By default, the original WCS profiles used for the conversion are embedded // By default, the original WCS profiles used for the conversion are embedded
// in the output ICC profile in a WcsProfilesTag, resulting in an ICC profile // in the output ICC profile in a WcsProfilesTag, resulting in an ICC profile
// which is compatible with ICC software, yet still has the original WCS // which is compatible with ICC software, yet still has the original WCS
// profile data available to code which is designed to parse it. // profile data available to code which is designed to parse it.
// //
skipping to change at line 1275 skipping to change at line 1281
// //
// These flags should be ORed in with one of the four ICC INTENT_ flags // These flags should be ORed in with one of the four ICC INTENT_ flags
// Thus, they must use different bits from the INTENT_ flags. Currrently, the IN TENT_ flags // Thus, they must use different bits from the INTENT_ flags. Currrently, the IN TENT_ flags
// use the values 0-3, or the low order two bits. Hence we use the third lowest bit. // use the values 0-3, or the low order two bits. Hence we use the third lowest bit.
// //
#define WCS_DEFAULT 0x00000000L #define WCS_DEFAULT 0x00000000L
#define WCS_ICCONLY 0x00010000L #define WCS_ICCONLY 0x00010000L
HPROFILE WINAPI WcsCreateIccProfile( HPROFILE WINAPI WcsCreateIccProfile(
__in HPROFILE hWcsProfile, _In_ HPROFILE hWcsProfile,
__in DWORD dwOptions _In_ DWORD dwOptions
); );
// //
// ICC TAGTYPE for the embedded Wcs information. // ICC TAGTYPE for the embedded Wcs information.
// //
#define WCS_EMBEDDED_TAG_SIGNATURE 'MS00' #define WCS_EMBEDDED_TAG_SIGNATURE 'MS00'
#define WCS_EMBEDDED_TAG_TYPE_SIGNATURE 'MS10' #define WCS_EMBEDDED_TAG_TYPE_SIGNATURE 'MS10'
#endif // NTDDI_VERSION >= NTDDI_VISTA #endif // NTDDI_VERSION >= NTDDI_VISTA
#if NTDDI_VERSION >= NTDDI_WIN7 #if NTDDI_VERSION >= NTDDI_WIN7
BOOL WcsGetCalibrationManagementState ( BOOL WcsGetCalibrationManagementState (
__out BOOL *pbIsEnabled _Out_ BOOL *pbIsEnabled
); );
BOOL WcsSetCalibrationManagementState ( BOOL WcsSetCalibrationManagementState (
__in BOOL bIsEnabled _In_ BOOL bIsEnabled
); );
#endif // NTDDI_VERSION >= NTDDI_WIN7 #endif // NTDDI_VERSION >= NTDDI_WIN7
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */
#pragma endregion
#endif // ifndef _ICM_H_ #endif // ifndef _ICM_H_
 End of changes. 64 change blocks. 
277 lines changed or deleted 291 lines changed or added

This html diff was produced by rfcdiff 1.41.