Virbox SDK  2.1
宏定义
E:/new_work/branches/ss_v2.0/include_out/ss_error.h 文件参考

Virbox 对外声明的类似定义。 更多...

浏览源代码.

宏定义

#define MODE_H5_RUNTIME   0x01
 
#define MODE_IPC   0x02
 
#define MODE_SYSTEM   0x04
 
#define MODE_SS   0x05
 
#define MODE_NETAGENT   0x11
 
#define MODE_SSPROTECT   0x12
 
#define MODE_LM_API   0x13
 
#define MODE_LM_FIRM   0x22
 
#define MODE_LM_SES   0x23
 
#define MODE_LM_SERVICE   0x24
 
#define MODE_LIC_TRANS   0x28
 
#define MODE_AUTH_SERVER   0x29
 
#define MODE_CLOUD   0x30
 
#define MODE_SO   0x51
 
#define MODE_UM   0x60
 
#define SS_OK   0x00000000
 
#define SS_ERROR   0x00000001
 
#define SS_ERROR_INVALID_PARAM   0x00000002
 
#define SS_ERROR_MEMORY_FAIELD   0x00000003
 
#define SS_ERROR_INSUFFICIENT_BUFFER   0x00000004
 
#define SS_ERROR_NOT_FOUND   0x00000005
 
#define SS_ERROR_EXISTED   0x00000006
 
#define SS_ERROR_DATA_BROKEN   0x00000007
 
#define SS_ERROR_INVALID_HANDLE   0x00000008
 
#define SS_ERROR_TIMEOUT   0x00000009
 
#define SS_ERROR_TARGET_NOT_IN_USE   0x0000000A
 
#define SS_ERROR_DATA_CONFLICT   0X0000000B
 
#define SS_ERROR_INVALID_TYPE   0x0000000C
 
#define SS_ERROR_INVALID_LENGTH   0x0000000D
 
#define SS_ERROR_USER_MOD_CRASH   0x0000000E
 
#define SS_ERROR_SERVER_IS_LOCAL   0x0000000F
 
#define SS_ERROR_UNSUPPORT   0x00000010
 
#define SS_ERROR_PORT_IN_USE   0x00000011
 
#define SS_ERROR_NO_KEY   0x00000013
 
#define SS_ERROR_SERVICE_TYPE_NOT_SUPPORT   0x00000014
 
#define SS_ERROR_MULTICAST_ADDR_IN_USE   0x00000015
 
#define SS_ERROR_MULTICAST_PORT_IN_USE   0x00000016
 
#define SS_ERROR_MOD_FAIL_LIBSTRING   0x00000020
 
#define SS_ERROR_NET_ERROR   0x00000040
 
#define SS_ERROR_IPC_ERROR   0x00000041
 
#define SS_ERROR_INVALID_SESSION   0x00000042
 
#define SS_ERROR_GTR_MAX_SERVER_COUNT   0x00000043
 
#define SS_ERROR_MASTER_UNSUPPORT_PIN   0x00000044
 
#define SS_ERROR_MASTER_PIN_NOT_ACTIVE   0x00000045
 
#define SS_ERROR_MASTER_NO_SUCH_PIN   0x00000046
 
#define SS_ERROR_MASTER_OUTDATED_VERSION   0x00000047
 
#define SS_ERROR_MASTER_PIN_WRONG   0x00000048
 
#define SS_ERROR_MASTER_PIN_BLOCKED   0x00000049
 
#define SS_ERROR_NET_TIMEOUT   0x0000004A
 
#define SS_ERROR_MOD_INIT_FAIL   0x05000000
 
#define SS_ERROR_BOUND_EXCEEDED   0x05000001
 
#define SS_ERROR_REACH_LIMIT   0x05000002
 
#define SS_ERROR_IGNORE   0x05000003
 
#define SS_ERROR_SERVER_NOT_FOUND   0x05000004
 
#define SS_ERROR_NO_LOCK   0x05000005
 
#define SS_ERROR_SLM_HANDLE_IS_FULL   0x05000006
 
#define SS_ERROR_REG_NOT_FOUND   0x05000007
 
#define SS_ERROR_REG_ACCESS_DENIED   0x05000008
 
#define SS_ERROR_REG_INVALID_VALUE   0x05000009
 
#define SS_ERROR_FORMAT_NOT_SUPPORTED   0x0500000A
 
#define SS_ERROR_CONFIG_FILE_NOT_FOUND   0x0500000B
 
#define SS_ERROR_CONFIG_PARSE_ERROR   0x0500000C
 
#define SS_ERROR_SYSTEM_ERROR   0x0500000D
 
#define SS_ERROR_CREATE_THREAD_ERROR   0x0500000E
 
#define SS_ERROR_SSRP_DATA_BROKEN   0x0500000F
 
#define SS_ERROR_SSRP_WRONG_VERSION   0x05000010
 
#define SS_ERROR_SSRP_INVALID_TYPE   0x05000012
 
#define SS_ERROR_WHITELISTED   0x05000013
 
#define SS_ERROR_BLACKLISTED   0x05000014
 
#define SS_ERROR_FILE_ACCESS_DENIED   0x05000015
 
#define SS_ERROR_DEVICE_NOT_FOUND   0x05000016
 
#define SS_ERROR_DEVICE_FAIL_TO_OPEN   0x05000017
 
#define SS_ERROR_MSG_BAD_PACKAGE   0x05000018
 
#define SS_ERROR_MSG_INVALID_TYPE   0x05000019
 
#define SS_ERROR_LOCK_NOT_FOUND   0x0500001F
 
#define SS_ERROR_NO_SESSION_KEY_ERROR   0x05000020
 
#define SS_ERROR_ENCRYPT_ERROR   0x05000021
 
#define SS_ERROR_DECRYPT_ERROR   0x05000022
 
#define SS_ERROR_DEVELOPER_NOT_FOUND   0x05000023
 
#define SS_ERROR_NET_PORT_BIND_ERROR   0X05000030
 
#define SS_ERROR_BROADCAST_INIT_ERROR   0X05000031
 
#define SS_ERROR_BROADCAST_JOB_ERROR   0X05000030
 
#define SS_ERROR_TASK_PENDING   0x05000041
 
#define SS_ERROR_TASK_FAIL   0x05000042
 
#define SS_ERROR_TASK_CANCELLING   0x05000043
 
#define SS_ERROR_TASK_CANCELLED   0x05000044
 
#define SS_ERROR_CLOUD_AUTH   0x05000045
 
#define SS_ERROR_HTTP_RESPONSE   0x05000046
 
#define SS_ERROR_D2C_NO_PACKAGE   0x13000000
 
#define SS_ERROR_DEVELOPER_CERT_ALREADY_EXIST   0x13000001
 
#define SS_ERROR_PARSE_CERT   0x13000003
 
#define SS_ERROR_D2C_PACKAGE_TOO_LARGE   0x13000004
 
#define SS_ERROR_RESPONSE   0x13000005
 
#define SS_ERROR_SEND_LM_REMOTE_REQUEST   0x13000006
 
#define SS_ERROR_RUNTIME_NOT_INITIALIZE   0x13000007
 
#define SS_ERROR_BAD_CONNECT   0x13000008
 
#define SS_ERROR_RUNTIME_VERSION   0x13000009
 
#define SS_ERROR_LIC_NOT_FOUND   0x13000020
 
#define SS_ERROR_AUTH_ACCEPT_FAILED   0x13000021
 
#define SS_ERROR_AUTH_HANDLE_FAILED   0x13000022
 
#define SS_ERROR_DECODE_BUFFER   0x13000023
 
#define SS_ERROR_USER_DATA_TOO_SMALL   0x13000024
 
#define SS_ERROR_INVALID_LM_REQUEST   0x13000025
 
#define SS_ERROR_INVALID_SHORTCODE   0x13000026
 
#define SS_ERROR_INVALID_D2C_PACKAGE   0x13000027
 
#define SS_ERROR_CLOUD_RESPONSE   0x13000028
 
#define SS_ERROR_USER_DATA_TOO_LARGE   0x13000029
 
#define SS_ERROR_INVALID_MEMORY_ID   0x1300002A
 
#define SS_ERROR_INVALID_MEMORY_OFFSET   0x1300002B
 
#define SS_ERROR_INVALID_CLOUD_SERVER   0x1300002C
 
#define SS_ERROR_UNCALIBRATED_TIMESTAMP   0x1300002D
 
#define SS_ERROR_GENERATE_GUID   0x1300002F
 
#define SS_ERROR_NO_LOGGED_USER   0x13000030
 
#define SS_ERROR_USER_AUTH_SERVER_NOT_RUNNING   0x13000031
 
#define SS_ERROR_UNSUPPORTED_SNIPPET_CODE   0x13000033
 
#define SS_ERROR_INVALID_SNIPPET_CODE   0x13000034
 
#define SS_ERROR_EXECUTE_SNIPPET_CODE   0x13000035
 
#define SS_ERROR_SNIPPET_EXECUTE_LOGIN   0x13000036
 
#define SS_ERROR_LICENSE_MODULE_NOT_EXISTS   0x13000037
 
#define SS_ERROR_DEVELOPER_PASSWORD   0x13000038
 
#define SS_ERROR_CALLBACK_VERSION   0x13000039
 
#define SS_ERROR_INFO_RELOGIN   0x1300003A
 
#define SS_ERROR_LICENSE_VERIFY   0x1300003B
 
#define SS_ERROR_REFRESH_TOKEN_TIMEOUT   0x1300003C
 
#define SS_ERROR_TOKEN_VERIFY_FAIL   0x1300003D
 
#define SS_ERROR_GET_TOKEN_FAIL   0x1300003E
 
#define SS_ERROR_NEED_WAIT   0x13000044
 
#define SS_ERROR_LICENSE_NEED_TO_ACTIVATE   0x13000051
 
#define SS_ERROR_DATA_NOT_END   0x13000052
 
#define SS_ERROR_BAD_ADDR   0x02000000
 
#define SS_ERROR_BAD_NAME   0x02000001
 
#define SS_ERROR_IPC_FAILED   0x02000002
 
#define SS_ERROR_IPC_CONNECT_FAILED   0x02000003
 
#define SS_ERROR_IPC_AUTH_INITIALIZE   0x02000004
 
#define SS_ERROR_IPC_QUERY_STATE   0x02000005
 
#define SS_ERROR_SERVICE_NOT_RUNNING   0x02000006
 
#define SS_ERROR_IPC_DISCONNECT_FAILED   0x02000007
 
#define SS_ERROR_IPC_BUILD_SESSION_KEY   0x02000008
 
#define SS_ERROR_REQUEST_OUTPUT_BUFFER_TOO_LARGE   0x02000009
 
#define SS_ERROR_IPC_AUTH_ENCODE   0x0200000A
 
#define SS_ERROR_IPC_AUTH_DECODE   0x0200000B
 
#define SS_ERROR_IPC_INIT_FAILED   0x0200000C
 
#define SS_ERROR_IPC_EXCHANGE_CERT   0x0200000D
 
#define SS_ERROR_INIT_ANTIDEBUG   0x12000005
 
#define SS_ERROR_DEBUG_FOUNDED   0x12000006
 
#define ERROR_LM_SVC_UNINTIALIZED   0x24000001
 
#define ERROR_LM_SVC_INITIALIZING   0x24000002
 
#define ERROR_LM_SVC_INVALID_SESSION_INFO_SIZE   0x24000003
 
#define ERROR_LM_SVC_KEEP_ALIVE_FAILED   0x24000004
 
#define ERROR_LM_SVC_LICENSE_NOT_FOUND   0x24000005
 
#define ERROR_LM_SVC_SESSION_ALREADY_LOGOUT   0x24000006
 
#define ERROR_LM_SVC_SESSION_ID_NOT_FOUND   0x24000007
 
#define ERROR_LM_SVC_DEBUGGED   0x24000008
 
#define ERROR_LM_SVC_INVALID_DESCRIPTION   0x24000009
 
#define ERROR_LM_SVC_HANDLE_NOT_FOUND   0x2400000A
 
#define ERROR_LM_SVC_CACHE_OVERFLOW   0x2400000B
 
#define ERROR_LM_SVC_SESSION_OVERFLOW   0x2400000C
 
#define ERROR_LM_SVC_INVALID_SESSION   0x2400000D
 
#define ERROR_LM_SVC_SESSION_ALREADY_DELETED   0x2400000E
 
#define ERROR_LM_SVC_LICENCE_EXPIRED   0x2400000F
 
#define ERROR_LM_SVC_SESSION_TIME_OUT   0x24000010
 
#define ERROR_LM_SVC_NOT_ENOUGH_BUFF   0x24000011
 
#define ERROR_LM_SVC_DESC_NOT_FOUND   0x24000012
 
#define ERROR_LM_INVALID_PARAMETER   0x24000013
 
#define ERROR_LM_INVALID_LOCK_TYPE   0x24000014
 
#define ERROR_LM_REMOTE_LOGIN_DENIED   0x24000015
 
#define ERROR_LM_SVC_SESSION_INVALID_AUTHCODE   0x24000016
 
#define ERROR_LM_SVC_ACCOUNT_NOT_BOUND   0x24000017
 
#define ERROR_LM_USER_NOT_EXISTS   0x24000018
 
#define SS_ERROR_UNSUPPORTED_ALGORITHM   0x21000000
 
#define SS_ERROR_INVAILD_HLC_HANDLE   0x21000001
 
#define SS_ERROR_HLC_CHECK   0x21000002
 
#define SS_ERROR_LM_CHECK_READ   0x21000003
 
#define SS_ERROR_LM_CHECK_LICENSE   0x21000004
 
#define SS_ERROR_LM_CHECKSUM   0x21000005
 
#define SS_ERROR_HLC_BUFFER_LEN   0x21000006
 
#define SS_ERROR_L2CWF_LEN   0x21000007
 
#define SS_ERROR_INVAILD_MAX_ENCRYPT_LENGTH   0x21000008
 
#define SS_ERROR_INVAILD_ENUM_CRYPT_TYPE   0x21000009
 
#define SS_ERROR_NATIVE_INSUFFICIENT_BUFFER   0x2100000A
 
#define SS_ERROR_NATIVE_LIST_FILE_FAILED   0x2100000B
 
#define SS_ERROR_INVALID_C2H_REQUEST   0x2100000C
 
#define SS_ERROR_FIRM_INVALID_FILE_NAME   0x22000001
 
#define SS_ERROR_FIRM_CHECK_BUFF_FAILED   0x22000002
 
#define SS_ERROR_FIRM_INVALID_BUFF_LEN   0x22000003
 
#define SS_ERROR_FIRM_INVALID_PARAM   0x22000004
 
#define SS_ERROR_FIRM_INVALID_SESSION_INFO   0x22000005
 
#define SS_ERROR_FIRM_INVALID_FILE_SIZE   0x22000006
 
#define SS_ERROR_FIRM_WRITE_FILE_FAILED   0x22000007
 
#define SS_ERROR_FIRM_INVALID_LICENCE_HEADER   0x22000008
 
#define SS_ERROR_FIRM_INVALID_LICENCE_SIZE   0x22000009
 
#define SS_ERROR_FIRM_INVALID_LICENCE_INDEX   0x2200000A
 
#define SS_ERROR_FIRM_LIC_NOT_FOUND   0x2200000B
 
#define SS_ERROR_FIRM_MEM_STATUS_INVALID   0x2200000C
 
#define SS_ERROR_FIRM_INVALID_LIC_ID   0x2200000D
 
#define SS_ERROR_FIRM_LICENCE_ALL_DISABLED   0x2200000E
 
#define SS_ERROR_FIRM_CUR_LICENCE_DISABLED   0x2200000F
 
#define SS_ERROR_FIRM_LICENCE_INVALID   0x22000010
 
#define SS_ERROR_FIRM_LIC_STILL_UNAVALIABLE   0x22000011
 
#define SS_ERROR_FIRM_LIC_TERMINATED   0x22000012
 
#define SS_ERROR_FIRM_LIC_RUNTIME_TIME_OUT   0x22000013
 
#define SS_ERROR_FIRM_LIC_COUNTER_IS_ZERO   0x22000014
 
#define SS_ERROR_FIRM_LIC_MAX_CONNECTION   0x22000015
 
#define SS_ERROR_FIRM_INVALID_LOGIN_COUNTER   0x22000016
 
#define SS_ERROR_FIRM_REACHED_MAX_SESSION   0x22000017
 
#define SS_ERROR_FIRM_INVALID_TIME_INFO   0x22000018
 
#define SS_ERROR_FIRM_SESSION_SIZE_DISMATCH   0x22000019
 
#define SS_ERROR_FIRM_NOT_ENOUGH_SHAREMEMORY   0x2200001A
 
#define SS_ERROR_FIRM_INVALID_OPCODE   0x2200001B
 
#define SS_ERROR_FIRM_INVALID_DATA_LEN   0x2200001C
 
#define SS_ERROR_FIRM_DATA_FILE_NOT_FOUND   0x2200001E
 
#define SS_ERROR_FIRM_INVALID_PKG_TYPE   0x2200001F
 
#define SS_ERROR_FIRM_INVALID_TIME_STAMP   0x22000020
 
#define SS_ERROR_FIRM_INVALID_UPD_LIC_ID   0x22000021
 
#define SS_ERROR_FIRM_LIC_ALREADY_EXIST   0x22000022
 
#define SS_ERROR_FIRM_LICENCE_SIZE_LIMITTED   0x22000023
 
#define SS_ERROR_FIRM_INVALID_DATA_FILE_OFFSET   0x22000024
 
#define SS_ERROR_FIRM_ZERO_INDEX_LIC_DESTROY   0x22000025
 
#define SS_ERROR_FIRM_LIC_ALREADY_DISABLED   0x22000026
 
#define SS_ERROR_FIRM_INVALID_UPD_OPCODE   0x22000027
 
#define SS_ERROR_FIRM_LIC_ALREADY_ENABLED   0x22000028
 
#define SS_ERROR_FIRM_INVALID_PKG_SIZE   0x22000029
 
#define SS_ERROR_FIRM_LIC_COUNT_RETURN   0x2200002A
 
#define SS_ERROR_FIRM_INVALID_OPERATION   0x2200002B
 
#define SS_ERROR_FIRM_SESSION_ALREADY_LOGOUT   0x2200002C
 
#define SS_ERROR_FIRM_EXCHANGE_KEY_TIMEOUT   0x2200002D
 
#define SS_ERROR_FIRM_INVALID_EXCHANGE_KEY_MAGIC   0x2200002E
 
#define SS_ERROR_FIRM_INVALID_AUTH_CODE   0x2200002F
 
#define SS_ERROR_FIRM_CONVERT_INDEX_TO_FILE   0x22000030
 
#define SS_ERROR_FIRM_INVALID_USER_DATA_TYPE   0x22000031
 
#define SS_ERROR_FIRM_INVALID_DATA_FILE_SIZE   0x22000032
 
#define SS_ERROR_FIRM_INVALID_CCRNT_OPR_TYPE   0x22000033
 
#define SS_ERROR_FIRM_ALL_LIC_TERMINATED   0x22000034
 
#define SS_ERROR_FIRM_INVALID_CCRNT_VALUE   0x22000035
 
#define SS_ERROR_FIRM_INVALID_UPD_FILE   0x22000036
 
#define SS_ERROR_FIRM_UPD_RECORD_FULL   0x22000037
 
#define SS_ERROR_FIRM_UPDATE_FAILED   0x22000038
 
#define SS_ERROR_FIRM_LICENSE_BEING_WRITTING   0x22000039
 
#define SS_ERROR_FIRM_INVALID_PKG_FIELD_TYPE   0x2200003A
 
#define SS_ERROR_FIRM_LOAT_FSM_SALT   0x2200003B
 
#define SS_ERROR_FIRM_DATA_LENGTH_ALIGNMENT   0x2200003C
 
#define SS_ERROR_FIRM_DATA_CRYPTION   0x2200003D
 
#define SS_ERROR_FIRM_SHORTCODE_UPDATE_NOT_SUPPORTED   0x2200003E
 
#define SS_ERROR_FIRM_INVALID_SHORTCODE   0x2200003F
 
#define SS_ERROR_FIRM_LIC_USR_DATA_NOT_EXIST   0x22000040
 
#define SS_ERROR_FIRM_RCD_FILE_NOT_INITIALIZED   0x22000041
 
#define SS_ERROR_FIRM_AUTH_FILE_NOT_FOUND   0x22000042
 
#define SS_ERROR_FIRM_SESSION_OVERFLOW   0x22000043
 
#define SS_ERROR_FIRM_TIME_OVERFLOW   0x22000044
 
#define SS_ERROR_FIRM_REACH_FILE_LIS_END   0x22000045
 
#define SS_ERROR_FIRM_ANTI_MECHANISM_ACTIVED   0x22000046
 
#define SS_ERROR_FIRM_NO_BLOCK   0x22000047
 
#define SS_ERROR_FIRM_NOT_ENDED   0x22000048
 
#define SS_ERROR_FIRM_LIC_ALREADY_ACTIVE   0x22000049
 
#define SS_ERROR_FIRM_FILE_NOT_FOUND   0x22000050
 
#define SS_ERROR_FIRM_UNKNOW_USER_DATA_TYPE   0x22000051
 
#define SS_ERROR_FIRM_INVALID_TF_CODE   0x22000052
 
#define SS_ERROR_FIRM_UNMATCH_GUID   0x22000053
 
#define SS_ERROR_FIRM_UNABLE_TRANSFER   0x22000054
 
#define SS_ERROR_FIRM_INVALID_TRANSCODE   0x22000055
 
#define SS_ERROR_FIRM_ACCOUNT_NAME_NOT_FOUND   0x22000056
 
#define SS_ERROR_FIRM_ACCOUNT_ID_NOT_FOUND   0x22000057
 
#define SS_ERROR_FIRM_INVALID_XKEY_STEP   0x22000058
 
#define SS_ERROR_FIRM_INVLAID_DEVELOPER_ID   0x22000059
 
#define SS_ERROR_FIRM_CA_TYPE   0x2200005A
 
#define SS_ERROR_FIRM_LIC_TRANSFER_FAILURE   0x2200005B
 
#define SS_ERROR_FIRM_TF_PACKAGE_VERSION   0x2200005C
 
#define SS_ERROR_FIRM_BEYOND_PKG_ITEM_SIZE   0x2200005D
 
#define SS_ERROR_FIRM_UNBOUND_ACCOUNT_INFO   0x2200005E
 
#define SS_ERROR_FIRM_DEVICE_LOCKED   0x2200005F
 
#define SS_ERROR_FIRM_INVALID_LOCK_PASSWORD   0x22000060
 
#define SS_ERROR_FIRM_NOT_EXCHANGE_KEY   0x22000061
 
#define SS_ERROR_FIRM_INVALID_SHORTCODE_SWAP_FILE   0x22000062
 
#define SS_ERROR_FIRM_SHORTCODE_UPDATE_USER_DATA   0x22000063
 
#define SS_ERROR_FIRM_CTRL_HMAC_VERSION   0x22000064
 
#define SS_ERROR_FIRM_CTRL_HMAC_MAGIC   0x22000065
 
#define SS_ERROR_FIRM_GEN_HWFP   0x22001001
 
#define SS_ERROR_FIRM_WRONG_VERSION   0x22001002
 
#define SS_ERROR_FIRM_INVALID_PACKAGE   0x22001003
 
#define SS_ERROR_FIRM_UNSUPPORTED_PACKAGE   0x22001004
 
#define SS_ERROR_FIRM_ILLEGAL_PACKAGE   0x22001005
 
#define SS_ERROR_FIRM_EXCEPTION   0x22001006
 
#define SS_ERROR_FIRM_VERIFY_D2C   0x22001007
 
#define SS_ERROR_FIRM_HWFP_MISMATCHED   0x22001008
 
#define SS_ERROR_FIRM_LICDATA_ERROR   0x22001009
 
#define SS_ERROR_FIRM_DEVPCERTS_NOT_FOUND   0X2200100A
 
#define SS_ERROR_FIRM_WRONG_CERTS   0x2200100B
 
#define SS_ERROR_FIRM_VERIFY_DEVPSIGN   0x2200100C
 
#define SS_ERROR_FIRM_INVALID_VCLOCK   0x2200100D
 
#define SS_ERROR_FIRM_SLOCK_CORRUPT   0x2200100E
 
#define SS_ERROR_FIRM_FORMAT_SLOCK   0x2200100F
 
#define SS_ERROR_FIRM_BAD_CONFIG   0x22001010
 
#define SS_ERROR_FIRM_BAD_OFFLINE_ADJUST_TIME   0x22001011
 
#define SS_ERROR_LIC_TRANS_NO_SN_DESC   0x28000001
 
#define SS_ERROR_LIC_TRANS_INVALID_DATA   0x28000002
 
#define SS_ERROR_AUTH_SERVER_INVALID_TOKEN   0x29000001
 
#define SS_ERROR_AUTH_SERVER_REFRESH_TOKEN   0x29000002
 
#define SS_ERROR_AUTH_SERVER_LOGIN_CANCELED   0x29000003
 
#define SS_ERROR_AUTH_SERVER_GET_ALL_USER_INFO_FAIL   0x29000004
 
#define SS_CLOUD_OK   0x30000000
 
#define SS_ERROR_CLOUD_INVALID_PARAMETER   0x30000001
 
#define SS_ERROR_CLOUD_QUERY_UESR_INFO   0x30000002
 
#define SS_ERROR_CLOUD_INVALID_LICENSE_SESSION   0x30000003
 
#define SS_ERROR_CLOUD_DATA_EXPIRED   0x30000004
 
#define SS_ERROR_CLOUD_VERIFY_TIMESTAMP_SIGNATURE   0x30000005
 
#define SS_ERROR_CLOUD_AUTH_FAILED   0x30000006
 
#define SS_ERROR_CLOUD_NOT_BOUND   0x30000007
 
#define SS_ERROR_CLOUD_EXECUTE_FAILED   0x30000008
 
#define SS_ERROR_CLOUD_INVALID_TOKEN   0x30000010
 
#define SS_ERROR_CLOUD_LICENSE_ALREADY_LOGIN   0x30000011
 
#define SS_ERROR_CLOUD_LICENSE_EXPIRED   0x30000012
 
#define SS_ERROR_CLOUD_SESSION_KICKED   0x30000013
 
#define SS_ERROR_CLOUD_DEVELOPER_ACCOUNT   0x30000014
 
#define SS_ERROR_CLOUD_INVALID_SESSSION   0x30001002
 
#define SS_ERROR_CLOUD_SESSION_TIMEOUT   0x30001004
 
#define SS_ERROR_CLOUD_PARSE_PARAM   0x30001007
 
#define SS_ERROR_CLOUD_LICENSE_LOGIN_SUCCESS   0x31001000
 
#define SS_ERROR_CLOUD_LICENSE_NOT_EXISTS   0x31001001
 
#define SS_ERROR_CLOUD_LICENSE_NOT_ACTIVE   0x31001002
 
#define SS_ERROR_CLOUD_LICENSE_EXPIRED2   0x31001003
 
#define SS_ERROR_CLOUD_LICENSE_COUNTER_IS_ZERO   0x31001004
 
#define SS_ERROR_CLOUD_LICENSE_RUNTIME_TIME_OUT   0x31001005
 
#define SS_ERROR_CLOUD_LICENSE_MAX_CONNECTION   0x31001006
 
#define SS_ERROR_CLOUD_LICENSE_LOCKED   0x31001007
 
#define SS_ERROR_CLOUD_LICENSE_DATA_NOT_EXISTS   0x31001008
 
#define SS_ERROR_CLOUD_LICENSE_STILL_UNAVAILABLE   0x31001010
 
#define SS_ERROR_CLOUD_ZERO_LICENSE_NOT_EXISTS   0x31001011
 
#define SS_ERROR_CLOUD_VERIFY_LICENSE   0x31001012
 
#define SS_ERROR_CLOUD_EXECUTE_FILE_NOT_EXISTS   0x31002000
 
#define SS_ERROR_CLOUD_LICENSE_NOT_BOUND   0x31003001
 
#define SS_ERROR_SO_SERVER_ERROR   0x51000500
 
#define SS_ERROR_SO_SERVER_DATA_ERROR   0x51004000
 
#define SS_ERROR_SO_USER_CENTER_ERROR   0x51004001
 
#define SS_ERROR_SO_INVALID_TOKEN   0x51004002
 
#define SS_ERROR_SO_REFUSE_ADJUST_TIME   0x51004003
 
#define SS_ERROR_SO_BEFORE_START_TIME   0x51004004
 
#define SS_ERROR_SO_EXPIRED   0x51004005
 
#define SS_ERROR_SO_LICENSE_BIND_ERROR   0x51004006
 
#define SS_ERROR_SO_LICENSE_BIND_FULL   0x51004007
 
#define SS_ERROR_SO_LICENSE_UNBOUND   0x51004008
 
#define SS_ERROR_SO_LICENSE_MAX_BIND_FULL   0x51004009
 
#define SS_ERROR_SO_INVALID_ACCESS_TOKEN   0x5100400A
 
#define SS_ERROR_SO_NOT_SUPPORTED_OFFLINE_BIND   0x51004010
 
#define SS_ERROR_SO_EXPIRED_C2D   0x51004011
 
#define SS_ERROR_SO_OFFLINE_UNBIND_REPEAT   0x51004012
 
#define SS_ERROR_SO_DEVELOPER_ACCOUNT   0x51004013
 
#define SS_ERROR_SO_OUTDATED_VERSION   0x51004014
 
#define SS_ERROR_LICKEY_QUERY_STATUS_REQ_ERROR   0x51005001
 
#define SS_ERROR_LICKEY_EXCHANGE_REQ_ERROR   0x51005002
 
#define SS_ERROR_LICKEY_NOT_EXIST   0x51005003
 
#define SS_ERROR_LICKEY_DEDUCT_FAILED   0x51005004
 
#define SS_ERROR_LICKEY_C2D_INVALID_CHAR_ENCODING   0x51005005
 
#define SS_ERROR_LICKEY_C2D_UNSUPPORTED_PROTO_TYPE   0x51005006
 
#define SS_ERROR_LICKEY_C2D_UNSUPPORTED_PROTO_VER   0x51005007
 
#define SS_ERROR_LICKEY_C2D_UNSUPPORTED_HWFP_VER   0x51005008
 
#define SS_ERROR_LICKEY_C2D_INCOMPATIBLE_MACHINE_ID   0x51005009
 
#define SS_ERROR_LICKEY_C2D_UNSUPPORTED_INFO_VER   0x5100500A
 
#define SS_ERROR_LICKEY_C2D_OVERDUE   0x5100500B
 
#define SS_ERROR_LICKEY_C2D_HWFP_VERIFY_FAILED   0x5100500C
 
#define SS_ERROR_LICKEY_C2D_OLD_SS_VER   0x5100500D
 
#define SS_ERROR_LICKEY_C2D_PLATFORM_JUST_4_TRADITIONAL   0x5100500E
 
#define SS_ERROR_LICKEY_C2D_PLATFORM_JUST_4_ANDROID   0x5100500F
 
#define SS_ERROR_LICKEY_C2D_EXCEPTION_HAPPENS   0x51005010
 
#define SS_ERROR_LICKEY_BIND_NO_AVAILABLE_LICENSE   0x51005011
 
#define SS_ERROR_LICKEY_BIND_LICENSE_NOT_START   0x51005012
 
#define SS_ERROR_LICKEY_BIND_LICENSE_EXPIRED   0x51005013
 
#define SS_ERROR_LICKEY_BINDING_LIMIT_EXCEEDED   0x51005014
 
#define SS_ERROR_LICKEY_BOUND_LIMIT_EXCEEDED   0x51005015
 
#define SS_ERROR_LICKEY_BIND_NO_AVAILABLE_PKG   0x51005016
 
#define SS_ERROR_LICKEY_D2C_EXCEPTION_HAPPENS   0x51005017
 
#define SS_ERROR_LICKEY_LICENSE_NOT_EXIST   0x5100612D
 
#define SS_ERROR_LICKEY_D2C_PACKAGE   0x5100612E
 
#define SS_ERROR_LICKEY_NOT_EXIST_V2   0x5100612F
 
#define SS_ERROR_LICKEY_INVALID_C2D_DATA   0x51006130
 
#define SS_ERROR_LICKEY_INVALID_C2D_PARAM   0x51006131
 
#define SS_ERROR_LICKEY_NO_D2C_PACKAGE   0x51006132
 
#define SS_ERROR_LICKEY_LICENSE_ERROR   0x51006133
 
#define SS_ERROR_LICKEY_ABNORMAL_COST   0x51006134
 
#define SS_ERROR_LL_SERVER_INTERNAL_ERROR   0x61000001
 
#define SS_ERROR_LL_INVALID_PARAMETERS   0x61000002
 
#define SS_ERROR_LL_DEVICE_INFO_NOT_EXIST   0x61000003
 
#define SS_ERROR_LL_DEVICE_LOSS_OR_LOCKED   0x61000004
 
#define SS_ERROR_LL_UNSUPPORTED_DEVELOPER   0x61000005
 
#define SS_ERROR_LL_DEVICE_NO_RECORD   0x61000006
 
#define SS_ERROR_LL_UNSUPPORTED_DEVICE   0x61000007
 
#define SS_ERROR_LL_UNKOWN_ACTIVATION_MODE   0x61001001
 
#define SS_ERROR_LL_UNKOWN_DEVICE_STATE   0x61001002
 
#define SS_ERROR_LL_UNKOWN_D2C_USAGE   0x61001003
 
#define SS_ERROR_LL_UNKOWN_D2C_WRITE_RESULT   0x61001004
 
#define SS_ERROR_LL_VERIFY_ERROR   0x61001005
 
#define SS_ERROR_LL_DATABASE_OPT_ERROR   0x61001006
 
#define SS_ERROR_LL_NO_NEED_TO_ACTIVATE   0x61001007
 
#define SS_ERROR_LL_DEVICE_ALREADY_LOCKED   0x61001008
 
#define SS_ERROR_LL_D2C_INFO_NOT_EXIST   0x61001009
 
#define SS_ERROR_LL_ILLEGAL_DEVICE_STATE   0x6100100a
 
#define SS_ERROR_LL_CANNOT_BE_ACTIVATED   0x6100100b
 
#define SS_ERROR_LL_NOT_SUPPORTED_PROTOCOL_VERSION   0x6100100c
 
#define SS_ERROR_LL_OVER_DOWNLOAD_TIMES   0x61003001
 
#define SS_ERROR_LL_CERT_NOT_EXIST   0x61003002
 
#define SS_ERROR_LL_LACK_OF_MONEY   0x61003003
 
#define SS_ERROR_LL_D2C_ISSUE_ERROR   0x61003004
 
#define SS_UM_OK   0x00000000
 
#define SS_UM_ERROR   0x00000001
 
#define SS_ERROR_UM_PARAMETER_ERROR   0x60000002
 
#define SS_ERROR_UM_CAPTCHA_INVALID   0x60000003
 
#define SS_ERROR_UM_CAPTCHA_ERROR   0x60000004
 
#define SS_ERROR_UM_CAPTCHA_IS_NULL   0x60000005
 
#define SS_ERROR_UM_USER_NO_ACTIVE   0x60000006
 
#define SS_ERROR_UM_RETRY_TOO_MORE   0x60000007
 
#define SS_ERROR_UM_USER_OR_PWD_ERROR   0x60000008
 
#define SS_ERROR_UM_OAUTH_CONFIG_ERROR   0x60000009
 
#define SS_ERROR_UM_GRANT_TYPE_ERROR   0x6000000A
 
#define SS_ERROR_UM_SCOPE_INVALID   0x6000000B
 
#define SS_ERROR_UM_SERVER_STOP   0x6000000C
 
#define SS_ERROR_UM_IPC_TIMEOUT   0x6000000D
 
#define SS_ERROR_UM_TRANS_ERROR   0x6000000E
 
#define SS_ERROR_UM_CLOUD_INVALID_TOKEN   0x6000000F
 
#define SS_ERROR_UM_ACCOUNT_HAVE_BEEN_LOGOUT   0x60000010
 
#define SS_ERROR_UM_NET_ERROR   0x60000011
 
#define SS_ERROR_UM_COULDNT_RESOLVE_HOST   0x60000012
 
#define SS_ERROR_UM_MEMORY_ERROR   0x60000013
 
#define SS_ERROR_UM_USERLIST_AND_AUTH_CFG_ERROR   0x60000014
 
#define SS_ERROR_UM_NEED_RELOGON   0x60000015
 
#define SS_ERROR_UM_VERIFY_TOKEN_TIMEOUT   0x60000016
 
#define SS_ERROR_UM_REFRESH_TOKEN_TIMEOUT   0x60000017
 
#define MAKE_ERROR(mode, errcode)   (((mode) << 24) | (errcode))
 
#define MAKE_COMMON_ERROR(mode, errcode)   (((mode) << 24) | (errcode))
 
#define MAKE_H5_RUNTIME(errorcode)   (((errorcode)==H5_ERROR_SUCCESS) ? 0 : (MAKE_COMMON_ERROR(MODE_H5_RUNTIME,(errorcode))))
 
#define MAKE_SYS_ERROR(errorcode)   (((errorcode)==0) ? 0 : (MAKE_COMMON_ERROR(MODE_SYSTEM,(errorcode))))
 
#define MAKE_NETAGENT(errorcode)   MAKE_COMMON_ERROR(MODE_NETAGENT,(errorcode))
 
#define MAKE_SSPROTECT(errorcode)   MAKE_COMMON_ERROR(MODE_NETAGENT,(errorcode))
 
#define MAKE_LM_FIRM_ERROR(errorcode)   MAKE_COMMON_ERROR(MODE_LM_FIRM,(errorcode))
 
#define MAKE_LM_SES_ERROR(errorcode)   MAKE_COMMON_ERROR(MODE_LM_SES,(errorcode))
 
#define GET_ERROR_MODULE(errorcode)   ((errorcode) >> 24)
 

详细描述

Virbox 对外声明的类似定义。

SS对外声明错误码,32位,用来统一错误码格式,最高一字节是模块标识。

包括SS、LM、H5、IPC、NetAgent、SSprotect等错误值,其中最高第一字节是错误模块标识,其它由模块自定义

版本
2.1.0
日期
2013-2015
前置条件
提前声明所有错误值

在文件 ss_error.h 中定义.