EDCS Reference Manual
Functions
EDCS SymbolicConstantToEMCode
extern EDCS_Status_Code
EDCS_SymbolicConstantToEMCode
(
constEDCS_Character *em_symbolic_constant_in_ptr, (notes)
EDCS_Metadata_Code *result_out_ptr (notes)
);

Definition

Retrieves the EM code corresponding to the given symbolic constant.


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_SYMBOLIC_CONSTANT and no changes are made, if *em_symbolic_constant_in_ptr does not correspond to a valid EM.


Parameters Notes


em_symbolic_constant_in_ptr

 the symbolic constant for which the
    corresponding EM code is requested; note that this is the
    language-binding symbolic constant name, 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_SymbolicConstantToEGCode. Next: EDCS_SymbolicConstantToEOCode. Up:Index.

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