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
Address of 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.

QuickInfo

  Windows NT: Requires version 3.1 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in vfw.h.

See Also

Video Compression Manager Overview, Video Compression Messages, ICCOMPRESSFRAMES