typedef struct {
DWORD dwSize;
DWORD fccType;
DWORD fccHandler;
DWORD dwVersion;
DWORD dwFlags;
DWORD dwError;
} ICOPEN;
Contains information about the data stream being compressed or decompressed, the version number of the driver, and how the driver is used.
ICMODE_COMPRESS | Indicates the driver is opened to compress data. |
ICMODE_DECOMPRESS | Indicates the driver is opened to decompress data. |
ICMODE_QUERY | Indicates the driver is opened for informational purposes, rather than for compression. |
ICMODE_DRAW | Indicates the device driver is opened to decompress data directly to hardware. |
This structure is passed to video capture drivers when they are opened. This allows a single installable driver to function as either an installable compressor or a video capture device. By examining the fccType member of the ICOPEN structure, the driver can determine its function. For example, a fccType value of VIDC indicates that it is opened as an installable video compressor.