Main Page Modules Alphabetical List Compound List File List Compound Members File Members

# Result Codes

Description of the result codes that are returned by most DecMPA functions. More...

## Defines

#define | DECMPA_OK 0
| The operation has been successfully completed.
#define | DECMPA_END 1
| The end of the stream was reached and there is no more data to decode.
#define | DECMPA_ERROR_PARAM (-1)
| An invalid parameter was passed to a function.
#define | DECMPA_ERROR_UNSUPPORTED (-2)
| The operation is not supported.
#define | DECMPA_ERROR_MEMORY (-3)
| There is not enough free memory.
#define | DECMPA_ERROR_INTERNAL (-4)
| An internal error occurred in the decoding routines.
#define | DECMPA_ERROR_DECODE (-5)
| Indicates an error during decoding, which usually means that the input data is invalid or corrupted.
#define | DECMPA_ERROR_READ (-6)
| An error occurred during the reading of new data.
#define | DECMPA_ERROR_SEEK (-7)
| An error occurred when it was tried to seek to a different position in the data stream.
#define | DECMPA_ERROR_OPENFILE (-8)
| An error occurred when opening a file.
#define | DECMPA_ERROR_WRONGSTATE (-9)
| The decoder is in the wrong state to perform the specified function.
#define | DECMPA_ERROR_NOTAVAILABLE (-10)
| The requested resource is not available.
#define | DECMPA_ERROR_INCOMPATIBLEVERSION (-11)
| The version of the DecMPA library that is used is incompatible:.

## Detailed Description

Description of the result codes that are returned by most DecMPA functions.

Codes of the form DECMPA_ERROR_*** represent errors and are all negative. The other result codes, all >=0, indicate different degrees of success.