This topic has not yet been rated - Rate this topic

PALETTEENTRY structure

Applies to: desktop apps only

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

Syntax

typedef struct PALETTEENTRY {
  BYTE peRed;
  BYTE peGreen;
  BYTE peBlue;
  BYTE peFlags;
} PALETTEENTRY, *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

Header

Wingdi.h

 

 

Send comments about this topic to Microsoft

Build date: 3/6/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ