CRI ADX  Last Updated: 2024-07-17 10:47 p
cri_le_error.h File Reference
#include "cri_le_xpt.h"

Enumerations

enum  CriError {
  CRIERR_OK = 0 , CRIERR_NG = -1 , CRIERR_INVALID_PARAMETER = -2 , CRIERR_FAILED_TO_ALLOCATE_MEMORY = -3 ,
  CRIERR_UNSAFE_FUNCTION_CALL = -4 , CRIERR_FUNCTION_NOT_IMPLEMENTED = -5 , CRIERR_LIBRARY_NOT_INITIALIZED = -6 , CRIERR_ENUM_BE_SINT32 = 0x7FFFFFFF
}
 Error codes. More...
 
enum  CriErrorNotificationLevel { CRIERR_NOTIFY_ALL = 0 , CRIERR_NOTIFY_FATAL = 1 , CRIERR_NOTIFY_ENUM_BE_SINT32 = 0x7FFFFFFF }
 Error notification level. More...
 

Functions

const CriChar8 * criErr_ConvertIdToMsg (const CriChar8 *errid)
 Convert error ID to error message. More...
 
const CriChar8 * criErr_ConvertIdToMessage (const CriChar8 *errid, CriUint32 p1, CriUint32 p2)
 Convert error ID to error message. More...
 
void criErr_SetCallback (CriErrCbFunc cbf)
 Register error callback function. More...
 
void criErr_SetErrorNotificationLevel (CriErrorNotificationLevel level)
 Change error notification level. More...
 
CriUint32 criErr_GetErrorCount (CriErrorLevel level)
 Retrieve error count. More...
 
void criErr_ResetErrorCount (CriErrorLevel level)
 Resets error count. More...