Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ ICOpen(3mms) — Multimedia Services 2.4B

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

ICClose(3mms)

ICLocate(3mms)

ICOpen(3mms)  —  Subroutines

 
 
 
 

Name

 
ICOpen --- Open a compressor or decompressor
 
 

Syntax

 
 
 

 #include <mme/mme_api.h>
 HIC ICOpen(DWORD fccType,
           DWORD fccHandler,
           UINT wMode);
 

 
 
 

Arguments

 
DWORD fccType
Specifies the type of compressor or decompressor the application wants to open. For video, this type is ICTYPE_VIDEO.

 
DWORD fccHandler
Specifies a handler of a given type. Typically, this handler comes from the stream header in an AVI file or from the ICInfo structure.

 
UINT wMode
Specifies flags defining the use of the compressor or decompressor. The following flags are defined:
 
 
 

ICMODE_COMPRESS
Advises a compressor that it is opened for compression.
 
 
 

ICMODE_DECOMPRESS
Advises a decompressor that it is opened for decompression.
 
 
 

ICMODE_DRAW
Advises a decompressor that it is opened to decompress an image and draw it directly to hardware. The Sound and Motion J300 option module does not support IC_DRAW functionality.
 
 
 

ICMODE_QUERY
Advises a compressor or decompressor that it is opened to obtain information only.
 
 
 

Description

 
The ICOpen function opens a compressor or decompressor. 
 

Extensions

 
None.
 
 

Return Values

 
Returns a handle to a compressor or decompressor if the function is successful; otherwise, it returns zero.
 

See Also

 
 
 
 
 
ICClose(3mms), ICLocate(3mms)
 
 
 
 
 
 

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026