ICM_COMPRESS_GET_SIZE

See also ICM_COMPRESS_GET_FORMAT, ICM_COMPRESS_QUERY


wParam = (DWORD) (LPVOID) lpbiInput;
lParam = (DWORD) (LPVOID) lpbiOutput;

Requests that the video compression driver supply the maximum size of one frame of data when compressed into the specified output format.

wParam

Address of a BITMAPINFO structure indicating the input format.

lParam

Address of a BITMAPINFO structure indicating the output format.

Typically, applications send this message to determine how large a buffer to allocate for the compressed frame.

The driver should calculate the size of the largest possible frame based on the input and output formats.