Share via


ICM_COMPRESS_FRAMES_INFO

The ICM_COMPRESS_FRAMES_INFO message notifies a compression driver to set the parameters for the pending compression.

ICM_COMPRESS_FRAMES_INFO 
wParam = (DWORD) (LPVOID) &icf; 
lParam = sizeof(ICCOMPRESSFRAMES); 

Parameters

icf

Pointer to an ICCOMPRESSFRAMES structure. The GetData and PutData members of this structure are not used with this message.

lParam

Size, in bytes, of ICCOMPRESSFRAMES.

Return Values

Returns ICERR_OK if successful or an error otherwise.

Remarks

A compressor can use this message to determine how much space to allocate for each frame while compressing.

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, ICCOMPRESSFRAMES