Microsoft DirectX 9.0

AVIPALCHANGE Structure

The AVIPALCHANGE structure defines a palette change in an AVI file.

Syntax

typedef struct
{
    BYTE          bFirstEntry;
    BYTE          bNumEntries;
    WORD          wFlags;
    PALETTEENTRY  peNew[];
} AVIPALCHANGE;

Members

bFirstEntry

Specifies the index of the first palette entry to change.

bNumEntries

Specifies the number of palette entries to change, or zero to change all 256 palette entries.

wFlags

Reserved.

peNew

Specifies an array of PALETTEENTRY structures, of size bNumEntries.

Requirements

Include Avifmt.h.

See Also