The SEDRIS Data Representation Model
APPENDIX C - Types
SE_DRM_Status_Code
/*
 * REGISTERABLE ENUM: SE_DRM_Status_Code
 *
 *   This data type is used to specify error conditions for all
 *   DRM functions that can fail and that retrieve meta-data for
 *   DRM types and classes.
 */
typedef SE_Short_Integer SE_DRM_Status_Code;
Enumerant Definition Value
SE_DRM_STAT_CODE_SUCCESS
 All parameters were valid.
1
SE_DRM_STAT_CODE_INVALID_CLASS
 An invalid class was specified
 (e.g., an out-of-range CLASS was used)
2
SE_DRM_STAT_CODE_INVALID_CLASS_FIELD
 A non-existent field was specified for a class.
3
SE_DRM_STAT_CODE_INVALID_DEST_COLOUR_MODEL
 An invalid colour model was specified as the target
 for a colour conversion.
4
SE_DRM_STAT_CODE_INVALID_ENUMERANT
 An invalid enumerant was specified for an enumerated type.
5
SE_DRM_STAT_CODE_INVALID_SOURCE_COLOUR
 An invalid colour was specified as an input parameter.
6
SE_DRM_STAT_CODE_INVALID_TYPE
 An invalid type was specified
 (e.g., an out-of-range TYPE was used)
7
SE_DRM_STAT_CODE_INVALID_TYPE_CLASSIFICATION
 The type specified had an invalid type classification
 for the requested operation
8
SE_DRM_STAT_CODE_INVALID_TYPE_FIELD
 A non-existent field was specified for a type
9
SE_DRM_STAT_CODE_INVALID_VERSION
 The specified DRM version was invalid
10
SE_DRM_STAT_CODE_NULL_REQUIRED_PARAMETER
 A required pointer argument was NULL
11
SE_DRM_STAT_CODE_FAILURE
 A failure condition occurred which was not covered
 by the above status codes
12



Prev: SE_DRM_Field_Structure. Next: SE_DRM_Type.


Return to: Top of this Page, Type Index