The SEDRIS Data Representation Model
APPENDIX D - Functions
SE GeneralClassCount
extern SE_DRM_Status_Code
SE_GeneralClassCount
(
SE_Short_Integer_Positive  major_drm_version,1
SE_Byte_Unsigned  minor_drm_version,2
SE_Short_Integer_Positive  *result_out_ptr3
);

Definition

Returns the count of DRM classes that are listed by the SE_DRM_Class enumeration and have their metadata available for inspection through SE_GeneralGetClassStructure().


Returns

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 no changes are made, if result_out_ptr is NULL.
SE_DRM_STAT_CODE_INVALID_VERSION and *result_out_ptr is set to 0, if the specified version of the DRM is not supported.

Parameters Notes

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

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

3 pointer to a variable in the user's memory space, into which the result is copied


Prev: SE_FuncSubtract. Next: SE_GeneralDRMClassStringToDRMClass. Up:Index.