Microsoft Windows CE 3.0  

Types of Palette Entries in Windowed Mode

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Unlike full-screen exclusive mode applications, windowed applications must share the desktop palette with other applications. This imposes several restrictions on which palette entries you can safely modify and how you can modify them. The PALETTEENTRYstructure you use when working with DirectDrawPalette objects and GDI contains a peFlagsmember to carry information that describes how the system should interpret the PALETTEENTRYstructure.

The peFlagsmember describes three types of palette entries, discussed in this topic: