AVIPALCHANGE structure (avifmt.h)

[The feature associated with this page, DirectShow, is a legacy feature. It has been superseded by MediaPlayer, IMFMediaEngine, and Audio/Video Capture in Media Foundation. Those features have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer, IMFMediaEngine and Audio/Video Capture in Media Foundation instead of DirectShow, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

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

   
Header avifmt.h (include Vfw.h)

See also

AVI RIFF File Reference

DirectShow Structures