Function Name: General Is Legal Associate

Definition

Tests whether an object of class 'drm_class_a' can be associated to an object of class 'drm_class_b'.

Returns

SE_TRUE - if valid parameters were passed in, and an object of class 'drm_class_a' can legally be associated to an object of class 'drm_class_b' in the specified version of the DRM.

SE_FALSE - otherwise.

Prototype


extern SE_BOOLEAN
SE_GeneralIsLegalAssociate
(
SE_PINT16 major_drm_version, (notes)
SE_UINT8 minor_drm_version, (notes)
SE_PINT16 drm_class_a, (notes)
SE_PINT16 drm_class_b (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 a DRM class A, the candidate associate class on the
 'from' end of the association.

drm_class_b

 represents a DRM class A, the candidate associate class on the
 'to' end of the association.

Prev: General Is Legal Aggregate. Next: General Is Legal Component. Up:Index.