The SEDRIS Data Representation Model
APPENDIX D - Functions
SE GeneralGetTypeClassification
extern SE_DRM_Status_Code
SE_GeneralGetTypeClassification
(
SE_Short_Integer_Positive major_drm_version, (notes)
SE_Byte_Unsigned minor_drm_version, (notes)
SE_Short_Integer_Positive drm_type, (notes)
SE_Type_Classification *result_out_ptr (notes)
);

Definition

Returns the classification of the type designated by 'drm_type'.


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_TYPE and *result_out_ptr is set to SE_TYP_CLASSIF_BASIC, if drm_type does not correspond to a valid type.


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_type

 represents a SEDRIS type, available for use by the DRM.

result_out_ptr

 pointer to a variable in the user's memory space
    where the result is placed.


Prev: SE_GeneralGetDRMTypeStructure. Next: SE_GeneralIsAbstractClass. Up:Index.

Last updated: July 16, 2004 Copyright © 2004 SEDRIS