ICM_DECOMPRESS_GET_PALETTE

See also ICM_DECOMPRESS_GET_FORMAT


wParam = (DWORD) (LPVOID) lpbiInput;
lParam = (DWORD) (LPVOID) lpbiOutput;

Requests that the video decompression driver supply the color table of the output BITMAPINFOHEADER structure.

wParam

Address of a BITMAPINFOHEADER structure indicating the input format.

lParam

Address of a BITMAPINFOHEADER structure to return the color table. The space reserved for the color table is always at least 256 colors. You can specify zero for this parameter to return only the size of the color table.

If lParam is nonzero, the driver sets the biClrUsed member of the BITMAPINFOHEADER structure to the number of colors in the color table. The driver fills the bmiColors members of the BITMAPINFO structure with the actual colors.

The driver should support this message only if it uses a palette other than the one specified in the input format.