Compartilhar via


ColorPalette (Windows CE 5.0)

Send Feedback

This structure contains information to describe a color palette.

typedef struct tagColorPalette {    UINT Flags;    UINT Count;    ARGB Entries[1];} ColorPalette;

Members

  • Flags
    A UINT value made up of a combination of one or more of the palette flags showing in the following table.

    Flag Description
    PALFLAG_HASALPHA Palette contains transparency
    PALFLAG_GRAYSCALE Palette contains only grayscale colors
    PALFLAG_HALFTONE Palette is used for halftones
  • Count
    A UINT value specifying the number of colors in the palette.

  • Entries
    An array of ARGB values, one for each color in the palette.

    This array is Count elements long.

Requirements

OS Versions: Windows CE 5.0 and later.
Header: Imaging.h.

See Also

Imaging Structures | IImageSink::SetPalette | IBitmapImage::SetPalette | IBitmapImage::GetPalette

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.