mscms: Use correct standard color space constants in GetStandardColorSpaceProfileW.

This commit is contained in:
Hans Leidekker 2009-09-02 11:42:34 +02:00 committed by Alexandre Julliard
parent 51d40d823a
commit b6ffca256e
2 changed files with 6 additions and 2 deletions

View File

@ -660,8 +660,9 @@ BOOL WINAPI GetStandardColorSpaceProfileW( PCWSTR machine, DWORD id, PWSTR profi
GetColorDirectoryW( machine, rgbprofile, &len );
switch (id)
{
case SPACE_RGB: /* 'RGB ' */
case LCS_sRGB:
case LCS_WINDOWS_COLOR_SPACE: /* FIXME */
{
lstrcatW( rgbprofile, rgbprofilefile );
len = lstrlenW( rgbprofile ) * sizeof(WCHAR);

View File

@ -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