PinPad_UserErrorCode.h 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. #ifndef _PINPAD_USER_ERROR_CODE_H
  2. #define _PINPAD_USER_ERROR_CODE_H
  3. #pragma once
  4. #define PinPad_UserErrorCode_Start 0x20600200
  5. #define PinPad_UserErrorCode_GetEncryptedText_Failed (PinPad_UserErrorCode_Start + 1) //获取密文输入失败
  6. #define PinPad_UserErrorCode_Open_RunCfgFile_Failed (PinPad_UserErrorCode_Start + 2) //打开运行时配置失败
  7. #define PinPad_UserErrorCode_Write_RunCfgFile_Failed (PinPad_UserErrorCode_Start + 3) //写运行时配置失败
  8. #define PinPad_UserErrorCode_PinPad_Instance_Is_Null (PinPad_UserErrorCode_Start + 4) //pinpad 实例为null
  9. #define PinPad_UserErrorCode_Create_PinPad_Instance_Failed (PinPad_UserErrorCode_Start + 5) //创建pinpad实例失败
  10. #define PinPad_UserErrorCode_Get_DevAdapter_Path_Failed (PinPad_UserErrorCode_Start + 6) //获取dll适配器路径失败
  11. #define PinPad_UserErrorCode_LogInfoAboutTerm (PinPad_UserErrorCode_Start + 7) //告警上送终端模块信息
  12. #define PinPad_UserErrorCode_RootInfo (PinPad_UserErrorCode_Start + 8) //root信息
  13. #define PinPad_UserErrorCode_Release_Object_Failed (PinPad_UserErrorCode_Start + 9) //
  14. #define PinPad_UserErrorCode_KEY_LOST_SM (PinPad_UserErrorCode_Start + 10) //
  15. #define PinPad_UserErrorCode_PINPAD_KEY_LOST (PinPad_UserErrorCode_Start + 11) //
  16. #define PinPad_UserErrorCode_Create_Event_Failed (PinPad_UserErrorCode_Start + 12)
  17. #define PinPad_UserErrorCode_Open_Root_File_Failed (PinPad_UserErrorCode_Start + 13)
  18. #define PinPad_UserErrorCode_Load_Dll_File_Failed (PinPad_UserErrorCode_Start + 14)
  19. #define PinPad_UserErrorCode_GET_CDC_ADDR_Failed (PinPad_UserErrorCode_Start + 15)
  20. #define PinPad_UserErrorCode_GET_RDC_ADDR_Failed (PinPad_UserErrorCode_Start + 16)
  21. #define PinPad_UserErrorCode_Create_Object_Failed (PinPad_UserErrorCode_Start + 17)
  22. #define PinPad_UserErrorCode_Get_SoftWare_Pointer_Failed (PinPad_UserErrorCode_Start + 18)
  23. #define PinPad_UserErrorCode_PinPad_Not_SM (PinPad_UserErrorCode_Start + 19)
  24. #define PinPad_UserErrorCode_PinPad_Use_TestKey (PinPad_UserErrorCode_Start + 20)
  25. #define PinPad_UserErrorCode_PinPad_SM_First (PinPad_UserErrorCode_Start + 21)
  26. #define PinPad_UserErrorCode_PinPad_LoadKey_SMSN (PinPad_UserErrorCode_Start + 22)
  27. #define PinPad_UserErrorCode_PinPad_LoadKey_Clear_SMSN (PinPad_UserErrorCode_Start + 23)
  28. #define PinPad_UserErrorCode_PinPad_LoadKey_3DesSN (PinPad_UserErrorCode_Start + 24)
  29. #define PinPad_UserErrorCode_PinPad_InfoAboutKey_Onboot (PinPad_UserErrorCode_Start + 25)
  30. #define PinPad_UserErrorCode_PinPad_CheckCode_Changed (PinPad_UserErrorCode_Start + 26)
  31. //GetEncryptText Error
  32. #define PinPad_UserErrorCode_PinPad_GetEncryptText_Get12Account_Error (PinPad_UserErrorCode_Start + 27)
  33. #define PinPad_UserErrorCode_PinPad_DevOpenFailed (PinPad_UserErrorCode_Start + 28)
  34. #define PinPad_UserErrorCode_PinPad_CkCode_While_Load_SM (PinPad_UserErrorCode_Start + 29)
  35. //LogWarn real root config
  36. #define PinPad_UserErrorCode_PinPad_Real_Root_Config (PinPad_UserErrorCode_Start + 31)
  37. #define PinPad_UserErrorCode_PinPad_GetPinBlock_Call (PinPad_UserErrorCode_Start + 32)
  38. #define PinPad_UserErrorCode_Unexpected_Exit (PinPad_UserErrorCode_Start + 33)
  39. #define PinPad_UserErrorCode_UnknownSMFlag (PinPad_UserErrorCode_Start + 34)
  40. #define PinPad_UserErrorCode_DevConnect_CostTime (PinPad_UserErrorCode_Start + 35)
  41. #define PinPad_UserErrorCode_NoPlainInput (PinPad_UserErrorCode_Start + 36)
  42. #endif //_PINPAD_USER_ERROR_CODE_H