ImageMan DLL Suite Version 8Submit feedback on this topic   

ImgErrString

int IMAPI ImgErrString ( lpszBuf, nMaxLen )

This function copies the text describing the last error into a user supplied buffer.

 

Parameter

Type

Description

lpszBuf

LPSTR

Points to a user defined buffer to receive the error string.

nMaxLen

WORD

Indicates the size in bytes of the buffer pointed to by lpszBuf.

 

Return Value

The return value indicates whether the error string was retrieved successfully. It is nonzero if the error string was retrieved successfully. Otherwise, it is zero.

Comments

The error string contains the filename and the description of the error separated by a semicolon. For some errors the string will not contain a filename so the first character will be a semicolon.

 

 


© 1995-2004 Data Techniques, Inc. All rights reserved.