CRI ADX  Last Updated: 2024-07-17 10:48 p
cri_le_error.h 文件参考
#include "cri_le_xpt.h"

枚举

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 更多...
 
enum  CriErrorNotificationLevel { CRIERR_NOTIFY_ALL = 0 , CRIERR_NOTIFY_FATAL = 1 , CRIERR_NOTIFY_ENUM_BE_SINT32 = 0x7FFFFFFF }
 Error notification level 更多...
 

函数

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