PALETTEENTRY structure

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

 

 

Community Additions

ADD
Show:
© 2014 Microsoft