EDCS Reference Manual
Functions
EDCS LabelToECCode
extern EDCS_Status_Code
EDCS_LabelToECCode
(
constEDCS_Classification_Label ec_label_in_ptr, (notes)
EDCS_Classification_Code *result_out_ptr (notes)
);

Definition

Retrieves the EC code corresponding to the given label.


Returns

EDCS_STAT_CODE_SUCCESS and *result_out_ptr is set appropriately, if valid parameters were passed in.
EDCS_STAT_CODE_NULL_REQUIRED_PARAMETER and no changes are made, if any parameter is NULL.
EDCS_STAT_CODE_INVALID_LABEL and no changes are made, if *ec_label_in_ptr does not correspond to a valid EC.


Parameters Notes


ec_label_in_ptr

 the label for which the corresponding EC 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)

result_out_ptr

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


Prev: EDCS_LabelToEACode. Next: EDCS_LabelToEECode. Up:Index.

Last updated: October 1, 2002 Copyright © 2002 SEDRIS™