SaveBitmapInGIFFormat

#include "BIGIF.H"

BOOL CALLBACK SaveBitmapInGIFFormat( LPTSTR     lpszFileName,
HBITMAP hBitmap,
int               nImage,
int far          *nErrCode)

Description

Saves the device dependent bitmap “hBitmap” into a GIF file named “lpszFileName” as an n'th image (0 to n'th).

Parameters

LPTSTR

lpszFileName

GIF file name.

HBITMAP

hBitmap

Bitmap to convert into GIF.

int

nImage

The n-th image. nImage = 0,1,2...

int far

*nErrCode

Pointer to the error code

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

TRUE on success, FALSE on failure.

Requirements

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

Library :    Use BiGif.lib.

DLLs :       BiGif.dll.

Code example

None at present.