PALETTEENTRY structure (wingdi.h)

Specifies the color and usage of an entry in a logical palette.

Syntax

typedef struct tagPALETTEENTRY {
  BYTE peRed;
  BYTE peGreen;
  BYTE peBlue;
  BYTE peFlags;
} PALETTEENTRY, *PPALETTEENTRY, *LPPALETTEENTRY;

Members

peRed

Type: BYTE

The red intensity value for the palette entry.

peGreen

Type: BYTE

The green intensity value for the palette entry.

peBlue

Type: BYTE

The blue intensity value for the palette entry.

peFlags

Type: BYTE

The alpha intensity value for the palette entry. Note that as of DirectX 8, this member is treated differently than documented for Windows.

Requirements

Requirement Value
Header wingdi.h

See also

Direct3D Structures