mscms: Use correct standard color space constants in GetStandardColorSpaceProfileW.
This commit is contained in:
parent
51d40d823a
commit
b6ffca256e
|
@ -660,8 +660,9 @@ BOOL WINAPI GetStandardColorSpaceProfileW( PCWSTR machine, DWORD id, PWSTR profi
|
|||
GetColorDirectoryW( machine, rgbprofile, &len );
|
||||
|
||||
switch (id)
|
||||
case LCS_sRGB:
|
||||
case LCS_WINDOWS_COLOR_SPACE: /* FIXME */
|
||||
{
|
||||
case SPACE_RGB: /* 'RGB ' */
|
||||
lstrcatW( rgbprofile, rgbprofilefile );
|
||||
len = lstrlenW( rgbprofile ) * sizeof(WCHAR);
|
||||
|
||||
|
|
|
@ -151,6 +151,9 @@ typedef LONG FXPT2DOT30, *LPFXPT2DOT30;
|
|||
typedef LONG LCSCSTYPE;
|
||||
typedef LONG LCSGAMUTMATCH;
|
||||
|
||||
#define LCS_sRGB 0x73524742 /* 'sRGB' */
|
||||
#define LCS_WINDOWS_COLOR_SPACE 0x57696e20 /* 'Win ' */
|
||||
|
||||
#define LCS_CALIBRATED_RGB 0x00000000L
|
||||
#define LCS_DEVICE_RGB 0x00000001L
|
||||
#define LCS_DEVICE_CMYK 0x00000002L
|
||||
|
|
Loading…
Reference in New Issue