IDirect3DTexture2::PaletteChanged

The IDirect3DTexture2::PaletteChanged method informs the driver that the palette has changed on a surface.

HRESULT PaletteChanged(

DWORD dwStart,

DWORD dwCount

);

Parameters

dwStart

Index of first palette entry that has changed.

dwCount

Number of palette entries that have changed.

Return Values

If the method succeeds, the return value is D3D_OK.

If the method fails, the return value is an error. For a list of possible return values, see Direct3D Immediate-Mode Return Values.

Remarks

This method is particularly useful for applications that play video clips and therefore require palette-changing capabilities.

This method is unchanged from its implementation in the IDirect3DTexture interface.

QuickInfo

  Windows NT: Use version 5.0 or later.
  Windows: Use Windows 95 or later. Available as a redistributable for Windows 95.
  Windows CE: Unsupported.
  Header: Declared in d3d.h.
  Import Library: Use ddraw.lib.