TiffError

#include "BITIFF.H"

int CALLBACK TiffError(void)

Description

Returns the error status of the very last TIFF operation. Before calling a dangerous TIFF function, call SetTiffError(0) to reset the error status, execute the function and if it is failed, test the error flag calling TiffError() or SetTiffError(0).

Parameters

None.

Return values

The error status of the last TIFF operation.

Requirements

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

Library :    Use BiTIFF.lib.

DLLs :       BiTiff.dll.

Code example

See example at OpenTiffFile().