ICM_COMPRESS message
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);
Parameters
-
icc
-
Pointer to an ICCOMPRESS structure. The following members of this structure 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 ICCOMPRESS.
Return Value
Returns ICERR_OK if successful or an error otherwise.
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
Minimum supported server |
Windows 2000 Server [desktop apps only] |
Header |
|
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for