LoadCALSIntoDIB

#include "BITIFF.H"

HANDLE CALLBACK LoadCALSIntoDIB( LPSTR   lpFileName,
BOOL    bDispInfo)

Description

Loads the image from the CALS file lpFileName into a device independent bitmap (DIB). To retrieve the last error, use the TiffErrorString(). If the 'bDispInfo' is set to TRUE, a dialog box is displayed with the characteristic information of the image.

Parameters

LPSTR

lpFileName

Pointer to the file name string.

BOOL

bDispInfo

Display information dialog box.

Return values

The handle to device independent bitmap is NULL if any error occurs. The palette information is in the DIB.

Requirements

Header :     Declared in BiTiff.h; include BiTiff.h.

Library :    Use BiTiff.lib.

DLLs :       BiTiff.dll.