EDCS Reference Manual
Functions
EDCS LabelToEECode
extern EDCS_Status_Code
EDCS_LabelToEECode
(
constEDCS_Enumerant_Label ee_label_in_ptr, (notes)
EDCS_Attribute_Code *ea_out_ptr, (notes)
EDCS_Enumerant_Code *ee_out_ptr (notes)
);

Definition

Retrieves the {EA, EE} code pair corresponding to the given label.


Returns

EDCS_SC_SUCCESS and *ea_out_ptr, *ee_out_ptr are set to the appropriate values, if valid parameters were passed in.
EDCS_SC_NULL_REQUIRED_PARAMETER and no changes are made, if any parameter is NULL.
EDCS_SC_INVALID_INPUT_LABEL and no changes are made, if *ee_label_in_ptr does not correspond to a valid EE for some EA.


Parameters Notes


ee_label_in_ptr

 the label for which the corresponding EE code is
       requested; note that this is the language-binding label, rather
       than the abstract label (i.e., corresponds to the C language
       binding standard rather than the abstract EDCS specification)

ea_out_ptr

 pointer to a variable in the user's memory into which
       the output EAC will be copied

ee_out_ptr

 pointer to a variable in the user's memory into which
       the output EEC will be copied


Prev: EDCS_LabelToECCode. Next: EDCS_LabelToEGCode. Up:Index.

Last updated: July 16, 2004 Copyright © 2004 SEDRIS