CloseTiffFile

#include "BITIFF.H"

BOOL CALLBACK CloseTiffFile(TIFFFILE hChain)

Description

Invalidates handle hChain and frees all the inner structures belonging to it. The related TIFF image chain will disappear. Actually this is the only way to free all the associated structures, so don't forget to call this function after you have finished working with image chain referred by hChain.

Parameters

TIFFFILE

hChain

Handle of a valid TIFF image chain.

Return values

TRUE on success, FALSE if fails. It is very improbable that the function will fail, because it simply frees the inner structures associated to handle hChain.

Programming notes

After the call , the image chain handle hChain becomes invalid.

Requirements

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

Library :    Use BiTIFF.lib.

DLLs :       BiTiff.dll.

References to related functions

See OpenTiffFile().