Skip to content

Latest commit

 

History

History
83 lines (51 loc) · 2.75 KB

icm-decompress-get-format.md

File metadata and controls

83 lines (51 loc) · 2.75 KB
title description ms.assetid keywords topic_type api_name api_location api_type ms.topic ms.date
ICM_DECOMPRESS_GET_FORMAT message (Vfw.h)
The ICM\_DECOMPRESS\_GET\_FORMAT message requests the output format of the decompressed data from a video decompression driver. You can send this message explicitly or by using the ICDecompressGetFormat macro.
51753f47-758b-4d3e-9a53-9db284da2473
ICM_DECOMPRESS_GET_FORMAT message Windows Multimedia
apiref
ICM_DECOMPRESS_GET_FORMAT
Vfw.h
HeaderDef
reference
05/31/2018

ICM_DECOMPRESS_GET_FORMAT message

The ICM_DECOMPRESS_GET_FORMAT message requests the output format of the decompressed data from a video decompression driver. You can send this message explicitly or by using the ICDecompressGetFormat macro.

ICM_DECOMPRESS_GET_FORMAT 
wParam = (DWORD_PTR) (LPVOID) lpbiInput; 
lParam = (DWORD_PTR) (LPVOID) lpbiOutput; 

Parameters

lpbiInput

Pointer to a BITMAPINFO structure containing the input format.

lpbiOutput

Pointer to a BITMAPINFO structure to contain the output format. You can specify zero to request only the size of the output format, as in the ICDecompressGetFormatSize macro.

Return Value

If lpbiOutput is zero, returns the size of the structure.

If lpbiOutput is nonzero, returns ICERR_OK if successful or an error otherwise.

Remarks

If lpbiOutput is nonzero, the driver should fill the BITMAPINFO structure with the default output format corresponding to the input format specified for lpbiInput. If the compressor can produce several formats, the default format should be the one that preserves the greatest amount of information.

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