ICM_DRAW_REALIZE

The ICM_DRAW_REALIZE message is sent to a rendering driver to realize its palette used while drawing.

Parameters

dwParam1

Specifies a handle to the display context used to realize the palette.

dwParam2

Specifies TRUE if the palette is to be realized in the background. Specifies FALSE if the palette is to be realized in the foreground.

Return Value

Returns ICERR_OK if the palette is realized. If this message is not supported, the driver returns ICERR_UNSUPPORTED.

Comments

Drivers need to respond to this message only if the drawing palette is different from the decompressed palette.

If this message is not supported, the palette associated with the decompressed data is realized.