Expand Minimize

D3DDDIARG_UPDATEPALETTE structure

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

Syntax


typedef struct _D3DDDIARG_UPDATEPALETTE {
  UINT PaletteHandle;
  UINT StartIndex;
  UINT NumEntries;
} D3DDDIARG_UPDATEPALETTE;

Members

PaletteHandle

[in] A handle to the palette to be altered.

StartIndex

[in] The index in the palette beyond which data is updated.

NumEntries

[in] 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

Version

Available in Windows Vista and later versions of the Windows operating systems.

Header

D3dumddi.h (include D3dumddi.h)

See also

UpdatePalette

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft