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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for