The IDirect3DTexture2::PaletteChanged method informs the driver that the palette has changed on a texture surface.
HRESULT PaletteChanged(
DWORD dwStart,
DWORD dwCount
);
This method returns 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.
This method is particularly useful for applications that play video clips and therefore require palette-changing capabilities.
This method only affects the legacy ramp device. For all other devices, this method takes no action and returns D3D_OK.
Windows NT/2000: Requires Windows 2000.
Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
Header: Declared in d3d.h.
Import Library: Use ddraw.lib.