# HG changeset patch # User Alexei Podtelezhnikov # Parent 241083848f80b096af18f034dd4f0e0ce840cf55 Add missing definitions. * include/wingdi.h (BI_ALPHABITFIELDS, BI_CMYK, BI_CMYKRLE4) (BI_CMYKRLE8, DIB_PAL_INDICES, OUT_SCREEN_OUTLINE_PRECIS) (BS_MONOPATTERN, LAYOUT_LTR, LCS_sRGB, LCS_WINDOWS_COLOR_SPACE) (PROFILE_EMBEDDED, LCS_PROFILE_EMBEDDED, PROFILE_LINKED) (LCS_PROFILE_LINKED, LCS_GM_ABS_COLORIMETRIC): Define. diff --git a/w32api/include/wingdi.h b/w32api/include/wingdi.h --- a/w32api/include/wingdi.h +++ b/w32api/include/wingdi.h @@ -59,10 +59,14 @@ typedef BYTE BCHAR; #define BI_RLE8 1 #define BI_RLE4 2 #define BI_BITFIELDS 3 #define BI_JPEG 4 #define BI_PNG 5 +#define BI_ALPHABITFIELDS 6 +#define BI_CMYK 11 +#define BI_CMYKRLE8 12 +#define BI_CMYKRLE4 13 #define LF_FACESIZE 32 #define LF_FULLFACESIZE 64 #define CA_NEGATIVE 1 #define CA_LOG_FILTER 2 #define ILLUMINANT_DEVICE_DEFAULT 0 @@ -345,12 +349,13 @@ typedef BYTE BCHAR; #define NULLREGION 1 #define SIMPLEREGION 2 #define COMPLEXREGION 3 #define ERROR 0 #define CBM_INIT 4 +#define DIB_RGB_COLORS 0 #define DIB_PAL_COLORS 1 -#define DIB_RGB_COLORS 0 +#define DIB_PAL_INDICES 2 #define FW_DONTCARE 0 #define FW_THIN 100 #define FW_EXTRALIGHT 200 #define FW_ULTRALIGHT FW_EXTRALIGHT #define FW_LIGHT 300 @@ -392,10 +397,11 @@ typedef BYTE BCHAR; #define OUT_DEVICE_PRECIS 5 #define OUT_RASTER_PRECIS 6 #define OUT_TT_ONLY_PRECIS 7 #define OUT_OUTLINE_PRECIS 8 /* http://www.pinvoke.net/default.aspx/Structures/LOGFONT.html */ +#define OUT_SCREEN_OUTLINE_PRECIS 9 #define OUT_PS_ONLY_PRECIS 10 #define CLIP_DEFAULT_PRECIS 0 #define CLIP_CHARACTER_PRECIS 1 #define CLIP_STROKE_PRECIS 2 #define CLIP_MASK 15 @@ -983,16 +989,24 @@ typedef BYTE BCHAR; #define BS_INDEXED 4 #define BS_DIBPATTERN 5 #define BS_DIBPATTERNPT 6 #define BS_PATTERN8X8 7 #define BS_DIBPATTERN8X8 8 +#define BS_MONOPATTERN 9 #define LCS_CALIBRATED_RGB 0 #define LCS_DEVICE_RGB 1 #define LCS_DEVICE_CMYK 2 +#define LCS_sRGB 0x73524742 +#define LCS_WINDOWS_COLOR_SPACE 0x57696E20 +#define LCS_PROFILE_LINKED 0x4C494E4B +#define LCS_PROFILE_EMBEDDED 0x4D424544 +#define PROFILE_LINKED LCS_PROFILE_LINKED +#define PROFILE_EMBEDDED LCS_PROFILE_EMBEDDED #define LCS_GM_BUSINESS 1 #define LCS_GM_GRAPHICS 2 #define LCS_GM_IMAGES 4 +#define LCS_GM_ABS_COLORIMETRIC 8 #define RASTER_FONTTYPE 1 #define DEVICE_FONTTYPE 2 #define TRUETYPE_FONTTYPE 4 #define DMORIENT_PORTRAIT 1 #define DMORIENT_LANDSCAPE 2 @@ -1224,10 +1238,11 @@ typedef BYTE BCHAR; #define AC_SRC_ALPHA 0x01 #define AC_SRC_NO_PREMULT_ALPHA 0x01 #define AC_SRC_NO_ALPHA 0x02 #define AC_DST_NO_PREMULT_ALPHA 0x10 #define AC_DST_NO_ALPHA 0x20 +#define LAYOUT_LTR 0 #define LAYOUT_RTL 1 #define LAYOUT_BITMAPORIENTATIONPRESERVED 8 #define DISPLAY_DEVICE_ATTACHED_TO_DESKTOP 0x00000001 #define DISPLAY_DEVICE_MULTI_DRIVER 0x00000002