LoadTGAIntoDIB

#include "BITGA.H"

 

HANDLE CALLBACK LoadTGAIntoDIB( LPTSTR          lpszFileName,
BOOL  bDispInfo)

Description

Loads the TGA image into a Device Independent Bitmap.

Parameters

LPTSTR

lpszFileName

TGA file name.

BOOL

bDispInfo

Setting this parameter to a “TRUE” value would display the file open dialog box for the TGA image.

Additional Information

This example shows how to use the dll when loading statically including the header file. Otherwise if the dll is loaded dynamically, for further information read the “About the difference of static and dynamic library loading” section of the manual.

Return values

Return a handle of the Device Independent Bitmap or NULL if any error occurred.

Programming notes

None.

Requirements

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

Library :    Use BiTGA.lib.

DLLs :       BiTGA.dll.

Code example

None at present.