COLORINFO

typedef struct _COLORINFO {
    CIECHROMA Red;
    CIECHROMA Green;
    CIECHROMA Blue;
    CIECHROMA Cyan;
    CIECHROMA Magenta;
    CIECHROMA Yellow;
    CIECHROMA AlignmentWhite;
    LDECI4 RedGamma;
    LDECI4 GreenGamma;
    LDECI4 BlueGamma;
    LDECI4 MagentaInCyanDye;
    LDECI4 YellowInCyanDye;
    LDECI4 CyanInMagentaDye;
    LDECI4 YellowInMagentaDye;
    LDECI4 CyanInYellowDye;
    LDECI4 MagentaInYellowDye;
} COLORINFO, *PCOLORINFO;

Members

Red, Green, Blue, Cyan, Magenta, Yellow, AlignmentWhite
CIECHROMA structures defining the x, y, and Y (luminance) coordinates of the named color.
RedGamma, GreenGamma, BlueGamma
The gamma correction of display devices that permits the display device to display colors between the primary colors with accuracy. Their values should be between 0 and 6.5535.
MagentaInCyanDye, YellowInCyanDye, CyanInMagentaDye, YellowInMagentaDye, CyanInYellowDye, MagentaInYellowDye
Used for printing devices to describe color purity and concentration. Values should be between zero and one.

Comments

The LDECI4 type is used to represent real numbers to four decimal points. For example, (LDECI4) 10000 represents real number 1.0000, and (LDECI4) -12345 represents -1.2345.

Any values in the COLORINFO structure that are out of the specified range default to the NTSC values.

See Also

CIECHROMA, DrvEnablePDEV, GDIINFO