The SEDRIS Data Representation Model
APPENDIX D - Functions
SE GeneralithFieldInClass
extern SE_DRM_Status_Code
SE_GeneralithFieldInClass
(
SE_Short_Integer_Positive major_drm_version,1
SE_Byte_Unsigned minor_drm_version,2
SE_Short_Integer_Positive drm_class,3
SE_Short_Integer_Unsigned i,4
constSE_DRM_Field_Structure **result_out_ptr5
);

Definition

Retrieves structural information about the ith field of the given DRM class. Field information is indexed from 0.


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 *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 does not correspond to a valid DRM class.
SE_DRM_STAT_CODE_INVALID_CLASS_FIELD and *result_out_ptr is set to NULL, if i is out of range for drm_class.

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 represents a DRM class.

4 index of desired field within class.

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


Prev: SE_GeneralithEnumerantInType. Next: SE_GeneralithFieldInType. Up:Index.

Last updated: July 26, 2006 Copyright © 2006 SEDRIS