Skip to content

Latest commit

 

History

History
83 lines (51 loc) · 2.86 KB

icm-decompress-get-palette.md

File metadata and controls

83 lines (51 loc) · 2.86 KB
title description ms.assetid keywords topic_type api_name api_location api_type ms.topic ms.date
ICM_DECOMPRESS_GET_PALETTE message (Vfw.h)
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.
f9fae9ab-9f69-44b6-bedb-f56f43845229
ICM_DECOMPRESS_GET_PALETTE message Windows Multimedia
apiref
ICM_DECOMPRESS_GET_PALETTE
Vfw.h
HeaderDef
reference
05/31/2018

ICM_DECOMPRESS_GET_PALETTE message

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_PTR) (LPVOID) lpbiInput; 
lParam = (DWORD_PTR) (LPVOID) lpbiOutput; 

Parameters

lpbiInput

Pointer to a BITMAPINFOHEADER structure containing the input format.

lpbiOutput

Pointer to 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 Value

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 member 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.

Requirements

Requirement Value
Minimum supported client
Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
Header
Vfw.h

See also

Video Compression Manager

Video Compression Messages