1e41f4b71Sopenharmony_ci# native_drm_err.h
2e41f4b71Sopenharmony_ci
3e41f4b71Sopenharmony_ci
4e41f4b71Sopenharmony_ci## 概述
5e41f4b71Sopenharmony_ci
6e41f4b71Sopenharmony_ci定义DRM错误码。
7e41f4b71Sopenharmony_ci
8e41f4b71Sopenharmony_ci**库:** libnative_drm.so
9e41f4b71Sopenharmony_ci
10e41f4b71Sopenharmony_ci**引用文件:** <multimedia/drm_framework/native_drm_err.h>
11e41f4b71Sopenharmony_ci
12e41f4b71Sopenharmony_ci**系统能力:** SystemCapability.Multimedia.Drm.Core
13e41f4b71Sopenharmony_ci
14e41f4b71Sopenharmony_ci**起始版本:** 11
15e41f4b71Sopenharmony_ci
16e41f4b71Sopenharmony_ci**相关模块:**[Drm](_drm.md)
17e41f4b71Sopenharmony_ci
18e41f4b71Sopenharmony_ci
19e41f4b71Sopenharmony_ci## 汇总
20e41f4b71Sopenharmony_ci
21e41f4b71Sopenharmony_ci
22e41f4b71Sopenharmony_ci### 类型定义
23e41f4b71Sopenharmony_ci
24e41f4b71Sopenharmony_ci| 名称 | 描述 | 
25e41f4b71Sopenharmony_ci| -------- | -------- |
26e41f4b71Sopenharmony_ci| typedef enum [Drm_ErrCode](_drm.md#drm_errcode) [Drm_ErrCode](_drm.md#drm_errcode) | DRM错误码。 | 
27e41f4b71Sopenharmony_ci
28e41f4b71Sopenharmony_ci
29e41f4b71Sopenharmony_ci### 枚举
30e41f4b71Sopenharmony_ci
31e41f4b71Sopenharmony_ci| 名称 | 描述 | 
32e41f4b71Sopenharmony_ci| -------- | -------- |
33e41f4b71Sopenharmony_ci| [Drm_ErrCode](_drm.md#drm_errcode-1) {<br/>DRM_ERR_OK = 0, <br/>DRM_CAPI_ERR_BASE = 24700500, <br/>DRM_ERR_NO_MEMORY = DRM_CAPI_ERR_BASE + 1, <br/>DRM_ERR_OPERATION_NOT_PERMITTED = DRM_CAPI_ERR_BASE + 2,<br/>DRM_ERR_INVALID_VAL = DRM_CAPI_ERR_BASE + 3, <br/>DRM_ERR_IO = DRM_CAPI_ERR_BASE + 4, <br/>DRM_ERR_TIMEOUT = DRM_CAPI_ERR_BASE + 5, <br/>DRM_ERR_UNKNOWN = DRM_CAPI_ERR_BASE + 6,<br/>DRM_ERR_SERVICE_DIED = DRM_CAPI_ERR_BASE + 7, <br/>DRM_ERR_INVALID_STATE = DRM_CAPI_ERR_BASE + 8, <br/>DRM_ERR_UNSUPPORTED = DRM_CAPI_ERR_BASE + 9, <br/>DRM_ERR_MAX_SYSTEM_NUM_REACHED = DRM_CAPI_ERR_BASE + 10,<br/>DRM_ERR_MAX_SESSION_NUM_REACHED = DRM_CAPI_ERR_BASE + 11, <br/>DRM_ERR_EXTEND_START = DRM_CAPI_ERR_BASE + 100<br/>} | DRM错误码。 | 
34