2.2.1.5 PaletteEntryFlags

The PaletteEntryFlags constants are used to describe palette data sent between users in a clipbook-sharing session.

Constant/value

Description

PC_DEFAULT

0x0000

Specifies default behavior for the logical palette entry.

PC_RESERVED

0x0001

Specifies that the logical palette entry be used for palette animation. This flag prevents other windows from matching colors to the palette entry since the color frequently changes. If an unused system palette entry is available, the color is placed in that entry. Otherwise, the color is not available for animation.

PC_EXPLICIT

0x0002

Specifies that the low-order word of the logical palette entry designates a hardware palette index. This flag allows the application to show the contents of the display device palette.

PC_NOCOLLAPSE

0x0004

Specifies that the color be placed in an unused entry in the system palette instead of being matched to an existing color in the system palette. If there are no unused entries in the system palette, the color is matched normally. Once this color is in the system palette, colors in other logical palettes can be matched to this color.