#include "BIGIF.H"
HBITMAP CALLBACK LoadGIFIntoBitmap( LPTSTR lpszFileName,
int nImage,
int far *nErrCode)
Description
This function tests the validity of a GIF file, then creates a bitmap large enough to contain the GIF image.
Parameters
|
LPTSTR |
lpszFileName |
Filename to load. |
|
int |
nImage |
The nth image, or page number, for multi page images. Numbering is zero based, for example: Page 2 would be referenced as ‘1’ |
|
int far |
*nErrCode |
Pointer to the error code if the return value is not NULL |
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
A handle for the loaded bitmap is returned if the function is successful; otherwise a NULL is returned.
Requirements
Header : Declared in BiGif.h; include BiGif.h.
Library : Use BiGif.lib.
DLLs : BiGif.dll.
Code example
None at present.