SetTiffError

#include "BITIFF.H"

int CALLBACK SetTiffError(int nError)

Description

Sets the TIFF error status flag to nError. 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

New error status.

Return values

Previous error status.

Requirements

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

Library :    Use BiTIFF.lib.

DLLs :       BiTiff.dll.