The ICM_COMPRESS message notifies a video compression driver to compress a frame of data into an application-defined buffer.
ICM_COMPRESS
wParam = (DWORD) (LPVOID) &icc;
lParam = sizeof(ICCOMPRESS);
The driver should also use the biSizeImage member of the BITMAPINFOHEADER structure associated with lpbiOutput of ICCOMPRESS to return the size of the compressed frame.
Returns ICERR_OK if successful or an error otherwise.
Windows NT: Requires version 3.1 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in vfw.h.
Video Compression Manager Overview, Video Compression Messages, BITMAPINFOHEADER, ICCOMPRESS