Wasabi ExpressPlay SDK for iOS  1.23.0
Macros
WsbResults.h File Reference

Result codes. More...

Go to the source code of this file.

Macros

#define WSB_SUCCESS   0
 
#define WSB_FAILURE   (-1)
 
#define WSB_FAILED(_result)   ((_result) != WSB_SUCCESS)
 
#define WSB_SUCCEEDED(_result)   ((_result) == WSB_SUCCESS)
 
#define WSB_CHECK_POINTER_SEVERE(_p)
 
#define WSB_CHECK_POINTER_LABEL_SEVERE(_p, _result, _label)
 
#define WSB_ERROR_BASE   (-100000)
 
#define WSB_ERROR_BASE_GENERAL   (WSB_ERROR_BASE - 0 )
 
#define WSB_ERROR_OUT_OF_MEMORY   (WSB_ERROR_BASE_GENERAL - 0)
 
#define WSB_ERROR_OUT_OF_RESOURCES   (WSB_ERROR_BASE_GENERAL - 1)
 
#define WSB_ERROR_INTERNAL   (WSB_ERROR_BASE_GENERAL - 2)
 
#define WSB_ERROR_INVALID_PARAMETERS   (WSB_ERROR_BASE_GENERAL - 3)
 
#define WSB_ERROR_INVALID_STATE   (WSB_ERROR_BASE_GENERAL - 4)
 
#define WSB_ERROR_NOT_IMPLEMENTED   (WSB_ERROR_BASE_GENERAL - 5)
 
#define WSB_ERROR_OUT_OF_RANGE   (WSB_ERROR_BASE_GENERAL - 6)
 
#define WSB_ERROR_ACCESS_DENIED   (WSB_ERROR_BASE_GENERAL - 7)
 
#define WSB_ERROR_INVALID_SYNTAX   (WSB_ERROR_BASE_GENERAL - 8)
 
#define WSB_ERROR_NOT_SUPPORTED   (WSB_ERROR_BASE_GENERAL - 9)
 
#define WSB_ERROR_INVALID_FORMAT   (WSB_ERROR_BASE_GENERAL - 10)
 
#define WSB_ERROR_NOT_ENOUGH_SPACE   (WSB_ERROR_BASE_GENERAL - 11)
 
#define WSB_ERROR_NO_SUCH_ITEM   (WSB_ERROR_BASE_GENERAL - 12)
 
#define WSB_ERROR_NO_SUCH_INTERFACE   (WSB_ERROR_BASE_GENERAL - 13)
 
#define WSB_ERROR_NOT_AVAILABLE   (WSB_ERROR_BASE_GENERAL - 14)
 
#define WSB_ERROR_TIMEOUT   (WSB_ERROR_BASE_GENERAL - 15)
 
#define WSB_ERROR_RUNTIME_NOT_INITED   (WSB_ERROR_BASE_GENERAL - 16)
 
#define WSB_ERROR_INVALID_PATH   (WSB_ERROR_BASE_GENERAL - 17)
 
#define WSB_ERROR_CANNOT_OPEN_FILE   (WSB_ERROR_BASE_GENERAL - 18)
 
#define WSB_ERROR_EOS   (WSB_ERROR_BASE_GENERAL - 19)
 
#define WSB_ERROR_INCOMPLETE_MEDIA   (WSB_ERROR_BASE_GENERAL - 20)
 
#define WSB_ERROR_STREAM_MISSING   (WSB_ERROR_BASE_GENERAL - 21)
 
#define WSB_ERROR_MIMETYPE_NOT_SUPPORTED   (WSB_ERROR_BASE_GENERAL - 22)
 
#define WSB_ERROR_CANCELED   (WSB_ERROR_BASE_GENERAL - 23)
 
#define WSB_ERROR_INVALID_URL   (WSB_ERROR_BASE_GENERAL - 24)
 
#define WSB_ERROR_OBSOLETE   (WSB_ERROR_BASE_GENERAL - 25)
 
#define WSB_ERROR_MISSING_VERSION   (WSB_ERROR_BASE_GENERAL - 26)
 
#define WSB_ERROR_INVALID_VERSION   (WSB_ERROR_BASE_GENERAL - 27)
 
#define WSB_ERROR_BASE_NETWORK   (WSB_ERROR_BASE - 60)
 
#define WSB_ERROR_BASE_DRM_PLUGIN   (WSB_ERROR_BASE - 100)
 
#define WSB_ERROR_BASE_DOWNLOAD_MANAGER   (WSB_ERROR_BASE - 200)
 
#define WSB_ERROR_BASE_METADATA_HELPER   (WSB_ERROR_BASE - 300)
 
#define WSB_ERROR_BASE_LICENSE_STORE   (WSB_ERROR_BASE - 400)
 
#define WSB_ERROR_BASE_MEDIA_SOURCE_SERVER   (WSB_ERROR_BASE - 500)
 
#define WSB_ERROR_NETWORK_FAILURE   (WSB_ERROR_BASE_NETWORK - 0)
 
#define WSB_ERROR_NETWORK_RESOURCE_NOT_FOUND   (WSB_ERROR_BASE_NETWORK - 1)
 
#define WSB_ERROR_NETWORK_CONNECTION_REFUSED   (WSB_ERROR_BASE_NETWORK - 2)
 
#define WSB_ERROR_NETWORK_DISCONNECTED   (WSB_ERROR_BASE_NETWORK - 3)
 
#define WSB_ERROR_NETWORK_HOST_UNKNOWN   (WSB_ERROR_BASE_NETWORK - 4)
 
#define WSB_ERROR_NETWORK_PERMISSION_DENIED   (WSB_ERROR_BASE_NETWORK - 5)
 
#define WSB_ERROR_NETWORK_SERVER_FAILURE   (WSB_ERROR_BASE_NETWORK - 6)
 
#define WSB_ERROR_NETWORK_PROTOCOL_FAILURE   (WSB_ERROR_BASE_NETWORK - 7)
 
#define WSB_ERROR_BASE_DRM   (WSB_ERROR_BASE - 600)
 
#define WSB_ERROR_DRM_INIT   (WSB_ERROR_BASE_DRM - 0)
 
#define WSB_ERROR_DRM_NO_LICENSE   (WSB_ERROR_BASE_DRM - 1)
 
#define WSB_ERROR_DRM_NO_SILENT_HEADER   (WSB_ERROR_BASE_DRM - 2)
 
#define WSB_ERROR_DRM_NO_RENEWAL_URL   (WSB_ERROR_BASE_DRM - 3)
 
#define WSB_ERROR_DRM_ACQUIRE_TOKEN   (WSB_ERROR_BASE_DRM - 4)
 
#define WSB_ERROR_DRM_PROCESS_TOKEN   (WSB_ERROR_BASE_DRM - 5)
 
#define WSB_ERROR_DRM_EVAL_LICENSE   (WSB_ERROR_BASE_DRM - 6)
 
#define WSB_ERROR_DRM_DENY_RIGHTS   (WSB_ERROR_BASE_DRM - 7)
 
#define WSB_ERROR_DRM_GET_KEY   (WSB_ERROR_BASE_DRM - 8)
 
#define WSB_ERROR_DRM_UNHANDLED_CALLBACK   (WSB_ERROR_BASE_DRM - 9)
 
#define WSB_ERROR_DRM_UNHANDLED_OBLIGATION   (WSB_ERROR_BASE_DRM - 10)
 
#define WSB_ERROR_DRM_CLIENT_SYSTEM_ERROR   (WSB_ERROR_BASE_DRM - 11)
 
#define WSB_ERROR_DRM_INVALID_URL   (WSB_ERROR_BASE_DRM - 12)
 
#define WSB_ERROR_DRM_SERVER_UNREACHABLE   (WSB_ERROR_BASE_DRM - 13)
 
#define WSB_ERROR_DRM_DENIED_BY_SERVER   (WSB_ERROR_BASE_DRM - 14)
 
#define WSB_ERROR_DRM_BAD_SERVER_RESPONSE   (WSB_ERROR_BASE_DRM - 15)
 
#define WSB_ERROR_DRM_BAD_CONTENT_FORMAT   (WSB_ERROR_BASE_DRM - 16)
 
#define WSB_ERROR_DRM_LICENSE_UNSUPPORTED   (WSB_ERROR_BASE_DRM - 17)
 
#define WSB_ERROR_DRM_BAD_LICENSE_FORMAT   (WSB_ERROR_BASE_DRM - 18)
 
#define WSB_ERROR_DRM_MISSING_CREDENTIALS   (WSB_ERROR_BASE_DRM - 19)
 
#define WSB_ERROR_DRM_LICENSE_EXPIRED   (WSB_ERROR_BASE_DRM - 20)
 
#define WSB_ERROR_DRM_PLAY_COUNT_EXCEEDED   (WSB_ERROR_BASE_DRM - 21)
 
#define WSB_ERROR_DRM_SUBSCRIPTION_EXPIRED   (WSB_ERROR_BASE_DRM - 22)
 
#define WSB_ERROR_DRM_UNKNOWN   (WSB_ERROR_BASE_DRM - 23)
 
#define WSB_ERROR_DRM_HARD_CODED_KEYS   (WSB_ERROR_BASE_DRM - 24)
 
#define WSB_ERROR_DRM_INSUFFICIENT_LICENSE_NO_WUDO   (WSB_ERROR_BASE_DRM - 25)
 
#define WSB_ERROR_DRM_DEVICE_ROOTED_OR_JAILBROKEN   (WSB_ERROR_BASE_DRM - 26)
 
#define WSB_ERROR_DRM_ROOTED_DEVICE_LICENSE_CONTROL   (WSB_ERROR_BASE_DRM - 27)
 
#define WSB_ERROR_BASE_DS_FILTER   (WSB_ERROR_BASE - 700)
 
#define WSB_ERROR_BASE_GST_ELEMENT   (WSB_ERROR_BASE - 800)
 
#define WSB_ERROR_BASE_SMTH   (WSB_ERROR_BASE - 1000)
 
#define WSB_ERROR_BASE_ARI   (WSB_ERROR_BASE - 1100)
 
#define WSB_ERROR_BASE_HLS   (WSB_ERROR_BASE - 1200)
 
#define WSB_ERROR_BASE_DASH   (WSB_ERROR_BASE - 1300)
 
#define WSB_ERROR_BASE_OC   (WSB_ERROR_BASE - 1400)
 
#define WSB_ERROR_OC_FAILED_SEC_CLASS   (WSB_ERROR_BASE_OC - 0)
 
#define WSB_ERROR_OC_NOT_SUBJECT_TO_SEC_CLASS   (WSB_ERROR_BASE_OC - 1)
 
#define WSB_ERROR_OC_PREDICATE_NESTING_LEVEL   (WSB_ERROR_BASE_OC - 2)
 
#define WSB_ERROR_OC_HDCP_SRM_PARSE   (WSB_ERROR_BASE_OC - 3)
 
#define WSB_ERROR_OC_HDCP_SRM_NOT_SUPPORTED   (WSB_ERROR_BASE_OC - 4)
 
#define WSB_ERROR_OC_EARLIER_HDCP_SRM_VERSION   (WSB_ERROR_BASE_OC - 5)
 
#define WSB_ERROR_OC_HDCP_SRM_UPDATE   (WSB_ERROR_BASE_OC - 6)
 
#define WSB_ERROR_BASE_MEDIA_DOWNLOAD   (WSB_ERROR_BASE - 1500)
 
#define WSB_ERROR_MEDIA_DOWNLOAD_DB   (WSB_ERROR_BASE_MEDIA_DOWNLOAD - 1)
 
#define WSB_ERROR_BASE_MEDIA_ADAPTER   (WSB_ERROR_BASE - 1600)
 
#define WSB_ERROR_MA_INVALID_HOST_INFO   (WSB_ERROR_BASE_MEDIA_ADAPTER - 0)
 
#define WSB_ERROR_MA_NOT_SUPPORTED_OS   (WSB_ERROR_BASE_MEDIA_ADAPTER - 1)
 
#define WSB_ERROR_MA_NOT_SUPPORTED_MEDIA   (WSB_ERROR_BASE_MEDIA_ADAPTER - 2)
 
#define WSB_ERROR_MA_NO_NATIVE_SUPPORT   (WSB_ERROR_BASE_MEDIA_ADAPTER - 3)
 
#define WSB_ERROR_MA_NOT_PACKAGED_FOR_NATIVE   (WSB_ERROR_BASE_MEDIA_ADAPTER - 4)
 
#define WSB_ERROR_MA_INVALID_URL_SCHEME   (WSB_ERROR_BASE_MEDIA_ADAPTER - 5)
 
#define WSB_ERROR_MA_INVALID_TOKEN   (WSB_ERROR_BASE_MEDIA_ADAPTER - 6)
 
#define WSB_ERROR_MA_NOT_SUPPORTED_FLAG   (WSB_ERROR_BASE_MEDIA_ADAPTER - 7)
 
#define WSB_ERROR_MA_QUERY_VERSION   (WSB_ERROR_BASE_MEDIA_ADAPTER - 8)
 
#define WSB_ERROR_MA_QUERY_DRM   (WSB_ERROR_BASE_MEDIA_ADAPTER - 9)
 
#define WSB_ERROR_MA_SECURITY_LEVEL   (WSB_ERROR_BASE_MEDIA_ADAPTER - 10)
 
#define WSB_ERROR_BASE_ESB   (WSB_ERROR_BASE - 1700)
 
#define WSB_ERROR_ESB_INTERNAL   (WSB_ERROR_BASE_ESB - 0)
 
#define WSB_ERROR_ESB_SIGN_EXT_TYPE   (WSB_ERROR_BASE_ESB - 1)
 
#define WSB_ERROR_ESB_SIGN_EXT_HMAC_SIZE   (WSB_ERROR_BASE_ESB - 2)
 
#define WSB_ERROR_ESB_SIGN_EXT_VERIFY   (WSB_ERROR_BASE_ESB - 3)
 
#define WSB_ERROR_ESB_NO_OCT_PUB_KEY   (WSB_ERROR_BASE_ESB - 4)
 
#define WSB_ERROR_ESB_INVALID_EXPIRATION   (WSB_ERROR_BASE_ESB - 5)
 
#define WSB_ERROR_ESB_EPL_VERSION   (WSB_ERROR_BASE_ESB - 10)
 
#define WSB_ERROR_ESB_EPL_EXT_COUNT   (WSB_ERROR_BASE_ESB - 11)
 
#define WSB_ERROR_ESB_EPL_DUPLICATE_EXT   (WSB_ERROR_BASE_ESB - 12)
 
#define WSB_ERROR_ESB_EPL_SIGN_EXT_POS   (WSB_ERROR_BASE_ESB - 13)
 
#define WSB_ERROR_ESB_EPL_EXPIRED   (WSB_ERROR_BASE_ESB - 14)
 
#define WSB_ERROR_ESB_EPL_KEY_MISSING   (WSB_ERROR_BASE_ESB - 15)
 
#define WSB_ERROR_ESB_EPL_MULTI_KEYS   (WSB_ERROR_BASE_ESB - 16)
 
#define WSB_ERROR_ESB_EPL_SIZE   (WSB_ERROR_BASE_ESB - 17)
 
#define WSB_ERROR_ESB_GKO_VERSION   (WSB_ERROR_BASE_ESB - 20)
 
#define WSB_ERROR_ESB_GKO_EXT_COUNT   (WSB_ERROR_BASE_ESB - 21)
 
#define WSB_ERROR_ESB_GKO_UNKNOWN_EXT   (WSB_ERROR_BASE_ESB - 22)
 
#define WSB_ERROR_ESB_GKO_DUPLICATE_EXT   (WSB_ERROR_BASE_ESB - 23)
 
#define WSB_ERROR_ESB_GKO_SIGN_EXT_POS   (WSB_ERROR_BASE_ESB - 24)
 
#define WSB_ERROR_ESB_GKO_EXPIRED   (WSB_ERROR_BASE_ESB - 25)
 
#define WSB_ERROR_ESB_GKO_KEY_MISSING   (WSB_ERROR_BASE_ESB - 26)
 
#define WSB_ERROR_ESB_GKO_MULTI_KEYS   (WSB_ERROR_BASE_ESB - 27)
 
#define WSB_ERROR_ESB_GKO_SIZE   (WSB_ERROR_BASE_ESB - 28)
 
#define WSB_ERROR_ESB_GKO_GRP_ID_MISSING   (WSB_ERROR_BASE_ESB - 29)
 
#define WSB_ERROR_ESB_EMM_TARGET_ADDR   (WSB_ERROR_BASE_ESB - 40)
 
#define WSB_ERROR_ESB_EMM_SECTION_LEN   (WSB_ERROR_BASE_ESB - 41)
 
#define WSB_ERROR_ESB_EMM_PAYLOAD_TYPE   (WSB_ERROR_BASE_ESB - 42)
 
#define WSB_ERROR_ESB_EMM_GRP_TARGET_GRP   (WSB_ERROR_BASE_ESB - 43)
 
#define WSB_ERROR_ESB_EMM_VERIFY   (WSB_ERROR_BASE_ESB - 44)
 
#define WSB_ERROR_BASE_MAD   (WSB_ERROR_BASE - 1800)
 
#define WSB_ERROR_MAD_INVALID_TS_SYNC_BYTE   (WSB_ERROR_BASE_MAD - 0)
 
#define WSB_ERROR_MAD_INVALID_CONTENT_ID   (WSB_ERROR_BASE_MAD - 1)
 
#define WSB_ERROR_MAD_INCOMPLETE_KSMT   (WSB_ERROR_BASE_MAD - 2)
 
#define WSB_ERROR_MAD_NEED_UPDATE   (WSB_ERROR_BASE_MAD - 3)
 
#define WSB_ERROR_BASE_ERRNO   (WSB_ERROR_BASE - 2000)
 
#define WSB_ERROR_ERRNO(e)   (WSB_ERROR_BASE_ERRNO - (e))
 

Detailed Description

Result codes.

Macro Definition Documentation

◆ WSB_CHECK_POINTER_LABEL_SEVERE

#define WSB_CHECK_POINTER_LABEL_SEVERE (   _p,
  _result,
  _label 
)
Value:
do { \
if ((_p) == NULL) { \
NPT_CHECK_LABEL_SEVERE(_result, _label); \
} \
} while(0)
#define WSB_ERROR_OUT_OF_MEMORY
Definition: WsbResults.h:54
#define NULL
Definition: WsbTypes.h:60

◆ WSB_CHECK_POINTER_SEVERE

#define WSB_CHECK_POINTER_SEVERE (   _p)
Value:
do { \
if ((_p) == NULL) { \
NPT_CHECK_SEVERE(WSB_ERROR_OUT_OF_MEMORY); \
} \
} while(0)
#define WSB_ERROR_OUT_OF_MEMORY
Definition: WsbResults.h:54
#define NULL
Definition: WsbTypes.h:60

◆ WSB_ERROR_ACCESS_DENIED

#define WSB_ERROR_ACCESS_DENIED   (WSB_ERROR_BASE_GENERAL - 7)

◆ WSB_ERROR_BASE

#define WSB_ERROR_BASE   (-100000)

◆ WSB_ERROR_BASE_ARI

#define WSB_ERROR_BASE_ARI   (WSB_ERROR_BASE - 1100)

◆ WSB_ERROR_BASE_DASH

#define WSB_ERROR_BASE_DASH   (WSB_ERROR_BASE - 1300)

◆ WSB_ERROR_BASE_DOWNLOAD_MANAGER

#define WSB_ERROR_BASE_DOWNLOAD_MANAGER   (WSB_ERROR_BASE - 200)

◆ WSB_ERROR_BASE_DRM

#define WSB_ERROR_BASE_DRM   (WSB_ERROR_BASE - 600)

◆ WSB_ERROR_BASE_DRM_PLUGIN

#define WSB_ERROR_BASE_DRM_PLUGIN   (WSB_ERROR_BASE - 100)

◆ WSB_ERROR_BASE_DS_FILTER

#define WSB_ERROR_BASE_DS_FILTER   (WSB_ERROR_BASE - 700)

◆ WSB_ERROR_BASE_ERRNO

#define WSB_ERROR_BASE_ERRNO   (WSB_ERROR_BASE - 2000)

◆ WSB_ERROR_BASE_ESB

#define WSB_ERROR_BASE_ESB   (WSB_ERROR_BASE - 1700)

◆ WSB_ERROR_BASE_GENERAL

#define WSB_ERROR_BASE_GENERAL   (WSB_ERROR_BASE - 0 )

◆ WSB_ERROR_BASE_GST_ELEMENT

#define WSB_ERROR_BASE_GST_ELEMENT   (WSB_ERROR_BASE - 800)

◆ WSB_ERROR_BASE_HLS

#define WSB_ERROR_BASE_HLS   (WSB_ERROR_BASE - 1200)

◆ WSB_ERROR_BASE_LICENSE_STORE

#define WSB_ERROR_BASE_LICENSE_STORE   (WSB_ERROR_BASE - 400)

◆ WSB_ERROR_BASE_MAD

#define WSB_ERROR_BASE_MAD   (WSB_ERROR_BASE - 1800)

◆ WSB_ERROR_BASE_MEDIA_ADAPTER

#define WSB_ERROR_BASE_MEDIA_ADAPTER   (WSB_ERROR_BASE - 1600)

◆ WSB_ERROR_BASE_MEDIA_DOWNLOAD

#define WSB_ERROR_BASE_MEDIA_DOWNLOAD   (WSB_ERROR_BASE - 1500)

◆ WSB_ERROR_BASE_MEDIA_SOURCE_SERVER

#define WSB_ERROR_BASE_MEDIA_SOURCE_SERVER   (WSB_ERROR_BASE - 500)

◆ WSB_ERROR_BASE_METADATA_HELPER

#define WSB_ERROR_BASE_METADATA_HELPER   (WSB_ERROR_BASE - 300)

◆ WSB_ERROR_BASE_NETWORK

#define WSB_ERROR_BASE_NETWORK   (WSB_ERROR_BASE - 60)

◆ WSB_ERROR_BASE_OC

#define WSB_ERROR_BASE_OC   (WSB_ERROR_BASE - 1400)

◆ WSB_ERROR_BASE_SMTH

#define WSB_ERROR_BASE_SMTH   (WSB_ERROR_BASE - 1000)

◆ WSB_ERROR_CANCELED

#define WSB_ERROR_CANCELED   (WSB_ERROR_BASE_GENERAL - 23)

◆ WSB_ERROR_CANNOT_OPEN_FILE

#define WSB_ERROR_CANNOT_OPEN_FILE   (WSB_ERROR_BASE_GENERAL - 18)

◆ WSB_ERROR_DRM_ACQUIRE_TOKEN

#define WSB_ERROR_DRM_ACQUIRE_TOKEN   (WSB_ERROR_BASE_DRM - 4)

◆ WSB_ERROR_DRM_BAD_CONTENT_FORMAT

#define WSB_ERROR_DRM_BAD_CONTENT_FORMAT   (WSB_ERROR_BASE_DRM - 16)

◆ WSB_ERROR_DRM_BAD_LICENSE_FORMAT

#define WSB_ERROR_DRM_BAD_LICENSE_FORMAT   (WSB_ERROR_BASE_DRM - 18)

◆ WSB_ERROR_DRM_BAD_SERVER_RESPONSE

#define WSB_ERROR_DRM_BAD_SERVER_RESPONSE   (WSB_ERROR_BASE_DRM - 15)

◆ WSB_ERROR_DRM_CLIENT_SYSTEM_ERROR

#define WSB_ERROR_DRM_CLIENT_SYSTEM_ERROR   (WSB_ERROR_BASE_DRM - 11)

◆ WSB_ERROR_DRM_DENIED_BY_SERVER

#define WSB_ERROR_DRM_DENIED_BY_SERVER   (WSB_ERROR_BASE_DRM - 14)

◆ WSB_ERROR_DRM_DENY_RIGHTS

#define WSB_ERROR_DRM_DENY_RIGHTS   (WSB_ERROR_BASE_DRM - 7)

◆ WSB_ERROR_DRM_DEVICE_ROOTED_OR_JAILBROKEN

#define WSB_ERROR_DRM_DEVICE_ROOTED_OR_JAILBROKEN   (WSB_ERROR_BASE_DRM - 26)

◆ WSB_ERROR_DRM_EVAL_LICENSE

#define WSB_ERROR_DRM_EVAL_LICENSE   (WSB_ERROR_BASE_DRM - 6)

◆ WSB_ERROR_DRM_GET_KEY

#define WSB_ERROR_DRM_GET_KEY   (WSB_ERROR_BASE_DRM - 8)

◆ WSB_ERROR_DRM_HARD_CODED_KEYS

#define WSB_ERROR_DRM_HARD_CODED_KEYS   (WSB_ERROR_BASE_DRM - 24)

◆ WSB_ERROR_DRM_INIT

#define WSB_ERROR_DRM_INIT   (WSB_ERROR_BASE_DRM - 0)

◆ WSB_ERROR_DRM_INSUFFICIENT_LICENSE_NO_WUDO

#define WSB_ERROR_DRM_INSUFFICIENT_LICENSE_NO_WUDO   (WSB_ERROR_BASE_DRM - 25)

◆ WSB_ERROR_DRM_INVALID_URL

#define WSB_ERROR_DRM_INVALID_URL   (WSB_ERROR_BASE_DRM - 12)

◆ WSB_ERROR_DRM_LICENSE_EXPIRED

#define WSB_ERROR_DRM_LICENSE_EXPIRED   (WSB_ERROR_BASE_DRM - 20)

◆ WSB_ERROR_DRM_LICENSE_UNSUPPORTED

#define WSB_ERROR_DRM_LICENSE_UNSUPPORTED   (WSB_ERROR_BASE_DRM - 17)

◆ WSB_ERROR_DRM_MISSING_CREDENTIALS

#define WSB_ERROR_DRM_MISSING_CREDENTIALS   (WSB_ERROR_BASE_DRM - 19)

◆ WSB_ERROR_DRM_NO_LICENSE

#define WSB_ERROR_DRM_NO_LICENSE   (WSB_ERROR_BASE_DRM - 1)

◆ WSB_ERROR_DRM_NO_RENEWAL_URL

#define WSB_ERROR_DRM_NO_RENEWAL_URL   (WSB_ERROR_BASE_DRM - 3)

◆ WSB_ERROR_DRM_NO_SILENT_HEADER

#define WSB_ERROR_DRM_NO_SILENT_HEADER   (WSB_ERROR_BASE_DRM - 2)

◆ WSB_ERROR_DRM_PLAY_COUNT_EXCEEDED

#define WSB_ERROR_DRM_PLAY_COUNT_EXCEEDED   (WSB_ERROR_BASE_DRM - 21)

◆ WSB_ERROR_DRM_PROCESS_TOKEN

#define WSB_ERROR_DRM_PROCESS_TOKEN   (WSB_ERROR_BASE_DRM - 5)

◆ WSB_ERROR_DRM_ROOTED_DEVICE_LICENSE_CONTROL

#define WSB_ERROR_DRM_ROOTED_DEVICE_LICENSE_CONTROL   (WSB_ERROR_BASE_DRM - 27)

◆ WSB_ERROR_DRM_SERVER_UNREACHABLE

#define WSB_ERROR_DRM_SERVER_UNREACHABLE   (WSB_ERROR_BASE_DRM - 13)

◆ WSB_ERROR_DRM_SUBSCRIPTION_EXPIRED

#define WSB_ERROR_DRM_SUBSCRIPTION_EXPIRED   (WSB_ERROR_BASE_DRM - 22)

◆ WSB_ERROR_DRM_UNHANDLED_CALLBACK

#define WSB_ERROR_DRM_UNHANDLED_CALLBACK   (WSB_ERROR_BASE_DRM - 9)

◆ WSB_ERROR_DRM_UNHANDLED_OBLIGATION

#define WSB_ERROR_DRM_UNHANDLED_OBLIGATION   (WSB_ERROR_BASE_DRM - 10)

◆ WSB_ERROR_DRM_UNKNOWN

#define WSB_ERROR_DRM_UNKNOWN   (WSB_ERROR_BASE_DRM - 23)

◆ WSB_ERROR_EOS

#define WSB_ERROR_EOS   (WSB_ERROR_BASE_GENERAL - 19)

◆ WSB_ERROR_ERRNO

#define WSB_ERROR_ERRNO (   e)    (WSB_ERROR_BASE_ERRNO - (e))

◆ WSB_ERROR_ESB_EMM_GRP_TARGET_GRP

#define WSB_ERROR_ESB_EMM_GRP_TARGET_GRP   (WSB_ERROR_BASE_ESB - 43)

◆ WSB_ERROR_ESB_EMM_PAYLOAD_TYPE

#define WSB_ERROR_ESB_EMM_PAYLOAD_TYPE   (WSB_ERROR_BASE_ESB - 42)

◆ WSB_ERROR_ESB_EMM_SECTION_LEN

#define WSB_ERROR_ESB_EMM_SECTION_LEN   (WSB_ERROR_BASE_ESB - 41)

◆ WSB_ERROR_ESB_EMM_TARGET_ADDR

#define WSB_ERROR_ESB_EMM_TARGET_ADDR   (WSB_ERROR_BASE_ESB - 40)

◆ WSB_ERROR_ESB_EMM_VERIFY

#define WSB_ERROR_ESB_EMM_VERIFY   (WSB_ERROR_BASE_ESB - 44)

◆ WSB_ERROR_ESB_EPL_DUPLICATE_EXT

#define WSB_ERROR_ESB_EPL_DUPLICATE_EXT   (WSB_ERROR_BASE_ESB - 12)

◆ WSB_ERROR_ESB_EPL_EXPIRED

#define WSB_ERROR_ESB_EPL_EXPIRED   (WSB_ERROR_BASE_ESB - 14)

◆ WSB_ERROR_ESB_EPL_EXT_COUNT

#define WSB_ERROR_ESB_EPL_EXT_COUNT   (WSB_ERROR_BASE_ESB - 11)

◆ WSB_ERROR_ESB_EPL_KEY_MISSING

#define WSB_ERROR_ESB_EPL_KEY_MISSING   (WSB_ERROR_BASE_ESB - 15)

◆ WSB_ERROR_ESB_EPL_MULTI_KEYS

#define WSB_ERROR_ESB_EPL_MULTI_KEYS   (WSB_ERROR_BASE_ESB - 16)

◆ WSB_ERROR_ESB_EPL_SIGN_EXT_POS

#define WSB_ERROR_ESB_EPL_SIGN_EXT_POS   (WSB_ERROR_BASE_ESB - 13)

◆ WSB_ERROR_ESB_EPL_SIZE

#define WSB_ERROR_ESB_EPL_SIZE   (WSB_ERROR_BASE_ESB - 17)

◆ WSB_ERROR_ESB_EPL_VERSION

#define WSB_ERROR_ESB_EPL_VERSION   (WSB_ERROR_BASE_ESB - 10)

◆ WSB_ERROR_ESB_GKO_DUPLICATE_EXT

#define WSB_ERROR_ESB_GKO_DUPLICATE_EXT   (WSB_ERROR_BASE_ESB - 23)

◆ WSB_ERROR_ESB_GKO_EXPIRED

#define WSB_ERROR_ESB_GKO_EXPIRED   (WSB_ERROR_BASE_ESB - 25)

◆ WSB_ERROR_ESB_GKO_EXT_COUNT

#define WSB_ERROR_ESB_GKO_EXT_COUNT   (WSB_ERROR_BASE_ESB - 21)

◆ WSB_ERROR_ESB_GKO_GRP_ID_MISSING

#define WSB_ERROR_ESB_GKO_GRP_ID_MISSING   (WSB_ERROR_BASE_ESB - 29)

◆ WSB_ERROR_ESB_GKO_KEY_MISSING

#define WSB_ERROR_ESB_GKO_KEY_MISSING   (WSB_ERROR_BASE_ESB - 26)

◆ WSB_ERROR_ESB_GKO_MULTI_KEYS

#define WSB_ERROR_ESB_GKO_MULTI_KEYS   (WSB_ERROR_BASE_ESB - 27)

◆ WSB_ERROR_ESB_GKO_SIGN_EXT_POS

#define WSB_ERROR_ESB_GKO_SIGN_EXT_POS   (WSB_ERROR_BASE_ESB - 24)

◆ WSB_ERROR_ESB_GKO_SIZE

#define WSB_ERROR_ESB_GKO_SIZE   (WSB_ERROR_BASE_ESB - 28)

◆ WSB_ERROR_ESB_GKO_UNKNOWN_EXT

#define WSB_ERROR_ESB_GKO_UNKNOWN_EXT   (WSB_ERROR_BASE_ESB - 22)

◆ WSB_ERROR_ESB_GKO_VERSION

#define WSB_ERROR_ESB_GKO_VERSION   (WSB_ERROR_BASE_ESB - 20)

◆ WSB_ERROR_ESB_INTERNAL

#define WSB_ERROR_ESB_INTERNAL   (WSB_ERROR_BASE_ESB - 0)

◆ WSB_ERROR_ESB_INVALID_EXPIRATION

#define WSB_ERROR_ESB_INVALID_EXPIRATION   (WSB_ERROR_BASE_ESB - 5)

◆ WSB_ERROR_ESB_NO_OCT_PUB_KEY

#define WSB_ERROR_ESB_NO_OCT_PUB_KEY   (WSB_ERROR_BASE_ESB - 4)

◆ WSB_ERROR_ESB_SIGN_EXT_HMAC_SIZE

#define WSB_ERROR_ESB_SIGN_EXT_HMAC_SIZE   (WSB_ERROR_BASE_ESB - 2)

◆ WSB_ERROR_ESB_SIGN_EXT_TYPE

#define WSB_ERROR_ESB_SIGN_EXT_TYPE   (WSB_ERROR_BASE_ESB - 1)

◆ WSB_ERROR_ESB_SIGN_EXT_VERIFY

#define WSB_ERROR_ESB_SIGN_EXT_VERIFY   (WSB_ERROR_BASE_ESB - 3)

◆ WSB_ERROR_INCOMPLETE_MEDIA

#define WSB_ERROR_INCOMPLETE_MEDIA   (WSB_ERROR_BASE_GENERAL - 20)

◆ WSB_ERROR_INTERNAL

#define WSB_ERROR_INTERNAL   (WSB_ERROR_BASE_GENERAL - 2)

◆ WSB_ERROR_INVALID_FORMAT

#define WSB_ERROR_INVALID_FORMAT   (WSB_ERROR_BASE_GENERAL - 10)

◆ WSB_ERROR_INVALID_PARAMETERS

#define WSB_ERROR_INVALID_PARAMETERS   (WSB_ERROR_BASE_GENERAL - 3)

◆ WSB_ERROR_INVALID_PATH

#define WSB_ERROR_INVALID_PATH   (WSB_ERROR_BASE_GENERAL - 17)

◆ WSB_ERROR_INVALID_STATE

#define WSB_ERROR_INVALID_STATE   (WSB_ERROR_BASE_GENERAL - 4)

◆ WSB_ERROR_INVALID_SYNTAX

#define WSB_ERROR_INVALID_SYNTAX   (WSB_ERROR_BASE_GENERAL - 8)

◆ WSB_ERROR_INVALID_URL

#define WSB_ERROR_INVALID_URL   (WSB_ERROR_BASE_GENERAL - 24)

◆ WSB_ERROR_INVALID_VERSION

#define WSB_ERROR_INVALID_VERSION   (WSB_ERROR_BASE_GENERAL - 27)

◆ WSB_ERROR_MA_INVALID_HOST_INFO

#define WSB_ERROR_MA_INVALID_HOST_INFO   (WSB_ERROR_BASE_MEDIA_ADAPTER - 0)

◆ WSB_ERROR_MA_INVALID_TOKEN

#define WSB_ERROR_MA_INVALID_TOKEN   (WSB_ERROR_BASE_MEDIA_ADAPTER - 6)

◆ WSB_ERROR_MA_INVALID_URL_SCHEME

#define WSB_ERROR_MA_INVALID_URL_SCHEME   (WSB_ERROR_BASE_MEDIA_ADAPTER - 5)

◆ WSB_ERROR_MA_NO_NATIVE_SUPPORT

#define WSB_ERROR_MA_NO_NATIVE_SUPPORT   (WSB_ERROR_BASE_MEDIA_ADAPTER - 3)

◆ WSB_ERROR_MA_NOT_PACKAGED_FOR_NATIVE

#define WSB_ERROR_MA_NOT_PACKAGED_FOR_NATIVE   (WSB_ERROR_BASE_MEDIA_ADAPTER - 4)

◆ WSB_ERROR_MA_NOT_SUPPORTED_FLAG

#define WSB_ERROR_MA_NOT_SUPPORTED_FLAG   (WSB_ERROR_BASE_MEDIA_ADAPTER - 7)

◆ WSB_ERROR_MA_NOT_SUPPORTED_MEDIA

#define WSB_ERROR_MA_NOT_SUPPORTED_MEDIA   (WSB_ERROR_BASE_MEDIA_ADAPTER - 2)

◆ WSB_ERROR_MA_NOT_SUPPORTED_OS

#define WSB_ERROR_MA_NOT_SUPPORTED_OS   (WSB_ERROR_BASE_MEDIA_ADAPTER - 1)

◆ WSB_ERROR_MA_QUERY_DRM

#define WSB_ERROR_MA_QUERY_DRM   (WSB_ERROR_BASE_MEDIA_ADAPTER - 9)

◆ WSB_ERROR_MA_QUERY_VERSION

#define WSB_ERROR_MA_QUERY_VERSION   (WSB_ERROR_BASE_MEDIA_ADAPTER - 8)

◆ WSB_ERROR_MA_SECURITY_LEVEL

#define WSB_ERROR_MA_SECURITY_LEVEL   (WSB_ERROR_BASE_MEDIA_ADAPTER - 10)

◆ WSB_ERROR_MAD_INCOMPLETE_KSMT

#define WSB_ERROR_MAD_INCOMPLETE_KSMT   (WSB_ERROR_BASE_MAD - 2)

◆ WSB_ERROR_MAD_INVALID_CONTENT_ID

#define WSB_ERROR_MAD_INVALID_CONTENT_ID   (WSB_ERROR_BASE_MAD - 1)

◆ WSB_ERROR_MAD_INVALID_TS_SYNC_BYTE

#define WSB_ERROR_MAD_INVALID_TS_SYNC_BYTE   (WSB_ERROR_BASE_MAD - 0)

◆ WSB_ERROR_MAD_NEED_UPDATE

#define WSB_ERROR_MAD_NEED_UPDATE   (WSB_ERROR_BASE_MAD - 3)

◆ WSB_ERROR_MEDIA_DOWNLOAD_DB

#define WSB_ERROR_MEDIA_DOWNLOAD_DB   (WSB_ERROR_BASE_MEDIA_DOWNLOAD - 1)

◆ WSB_ERROR_MIMETYPE_NOT_SUPPORTED

#define WSB_ERROR_MIMETYPE_NOT_SUPPORTED   (WSB_ERROR_BASE_GENERAL - 22)

◆ WSB_ERROR_MISSING_VERSION

#define WSB_ERROR_MISSING_VERSION   (WSB_ERROR_BASE_GENERAL - 26)

◆ WSB_ERROR_NETWORK_CONNECTION_REFUSED

#define WSB_ERROR_NETWORK_CONNECTION_REFUSED   (WSB_ERROR_BASE_NETWORK - 2)

◆ WSB_ERROR_NETWORK_DISCONNECTED

#define WSB_ERROR_NETWORK_DISCONNECTED   (WSB_ERROR_BASE_NETWORK - 3)

◆ WSB_ERROR_NETWORK_FAILURE

#define WSB_ERROR_NETWORK_FAILURE   (WSB_ERROR_BASE_NETWORK - 0)

◆ WSB_ERROR_NETWORK_HOST_UNKNOWN

#define WSB_ERROR_NETWORK_HOST_UNKNOWN   (WSB_ERROR_BASE_NETWORK - 4)

◆ WSB_ERROR_NETWORK_PERMISSION_DENIED

#define WSB_ERROR_NETWORK_PERMISSION_DENIED   (WSB_ERROR_BASE_NETWORK - 5)

◆ WSB_ERROR_NETWORK_PROTOCOL_FAILURE

#define WSB_ERROR_NETWORK_PROTOCOL_FAILURE   (WSB_ERROR_BASE_NETWORK - 7)

◆ WSB_ERROR_NETWORK_RESOURCE_NOT_FOUND

#define WSB_ERROR_NETWORK_RESOURCE_NOT_FOUND   (WSB_ERROR_BASE_NETWORK - 1)

◆ WSB_ERROR_NETWORK_SERVER_FAILURE

#define WSB_ERROR_NETWORK_SERVER_FAILURE   (WSB_ERROR_BASE_NETWORK - 6)

◆ WSB_ERROR_NO_SUCH_INTERFACE

#define WSB_ERROR_NO_SUCH_INTERFACE   (WSB_ERROR_BASE_GENERAL - 13)

◆ WSB_ERROR_NO_SUCH_ITEM

#define WSB_ERROR_NO_SUCH_ITEM   (WSB_ERROR_BASE_GENERAL - 12)

◆ WSB_ERROR_NOT_AVAILABLE

#define WSB_ERROR_NOT_AVAILABLE   (WSB_ERROR_BASE_GENERAL - 14)

◆ WSB_ERROR_NOT_ENOUGH_SPACE

#define WSB_ERROR_NOT_ENOUGH_SPACE   (WSB_ERROR_BASE_GENERAL - 11)

◆ WSB_ERROR_NOT_IMPLEMENTED

#define WSB_ERROR_NOT_IMPLEMENTED   (WSB_ERROR_BASE_GENERAL - 5)

◆ WSB_ERROR_NOT_SUPPORTED

#define WSB_ERROR_NOT_SUPPORTED   (WSB_ERROR_BASE_GENERAL - 9)

◆ WSB_ERROR_OBSOLETE

#define WSB_ERROR_OBSOLETE   (WSB_ERROR_BASE_GENERAL - 25)

◆ WSB_ERROR_OC_EARLIER_HDCP_SRM_VERSION

#define WSB_ERROR_OC_EARLIER_HDCP_SRM_VERSION   (WSB_ERROR_BASE_OC - 5)

◆ WSB_ERROR_OC_FAILED_SEC_CLASS

#define WSB_ERROR_OC_FAILED_SEC_CLASS   (WSB_ERROR_BASE_OC - 0)

◆ WSB_ERROR_OC_HDCP_SRM_NOT_SUPPORTED

#define WSB_ERROR_OC_HDCP_SRM_NOT_SUPPORTED   (WSB_ERROR_BASE_OC - 4)

◆ WSB_ERROR_OC_HDCP_SRM_PARSE

#define WSB_ERROR_OC_HDCP_SRM_PARSE   (WSB_ERROR_BASE_OC - 3)

◆ WSB_ERROR_OC_HDCP_SRM_UPDATE

#define WSB_ERROR_OC_HDCP_SRM_UPDATE   (WSB_ERROR_BASE_OC - 6)

◆ WSB_ERROR_OC_NOT_SUBJECT_TO_SEC_CLASS

#define WSB_ERROR_OC_NOT_SUBJECT_TO_SEC_CLASS   (WSB_ERROR_BASE_OC - 1)

◆ WSB_ERROR_OC_PREDICATE_NESTING_LEVEL

#define WSB_ERROR_OC_PREDICATE_NESTING_LEVEL   (WSB_ERROR_BASE_OC - 2)

◆ WSB_ERROR_OUT_OF_MEMORY

#define WSB_ERROR_OUT_OF_MEMORY   (WSB_ERROR_BASE_GENERAL - 0)

◆ WSB_ERROR_OUT_OF_RANGE

#define WSB_ERROR_OUT_OF_RANGE   (WSB_ERROR_BASE_GENERAL - 6)

◆ WSB_ERROR_OUT_OF_RESOURCES

#define WSB_ERROR_OUT_OF_RESOURCES   (WSB_ERROR_BASE_GENERAL - 1)

◆ WSB_ERROR_RUNTIME_NOT_INITED

#define WSB_ERROR_RUNTIME_NOT_INITED   (WSB_ERROR_BASE_GENERAL - 16)

◆ WSB_ERROR_STREAM_MISSING

#define WSB_ERROR_STREAM_MISSING   (WSB_ERROR_BASE_GENERAL - 21)

◆ WSB_ERROR_TIMEOUT

#define WSB_ERROR_TIMEOUT   (WSB_ERROR_BASE_GENERAL - 15)

◆ WSB_FAILED

#define WSB_FAILED (   _result)    ((_result) != WSB_SUCCESS)

◆ WSB_FAILURE

#define WSB_FAILURE   (-1)

◆ WSB_SUCCEEDED

#define WSB_SUCCEEDED (   _result)    ((_result) == WSB_SUCCESS)

◆ WSB_SUCCESS

#define WSB_SUCCESS   0