IDirect3DTexture::PaletteChanged

HRESULT PaletteChanged(DWORD dwStart, DWORD dwCount);

Informs the driver that the palette has changed on a surface.

·Returns D3D_OK if successful, or an error otherwise. For a list of possible return values, see Direct3D Immediate-Mode Return Values.

dwStart

Index of first palette entry that has changed.

dwCount

Number of palette entries that have changed.

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