If possible, all functions return the result of the operation as return code. Some function don't do this. Therefore, the last error code could be retrieved with this function.For example: v24Read reports an error by returning a -1. To get the exact error code, the application can call v24QueryErrno.