Index   Commented   Search   About

ICM_COMPRESS

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

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

Returns ICERR_OK if successful or an error otherwise.

See Also

BITMAPINFOHEADER
, ICCOMPRESS

Related Links

Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET

More Online Helps

Win32 Programmer's Reference (win32.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages

Free Tech Secrets ;) Copyright © 2008 Free Tect Secrets ;) greatis just4fun network just4fun