This topic has not yet been rated - Rate this topic

ICOpen function

Applies to: desktop apps only

The ICOpen function opens a compressor or decompressor.

Syntax

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.

Value Meaning
ICMODE_COMPRESSCompressor will perform normal compression.
ICMODE_DECOMPRESSDecompressor will perform normal decompression.
ICMODE_DRAWDecompressor will decompress and draw the data directly to hardware.
ICMODE_FASTCOMPRESSCompressor will perform fast (real-time) compression.
ICMODE_FASTDECOMPRESSDecompressor will perform fast (real-time) decompression.
ICMODE_QUERYQueries the compressor or decompressor for information.

 

Return value

Returns a handle to a compressor or decompressor if successful or zero otherwise.

Requirements

Minimum supported client

Windows 2000 Professional

Minimum supported server

Windows 2000 Server

Header

Vfw.h

Library

Vfw32.lib

DLL

Msvfw32.dll

See also

Video Compression Manager
Video Compression Functions

 

 

Send comments about this topic to Microsoft

Build date: 2/3/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ