TiffErrorString

#include "BITIFF.H"

LPSTR CALLBACK TiffErrorString(LPTSTR lpszErrorStr, int nError)

Description

Copies the string describing the error status into lpszErrorStr. If lpszErrorStr equals to NULL, it displays a message box with this string.

Parameters

LPTSTR

lpszErrorStr

Buffer to copy the error string into or NULL to display a message box.

int

nError

An error code returned by a previous TIFF call (e.g.:TiffError).

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

The error string szErrorStr itself.

Requirements

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

Library :    Use BiTIFF.lib.

DLLs :       BiTiff.dll.