ICM_COMPRESS

wParam = (DWORD) (LPVOID) &icc;
lParam = sizeof(ICCOMPRESS);
 

Notifies a video compression driver to compress a frame of data into an application-supplied buffer.

wParam
Address of an ICCOMPRESS structure. The following members of ICCOMPRESS specify the compression parameters: lpbiInput, lpInput, lpbiOutput, lpOutput, lpbiPrev, lpPrev, lpckid, lpdwFlags, dwFrameSize, and dwQuality.

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.

lParam
Size, in bytes, of the ICCOMPRESS structure.

See Also

ICM_COMPRESS_BEGIN, ICM_COMPRESS_END, ICM_DECOMPRESS, ICM_DRAW