The DirectDrawSurface object is not using a 4-bit color index palette and the requested operation requires a 4-bit color index palette.