The SEDRIS Data Representation Model
APPENDIX D - Functions
SE GeneralLegalAssociationsCount
extern SE_DRM_Status_Code
SE_GeneralLegalAssociationsCount
(
SE_Short_Integer_Positive major_drm_version, (notes)
SE_Byte_Unsigned minor_drm_version, (notes)
SE_Short_Integer_Positive drm_class, (notes)
SE_Short_Integer_Unsigned *result_out_ptr (notes)
);

Definition

Retrieves count of associate requirements for class 'drm_class'.


Returns

SE_DRM_STAT_CODE_SUCCESS and *result_out_ptr is set to the count of associate requirements for class 'drm_class', 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 zero (0), if the specified version of the DRM is not supported.
SE_DRM_STAT_CODE_INVALID_CLASS and *result_out_ptr is set to zero (0), if drm_class does not correspond to a valid DRM class in the specified version of the DRM.


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

 represents a DRM class in the specified DRM version

result_out_ptr

 pointer to the variable in the user's memory space where the
    answer will be stored.


Prev: SE_GeneralLegalAggregatesList. Next: SE_GeneralLegalAssociationsList. Up:Index.

Last updated: July 16, 2004 Copyright © 2004 SEDRIS