The SEDRIS Data Representation Model
APPENDIX D - Functions SE GeneralGetComponentOfType |
---|
extern SE_DRM_Status_Code | |||||
SE_GeneralGetComponentOfType | |||||
( | |||||
SE_Short_Integer_Positive | major_drm_version, | (notes) | |||
SE_Byte_Unsigned | minor_drm_version, | (notes) | |||
SE_Short_Integer_Positive | drm_class_a, | (notes) | |||
SE_Short_Integer_Positive | drm_class_b, | (notes) | |||
const | SE_Requirement | * | * | result_out_ptr | (notes) |
); |
If 'drm_class_a' has a component requirement for 'drm_class_b', returns the specified requirement.
SE_DRM_STAT_CODE_SUCCESS | and *result_out_ptr is set appropriately, if valid parameters were passed in. |
SE_DRM_STAT_CODE_NULL_REQUIRED_PARAMETER | and *result_out_ptr is left unchanged, if result_out_ptr is NULL. |
SE_DRM_STAT_CODE_INVALID_VERSION | and *result_out_ptr is set to NULL, if the specified version of the DRM is not supported. |
SE_DRM_STAT_CODE_INVALID_CLASS | and *result_out_ptr is set to NULL, if drm_class_a or drm_class_b does not correspond to a valid DRM class in the specified DRM version. |
SE_DRM_STAT_CODE_FAILURE | and *result_out_ptr is set to NULL, if 'drm_class_a' has no components of type 'drm_class_b' in the specified DRM version. |
major DRM version number of the DRM version for which this function is being called
minor DRM version number of the DRM version for which this function is being called
represents the DRM class whose component requirement is being requested in the specified DRM version.
represents requested component DRM class in the specified DRM version.
pointer to a linked list of SE_Requirements
Prev: SE_GeneralGetClassStructure.
Next: SE_GeneralGetDRMClassString.
Up:Index.
|