Share via


ICM_DECOMPRESS

The ICM_DECOMPRESS message notifies a video decompression driver to decompress a frame of data into an application-defined buffer.

ICM_DECOMPRESS 
wParam = (DWORD) (LPVOID) &icd; 
lParam = sizeof(ICDECOMPRESS); 

Parameters

icd

Pointer to an ICDECOMPRESS structure.

lParam

Size, in bytes, of ICDECOMPRESS.

Return Values

Returns ICERR_OK if successful or an error otherwise.

Remarks

If you want the driver to decompress data directly to the screen, send the ICM_DRAW message.

The driver returns an error if this message is received before the ICM_DECOMPRESS_BEGIN message.

Requirements

**  Windows NT/2000/XP:** Included in Windows NT 3.1 and later.
**  Windows 95/98/Me:** Included in Windows 95 and later.
**  Header:** Declared in Vfw.h.

See Also

Video Compression Manager, Video Compression Messages, ICDECOMPRESS, ICM_DECOMPRESS_BEGIN, ICM_DRAW