Function Name: General Get Associate Of Type

Definition

If 'drm_class_a' has an associate requirement for 'drm_class_b', returns the specified requirement.

Returns

SE_DRM_SUCCESS - if valid parameters were passed in.

SE_DRM_NULL_REQUIRED_PARAMETER - and *req_ptr is left unaltered, if req_ptr is NULL.

SE_DRM_INVALID_VERSION - and *req_ptr is set to NULL, if the specified version of the DRM is not supported.

SE_DRM_CLASS_DOES_NOT_EXIST - and *req_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_FAILURE - and *req_ptr is set to NULL, if 'drm_class_a' has no associates of type 'drm_class_b' in the specified DRM version.

Prototype


extern SE_DRM_STATUS_CODE_ENUM
SE_GeneralGetAssociateOfType
(
SE_PINT16 major_drm_version, (notes)
SE_UINT8 minor_drm_version, (notes)
SE_PINT16 drm_class_a, (notes)
SE_PINT16 drm_class_b, (notes)
constSE_REQUIREMENT **req_ptr (notes)
);

Parameters Notes

major_drm_version

 major DRM version number of the DRM version for which this function
 is being called

minor_drm_version

 minor DRM version number of the DRM version for which this function
 is being called

drm_class_a

 represents the SEDRIS DRM class whose associate
 requirement is being requested in the specified DRM version.

drm_class_b

 represents requested associate SEDRIS DRM class in the
 specified DRM version.

req_ptr

 pointer to a linked list of SE_REQUIREMENTs

Prev: General Get Aggregate Of Type. Next: General Get Class Structure. Up:Index.