The SEDRIS Data Representation Model
APPENDIX D - Functions
SE PropertyDataValueToMetadataCode
extern SE_DRM_Status_Code
SE_PropertyDataValueToMetadataCode
(
constSE_Property_Data_Value *value_ptr, (notes)
EDCS_Metadata_Code *result_out_ptr (notes)
);

Definition

Converts an SE_Property_Data_Value to an EDCS_Metadata_Code.

When converting:

anything other than an EDCS_Metadata_Code is treated as 0.


Returns

SE_DRM_STAT_CODE_SUCCESS if valid parameters were passed in.
SE_DRM_STAT_CODE_NULL_REQUIRED_PARAMETER and no changes are made, if any parameter is NULL.
SE_DRM_STAT_CODE_FAILURE and *result_out_ptr is set to zero (0), if *value_ptr is not valid or does not contain an EDCS_Metadata_Code.


Parameters Notes


value_ptr

 pointer to the SE_Property_Data_Value to be converted

result_out_ptr

 pointer to the EDCS_Metadata_Code where the result
    will be stored


Prev: SE_PropertyDataValueToLongFloat. Next: SE_PropertyDataValueToShortInteger. Up:Index.

Last updated: May 15, 2003 Copyright © 2003 SEDRIS™