Overview
Group
Quick Info

ICM_DECOMPRESS_GET_PALETTE

The ICM_DECOMPRESS_GET_PALETTE message requests that the video decompression driver supply the color table of the output BITMAPINFOHEADER structure. You can send this message explicitly or by using the ICDecompressGetPalette macro.

ICM_DECOMPRESS_GET_PALETTE

wParam = (DWORD) (LPVOID) lpbiInput;

lParam = (DWORD) (LPVOID) lpbiOutput;

Parameters

lpbiInput

Address of a BITMAPINFOHEADER structure containing the input format.

lpbiOutput

Address of a BITMAPINFOHEADER structure to contain 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.

Return Values

Returns ICERR_OK if successful or an error otherwise.

Remarks

If lpbiOutput is nonzero, the driver sets the biClrUsed member of BITMAPINFOHEADER to the number of colors in the color table. The driver fills the bmiColors members of BITMAPINFO 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.

See Also

BITMAPINFO
, BITMAPINFOHEADER, ICDecompressGetPalette

Software for developers
Delphi Components
.Net Components
Software for Android Developers
More information resources
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database