D3DDDIARG_UPDATEPALETTE structure (d3dumddi.h)

The D3DDDIARG_UPDATEPALETTE structure describes parameters that are used to update a texture palette.

Syntax

typedef struct _D3DDDIARG_UPDATEPALETTE {
  [in] UINT PaletteHandle;
  [in] UINT StartIndex;
  [in] UINT NumEntries;
} D3DDDIARG_UPDATEPALETTE;

Members

[in] PaletteHandle

A handle to the palette to be altered.

[in] StartIndex

The index in the palette beyond which data is updated.

[in] NumEntries

The number of PALETTEENTRY structures that are being updated. For more information about PALETTEENTRY, see the Microsoft Windows SDK documentation.

Remarks

The Microsoft Direct3D runtime passes palette data for updating to the pPaletteData parameter in a call to the user-mode display driver's UpdatePalette function. This palette data is an array of PALETTEENTRY structures.

Requirements

Requirement Value
Minimum supported client Available in Windows Vista and later versions of the Windows operating systems.
Header d3dumddi.h (include D3dumddi.h)

See also

UpdatePalette