DropGifFile

#include "BIGIF.H"

BOOL CALLBACK CloseGifFile(GIFFILE hChain, int nImage) 

Description

Unregisters an image from the image chain and frees all associated buffers. It is not obligatory to call this function, because CloseGifFile() frees all image’s buffers in the chain. It is useful if there are several images in a GIF file and you want to process them one by one. In this case it’s wise to unregister images already processed to save memory.

Parameters

GIFFILE

hChain

Image chain handle

Int

nImage

Index of a registered GIF image to drop.

Return values

True on success, false if nImage is not the index of a REGISTERED image.

Programming notes

None

Requirements

 

Code example

None at present.