|
ICOpen
The ICOpen function opens a compressor or decompressor.
HIC ICOpen(
DWORD fccType,
|
| DWORD fccHandler,
|
| UINT wMode
|
| );
|
|
Parameters
fccType
Four-character code indicating the type of compressor or decompressor to open.
For video streams, the value of this parameter is "VIDC".
fccHandler
Preferred handler of the specified type. Typically, the handler type is stored
in the stream header in an AVI file.
wMode
Flag defining the use of the compressor or decompressor. The following values
are defined:
ICMODE_COMPRESS
Compressor will perform normal compression.
ICMODE_DECOMPRESS
Decompressor will perform normal decompression.
ICMODE_DRAW
Decompressor will decompress and draw the data directly to hardware.
ICMODE_FASTCOMPRESS
Compressor will perform fast (real-time) compression.
ICMODE_FASTDECOMPRESS
Decompressor will perform fast (real-time) decompression.
ICMODE_QUERY
Queries the compressor or decompressor for information.
Return Values
Returns a handle to a compressor or decompressor if successful or zero
otherwise.
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
TMS Scripter Studio Pro components for Delphi/C++Builder
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
|