SetPaletteEntries

struct {
    DWORD rdSize;
    WORD  rdFunction;
    WORD  rdParm[];
}

Members

rdSize

Specifies the record size, in words.

rdFunction

Specifies the GDI function number 0x0037.

rdParm

Contains the following elements:

Element Description

start First entry to be set in the palette
numentries Number of entries to be set in the palette
entries PALETTEENTRY blocks (For a description of the PALETTEENTRY structure, see the Microsoft Windows Programmer's Reference, Volume 3.)