Determining If a Driver Can Handle the Input Format

The following example shows how to check the input format with the ICDrawQuery macro.

// lpbiIn points to BITMAPINFOHEADER structure indicating the input

// format.

if (ICDrawQuery(hIC, lpbiIn) == ICERR_OK)

{

// Driver recognizes the input format.

}

else

{

// Need a different decompressor.

}

Software for developers
Delphi Components
.Net Components
Software for Android Developers
More information resources
MegaDetailed.Net
Unix Manual Pages
Delphi Examples