Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ICDrawOpen macro

The ICDrawOpen macro opens a driver that can draw images with the specified format.

Syntax


HIC ICDrawOpen(
  DWORD fccType,
  DWORD fccHandler,
  LPBITMAPINFOHEADER lpbiIn
);

Parameters

fccType

Four-character code indicating the type of driver to open. For video streams, the value of this parameter is "VIDC" or ICTYPE_VIDEO.

fccHandler

Four-character code indicating the preferred stream handler to use. Typically, this information is stored in the stream header in an AVI file.

lpbiIn

Pointer to the structure defining the input format. A driver handle will not be returned unless it can decompress this format. For images, this parameter refers to a BITMAPINFOHEADER structure.

Return value

Returns a handle of a driver if successful or zero otherwise.

Remarks

The ICDrawOpen macro is defined as follows:



#define ICDrawOpen(fccType, fccHandler, lpbiIn) \
    ICLocate(fccType, fccHandler, lpbiIn, NULL, ICMODE_DRAW); 


Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Vfw.h

See also

Video Compression Manager
Video Compression Macros

 

 

Community Additions

Show:
© 2014 Microsoft