Error handling functions.
More...
|
| Error Codes |
| The following table lists all error codes that can be returned by TBarCode.
|
|
| Example |
| This example shows the error handling concept of TBarCode.
|
|
|
INT TECIT_STDCALL | BCGetInvalidDataPos (t_BarCode *pBarCode) |
| Gets position of invalid character in input data. More...
|
|
VOID TECIT_STDCALL | BCGetErrorTextA (ERRCODE eCode, LPSTR szText, size_t nSize) |
| Returns error text to given error code. More...
|
|
VOID TECIT_STDCALL | BCGetErrorTextW (ERRCODE eCode, LPWSTR szText, size_t nSize) |
| Returns error text to given error code. More...
|
|
VOID TECIT_STDCALL | BCGetErrorTextExtA (t_BarCode *pBarCode, ERRCODE eCode, LPSTR szText, size_t nSize) |
| Returns extended error text to given error code. More...
|
|
VOID TECIT_STDCALL | BCGetErrorTextExtW (t_BarCode *pBarCode, ERRCODE eCode, LPWSTR szText, size_t nSize) |
| Returns extended error text to given error code. More...
|
|
Error handling functions.
- Error Codes
- Here you can find a list of Error Codes which are used by TBarCode. If any of the BCxxxx functions returns a value other than zero (ErrOk) it means that an error occured. In this case DO NOT call any subsequent BCxxxx functions except BCFree(). An error code indicates an error condition. Subsequent calls may fail and produce unexpected results.
- Example
- An example for error handling can be found here.