PALETTEENTRY
Microsoft DirectX 9.0 SDK Update (October 2004)

PALETTEENTRY Structure


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;

Members

peRed
The red intensity value for the palette entry.
peGreen
The green intensity value for the palette entry.
peBlue
The blue intensity value for the palette entry.
peFlags
The alpha intensity value for the palette entry. Note that as of Microsoft DirectX 8.0, this member is treated differently than documented in the Microsoft Platform Software Development Kit (SDK).

Structure Information

Headerwingdi.h
Minimum operating systems Windows 98


© 2004 Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center.